-
(hopefully) instructions for taking OTA updates when TWRP recovery is installed
-
Will update, reflash TWRP, regain root, and (optionally) reinstall custom kernel
- Download these things:
- latest factory image (what you're updating to)
- latest TWRP
- latest SuperSU
- (Optional) latest ElementalX
- Note: Check info at all downloads to make sure there are no incompatabilities (warnings about anything)
-
Unzip factory image (twice)
-
Install Update:
adb reboot bootloader fastboot flash bootloader bootloader.img fastboot reboot-bootloader fastboot flash radio radio-angler.img fastboot reboot-bootloader fastboot flash boot boot.img fastboot erase cache fastboot flash cache cache.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash vendor vendor.img
fastboot flash boot modifiedboot.img
- Reflash latest TWRP:
fastboot flash recovery <twrp_latest.img>
-
Boot to recovery (using phone menu)
-
Install latest SuperSU zip using TWRP menu
-
(Optional) Install latest ElementalX using TWRP menu
-
Wipe cache/dalvik
-
Reboot system (If you are prompted by TWRP to install SuperSU, select NO)
Last active
February 8, 2018 22:31
-
-
Save gwparikh/2ec91e3d7691d215f893d0f5a7cda845 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment