Table of Contents
Before getting started, let’s make sure you’re ready. These steps work for most rooted Android devices like the Samsung Galaxy S21, S21 Ultra, Google Pixel 6, Pixel 7 Pro, OnePlus 10, and similar models. Here’s what you need to do first:
- Turn Off Automatic System Updates:
Go to Settings > About Phone > Build Number (tap 7 times to turn on Developer Options). Then, go to Settings > System > Developer Options and turn off Automatic System Updates. - Backup Your Data:
It’s always smart to have a full backup ready. Use apps like Titanium Backup or your device’s built-in backup options. - Download Necessary Files:
Download Magisk Zip File, Download TWRP Recovery Image, Download Android SDK Platform Tools
Installing OTA Updates on A/B Partition Devices
If your device has A/B partitions, like many Google Pixel devices, this method will help you update without losing root.
Restore Stock Boot Image
Before you start the update, you’ll need to restore the stock boot image to make sure the update goes smoothly.
- Open the Magisk App, tap on Uninstall, and choose Restore Images.
- Don’t reboot your device at this point, as it will remove root.
Install the OTA Update
Once the stock images are restored, you’re ready to install the OTA update.
- Go to Settings > System > System Update and download the OTA update.
- After downloading, don’t reboot your device yet.
Reinstall Magisk on the Inactive Slot
To keep your device rooted after the update, you need to reinstall Magisk.
- Open the Magisk App again.
- Tap on Install next to Magisk and select Install to Inactive Slot.
- Once that’s done, reboot your device.
Your device will now boot into the updated system, and you’ll still have root access.
Installing OTA Updates via ADB Sideload
For devices that don’t have A/B partitions, ADB Sideload is a reliable way to install OTA updates while keeping root.
Download and Prepare Files
- Download the OTA update file specific to your device.
- Download the Android SDK Platform Tools and extract them on your PC.
- Move the OTA file to the platform-tools folder and rename it to ota.zip.
Boot into Recovery Mode
- Turn on USB Debugging on your device (Settings > Developer Options > USB Debugging).
- Connect your device to your PC and open Command Prompt in the platform-tools folder.
- Type the command: adb reboot recovery to boot into recovery mode.
Apply OTA via ADB
- Use the volume keys to select Apply Update via ADB in the recovery menu.
- On your PC, type: adb sideload ota.zip and press enter.
- Once the installation is done, reboot your device.
Installing OTA Updates via Factory Image
If you want to be extra sure everything goes smoothly, flashing the factory image is the most reliable method.
Prepare the Factory Image
- Download the Factory Image for your device and extract it into the platform-tools folder.
- Extract the boot.img from the image and transfer it to your device.
Flash the Factory Image
- Open Command Prompt in the platform-tools folder.
- Type the command: adb reboot bootloader to boot into fastboot mode.
- Use the command: fastboot flash boot boot.img to flash the factory image.
- Reboot your device when the flashing process is complete.
Installing OTA Updates via Android Flash Tool
For Pixel and some other devices, the Android Flash Tool offers a simpler way to get the update installed.
Use the Android Flash Tool
- Download the Factory Image for your device.</li >
- Connect your device to your PC and visit the Android Flash Tool website.
- Follow the instructions on the screen to flash the update.
Reinstall Magisk
After the OTA update, reinstall Magisk by following the steps from the A/B partition method above.
Installing OTA Updates on OnePlus Devices
OnePlus devices have a slightly different method for installing OTA updates.
Restore Stock Boot
- Open the Magisk App and tap on Uninstall > Restore Images.
- Download the OTA update and move it to your device’s internal storage.
Use Local Update
- Install the OnePlus Local Update App and use it to install the OTA update.
- Once the update is installed, reboot your device to keep root access.
Reinstalling Magisk After OTA Update
If other methods don’t work, you might need to uninstall Magisk temporarily and reinstall it after the update.
Uninstall Magisk
- Open the Magisk App and choose Complete Uninstall.
- After uninstalling, install the OTA update as you normally would.
Reinstall Magisk
After the OTA is installed, follow the steps to re-root your device using Magisk.
And that’s it! Updating a rooted Android device doesn’t have to be a stressful experience. By following these steps, you can keep your device up-to-date and rooted, without any fuss. Remember, it’s important to go slow and double-check each step to avoid any mishaps. If you ever feel unsure, you can always come back to this guide or check out the linked videos for a little extra help. Ready to get started? Let’s keep that device of yours running smoothly and rooted!