Magisk/native/jni/utils
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
..
include Support A only System-as-root Devices 2019-02-28 05:46:36 -05:00
Android.mk Move CPIO to libutils 2019-02-23 02:42:26 -05:00
cpio.cpp Support A only System-as-root Devices 2019-02-28 05:46:36 -05:00
file.cpp Some code adjustments 2019-02-24 23:09:34 -05:00
logging.cpp Clean/refactor includes 2019-02-10 03:57:51 -05:00
misc.cpp Trim dev name 2019-02-26 03:04:17 -05:00
new.cpp Bump to C++17 2019-01-20 00:07:58 -05:00
selinux.cpp Introduce /data mirror 2019-02-25 06:13:42 -05:00
xwrap.cpp Clean/refactor includes 2019-02-10 03:57:51 -05:00