mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
parent
cf56d7e4ed
commit
a87ad35a50
@ -39,6 +39,9 @@ main() {
|
|||||||
|
|
||||||
api_level_arch_detect
|
api_level_arch_detect
|
||||||
|
|
||||||
|
# Check if system root is installed and remove
|
||||||
|
remove_system_su
|
||||||
|
|
||||||
recovery_actions
|
recovery_actions
|
||||||
|
|
||||||
find_boot_image
|
find_boot_image
|
||||||
|
@ -66,14 +66,14 @@ getvar KEEPVERITY
|
|||||||
getvar KEEPFORCEENCRYPT
|
getvar KEEPFORCEENCRYPT
|
||||||
getvar BOOTIMAGE
|
getvar BOOTIMAGE
|
||||||
|
|
||||||
# Check if system root is installed and remove
|
|
||||||
remove_system_su
|
|
||||||
|
|
||||||
# Detect version and architecture
|
# Detect version and architecture
|
||||||
api_level_arch_detect
|
api_level_arch_detect
|
||||||
|
|
||||||
[ $API -lt 21 ] && abort "! Magisk is only for Lollipop 5.0+ (SDK 21+)"
|
[ $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"
|
ui_print "- Device platform: $ARCH"
|
||||||
|
|
||||||
BINDIR=$INSTALLER/$ARCH
|
BINDIR=$INSTALLER/$ARCH
|
||||||
|
Loading…
Reference in New Issue
Block a user