From 53796e73334ac9d87d4cb5a355fc8c1d205104f6 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 11 Jan 2019 22:49:52 -0600 Subject: Use magiskboot to repack the boot partition Set TW_INCLUDE_REPACKTOOLS := true Must also have: AB_OTA_UPDATER := true Use magiskboot and provide GUI options to allow users to repack their existing boot image to install TWRP (or kernels) so we can stop having to provide installation zips for AB devices. There is also an option to try to fix a recovery bootloop if the kernel has been patched to always boot the ramdisk for root, etc. You will need to pull the below repo into external/magisk-prebuilt https://github.com/TeamWin/external_magisk-prebuilt Change-Id: I74196cc6f095a7576d61886dc96cbc18deba9b04 --- gui/theme/common/languages/en.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gui/theme/common/languages/en.xml') diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml index e61f6c0a8..7a6012074 100755 --- a/gui/theme/common/languages/en.xml +++ b/gui/theme/common/languages/en.xml @@ -486,6 +486,28 @@ Do Not Install Select Storage OK + Install Recovery Ramdisk + Install Kernel + Install Kernel + Install Recovery + Install Kernel? + Install Recovery? + Back up existing image first + Repack + Swipe to Install + Installing... + Install Complete + Error unpacking image. + Error repacking image. + Unpacking {1}... + Repacking {1}... + Select Image + Fix Recovery Bootloop + Fix Recovery Bootloop? + Fixing Recovery Bootloop... + Fix Recovery Bootloop Complete + Patching kernel... + Error patching kernel. Kernel does not have support for reading SELinux contexts. -- cgit v1.2.3