Back to stock and receive ota updates - Nexus 5 Q&A, Help & Troubleshooting

Hello i rooted my nexus 5 and install a kernel and cwm recovery is it possible to back to stock and recive ota android updates with stock recovery if yeah how to do that?
Thanks.

http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

Return to stock only if you don't want root. If you do want root. You don't want OTA

rootSU said:
Return to stock only if you don't want root. If you do want root. You don't want OTA
Click to expand...
Click to collapse
You can have ota and root, as long as you don't have a custom recovery. once you get the update you loose root, and have to root it back. just don't install a custom recovery if you want ota updates
As for getting ota back, you will have to flash stock images. that means wiping your device..

i.adrian said:
You can have ota and root, as long as you don't have a custom recovery. once you get the update you loose root, and have to root it back. just don't install a custom recovery if you want ota updates
As for getting ota back, you will have to flash stock images. that means wiping your device..
Click to expand...
Click to collapse
Actually you can OTA with root AND a custom recovery. However my real point is just because you CAN, doesn't mean you SHOULD... And if that isn't clear - rooted users shouldn't rely on or think about OTAs.

how to back to original recovery?

natan.p said:
how to back to original recovery?
Click to expand...
Click to collapse
If you really want to... Even though people are telling you you don't need to..
Just grab the factory images, inside update.zip there's recovery.img, flash that with fastboot.

Why do we go through this every time there is an update?

http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217

Related

What happens if you get OTA on a rooted phone?

I heard the phone gets unrooted with an OTA? So what happens to the apps that need root access? They stay there and start working fine when you root again or need to be reinstalled?
Do you lose data in the process when you install OTA update on a rooted phone?
if i remember correctly , it will not have OTA with rooted phone even with stock ROM.
by root , you must have change some system file , most case, flash CWM recovery and install superuser, which will effectively fail the OTA.
You will get the ota.
it will install perfectly normal if you still have stock recovery.
if you have custom recovery manually flash the update.zip Then flash su.zip. You're now stock rooted.
albundy2010 said:
You will get the ota.
it will install perfectly normal if you still have stock recovery.
if you have custom recovery manually flash the update.zip Then flash su.zip. You're now stock rooted.
Click to expand...
Click to collapse
I have stock recovery and I do have some third party apps installed as system apps but I havent deleted any.
I'll think unless I am one of the first to get OTA I'll prolly be too impatient to wait for it anyways and flash through CWM. But will I lose data flashing through CWM? I have flashed stock roms through stock recovery when it was allowed in GB and never lost data but I wasnt rooted back then.
Gambler_3 said:
I heard the phone gets unrooted with an OTA? So what happens to the apps that need root access? They stay there and start working fine when you root again or need to be reinstalled?
Do you lose data in the process when you install OTA update on a rooted phone?
Click to expand...
Click to collapse
Be patient, stay rooted, soon after the release I am sure there will be a stock rom that you can flash via CWM,
You won't loose data.
You can flash official updates through cwm no problem. In fact that was the only way to do it manually after 4.0.3. Stock recovery would not allow manually flashing the update zip. Would end up in a error 7.
So it was either wait for the update to be pushed to your phone or flash it manually with a custom recovery

[Q] updating device.

