Can I flash OTA zip over a unlocked and rooted stock firmware? - Nexus 6P Q&A, Help & Troubleshooting

I know that I can't get OTA normally if I have any system level modifications like root or xposed installed.
However, I came across this thread which lists both, the stock firmware images and individual OTA update zips.
With the zip for OTA in hand, will flashing them on a rooted stock device cause problems?

You can install the factory images but it will be a clean install. You will have to root the phone after. You can learn how to flash those images here, http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

No. You can't flash an OTA if you're modified. You must flash the factory images.

Thanks! Guess I have to download the full thing everytime.

Thanks!

Related

Struggling to Update - Help Needed

So my son's 2012 Nexus 7 (32 GB Wi-Fi) is struggling to update. I was checking to see if he got the 5.0 update and noticed he's still on 4.4.2. When I tried to update to 4.4.3 it won't reboot and install the update.
I then tried to sideload the update and it failed due to some certificate issue. Maybe because it's unlocked? I then rooted it again (lost it after the last update apparently) and also installed TWRP. I was going to attempt to sideload from within TWRP but adb doesn't see the device in sideload mode for me for some reason.
Bottom line... Can I just flash the OTA zip file like any other file within TWRP? If not, does anyone have any over ideas of what I can do to update this this without wiping it clean?
I think you will have to flash the 5.0 and images using fastboot. Can you get into ap fastboot mode?
before that though, and to answer your questions:
- unlocked bootloader does not cause issues
- I've used twrp to flash all of the KitKat ota updates directly. simply put the update zip in the internal storage of the device (I always put it in sdcard0/) and flash. the only reason that would fail with KitKat is if you have xposed installed, which was fixed by flashing xposed Disabler zip first. I don't think having root mattered.
- for the lollipop update flashing from twrp didn't work for me. I had to first return 4.4.4 to stock system and recovery (by flashing the system.img and recovery.img files from stock 4.4.4) then adb sideload 5.0 ota update. In your case tho you'd have just updated to 4.4.4 so you can just go straight to sideloading.
All the ota update links are in the second sticky in the general section. make sure you follow the correct to:from build numbers.
I'd prefer this longer route of ota updates, but if nothing works then you can probably just flash system, recovery, and boot directly from the lollipop firmware, and leave userdata untouched. I'd also Not flash the bootloader, as it's reported to have issues.

Unable to install OA 6.0.1

hi,
I have a rooted moto x play (indian version)
I downloaded the OTA update, which reboots to recovery and fails. I use twrp as recovery.
And then it keeps failing. I want to install OTA update but don't want to reset my mobile.
Screenshot. ( boot loader is unlocked)
Maybe do a search prior to posting about installing an ota when rooted and running a custom recovery. There's more than a few threads regarding this specific situation.
All you're really doing is cluttering the MXP threads with non needed threads.
I'm not even going to help you out because I hate spoon feeding people who can't even or are to lazy to do either a search on XDA or google.
I did try searching for. no help
can anyone help?
Rooting means you're modifying the system. The system will not be like before. You may be able to download the update but that won't get installed. The modification of system files won't allow you to patch them with the OTA update. So the only way is to flash the firmware manually
since Lollipop, Google doesn't let the OTA install on top of a modified system. (any modification at all). If you were rooted, and you unroot, the system is still considered "modified".
you want to install an official update from your manufacturer, the recommended process is to first return your device to completely stock including replacing TWRP with a copy of the stock recovery.
If you have nandroid backup before install SuperSU, first flash that and flash stock recovery and boot into stock and get ota and flash then you can re root and flash recovery again.

How to update once rooted?

