Remove compressed ramdisk support

It is causing more issues than it addresses
This commit is contained in:
topjohnwu
2020-09-24 02:49:09 -07:00
parent 63a9a7d643
commit 4fd04e62af
4 changed files with 3 additions and 30 deletions

View File

@@ -447,13 +447,7 @@ install_magisk() {
# Restore the original boot partition path
[ "$BOOTNAND" ] && BOOTIMAGE=$BOOTNAND
if ! flash_image new-boot.img "$BOOTIMAGE"; then
ui_print "- Compressing ramdisk to fit in partition"
./magiskboot cpio ramdisk.cpio compress
./magiskboot repack "$BOOTIMAGE"
flash_image new-boot.img "$BOOTIMAGE" || abort "! Insufficient partition size"
fi
flash_image new-boot.img "$BOOTIMAGE" || abort "! Insufficient partition size"
./magiskboot cleanup
rm -f new-boot.img