OTA update Rooted Nexus 5 with TWRP - Nexus 5 Q&A, Help & Troubleshooting

Hello, I have a question. What would happen if a rooted Nexus 5 with TWRP or any other custom recovery took an OTA update? Android L seems to be coming soon and I was wondering if it will just remove root and then all I need to do is re-root it with SuperSU since the bootloader is unlocked, or will it brick the device because its rooted with a custom recovery? I'm fairly new to the Nexus line and was just curious. Thank you.
Sent from my Nexus 5 using XDA Premium 4 mobile app

[INFO] Nexus 5 OTA Help-Desk
rootSU said:
Just download the full rooted stock ROM in android development and flash it without wipe from recovery.
It's actually fewer steps anyway.
OTA = revert system changes and/or kernel, reboot into recovery, flash the OTA , boot to bootloader, connect to pc, fastboot flash recovery, reboot into recovery, flash supersu.
Rooted stock = reboot into recovery, flash the ROM.
No brainer really. Flashing an OTA if rooted is a fool's errand.
Click to expand...
Click to collapse

Read the stickies about it. They are in the n5 general section.

Lethargy said:
[INFO] Nexus 5 OTA Help-Desk
Click to expand...
Click to collapse
He he. I haven't posted that for a while.
Sent from my Nexus 5 using Tapatalk

Related

OTA

If I want the ota do I have to lock fastboot or can I just flash a fully stock rom. I saved my stock rom from when I first rooted.
Sent from my Nexus S using xda premium
The bootloader can stay unlocked.
Sent by pocket technology.
Cool as long as I have the original rom, kernel and ect...... I think it was 2.3.6. I don't need to lock bootloader thx
Sent from my Nexus S using xda premium
You can't flash an OTA on anything but stock recovery. You would be better off waiting 10 minutes for a flashable .zip to be posted on the forums so you don't have to do anything but wipe data.
Since you are going to restore to 2.3.6, you will probably be able to update the phone to 4.0.4 atm. And if that works, then the OTA for Jelly Bean will probably work too!
063_XOBX said:
You can't flash an OTA on anything but stock recovery. You would be better off waiting 10 minutes for a flashable .zip to be posted on the forums so you don't have to do anything but wipe data.
Click to expand...
Click to collapse
Wrong
Again in order to manually flash a official ota you NEED a custom recovery. It no longer works on stock recovery. The ota installs on stock recovery IF you get it pushed to you. It will fail to automatically flash ( as far I know) if the ota is pushed to your device and you click on reboot and install with a custom recovery.
You NEVER have to wipe data when applying a ota.

Anyway to stop losing root & recovery?

