I want to update, but it boots to TWRP recovery. - Nexus 5 Q&A, Help & Troubleshooting

I am rooted, and I have a nandroid backup of my stock rom (Android 5.0). When I restore it, I get the 5.0.1 update. It downloads the update, but when my phone restarts to install, it boots up to TWRP recovery and it wouldnt install the update. How can I bypass the TWRP recovery so the update install? Thanks in advance.
Sent from my Nexus 5 using XDA Free mobile app

Skunk2 DC said:
I am rooted, and I have a nandroid backup of my stock rom (Android 5.0). When I restore it, I get the 5.0.1 update. It downloads the update, but when my phone restarts to install, it boots up to TWRP recovery and it wouldnt install the update. How can I bypass the TWRP recovery so the update install? Thanks in advance.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
You can't. You have to be 100% stock recovery, system, kernel, and radio and unrooted for the ota to work.
Sent from my Nexus 5 using XDA Free mobile app

Why do you want to apply an OTA when you have a custom recovery anyways? Just flash system.img and boot.img.

Related

trying to update to 4.4.3 from 4.4.2

i am currently on 4.4.2 with root and xposed framework already uninstalled from within the app, philz recovery mode.
when i try to install the 4.4.3 update (about 92 MB) it gives me an error on a specific apk (cannot remember exactly which one).
what are my best options? flash a stock 4.4.3 image and re root?
It's failing because of xposed. Try this
http://forum.xda-developers.com/showthread.php?p=53109563
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
It's failing because of xposed. Try this
http://forum.xda-developers.com/showthread.php?p=53109563
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
i am thinking and maybe the best for me is to make a fresh install (never did this before).
i have a couple of apps that i will need to have root and i also like keep the philz custom recovery
i never did this so i would like to know if it is safe to follow this guide:
How to flash a factory image | Return to stock | Unroot your Nexus 5
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
i do not want to brick this. if i follow that, will i keep philz custom recovery? note that i am currently on 4.4.2.
and to get root again (after a fresh install of 4.4.3) will flash supersu.zip again be enough?
xposed is not needed for me and because of that i am havi all these troubles now, want to avoid that later.
edit: if i flash the file you posted, will it give me all the options i am asking right?
cesar.maranhao said:
i am thinking and maybe the best for me is to make a fresh install (never did this before).
i have a couple of apps that i will need to have root and i also like keep the philz custom recovery
i never did this so i would like to know if it is safe to follow this guide:
How to flash a factory image | Return to stock | Unroot your Nexus 5
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
i do not want to brick this. if i follow that, will i keep philz custom recovery? note that i am currently on 4.4.2.
and to get root again (after a fresh install of 4.4.3) will flash supersu.zip again be enough?
xposed is not needed for me and because of that i am havi all these troubles now, want to avoid that later.
edit: if i flash the file you posted, will it give me all the options i am asking right?
Click to expand...
Click to collapse
The link I gave you is the same as a clean install except you won't lose your data or custom recovery. You will lose root and will have to flash super su in your custom recovery. If you go with a complete clean install I'd use the link you posted. You'll have to flash a custom recovery via fastboot and then flash super su in it to root. My link will be simpler for you
Sent from my Nexus 5 using XDA Free mobile app
I recently upgraded to 4.4.3 myself. Everything you need is in the stickies my friend. Flash the stock 4.4.2 factory ROM through philz recovery. When you upgrade to 4.4.3 you will lose your custom recovery but the boot loader should still be unlocked (mine was). Its okay, there are two options to get philz recovery back. You can use fast boot commands with the phone in the boot loader menu connected to your PC. The command itself and how to set up android SDK is in the sticky called unlocking boot loader, rooting and flashing ROM (or something like that lol). Option two is to use the app flashify available from the playstore. It will back up your custom recovery and you can use that to reflash it after you upgrade. I have not used it myself as I prefer to just use the simple fastboot commands in the cmd menu.
EDIT
http://forum.xda-developers.com/showthread.php?t=2507905
Follow this tutorial on how to get your recovery back. Also the phone will no longer be rooted. There is a link in that tut to the superuser zip. Flash it through the custom recovery after you install it. You'll be rooted on 4.4.3 in less than 15 minutes from start to finish
Sent from my Nexus 5 using xda premium
I just flashed rastakat 4.4.2 then dirty flashed rastakat 4.4.3. Runs smooth and I lost nothing
Sent from my Nexus 5 using XDA Free mobile app
Tunderpimp said:
I just flashed rastakat 4.4.2 then dirty flashed rastakat 4.4.3. Runs smooth and I lost nothing
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
That's nice. What's the price of beans in India?

[Q] Backup won't restore.

