mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-21 10:57:42 +00:00
@@ -39,6 +39,9 @@ main() {
|
||||
|
||||
api_level_arch_detect
|
||||
|
||||
# Check if system root is installed and remove
|
||||
remove_system_su
|
||||
|
||||
recovery_actions
|
||||
|
||||
find_boot_image
|
||||
|
@@ -66,14 +66,14 @@ getvar KEEPVERITY
|
||||
getvar KEEPFORCEENCRYPT
|
||||
getvar BOOTIMAGE
|
||||
|
||||
# Check if system root is installed and remove
|
||||
remove_system_su
|
||||
|
||||
# Detect version and architecture
|
||||
api_level_arch_detect
|
||||
|
||||
[ $API -lt 21 ] && abort "! Magisk is only for Lollipop 5.0+ (SDK 21+)"
|
||||
|
||||
# Check if system root is installed and remove
|
||||
remove_system_su
|
||||
|
||||
ui_print "- Device platform: $ARCH"
|
||||
|
||||
BINDIR=$INSTALLER/$ARCH
|
||||
|
Reference in New Issue
Block a user