I was just wondering, is the only way to be able to receive updates from Samsung is to be on the stock rom, I currently own a rooted Asus tablet with a stock rom But I can no longer receive Updates through Asus because of unlocked bootloader . So all in all I guess I'm asking how do the updates work on this phone with, root,unlocked boot loader, stock/custom roms. Thanks.
PhantomPlanet said:
I was just wondering, is the only way to be able to receive updates from Samsung is to be on the stock rom, I currently own a rooted Asus tablet with a stock rom But I can no longer receive Updates through Asus because of unlocked bootloader . So all in all I guess I'm asking how do the updates work on this phone with, root,unlocked boot loader, stock/custom roms. Thanks.
Click to expand...
Click to collapse
It's all the same for all devices, unlocked bootloader you don't get OTA. If you're using custom/stock rom with unlocked bootloader, you just have to wait for a repack stock rom or update custom rom. If you have rooted pure stock rom you should able to receive OTA and use OTA root keeper to preserve root. If you modify your build.props or removed system apps, the update will failed. Hope that answer your quesiton.
buhohitr said:
It's all the same for all devices, unlocked bootloader you don't get OTA. If you're using custom/stock rom with unlocked bootloader, you just have to wait for a repack stock rom or update custom rom. If you have rooted pure stock rom you should able to receive OTA and use OTA root keeper to preserve root. If you modify your build.props or removed system apps, the update will failed. Hope that answer your quesiton.
Click to expand...
Click to collapse
So from what I understand as long as Im on the stock rom even if its rooted I can receive updates and I need to use ota root keeper to continue to be rooted after an OTA update, correct?
buhohitr said:
It's all the same for all devices, unlocked bootloader you don't get OTA. If you're using custom/stock rom with unlocked bootloader, you just have to wait for a repack stock rom or update custom rom. If you have rooted pure stock rom you should able to receive OTA and use OTA root keeper to preserve root. If you modify your build.props or removed system apps, the update will failed. Hope that answer your quesiton.
Click to expand...
Click to collapse
I should probably add, if I had just rooted and got twrp and made a backup of the stock rom, then flashed a custom rom and if I wanted to update could I just reflash the backup of the stock in twrp to be able to update, this would be for if they Didn't have a custom rom out for the latest update. As of right now I have a tablet on ics but I cannot update to jb because I don't have the jb boot loader or whatever, but say I was to flash a stock Asus rom on ics And use OTA rootkeeper Would I then be able to flash jb custom roms? I assume the OTA update from ics To jb installs the correct boot loader instead of having to do it manually from a cimputer, big thanks for any help.

[Q] Do I have to revert to stock before the 4.4.2 update will work?

I'm running a faux kernel, I'm rooted and have TWRP recovery.
I was on 4.4 and got the notice about 4.4.2 and I accepted. I then got distracted with something and when I came back, my phone was in TWRP recovery. I reset back to system but I see I'm still on 4.4.
So did it fail because I have a custom recovery? or a custom kernel? or root? or something else?
And basically, do I have to go back to full stock to be able to do OTA updates? Or is one of the 3 above I listed messing it up?
Never did OTA updates before so I'm new to this.
Thanks!
Bojamijams said:
I'm running a faux kernel, I'm rooted and have TWRP recovery.
I was on 4.4 and got the notice about 4.4.2 and I accepted. I then got distracted with something and when I came back, my phone was in TWRP recovery. I reset back to system but I see I'm still on 4.4.
So did it fail because I have a custom recovery? or a custom kernel? or root? or something else?
And basically, do I have to go back to full stock to be able to do OTA updates? Or is one of the 3 above I listed messing it up?
Never did OTA updates before so I'm new to this.
Thanks!
Click to expand...
Click to collapse
Since you have a custom kernel you should fastboot flash the system and boot images from 4.4 before the ota. Of you don't it won't work.
jd1639 said:
Since you have a custom kernel you should fastboot flash the system and boot images from 4.4 before the ota. Of you don't it won't work.
Click to expand...
Click to collapse
So it is the custom kernel that broke it?
Once I fix that, how do I get the OTA again? Right now I'm on 4.4 and when I check, it says I have the latest
depends... for the recent updates yes, there are patches for certain things so they need those files to be as stock to be able to patch them without issues. if n update comes in the future with a full set of images, then it may not require stock files.
Bojamijams said:
So it is the custom kernel that broke it?
Once I fix that, how do I get the OTA again? Right now I'm on 4.4 and when I check, it says I have the latest
Click to expand...
Click to collapse
Just follow this and manually install the ota. http://forum.xda-developers.com/showthread.php?p=47369234

[Q] OTA update ?