I plan to get my OP5 today, and will update it before I root it, but I'm curious about future updates. Is my understanding correct that the OTA will fail, and the only way to upgrade is by waiting for the full stock ROMs to be posted here to flash in TWRP? From the previous phones, how long of a delay is there typically between an OTA and when we can flash it via TWRP? Does the full ROM that you flash also include the modem/radio files, or does that need to be flashed separately?
If you are stock and not rooted: updates come OTA as incremental updates. Small filesizes.
If you are stock and rooted: updates come OTA as FULL zips. Full ROM size. 4.5.2 for me was around 1.6GB in size.
Both will come through the official OTA mechanism. When the device reboots and installs, it runs on TWRP automatically without any manual user intervention.
tl;dr: Will still be OTA, but bigger filesizes. You will have to re-root (re flash SuperSU, Magisk, whatever)...
---------- Post added at 10:36 AM ---------- Previous post was at 10:36 AM ----------
If you are stock and not rooted: updates come OTA as incremental updates. Small filesizes.
If you are stock and rooted: updates come OTA as FULL zips. Full ROM size. 4.5.2 for me was around 1.6GB in size.
Both will come through the official OTA mechanism. When the device reboots and installs, it runs on TWRP automatically without any manual user intervention.
tl;dr: Will still be OTA, but bigger filesizes. You will have to re-root (re flash SuperSU, Magisk, whatever)...
I'm stock and rooted, the OTA came as a 36MB update.
ota
I just rooted and wanted to update with OTA to 4.5.2, it rebooted into twrp and did something for a second and went back to the normal menu. I then rebooted and it told me that the update did not apply. I just flashed the 1.4 GB OTA and rooted over again, for the next update, do i have to wipe before i install the new OTA manually or can i just flash the never big version over without having to wipe it?
Do I have to flash TWRP for the OTAs to work once rooted? Or will they still install with stock recovery?
I rooted with "fastboot boot TWRP.img" instead of actually flashing TWRP to the system...
1. make backup
2. save it on your computer
3. flash latest TWRP - reset back to recovery
4. flash OOS 4.5.2 Full Rom Zip and SuperSU or Magisk
5. Wipe Dalvik & Cache
6. make new backup if everything works fine, so you have it just in case
geoff5093 said:
I plan to get my OP5 today, and will update it before I root it, but I'm curious about future updates. Is my understanding correct that the OTA will fail, and the only way to upgrade is by waiting for the full stock ROMs to be posted here to flash in TWRP? From the previous phones, how long of a delay is there typically between an OTA and when we can flash it via TWRP? Does the full ROM that you flash also include the modem/radio files, or does that need to be flashed separately?
Click to expand...
Click to collapse
If you are rooted, the phone automatically chooses to download the full OTA zip.
I want to root the phone and unlock bootloader. But firstly, i want to make backup all the settings/applications etc. How can i do that? I am full stock now
You can try Helium backup by clockworkmod. It is supposed to be basically a more friendly interface to `adb backup`.
For the record I couldn't get it to restore properly when I rooted my Shield TV, but I was probably doing something wrong.
I plan on rooting about to do it now. When another OTA update come along from above says I will get the full download but it will not erase any data or setting, right? Will be just full update but all will be intact?
parcou said:
I plan on rooting about to do it now. When another OTA update come along from above says I will get the full download but it will not erase any data or setting, right? Will be just full update but all will be intact?
Click to expand...
Click to collapse
As part of rooting, you will need to unlock your bootloader, which will wipe all data on the device. This is a one time thing.
After that, when you get OTAs, your data, apps, etc., will be intact, but it will overwrite several system partitions (that's why it's the larger download). So you will need to reinstall TWRP or whatever recovery, and reflash your root zip every time an OTA comes along.
If you have the space, it doesn't hurt to make a TWRP backup before installing the OTA.
Hope that all makes sense!

OTA updates after root?

Hi, I have a european S8+ fully rooted and with TWRP.
Everything's working great so far but I read somewhere that I won't receive further OTA updates.
Can I install them manually with TWRP?
If yes, 3 questions:
1. Where can I get them?
2. Do I need every single update or are the newest update always containing the older updates as well?
3. Do I lose root or TWRP after installing an update?
I've rooted with Magisk by the way.
Typically if you're rooted and modified the system partition (BusyBox or twrp or whatever) the update will not install in stock recovery. Usually you have to unroot reinstall stock recovery and flash ota. There's toolkits out that can do that. Or you can just find an awesome rom like a rooted debloated rom thats just recently updated and just flash that. Or you can what till somebody snags the ota update location then posts that.

can I flash ota update in twrp?

I received ota update notification. I downloaded the zip, it is npn25-37, currently my phone is on npn25-33. I have magisk root and twrp. I wonder if I can flash the ota update zip in twrp? Thanks
xdataibai said:
I received ota update notification. I downloaded the zip, it is npn25-37, currently my phone is on npn25-33. I have magisk root and twrp. I wonder if I can flash the ota update zip in twrp? Thanks
Click to expand...
Click to collapse
It will not work, OTAs require the stock recovery. Since you hace TWRP there is also a chance that it might have mounted your system before, so your system image isn't vanilla anymore and the OTA will fail to apply. First try flashing stock recovery from here (search for the version you currently have, which is -33) https://forum.xda-developers.com/g5-plus/how-to/firmwares-moto-g5-plus-t3593160 and then apply the ota. Since the firmware you're on is quite outdated, you'll probably have a couple more OTAs on the way.
Now if that doesn't work, you'll need to back up everything you have (apps and data) and flash system, oem and recovery, and then apply the ota updates, then restore your data.

Categories

Resources