Magisk/native/jni/core
topjohnwu adf95ce3a0 Read fstab from device tree
In previous versions, magiskinit will not early mount if /sepolicy is detected. However on OP5/5T latest betas, the devices are fully trebelized,
but for some reason the file /sepolicy still exists, making magiskinit think it is NOT a treble device and doesn't work properly.

So to properly fix this issue, I will have to use the "official" way - check fstab in device trees. Any block mentioned in the fstab in device trees
are supposed to be early mounted. Currently magiskinit will only mount system and vendor even if other partitions exists in the dtb fstab, since other
partitions are not used to construct sepolicy (currently).

These changes can also fix #373, since we dynamically detect PARTNAME from device trees.
2018-07-18 00:45:10 +08:00
..
bootstages.c Support compiling against lower SDK 2018-07-13 05:41:29 +08:00
daemon.c EMUI's logcat will change output file's permission and break ADBD 2018-07-16 06:42:36 +08:00
db.c Install stub APK when needed 2018-06-14 05:09:54 +08:00
log_daemon.c EMUI's logcat will change output file's permission and break ADBD 2018-07-16 06:42:36 +08:00
magisk.c Separate logging into its own daemon 2018-07-02 22:11:28 +08:00
magiskinit.c Read fstab from device tree 2018-07-18 00:45:10 +08:00
socket.c Separate logging into its own daemon 2018-07-02 22:11:28 +08:00