So I installed the lateat CM12 nightly, wasn't really impressed yet and went to go restore my backup and once it's done restoring, it get stuck at the bootscreen animation. Just keeps going and going abs going. I used the latest cwm touch recovery as CM12 is not compatible with MultiROM. I would just flash the factory img back but my computer decided to it doesn't ever want to recognize adb avid fastboot on Linux.
Anyone know where I can find a flashable zip for the factory 5.0.1 ROM? Any help would be appreciated!
Try googling Nexus 5 factory image...
Here's a flashable 5.0 : http://forum.xda-developers.com/goo...-android-4-4-3-ktu84m-rooted-busybox-t2557523
Niflheimer said:
Here's a flashable 5.0 : http://forum.xda-developers.com/goo...-android-4-4-3-ktu84m-rooted-busybox-t2557523
Click to expand...
Click to collapse
Now I'm assuming I'd have to unroot it and flash stock recovery and lock the bootloader to get it to update to 5.0.1?
No, it's flashable in your custom recovery. It's 5.0 though
Sent from my Nexus 5 using XDA Free mobile app
Yeap , ota needs stock recovery. Also , switch to twrp since cwm isn't playing nice with L.
jd1639 said:
No, it's flashable in your custom recovery. It's 5.0 though
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I was talking about the 5.0.1 update but thanks.
Niflheimer said:
Yeap , ota needs stock recovery. Also , switch to twrp since cwm isn't playing nice with L.
Click to expand...
Click to collapse
I'm on the stock ROM you linked too, stock recovery, and unrooted but, when I get the update for 5.0.1 and try and install it, I get an error. Do I need to relock my boatloader?
asd87 said:
I'm on the stock ROM you linked too, stock recovery, and unrooted but, when I get the update for 5.0.1 and try and install it, I get an error. Do I need to relock my boatloader?
Click to expand...
Click to collapse
You're on a custom Rom. The ota isn't going to work. And you don't need to relock your bootloader. If you can afford to wipe your data download the 5.0.1 factory image. Extract it and use the flash-all.bat
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
You're on a custom Rom. The ota isn't going to work. And you don't need to relock your bootloader. If you can afford to wipe your data download the 5.0.1 factory image. Extract it and use the flash-all.bat
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
My computer is Linux, and adb and fastboot for whatever reason unknown to me, won't install. That's why I asked for a zip file of the factory image. Thanks for the help though.
asd87 said:
My computer is Linux, and adb and fastboot for whatever reason unknown to me, won't install. That's why I asked for a zip file of the factory image. Thanks for the help though.
Click to expand...
Click to collapse
Well, unfortunately, there isn't a 5.0.1 flashable rom available right now. If you can't get fastboot to work on your Linux machine you're kind of sol as you need to be 100% stock to get the ota to work. That means stock recovery in your case. Google recovery zip collection xda. There's a custom recovery flashable stock recovery there.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Well, unfortunately, there isn't a 5.0.1 flashable rom available right now. If you can't get fastboot to work on your Linux machine you're kind of sol as you need to be 100% stock to get the ota to work. That means stock recovery in your case. Google recovery zip collection xda. There's a custom recovery flashable stock recovery there.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I have the stock 5.0 recovery that I installed through Flashify. I'll barrow a windows computer or something lol
asd87 said:
I have the stock 5.0 recovery that I installed through Flashify. I'll barrow a windows computer or something lol
Click to expand...
Click to collapse
I'd work on getting adb/fastboot working on your Linux machine. You're going to need it in the long run.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
I'd work on getting adb/fastboot working on your Linux machine. You're going to need it in the long run.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I've spent hours trying to get it work one night. I'll do some note searching for more advice and again thanks.
jd1639 said:
I'd work on getting adb/fastboot working on your Linux machine. You're going to need it in the long run.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Did some more digging, got it install, and flashed the factory img for 5.0.1 and twrp recovery then superSU through twrp.
Mods please lock the thread thanks.
Get wugfreshes Toolbox. It has access to all factory images. Some people are not fans of "one click solutions" but this has never let me down.
There's a flushable zip on here also. Put it in a search in the app and you should come across it. It IS the full version.
Did you ever find out why the CWM restore led to getting stuck on boot animation??
Just ran into this last night. Tried restoring 2 different CWM backups and both got stuck on boot animation.
I eventually got a new ROM flashed. Going to try TWRP recovery I suppose.
I know I never had this problem with 4.4, this was the first time I have restored a LP ROM..
one7dchevy said:
Did you ever find out why the CWM restore led to getting stuck on boot animation??
Just ran into this last night. Tried restoring 2 different CWM backups and both got stuck on boot animation.
I eventually got a new ROM flashed. Going to try TWRP recovery I suppose.
I know I never had this problem with 4.4, this was the first time I have restored a LP ROM..
Click to expand...
Click to collapse
My guess would be; cwm hasn't been optimized for Lollipop. Cyanogen has just recently started working on 5.0 and they probably haven't touched the recovery too much. But that's just my guess.
asd87 said:
My guess would be; cwm hasn't been optimized for Lollipop. Cyanogen has just recently started working on 5.0 and they probably haven't touched the recovery too much. But that's just my guess.
Click to expand...
Click to collapse
Yea figured something like that.
Got TWRP installed, will try to update after my next nandroid restore so that any old CWM users will know..