I just bought my nexus 5 and it's rooted with a custom ROM. Will I still get the update? I have a backup of the stock ROM but not the stock recovery. Do I need to restore my backup and wait for the update? Thanks.
If you want the ota, go back to stock. Or wait a few days and flash lollipop from your custom recovery I once a Dev packages it up. Or fastboot flash it as soon as available.
Depends on how patient you can be and how technical you are prepared to be.
I will be editing far the system image and fast boot flashing myself.
I think you have to be on stock ROM with the stock recovery to get the 5.0 ota.
IMO you can wait for the factory images from Google and flash them directly rather then flash stock ROM and recovery now and wait for the ota, because OTA will hit later then the factory images.
evertking said:
I just bought my nexus 5 and it's rooted with a custom ROM. Will I still get the update? I have a backup of the stock ROM but not the stock recovery. Do I need to restore my backup and wait for the update? Thanks.
Click to expand...
Click to collapse
U could have asked that in the lollipop thread...
No u will need stock recovery to flash ota.....
Also i would strictly advice u to either flash pure kitkat image...or lollipop image .... That would prevent most of the bugs u encounter wid userdata...
rootSU said:
If you're going to live in the rooted world, you should learn to do things properly. OTA is the worst way of managing a rooted phone, which is why I said OTA is super-noob. If someone is reliant on OTA updates, they probably should not be rooted in the first place.
Click to expand...
Click to collapse
See above
There are also dedicated OTA threads as well as dedicated Lollipop threads. Nor does this belong in General.
This thread has all of the OTA info you could imagine.
http://forum.xda-developers.com/showthread.php?t=2523217
As mentioned above. We have a dedicated OTA thread.
Closed.

OTA Question

Unlocked U11 with unlocked bootloader, trwrp recovery and rooted stock. Have not flashed custom rom. Steps to take OTA Oreo?
Flash back to stock. Use the firmware zip it is on now to reset. You should then be able to take ota's. No need to unroot, relock etc.
Flash stock unrooted FW due twrp?
Sent from my HTC U11 using XDA Labs
Believe I have bricked my device. Flashed RUU using appropriate RUU exe from HTC. Intaller ran for @1hour with 0% process. Battery was at 93% and ran to under 30% halting process. Had to disconnect to recharge. Will call HTC to see if they can help.
Update- All cool. Battery died, charged phone boots up fine. Still on stock. Need to restore stock recovery.
shivadow said:
Flash back to stock. Use the firmware zip it is on now to reset. You should then be able to take ota's. No need to unroot, relock etc.
Click to expand...
Click to collapse
If I'm not mistaken, flashing back to stock with the ruu will in affect unroot your phone. You'd still have twrp and an unlocked bootloader, but you'd have to install SuperUser or Magisk again.
Am I correct?
cmurgia said:
If I'm not mistaken, flashing back to stock with the ruu will in affect unroot your phone. You'd still have twrp and an unlocked bootloader, but you'd have to install SuperUser or Magisk again.
Am I correct?
Click to expand...
Click to collapse
Flashing back to stock with the ruu will replace TWRP with stock recovery, thus making it able to take OTA.
If it's rooted or TWRP installed, it will stall at beginning of OTA process .
michaelbsheldon said:
Flashing back to stock with the ruu will replace TWRP with stock recovery, thus making it able to take OTA.
If it's rooted or TWRP installed, it will stall at beginning of OTA process .
Click to expand...
Click to collapse
What if you just remove twrp and go back to the stock recovery? Would it then break root?
cmurgia said:
What if you just remove twrp and go back to the stock recovery? Would it then break root?
Click to expand...
Click to collapse
You could remove root of SuperSU or Magisk and then flash stock recovery over TWRP.
Haven't tried that and not sure if it would work. A rooted phone won't take OTA.
Would save restore chores if you could.
michaelbsheldon said:
You could remove root of SuperSU or Magisk and then flash stock recovery over TWRP.
Haven't tried that and not sure if it would work. A rooted phone won't take OTA.
Would save restore chores if you could.
Click to expand...
Click to collapse
only way to take OTA is go back to stock rom by using RUU (will lost data, back to stock recovery, unroot already).
On rooted stock rom, i tried unroot and flash stock recovery by ADB but it still cant install OTA update
Flashing back to stock will unroot and flash stock recovery. If you dont do it that way you cannot update ota as the signature of the firmware is broken. You have to 're-sign' the firmware by flashing it again.
Flashing stock firmware will NOT relock or lock the bootloader. It will NOT s-on. If your bootloader is unlocked and/or s-off do not change them as there is no need.
3 essentials for the m9 are:
Stock firmware ruu.zip
S-off
Charger cable.

Categories

Resources