Remove high compression mode

This commit is contained in:
topjohnwu
2018-08-09 18:13:07 +08:00
parent 8b50d84a05
commit 6add682705
10 changed files with 74 additions and 209 deletions

View File

@@ -1,11 +1,9 @@
#MAGISK
##########################################################################################
#
# Magisk Uninstaller (used in recovery)
# Magisk Uninstaller
# by topjohnwu
#
# This script will load the real uninstaller in a flashable zip
#
##########################################################################################
##########################################################################################
@@ -75,15 +73,15 @@ case $? in
1 )
abort "! Unable to unpack boot image"
;;
3 )
2 )
ui_print "- ChromeOS boot image detected"
CHROMEOS=true
;;
4 )
3 )
ui_print "! Sony ELF32 format detected"
abort "! Please use BootBridge from @AdrianDC"
;;
5 )
4 )
ui_print "! Sony ELF64 format detected"
abort "! Stock kernel cannot be patched, please use a custom kernel"
esac
@@ -95,7 +93,7 @@ case $? in
0 ) # Stock boot
ui_print "- Stock boot image detected"
;;
1|2 ) # Magisk patched
1 ) # Magisk patched
ui_print "- Magisk patched image detected"
./magisk --unlock-blocks 2>/dev/null
# Find SHA1 of stock boot image
@@ -119,7 +117,7 @@ case $? in
flash_boot_image new-boot.img $BOOTIMAGE
fi
;;
3 ) # Other patched
2 ) # Other patched
ui_print "! Boot image patched by other programs"
abort "! Cannot uninstall"
;;