[Q]Can I update too 2.2?

So Just received my 2.2 Update, and was going to install it when I remembered, "Wait! I am rooted!"
My question is can I update too 2.2 and not have anything "bad" happen.(Root Lost, System Boot Loop, etc)
I am running Stock Update 2.1 with Root.
EDIT: I have CWM set as my recovery.
Another user did it in general forum and it doesnt flash because of mismatch
Just like the last Lollipop update, if you're rooted, you'll need to return to stock.
Otherwise, wait until the full rom .zip is available and then download it and flash it in your custom recovery followed by re-flashing the latest SuperSU .zip.
Sent from my SHIELD Tablet using XDA Free mobile app
An Droid said:
Just like the last Lollipop update, if you're rooted, you'll need to return to stock.
Otherwise, wait until the full rom .zip is available and then download it and flash it in your custom recovery followed by re-flashing the latest SuperSU .zip.
Sent from my SHIELD Tablet using XDA Free mobile app
Click to expand...
Click to collapse
Im on Philz
Can I flash recovery image via "fastboot flash recovery recovery.img", then reboot the tablet, install the OTA and then with Flashify flash Philz again?
EDIT: I just re-read what I posted. Can I use flashify to flash stock recovery, updating with OTA and then reflash Philz?
NaminatoR1254jaime.sier said:
Im on Philz
Can I flash recovery image via "fastboot flash recovery recovery.img", then reboot the tablet, install the OTA and then with Flashify flash Philz again?
EDIT: I just re-read what I posted. Can I use flashify to flash stock recovery, updating with OTA and then reflash Philz?
Click to expand...
Click to collapse
The "full" 2.2 OTAs are available everywhere on xda right now...Just flash the appropriate one, reflash recovery (if you have to) and then reflash supersu.
ailima said:
The "full" 2.2 OTAs are available everywhere on xda right now...Just flash the appropriate one, reflash recovery (if you have to) and then reflash supersu.
Click to expand...
Click to collapse
I already updated hahaha, I didnt remember this post. Thanks anyway!!

Can't install OTA update...

So I had my phone rooted, with TWRP recovery, and today I've received a notification for 5.1 update, and when I pressed Install and reboot, it rebooted directly into TWRP, so I can't update it (or didn't find a way). Is there any way to update it now without wiping data?
There's a whole thread on the ota process in the general forum. You should read it. The ota will not work with a custom recovery. You need the stock recovery which you can install using fastboot. There are other requirements too. You have to be 100% stock system, kernel and recovery.
Sent from my Nexus 5 using XDA Free mobile app
Just flash the ota zip via twrp you will loose all root and your system modifiactions which are reversible!
bhavstech said:
Just flash the ota zip via twrp you will loose all root and your system modifiactions which are reversible!
Click to expand...
Click to collapse
It won't work with 5.x. You need the stock recovery.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
it won't work with 5.x. You need the stock recovery.
Sent from my nexus 5 using xda free mobile app
Click to expand...
Click to collapse
oh i didnt know that thanks!
AlexSRB said:
So I had my phone rooted, with TWRP recovery, and today I've received a notification for 5.1 update, and when I pressed Install and reboot, it rebooted directly into TWRP, so I can't update it (or didn't find a way). Is there any way to update it now without wiping data?
Click to expand...
Click to collapse
See quote below.
Elluel said:
download new factory images
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
boot into custom recovery
then flash SuperSU/other stuff if desired
Click to expand...
Click to collapse

[Q] Upgrade to 5.1 from 5.0 without losing data?

How do I do it? I have a custom recovery installed (TWRP) and a rooted device. I know that I cannot use the OTA because lollipop checks the whole /system for modifications. But I want to upgrade without losing any data. I don't know how should I do it. Here are a few ideas:
1. Flash the OTA Zip using TWRP, I don't know what will happen.
2. Use the sideload option in TWRP, again I don't know what will happen.
Is there any way that I can upgrade using TWRP? It is okay if I lose my root, because I can root again; but I do not want to lose my data. Any help is appreciated. I am looking to use the factory image as my last resort.
Thanks!
You could root your 5.0 ROM and backup everything with Titanium, then flash the OTA zip and restore...
tyus2 said:
How do I do it? I have a custom recovery installed (TWRP) and a rooted device. I know that I cannot use the OTA because lollipop checks the whole /system for modifications. But I want to upgrade without losing any data. I don't know how should I do it. Here are a few ideas:
1. Flash the OTA Zip using TWRP, I don't know what will happen.
2. Use the sideload option in TWRP, again I don't know what will happen.
Is there any way that I can upgrade using TWRP? It is okay if I lose my root, because I can root again; but I do not want to lose my data. Any help is appreciated. I am looking to use the factory image as my last resort.
Thanks!
Click to expand...
Click to collapse
You can't flash the ota in twrp. Just flash the system and boot image from 5.1 with fastboot.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You can't flash the ota in twrp. Just flash the system and boot image from 5.1 with fastboot.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks! That worked!

Categories

Resources