Magisk/native/jni
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
..
core Trim dev name 2019-02-26 03:04:17 -05:00
external Adjust for new FrankeNDK 2018-12-04 02:08:51 -05:00
include Introduce /data mirror 2019-02-25 06:13:42 -05:00
magiskboot Support A only System-as-root Devices 2019-02-28 05:46:36 -05:00
magiskhide Fix MagiskHide unmount daemon 2019-02-19 01:50:41 -05:00
magiskpolicy Support deodexed ROM on Pie (Samsung) 2019-02-18 03:32:56 -05:00
resetprop Some code adjustments 2019-02-24 23:09:34 -05:00
su Small adjustments in connect.cpp 2019-02-27 16:44:27 -05:00
systemproperties Some code adjustments 2019-02-24 23:09:34 -05:00
utils Support A only System-as-root Devices 2019-02-28 05:46:36 -05:00
Android.mk Welcome to the 64 bit world! 2019-02-24 08:13:27 -05:00
Application.mk Compiler flag enhancements 2019-02-26 03:42:44 -05:00