So is there anyway to keep my recovery or root when I flash an ota update?
If there is no way. Then anyway to install cwm and root from just the phone?
I do my updates etc when I have down time and that's usually on lunch or when my laptop is not around so handling everything from the phone would be very nice.
Sent from my Nexus 5 using Tapatalk
rans0m00 said:
So is there anyway to keep my recovery or root when I flash an ota update?
If there is no way. Then anyway to install cwm and root from just the phone?
I do my updates etc when I have down time and that's usually on lunch or when my laptop is not around so handling everything from the phone would be very nice.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You will lose root when flashing an OTA, but it is just one extra step to flash the SuperSU (takes less than a minute) to regain root. I keep the SuperSU file on my phone and just flash it from there.
I use TWRP, and haven't lost my custom recovery while flashing 4.4.1 or 4.4.2 yet.
(I stay stock rooted - you can't safely take OTA if you aren't on the stock ROM)
jj14 said:
You will lose root when flashing an OTA, but it is just one extra step to flash the SuperSU (takes less than a minute) to regain root. I keep the SuperSU file on my phone and just flash it from there.
I use TWRP, and haven't lost my custom recovery while flashing 4.4.1 or 4.4.2 yet.
(I stay stock rooted - you can't safely take OTA if you aren't on the stock ROM)
Click to expand...
Click to collapse
I let it restart before I flashed root. And been using cwm just preference and its gone after the 4.4.1 flash and now the 4.4.2
Except root and recovery I am completely stock.
Sent from my Nexus 5 using Tapatalk
rans0m00 said:
I let it restart before I flashed root. And been using cwm just preference and its gone after the 4.4.1 flash and now the 4.4.2
Except root and recovery I am completely stock.
Click to expand...
Click to collapse
I haven't used CWM, so can't say. But with TWRP, I flashed the update, and let the phone start up fully. Then, when I saw that root was gone, I shut down and booted back into TWRP, and flashed SuperSU. and then, booted back up. TWRP is still there.
(I'm rooted, stock ROM with custom recovery as well)
I use TWRP also. I flash the OTA, then Flash the SuperSU and then I reboot. Have yet to lose root
So not really a way of keeping cwm or root... But this is how I did it without needing a computer with me.
Flashed updated in cwm... Then flashed root... Then reboot... Used ROM manager to reinstall cwm.... Everything is good to go.
Sent from my Nexus 5 using Tapatalk
Or do like I do wait a couple of hours for one of the great devs we have here to give us a fully working updated stock rom with su and busybox built in.
All you can ask for from a rooted stock rom.
Download the system images and use flashify to flash all the files you need.
Sent from my Nexus 5
rans0m00 said:
So is there anyway to keep my recovery or root when I flash an ota update?
If there is no way. Then anyway to install cwm and root from just the phone?
I do my updates etc when I have down time and that's usually on lunch or when my laptop is not around so handling everything from the phone would be very nice.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Get the pro version of SU by chainfire and check keep root
Valdeck said:
Get the pro version of SU by chainfire and check keep root
Click to expand...
Click to collapse
^^^^ This
Survival mode FTW
Have the pro version. Will check that but would still lose cwm.
Sent from my Nexus 5 using Tapatalk

[Q] Android 4.4.3 on a rooted device

I own a rooted Nexus 5 with KitKat 4.4.2. Yesterday the N5 "saw" the 4.4.3 update, so I've downloaded it and then installed it, but while the phone was rebooting after the installation, it displayed the dead android logo with an error message. I've shut it down and reboot the phone but it is still running the 4.4.2 instead of the 4.4.3 and it doesn't receive the new update again. What can I do?
Download a rooted version of the 4.4.3 Stock ROM from here on XDA.
Sent from my Nexus 5 using XDA Premium 4 mobile app
SimoPiersi said:
I own a rooted Nexus 5 with KitKat 4.4.2. Yesterday the N5 "saw" the 4.4.3 update, so I've downloaded it and then installed it, but while the phone was rebooting after the installation, it displayed the dead android logo with an error message. I've shut it down and reboot the phone but it is still running the 4.4.2 instead of the 4.4.3 and it doesn't receive the new update again. What can I do?
Click to expand...
Click to collapse
What's the error message? Did you previouslt root the phone on 4.4.2 by yourself or did you buy it which is already rooted?
shoeseat said:
What's the error message? Did you previouslt root the phone on 4.4.2 by yourself or did you buy it which is already rooted?
Click to expand...
Click to collapse
I rooted it by myself on KitKat 4.4.2.
what system mods did you make? this includes kernels and any changes to ANY file in the /system directory.
Download Vomers rom and flash it. Its stock 4.4.3. That's what I did and its running smoothly.
sEnT fROM rOoT hEaVen
[Q] in title most definitely means this should be in q&a and not general.
The reason it failed is because you weren't stock (kernel, recovery, all system apps, no xposed framework). You need all of those to flash ota.
Like posted above, download @vomer's 4.4.3 ROM and flash it. It's the same thing. I ran it for a week and its golden
Sent from my Nexus 5 using Tapatalk
Zepius said:
what system mods did you make? this includes kernels and any changes to ANY file in the /system directory.
Click to expand...
Click to collapse
I had the same problem and the only "mod" I did was the tethering mod where I added the tether_dun_required 0 change to the settings.db file
Would that be the reason why mine failed? I unlocked bootloader, rooted STOCK.
deeznutz206 said:
I had the same problem and the only "mod" I did was the tethering mod where I added the tether_dun_required 0 change to the settings.db file
Would that be the reason why mine failed? I unlocked bootloader, rooted STOCK.
Click to expand...
Click to collapse
No the settings.db is in /data.
Sent from my Nexus 5 using Tapatalk
rootSU said:
No the settings.db is in /data.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks. Then I am really stumped on why my update failed.
Is the recovery stock?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Is the recovery stock?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes
Would probably need to know the error message to further troubleshoot the issue.
If you want root after an OTA, you have to fastboot flash a custom recovery then flash the superSU zip to root, so as suggested you may aswell fastboot flash recovery then recovery flash the stock rooted rom already mentioned. Actually fewer steps doing that.
Sent from my Nexus 5 using Tapatalk

4.4.2 "up to date"?

rooted N5 with stock with exposed mods.
a few days ago i got the "download update", i already downloaded it, the phone booted into TWRP and i had to click reboot and it was still 4.4.2... and now there is no update
help?
Caniv said:
rooted N5 with stock with exposed mods.
a few days ago i got the "download update", i already downloaded it, the phone booted into TWRP and i had to click reboot and it was still 4.4.2... and now there is no update
help?
Click to expand...
Click to collapse
You need to uninstall Xposed first, before upgrading. Refer to http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
Just download the full rooted stock ROM in android development and flash it without wipe from recovery.
It's actually fewer steps anyway.
OTA = revert system changes, boot recovery, flash, re-flash recovery, re-root
Rooted stock = boot recovery, flash
No brainer really. Flashing an OTA if rooted is a fool's errand
Sent from my Nexus 5 using Tapatalk
rootSU said:
Just download the full rooted stock ROM in android development and flash it without wipe from recovery.
It's actually fewer steps anyway.
OTA = revert system changes, boot recovery, flash, re-flash recovery, re-root
Rooted stock = boot recovery, flash
No brainer really. Flashing an OTA if rooted is a fool's errand
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
ty guys
say ROOTSU
If i do this do i still need to uninstall xposed?
if no do i still need to do anything else? like re root or somth?
Caniv said:
ty guys
say ROOTSU
If i do this do i still need to uninstall xposed?
if no do i still need to do anything else? like re root or somth?
Click to expand...
Click to collapse
Nope. It's just flashing an entire, rooted ROM. You will have to install the Xposed framework again but the Xposed installer, all Xposed modules and all their data will remain intact
Sent from my Nexus 5 using Tapatalk
rootSU said:
Nope. It's just flashing an entire, rooted ROM. You will have to install the Xposed framework again but the Xposed installer, all Xposed modules and all their data will remain intact
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
might i trouble you for the right thread link?
can't seem to find the right one..
ty!
Caniv said:
might i trouble you for the right thread link?
can't seem to find the right one..
ty!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2771010
Edit. Do take a Nandroid first
Sent from my Nexus 5 using Tapatalk

Marshmallow upgrade

Can I update my phone to marshmallow by flashing stock recovery unrooting my and relocking my bootloader by an app from playstore.because I don't have a pc available at the moment.and also can I root my phone again after updating it to marshmallow?
Sent from my Nexus 5 using Tapatalk
abdullah.ejaz123 said:
Can I update my phone to marshmallow by flashing stock recovery unrooting my and relocking my bootloader by an app from playstore.because I don't have a pc available at the moment.and also can I root my phone again after updating it to marshmallow?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
1) Yes, see below.
2) You could to flash the exact recovery image of the build you are running now (which should be LMY48M), but save this step for last.
3) If I'm thinking correctly, unrooting will also restore some system files back, and IIRC, some of these might be install-recovery.sh and recovery-from-boot.p. What these will do is to restore stock recovery if, on a reboot, it catches something else on the recovery partition. Going by this perspective, you wouldn't even need to manually flash stock recovery.
4) You don't need to relock the bootloader to successfully install an OTA.
Don't rush this, take your time.
Sent from my Nexus 10 using Tapatalk
beekay201 said:
1) Yes, see below.
2) You could to flash the exact recovery image of the build you are running now (which should be LMY48M), but save this step for last.
3) If I'm thinking correctly, unrooting will also restore some system files back, and IIRC, some of these might be install-recovery.sh and recovery-from-boot.p. What these will do is to restore stock recovery if, on a reboot, it catches something else on the recovery partition. Going by this perspective, you wouldn't even need to manually flash stock recovery.
4) You don't need to relock the bootloader to successfully install an OTA.
Don't rush this, take your time.
Sent from my Nexus 10 using Tapatalk
Click to expand...
Click to collapse
And what if unrooting didn't restore stock recovery?
Sent from my Nexus 5 using Tapatalk
abdullah.ejaz123 said:
And what if unrooting didn't restore stock recovery?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Then you'll need to do 2).
Sent from my Nexus 5 using Tapatalk

Categories

Resources