[Q] Upgrade to 5.1 from 5.0 without losing data? - Nexus 5 Q&A, Help & Troubleshooting

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!

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

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

[Q] Anyone have Stock recovery for XT1039 4.4.4?

So I have unlocked my bootloader now. I have not installed any custom recovery and rooted...just yet. I want to be sure that I can still get the OTA and as I have understand I will have to still use the stock recovery and unfreeze app and disable Xposed. The first part is the hard part.
So this is what I want to do: Flash TWRP>Flash root zip>Flash stock Recovery
Anyone know where I can find the stock recovery for 4.4.4 for the Pergerine model?
Another question: Let's say I install TWRP now and then when Lollipop is realesed, could I just flash the stock rom via TWRP?
I mean I will not be able to update OTA but I have to do it manually, would that work?
If it does then I would just stick with a custom recovery instead.
Anyone? I really want to root this phone but I want to make sure that I can revert to stock so I can upgrade to Lollipop.
My advice is to wait some time, I'm sure there will be all sorts of guides for getting the OTA even if rooted and such..
Sent from my XT1032 using XDA Free mobile app
hekomat said:
My advice is to wait some time, I'm sure there will be all sorts of guides for getting the OTA even if rooted and such..
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
Yeah I probably have to do that.

[Q] Manually install 5.0.1 update without adb?

I have the download link (the official .zip) for the update from google's servers but don't have access to adb. Can I download the update myself and then just boot into recovery or something and load it from there?
leaveone said:
I have the download link (the official .zip) for the update from google's servers but don't have access to adb. Can I download the update myself and then just boot into recovery or something and load it from there?
Click to expand...
Click to collapse
You can manually flash the factory image files with fastboot. If you don't have fastboot Google 15 second adb install xda, try not to use the dev host download site. It's bad.
Sent from my Nexus 5 using XDA Free mobile app
Doesn't flashing a factory image erase data? I'm trying to apply the OTA update without factory resetting my phone.
leaveone said:
Doesn't flashing a factory image erase data? I'm trying to apply the OTA update without factory resetting my phone.
Click to expand...
Click to collapse
Don't flash the userdata.img and it won't wipe your device. If you're going from 5.0 to 5.0.1 you should get by with just flashing the radio, boot, and system images. But as always, backup first off the device just in case.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Don't flash the userdata.img and it won't wipe your device. If you're going from 5.0 to 5.0.1 you should get by with just flashing the radio, boot, and system images. But as always, backup first off the device just in case.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I successfully used the adb sideload method last night. I was just curious if there was a way to apply the update without needing adb, like I have on other phones use CWM to apply an update from zip. Thanks for the help!

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

Categories

Resources