[Q] Flash stock recovery with locked bootloader? - Nexus 5 Q&A, Help & Troubleshooting

So the situation is that I used towelroot to obtain root, installed SuperSU and then used TWRP Manager to install TWRP.
I found I really didn't use root as much as I thought I would and I would just like to go back to stock.
I see that I can unroot from within SuperSU, but I can't find a way to get the stock recovery back. I tried Flashify and Rashr with the stock recovery and it doesn't seem to take. I end up with the green android on its side with the red triangle. I can't flash it through fastboot because my bootloader is locked.
Is there a way to get back to stock recovery without losing my data? That's the reason I used towelroot in the first place.
Thanks!

Green android and triangle is stock recovery
Sent from my Nexus 5 using Tapatalk

rootSU said:
Green android and triangle is stock recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Oh wow easy enough answer. I was googling with that and the responses said that it meant that I had no recovery anymore. Didn't want to risk it.
Chalk that up to PEBKAC!
Thanks!

No probs
Sent from my Nexus 5 using Tapatalk

Related

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

Rooted, recovery says: no command

Greetings,
I have my nexus 5 rooted and I accidentally performed the 4.4.2 update OTA, which of course didn't work. But when I tried to flash the update, I couldn't get into recovery. The android guy is lying on its back with an exclamation mark in its belly saying: no command. I think it might have anything to do with the accidental OTA installation.
Can anyone help me?
Do you still have root? If so download either ROM manager or TWRP manager and install a recovery
sent from my HAMMERHEAD neXus
CRIME INC. said:
Do you still have root? If so download either ROM manager or TWRP manager and install a recovery
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Ah, no, seems I have lost root. Strange, how do I get root back?
Re root your phone. Your bootloader should already be unlocked so you wont lose any data
sent from my HAMMERHEAD neXus
CRIME INC. said:
Re root your phone. Your bootloader should already be unlocked so you wont lose any data
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Ok thanks! Will I also retain my data when I use the CF-auto-root method?
Yes
sent from my HAMMERHEAD neXus

New m8 wants to update

