Prevent problematic modules causing device stuck in bootloop

If boot failed after 2 times, it will enable core only mode (which disables all modules)
This commit is contained in:
topjohnwu
2018-08-07 04:41:48 +08:00
parent 51ba99d09e
commit c38533e0f8
2 changed files with 26 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
#define DATABIN SECURE_DIR "/magisk"
#define MAGISKDB SECURE_DIR "/magisk.db"
#define SIMPLEMOUNT SECURE_DIR "/magisk_simple"
#define BOOTCOUNT SECURE_DIR "/.boot_count"
#define MANAGERAPK DATABIN "/magisk.apk"
#define MAGISKRC "/init.magisk.rc"