I want to first say that I didn't follow the guide on OTA updates while having Magisk, patched boot...
I got the Android 10 update OTA on my unlocked Pixel 2 XL and installed and rebooted, then realized I forgot to do the above
So, I went and got the boot.img from the same version off the Android site, push, patched and then attempted to flash boot, however after reboot, it sits on the G loading screen.
Is there an official way of getting Magisk back after OTA update without starting from scratch?
I'd like to know the same. I upgraded to Android 10 and lost root.
Is there a way to regain root without a clean install? Or alternatively is there a way to preserve user data (and regain root) if I flash a factory image of Android 9?
Related
I'm on ALJC. I used the toolkit to root with custom recovery and busybox. Then along came the MA7 update and I want to apply it via OTA.
So, using the Toolkit, I then flashed stock recovery, used Triangle Away to reset the flash counter, used SuperSU Pro to unroot. Then I let the update download. When the phone boots to apply the update the phone gets about 1/4 of the way through and the Android falls over dead with the nasty triangle-of-death.
I've checked many posts to try to determine if I'm missing a step or doing something out-of-sequence. In any case, any tips on what am I doing wrong?
Thanks!
I went ahead and flashed stock and did a double OTA update and re-installed everything. Now I'm at MA7.
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
littleromeo said:
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
Click to expand...
Click to collapse
Odex vs deodex: http://forum.xda-developers.com/showthread.php?t=2200349
If I understand well, updates will 'fail' with custom recovery, whereas the update is flashed the firmware version number shows the old version. Explained in the guides somewhere.
Sent from my Nexus 7 (2013)
littleromeo said:
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
Click to expand...
Click to collapse
Unlocked bootloader has no direct negative effect on ota installs.
With an unlocked bootloader you might do further actions which can affect the ota like modify or delete /system files. You might install an enhancement like apm. Those, among others, would prevent the ota update from completing.
Now normally root by itself would not prevent an ota update, but there was an issue with SuperSU v 1.51 and earlier which did prevent the ota install from completing. This was fixed in SuperSU v1.55 and above.
Installing twrp will not block the ota.
The ota will disable root and overwrite custom recovery by default.
If you would like to prevent that behavior, the easiest way is to
copy the ota update.zip and supersu update.zip to your virtual sdcard
boot into twrp
install ota update.zip
immediately (prior to reboot) re-install supersu
sfhub said:
Unlocked bootloader has no direct negative effect on ota installs.
With an unlocked bootloader you might do further actions which can affect the ota like modify or delete /system files. You might install an enhancement like apm. Those, among others, would prevent the ota update from completing.
Now normally root by itself would not prevent an ota update, but there was an issue with SuperSU v 1.51 and earlier which did prevent the ota install from completing. This was fixed in SuperSU v1.55 and above.
Installing twrp will not block the ota.
The ota will disable root and overwrite custom recovery by default.
If you would like to prevent that behavior, the easiest way is to
copy the ota update.zip and supersu update.zip to your virtual sdcard
boot into twrp
install ota update.zip
immediately (prior to reboot) re-install supersu
Click to expand...
Click to collapse
Thank you for the guide, updated to JSS15R. There were no touchscreen problems for me before the update and everything is just like before even after update. Hope someone comes up with a changelog soon.
I have rooted my Nexus 7 wifi 2012 tablet with TWRP
I don't want to keep un-rooting, applying ota updates then re-rooting my tablet. Is there an easy way. Maybe modified images i can use on a rooted tablet which i can install via the install option in twrp recovery loader.
I also notice that Nexus root tool kit has a ota sideload update option in the advanced menue.
So my question is where are the modifies ota update files if they exist as I don't want to keep un-rooting, rerooting each time to apply official ota updates. I have searched the net and can't find modifies ota updates?
My OTA failed due to root and modifications so I extracted system.img and boot.img from the 5.1 tarball and flashed them using Nexus Root Toolkit. Works well.
I'm going through the same issue - I want to keep running stock, but every time an OTA update comes in, it bugs me for an update until I go through the whole process of finding the files elsewhere, using the Toolkit to flash them etc etc.
Is there a better way to do this automatically? Can I find the downloaded OTA package on the Nexus and just flash it from there?
Since Lollipop, you can't take an OTA in any way (official or sideload) if you've modified your system. Rooting, custom recovery or kernel. Unrooting does not help since the system already has been modified.
Easiest way to upgrade and still keep your data is to flash the factory image but leave out userdata.img. This can be easily done through NRT (No wipe mode) if command prompt is scary. Yes you'll have to reroot... But hey, this is a Nexus, it's easy.
I assume that means waiting for someone to post the update?
If you want to wait for someone to make a prerooted image, then yes. Otherwise just download the official factory image (Google it) and go for it.
Google doesn't always release OTAs and factory images at the same time, so some waiting will probably always be involved...
Drives me crazy. TWRP used to be able to intercept a OTA flash, flash the needed images, detect you lost root and ask to restore root.
Somewhere that disappeared.
I just flashed a very old stock and took every OTA to 5.0.2, rooted, setup... now getting bombarded with 5.1.1 update notification. Ugh
Didgeridoohan said:
Since Lollipop, you can't take an OTA in any way (official or sideload) if you've modified your system. Rooting, custom recovery or kernel. Unrooting does not help since the system already has been modified.
Easiest way to upgrade and still keep your data is to flash the factory image but leave out userdata.img. This can be easily done through NRT (No wipe mode) if command prompt is scary. Yes you'll have to reroot... But hey, this is a Nexus, it's easy.
Click to expand...
Click to collapse
I need to flash the latest lollipop image to my rooted nexus with TWRP. I know where to find the images but don't remember how to flash it. What exactly are the steps and how do I leave out userdata.img ?
And what are the steps to reroot lollipop?
Thanks
i keep getting the offer to download the 5.1 update but when i do it dloads it then tries to reboot into recovery to flash it but it obviously boots into TWRP recovery which is no good.
So the question is when it dloads the update where does it dload to?
and could i flash it from TWRP if i find it?
I have my M8 running the GPE ROM which I have rooted. On previous Android versions, I was able to apply the OTA albeit manually in the custom recovery.
The last few OTA's I have attempted on my M8 have been a complete failure and I have ended up having to wipe and apply a factory image. Recently therefore i have been ignoring the updates (L-MR1 has been bugging me to install for weeks!)
Is there a method of applying these updates with the phone rooted?
Thanks
An ota will install with root applied BUT you have to make sure the system partition is untouched. This means that ALL the "stock" apps need to be there and nothing can be removed. xposed is also a known bugger to refuse official ota updates. And a must have is the HTC stock recovery. An ota never installs through a custom recovery !
As far as I know, unlocked bootloader doesn't stop the phone from receiving and installing MIUI OTA updates. But how about root ? Will I still be able to recive OTAs and install them automatically when i"m rooted + magisk installed + system apps untouched + stock recovery ?
Will magisk and root be able to survive OTA updates ?
No it may end in a bootloop
Unlocked phone can receive and update
But rooted u can manually install