I just got my m8 and want to s-off but I'm traveling and won't be able to figure that out until I'm back on my pc next week. The update keeps prompting me to take it. Is it safe to do so? Sorry if this was already answered trying to figure out the best way to browse with tapatalk.
I don't have root or anything yet...
Sent from my HTC6525LVW using Tapatalk
I used Firewater's method for permanent root, s-off and custom recovery. If I allow my phone to update will I mess things up or lose root?
Same boat here... s-off, permanent root, TWRP
The update to 1.55 downloaded but when I tried to let it install it just rebooted my phone into TWRP and that was it. Rebooted back to system and I'm still on the 1.12.605.11 software. Checking software update status shows "Result: Update Failed,410"
N00bs. Lol. You need a stock recovery to flash an OTA. Also, I am s-off and I had a flashback to a stock recovery to flash the OTA . Everything is still fine and then I flashed back to a custom recovery no problem
Sent from my HTC One M8
Totally a noob here, How do you flash to a stock recovery?
Sent from my HTC6525LVW using Tapatalk
You guys need the stock recovery in order to install the OTA. It won't work with a custom recovery, it'll just boot to the custom recovery and not do anything. You can install the OTA with s off and root but you still need the stock recovery. You install the stock recovery the same way as you did the custom. Adb -> flashboot flash recovery *path of recovery*.
http://www.megafileupload.com/en/file/520717/stockrecovery-img.html
There are also videos on YouTube on flashing recoveries to the m8 if you need more help.
Sent from my HTC6525LVW using Tapatalk
Justintoxicated said:
I just got my m8 and want to s-off but I'm traveling and won't be able to figure that out until I'm back on my pc next week. The update keeps prompting me to take it. Is it safe to do so? Sorry if this was already answered trying to figure out the best way to browse with tapatalk.
I don't have root or anything yet...
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
You can install the update, and when you have the chance you can s-off using the weaksauce/supersu/firewater method. I picked up a new M8 a couple nights ago and took the update, and afterwards did the temproot/firewater method and it worked just fine. Hope this helps.
I flashed stock recovery and tried the OTA and it failed twice. I can't seem to get it on my phone through any of the methods for some reason.
In order to install update, you need to have STOCK recovery and STOCK Rom....NOT debloated or with mods....STOCK.
Again, you need STOCK recovery using a STOCK Rom.
If you have modified the system in anyway, it WONT work until you put it back to STOCK.
Sent from my HTC6525LVW using xda app-developers app
^you can have bloatware frozen and it'll work, just can't be removed.
Sent from my HTC6525LVW
dadams312 said:
I flashed stock recovery and tried the OTA and it failed twice. I can't seem to get it on my phone through any of the methods for some reason.
Click to expand...
Click to collapse
z-man79 said:
Totally a noob here, How do you flash to a stock recovery?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
KnightDavid said:
Same boat here... s-off, permanent root, TWRP
The update to 1.55 downloaded but when I tried to let it install it just rebooted my phone into TWRP and that was it. Rebooted back to system and I'm still on the 1.12.605.11 software. Checking software update status shows "Result: Update Failed,410"
Click to expand...
Click to collapse
z-man79 said:
I used Firewater's method for permanent root, s-off and custom recovery. If I allow my phone to update will I mess things up or lose root?
Click to expand...
Click to collapse
No need to take ota. Ota us our enemy. Lol. The ota has been pulled an you can simply flash the firmware an that's half of the ota an then flash a stock Rom based off 1.55 or install the backup that was posted of a pure stock 1.55 Rom. After those 2 things you will have the full ota. New radios everything.. flashing a stock recovery taking ota flashing back is not needed.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Thanks guys it was annoying having that update keep popping up and no real computer to lookup info or soff. As for getting updates after roming the phone usually just wait for authors to incorporate the updates. But I did not realize you can't have two recoveries like you can on Motorola phones which is good to know.
Sent from my HTC6525LVW using Tapatalk
New to android here.
I rooted the device with WeakSauce and use Firewater for S-Off. I didn't flash any custom recoveries. I did freeze some apps with Titanium Backup. If I do the OTA, 1) will it work? and 2) will it remove my root and/or s-off?
NoFanboy said:
You guys need the stock recovery in order to install the OTA. It won't work with a custom recovery, it'll just boot to the custom recovery and not do anything. You can install the OTA with s off and root but you still need the stock recovery. You install the stock recovery the same way as you did the custom. Adb -> flashboot flash recovery *path of recovery*.
megafileupload.com/en/file/520717/stockrecovery-img.html
Click to expand...
Click to collapse
For clarification, after flashing the stockrecovery.img you posted and installing the update, there should be no problem flashing back to CWM recovery after the fact?
Thank you for your help and your time!
skivvies said:
For clarification, after flashing the stockrecovery.img you posted and installing the update, there should be no problem flashing back to CWM recovery after the fact?
Thank you for your help and your time!
Click to expand...
Click to collapse
Nope there will be no problem.
Sent from my HTC6525LVW using Tapatalk
richii0207 said:
In order to install update, you need to have STOCK recovery and STOCK Rom....NOT debloated or with mods....STOCK.
Again, you need STOCK recovery using a STOCK Rom.
If you have modified the system in anyway, it WONT work until you put it back to STOCK.
Sent from my HTC6525LVW using xda app-developers app
Click to expand...
Click to collapse
All your big words confuse me...will it work with custom rom's and recoveries?
I don't remember ever having to have stock recovery and stock rom for my old DNA to take an update. Normally devs would update their rom with the updates and all we had to do was fastboot flash the new radio.
NoFanboy said:
You guys need the stock recovery in order to install the OTA. It won't work with a custom recovery, it'll just boot to the custom recovery and not do anything. You can install the OTA with s off and root but you still need the stock recovery. You install the stock recovery the same way as you did the custom. Adb -> flashboot flash recovery *path of recovery*.
http://www.megafileupload.com/en/file/520717/stockrecovery-img.html
There are also videos on YouTube on flashing recoveries to the m8 if you need more help.
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
So I flash the file you linked to, thank you but when I try to get into recovery I get a red triangle with an exclamation point in it. Seemed pretty straight forward.
sfreemanoh said:
All your big words confuse me...will it work with custom rom's and recoveries?
Click to expand...
Click to collapse
Lol, I had to. I just know someone is going to start a thread saying "update won't work, it just boots into twrp"
Sent from my HTC6525LVW using xda app-developers app
z-man79 said:
So I flash the file you linked to, thank you but when I try to get into recovery I get a red triangle with an exclamation point in it. Seemed pretty straight forward.
Click to expand...
Click to collapse
Hold the volume up button and pressed the power button to get to the recovery menu.

[Q] Update OTA crashed my root

Yesterday I managed to press install on the newest update, 4.4.4 on my Nexus 5. It was rooted and still is, but by installing this OTA it somehow made it crash. Now that I try to get into recovery mode I just get the android which is dead with an ! on it. It was rooted with Xposed and TWRP.
What do I do? Im on a Mac
OTA removed root replaces recovery. I'm amazed it managed to replace recovery whilst Xposed was installed. Anyway, seems like it did.
You must fastboot flash a custom recovery
Sent from my Nexus 5 using Tapatalk
rootSU said:
OTA removed root replaces recovery. I'm amazed it managed to replace recovery whilst Xposed was installed. Anyway, seems like it did.
You must fastboot flash a custom recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I feel embarrassed to ask, but how do I do that on my Mac? When I rooted it I did it on my PC at home, now Im traveling with my Mac for work..
Thanks!
killhaug said:
I feel embarrassed to ask, but how do I do that on my Mac? When I rooted it I did it on my PC at home, now Im traveling with my Mac for work..
Thanks!
Click to expand...
Click to collapse
The same really. Install fastboot and use the "fastboot flash recovery /pathto/your/recovery.img" command
Sent from my Nexus 5 using Tapatalk
rootSU said:
The same really. Install fastboot and use the "fastboot flash recovery /pathto/your/recovery.img" command
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did this and now Im stuck in a TWRP loop, wont get into the system. I dont know what to do now, any inputs?
EDIT: Solved it. Thanks!

