I don't know why folks continue to have issues updating when a new Android update is released. Despite Magisk having the option to install to an inactive slot for easy OTA updating, I simply avoid it and go the old-school route of updating via sideload to prevent any issues.
In hopes of putting to rest issues some of you face, here is what I do:
- Make a backup of all my important files in case something goes wrong
- Disable any Magisk modules if it makes you feel any safer
- Download the OTA image online and NOT from the system update!
- Reboot to recovery and sideload the OTA by using:
- Then, in recovery I load up the file by using:
Code:
adb sideload "insert OTA file name here.zip"
- Once it finishes, you will be in recovery mode. Select "Reboot to system now".
- Once the system reboots, I unlock the device and let it finish completing the update before anything else.
I then proceed to root the device as I normally would, by:
- Getting the NEW boot.img file from the full factory image
- Copy it to my mobile device
- Open up Magisk and patch the boot.img file
- Copy the patched file to my PC
- Reboot into bootloader using:
Then, patch the new boot.img using:
Code:
fastboot flash boot "patched_boot.img"
Reboot / Done.
I have not had it fail once using this process on
stable Magisk and
NO "disable" tags. The only reason I can see for anyone to use Canary versions of Magisk or "disable" tags, is if its absolutely required for some modules, ROMs, or kernels you are using. If it's not needed, just leave it alone.
You could technically just dirty flash the entire full factory image using the
Android Flash Tool or flash-all.bat script on your PC, but the script file is where I find most folks mess up because they copy and pasted instructions improperly, or there's a line of code they forgot to add or remove without proofreading before running the script. I'd rather take matters into my own hands, even if it means completing more steps to make sure things go smoothly.
Anyway, I hope this helps someone!