Magisk/native/jni
topjohnwu 71a91ac7a7 Boot to recovery if volume up key is held
Forseeing the future that more and more A only system-as-root devices
would have similar bootloader behavior as the latest Samsung devices
(that is, no ramdisk will be loaded into memory when booting from
the boot partition), a solution/workaround has to be made when Magisk
is installed to the recovery partition, making custom recoveries
unable to co-exist with Magisk.

This commit allows magiskinit to read input device events from the
kernel to detect when a user holds volume key up to toggle whether
system-as-root mode is enabled. When system-as-root mode is disabled,
magiskinit will boot with ramdisk instead of cloning rootfs from system,
which in this case will boot to the recovery.
2019-04-01 03:01:05 -04:00
..
core Boot to recovery if volume up key is held 2019-04-01 03:01:05 -04:00
external Build libsqlite.so only with magisk 2019-03-07 05:21:27 -05:00
include Reboot to recovery when running as recovery 2019-03-30 06:49:29 -04:00
magiskboot Update tools docs 2019-03-28 04:54:06 -04:00
magiskhide Reboot to recovery when running as recovery 2019-03-30 06:49:29 -04:00
magiskpolicy Support Android Q new split sepolicy setup 2019-03-15 06:17:37 -04:00
resetprop Make parse prop file a util function 2019-03-05 20:27:09 -05:00
su Use our own function to parse int 2019-03-07 20:31:35 -05:00
systemproperties Some code adjustments 2019-02-24 23:09:34 -05:00
utils Several improvements 2019-03-31 06:32:33 -04:00
.gitignore Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Android.mk Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Application.mk Compiler flag enhancements 2019-02-26 03:42:44 -05:00