android-foss/tutorials/Install-Rooted-OTA.md
2017-08-04 12:43:11 +02:00

1.4 KiB
Raw Blame History

Installation of OTA on a Rooted Device

The installation of OTA updates often fails if the device has been rooted. Though it's still possible without data loss. This guide shows how, using TWRP and Magisk.

IMPORTANT: Before you start backup everything that's important! Proceed at own risk!


Prerequisite

  1. The Update file of the version that's running on the device (NOT the update you want to install)
  2. TWRP for your device
  3. Magisk
  4. ADB and Fastboot inclusive developer mode the device

Don't forget to check the checksums of all files.

Doing the update isn't that difficult: Reset some system partitions, install OTA, refresh TWPR and Magisk, done. There are two versions of this guide: The short version is just a list of steps, while the long version contains each step and the commands necessary.

Short Version

  1. Download the Update current installed
  2. Enable USB Debugging
  3. Boot to Bootloader
  4. Flash recovery, system and boot images
  5. Reboot
  6. Flash TWRP
  7. Boot to Recovery
  8. Install Magisk
  9. Reboot

Long Version

At first double check your backups and the prerequisites listed above.

Preparation

Unpack the downloaded Update file, you need: recovery.img, system.img and boot.img.