Andrew Gunnerson 1f8c063dc6 Fix booting into recovery with Android 13 GKI kernels
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>
2022-07-18 13:33:50 -07:00
..
2022-07-06 01:16:08 -07:00
2022-06-15 02:26:50 -07:00
2022-07-06 01:16:08 -07:00
2022-07-06 01:16:08 -07:00
2022-07-06 01:16:08 -07:00
2022-07-06 01:16:08 -07:00
2022-07-01 04:54:00 -07:00
2022-07-06 01:16:08 -07:00
2019-04-01 02:46:09 -04:00
2022-05-30 03:47:31 -07:00
2022-01-30 07:11:51 -08:00