-
Andrew Gunnerson authored
With Android 13 GKI kernels, the boot partition has no ramdisk, so Magisk constructs one from scratch. In this scenario, there's no backup init binary at /.backup/init. For normal boot, magiskinit will symlink /init -> /system/bin/init if needed. This commit implements the same for booting into recovery. Before, magiskinit would just exec itself over and over again because it couldn't restore the backup init. Signed-off-by:Andrew Gunnerson <chillermillerlong@hotmail.com>
1f8c063d
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| getinfo.cpp | ||
| init.cpp | ||
| init.hpp | ||
| magiskrc.inc | ||
| mount.cpp | ||
| preload.c | ||
| rootdir.cpp | ||
| selinux.cpp | ||
| twostage.cpp |