OTA update with Magisk and stock recovery installed - Redmi Note 8 Questions & Answers

If I have only flashed Magisk but preserved the stock recovery, can I take an OTA update normally,i.e, download and reboot when prompted? Do I still need to restore stock boot imgs or will it get overwritten anyway? The update in question is V11.0.9.0.PCOMIXM. Please help me clear my doubts before I proceed with the installation. Thank you

Related

OTA Updates With Custom Recovery

OTA updates with custom recovery
Hi. I have last 5.1.1 and stock recovery and kernel. I want to flash this http://forum.xda-developers.com/sma...overy-twrp-2-8-3-0-sony-smartwatch-3-t2986907
will be any problems with OTA's if I do that?
Thanks
Why do you want to flash it?
Fastboot boot <twrp.zip>
Yes, if you copy over your recovery, you risk not getting updates. Of course, you could back up your recovery and then flash this.
If I boot the recovery will work?
I want it to wipe caches
Yes. It should work.

Problem updating to OxygenOS 3.5.3 CE

hello everyone, hope you all have a nice day...
i'm no on NON-ROOTED stock OxygenOS 3.5.2, yesterday OTA update to 3.5.3 appeared on my phone and i downloaded it, i have TWRP recovery, then in rebooted to TWRP to install the update, after thtat, phone reboots again and said Update failed, if i go to system update now,it wants to download a 1.3GB file instead of former 80mb file! can i update using the 80mb OTA file instead of downloading a 1.3gb file ?
OTA wont work with TWRP Recovery. You need to revert back to stock recovery to use OTA.
And If you use full ROM ZIP, it will break your TWRP recovery.
ansaziz777 said:
OTA wont work with TWRP Recovery. You need to revert back to stock recovery to use OTA.
And If you use full ROM ZIP, it will break your TWRP recovery.
Click to expand...
Click to collapse
It worked for me with TWRP. But I did something different. If you turn on "show hidden files" in any supported File Manager you'd notice a folder named ".OnePLusH2Ota" that's where the downloaded update files are stored as a zip. So all you have to do is download the update file and Move it to the Root directory from the update folder. Then boot into TWRP and flash the zip and it will work.. Hope that helped
**REMEMBER THE TWRP I USED WAS NOT THE OFFICIAL TWRP. IT WAS A CUSTOM VERSION OF TWRP**
ansaziz777 said:
OTA wont work with TWRP Recovery. You need to revert back to stock recovery to use OTA.
And If you use full ROM ZIP, it will break your TWRP recovery.
Click to expand...
Click to collapse
I was able to download and then flash the update .zip with the modified TWRP, didn't break that version of TWRP.

Will I lose root if I accept the latest OTA?

Running stock image with root, is it usually safe to take ota's?
You will receive error when installing the OTA. Unroot and then update, or... since you already have the bootloader unlocked (for rooting) you can flash from a PC the latest factory image (with the -w removed form the flash-all.bat script).
If you use magisk, you can go into it and select uninstall and restore images. Do not reboot your phone. Install the OTA and once you're at step to, go into magisk and select install and select the OTA option. Wait for the update to finish and reboot. Afterwards you're rooted and updated.
severedsnake said:
Running stock image with root, is it usually safe to take ota's?
Click to expand...
Click to collapse
Magisk Uninstall never worked for me for some reason.
Download OTA to PC
Boot into TWRP
ADB Sideload OTA
reboot
powerdown
Boot into TWRP again
flash Magisk.zip
Done
You can even flash the OTA.zip in twrp as well. When done, just fastboot into twrp, flash the twrp installer zip, then kernel, then magisk, reboot, done :good:

How to update from Magisk rooted 8.1.0 to 9.0 and then root with Magisk again?

I did some searching, but could not see a guide for moving from Magisk rooted 8.1.0 to Magisk rooted 9.0. I believe I need to uninstall Magisk, then install the update, but not sure of the exact process. Also, is it better to wipe the data when going from 8.1.0 to 9.0 or doesn't matter?
Thanks in advance!
There's two ways you can do this.
One, you can sideload the OTA using ADB (if on stock recovery), or you can flash the OTA through TWRP.
Two, you can download the factory image, and manually flash the bootloader and radio, then update /system WITHOUT the -w flag, if you don't want to wipe data.
Any time you flash a software update, whether it's the OTA or the factory image, it WILL overwrite /boot, so you will lose Magisk and any custom kernel and recovery. Simply boot TWRP using fastboot, flash Magisk (and TWRP and kernel if desired), and you'll be good to go.
No need to wipe data. My process for installing OTAs and re-rooting has always been the same and it's no different with the 9.0 update other than one exception I encountered (patching the boot image AFTER updating).
I prefer the boot image patching method:
Download the latest platform-tools from Google
Download both the OTA and full factory images
Extract boot.img from the factory image
If already rooted prior to updating, re-flash current stock boot image
Sideload OTA
Patch the extracted boot image with Magisk (make sure you're on the latest version; 16.7 beta channel)
Flash patched boot image
Normally I patch the boot image prior to sideloading the OTA but it resulted in an endless boot after the 9.0 update.
Thanks guys. I actually found a thread I bookmarked previously on this topic. Do you think this would work well still? :
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-how-to-install-google-software-t3760535
Also I saw some people mentioning trouble with Magisk after 9.0 update. Did you encounter that or anything special to consider there?
machx1111 said:
Thanks guys. I actually found a thread I bookmarked previously on this topic. Do you think this would work well still? :
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-how-to-install-google-software-t3760535
Also I saw some people mentioning trouble with Magisk after 9.0 update. Did you encounter that or anything special to consider there?
Click to expand...
Click to collapse
Here's a bit more specific guide for updating to 9.0
https://forum.xda-developers.com/pi...de-reference-8x-oreo-to-t3826330/post77269862

How to update OTA on rooted without losing data

Hi, what's the procedure to use OTA or flash update on rooted (magisk) device without losing data?
I tried before by flashing OTA through twrp and reflash magisk but it ended in bootloop and losing data. I'm on official stable. Thanks in advance.
Bump. Guys how do you update rooted global stable like dirty flash? I've only managed to "update" by clean installation.
dirty flash. download full rom format zip then flash with twrp without wipe anything
Without re-flashing magisk and twrp? Are you sure?
use redwolf recovery for ota update flashing

Categories

Resources