• Andrew Gunnerson's avatar
    Fix booting into recovery with Android 13 GKI kernels · 1f8c063d
    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: 's avatarAndrew Gunnerson <chillermillerlong@hotmail.com>
    1f8c063d
Name
Last commit
Last update
..
getinfo.cpp Loading commit data...
init.cpp Loading commit data...
init.hpp Loading commit data...
magiskrc.inc Loading commit data...
mount.cpp Loading commit data...
preload.c Loading commit data...
rootdir.cpp Loading commit data...
selinux.cpp Loading commit data...
twostage.cpp Loading commit data...