Boot recovery.img from phone

Is it possible to boot a recovery image from the phone without flashing? If not is it ok to reflash backups of stock recovery? Tnx
and313 said:
Is it possible to boot a recovery image from the phone without flashing? If not is it ok to reflash backups of stock recovery? Tnx
Click to expand...
Click to collapse
It is possible via android sdk. You can use command: fastboot boot twrp.img
where twrp.img is the name of the recovery that you downloaded and not twrp.img
Alexandar92zr said:
It is possible via android sdk. You can use command: fastboot boot twrp.img
where twrp.img is the name of the recovery that you downloaded and not twrp.img
Click to expand...
Click to collapse
Yes i know but i would like to do it from the phone... There are tons of flash recovery apps but no boot recovery apps
ROM manager used to do it years ago until people got into trouble with it and it was removed.
If you intend on flashing things AMD backing up, flash a recovery. If you're not willing to flash a recovery, don't modify your phone
Sent from my Nexus 5 using Tapatalk
and313 said:
Yes i know but i would like to do it from the phone... There are tons of flash recovery apps but no boot recovery apps
Click to expand...
Click to collapse
Try flashify
AndreIrawan97 said:
Try flashify
Click to expand...
Click to collapse
That flashes recovery. Clue is in the name.
Sent from my Nexus 5 using Tapatalk
rootSU said:
ROM manager used to do it years ago until people got into trouble with it and it was removed.
If you intend on flashing things AMD backing up, flash a recovery. If you're not willing to flash a recovery, don't modify your phone
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The problem with flashing is that you loose the ota update ability. That's why i would like to keep the stock recovery and just boot into cwm when i need it... But i guess i can restore the stock recovery via flashify before the ota is being installed so thats a solution... I just dont like flashing this stuff via apps
and313 said:
The problem with flashing is that you loose the ota update ability. That's why i would like to keep the stock recovery and just boot into cwm when i need it... But i guess i can restore the stock recovery via flashify before the ota is being installed so thats a solution... I just dont like flashing this stuff via apps
Click to expand...
Click to collapse
1) you do not lose OTA update ability with custom recovery. Read "OTA help-desk" available via my signature
2] what's the big deal about OTA? Its the worst way of updating available to everyone. Why bother? If you rely on OTA, remain unrooted, unmodified. Rooting is not for you.
Sent from my Nexus 5 using Tapatalk
Ugh lol OK, so worried about the ota? No worries, flash whatever recovery you want twrp,cwm,philz whatever floats your boat. Then when your ota comes out use Rashr to reflash stock recovery so you can update(you have to be on stock obviously).
I've done this numerous times, works every time.
Sent from my Nexus 5 using XDA Free mobile app
todorcim said:
Ugh lol OK, so worried about the ota? No worries, flash whatever recovery you want twrp,cwm,philz whatever floats your boat. Then when your ota comes out use Rashr to reflash stock recovery so you can update(you have to be on stock obviously).
I've done this numerous times, works every time.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
One of the problems with OTA is the slow delivery and partial nature.
If I wasn't rooted, i'd always update using factory images. But since I am, the best way is for flash a pre-rooted stock ROM via recovery. They're usually available within an hour of the factory image becoming available
Sent from my Nexus 5 using Tapatalk
rootSU said:
One of the problems with OTA is the slow delivery and partial nature.
If I wasn't rooted, i'd always update using factory images. But since I am, the best way is for flash a pre-rooted stock ROM via recovery. They're usually available within an hour of the factory image becoming available
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Agreed 100%, I normally stay rooted,this most recent preview though I'm staying stock. After running L for the last couple months its hard to go back to KitKat(I've tried several times). I have no intention of flashing another rom atm, I'll worry about root after the 3rd.
As for buddy worrying about the ota, really you have two choices.
#1 root and flash a recovery then wait for someone to post a root stock ROM
#2 wait for the ota
The only real benefit I see in waiting for the ota is you will probably get to keep all your apps on your phone. Me personally? I'd just fastboot the preview and wait till the 3rd.
Materialized From The DarkSide

Categories

Resources