1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-17 01:48:37 +01:00
Magisk/scripts
topjohnwu e72c6685ed Support A only System-as-root Devices
Most Chinese devices (and supposedly Galaxy S10) running Android Pie
is using system-as-root without A/B partition.

https://source.android.com/devices/bootloader/system-as-root#about-system-as-root

According to the docs above, these devices will have a ramdisk block
with size 0 in their boot images. Since magiskinit can run independently
on system-as-root devices, we simply just create an empty ramdisk with
magiskinit added as init.

Huge thanks to @vvb2060 for the heads up and original PR.
Close #980, close #1102
2019-02-28 05:46:36 -05:00
..
addon.d.sh Update scripts 2019-02-24 02:11:11 -05:00
boot_patch.sh Support A only System-as-root Devices 2019-02-28 05:46:36 -05:00
flash_script.sh Add compressed ramdisk support 2019-02-24 20:39:01 -05:00
magisk_uninstaller.sh Update scripts 2019-02-24 02:11:11 -05:00
update_binary.sh Update scripts 2019-02-24 02:11:11 -05:00
util_functions.sh Add compressed ramdisk support 2019-02-24 20:39:01 -05:00