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!
Related
I have a Nexus 5 that has been rooted, unlocked bootloader and I deleted some of the system apps (cant's remember which). I received the OTA update for the 4.4.3 update few says back. Clicked the update, after the download process went through, the phone restarted to install. But then my phone just went dead, it popped up a dead android with the word "error" underneath it x-P.
I know the problem has to do with me uninstalling system apps so is there anyway for me to update to 4.4.3 without wiping my data, if not, I have no problem doing it anyway (nothing too important on my nexus...) Thanks.
Download the factory images of 4.4.3 and flash system, bootloader, recovery and radio.. Doing so will not wipe your data!
- Sent from an IceCold Hammerhead!
danny2146 said:
I have a Nexus 5 that has been rooted, unlocked bootloader and I deleted some of the system apps (cant's remember which). I received the OTA update for the 4.4.3 update few says back. Clicked the update, after the download process went through, the phone restarted to install. But then my phone just went dead, it popped up a dead android with the word "error" underneath it x-P.
I know the problem has to do with me uninstalling system apps so is there anyway for me to update to 4.4.3 without wiping my data, if not, I have no problem doing it anyway (nothing too important on my nexus...) Thanks.
Click to expand...
Click to collapse
Put your phone in bootloader mode and flash the 4.4.3 system img you'll be fine:good:
Download the factory image and flash boot.img, cache.img and system.img, and the new radios.
I would recommend a wipe and do it fresh, but it's up to you.
Edit: 3 replies in the same minute, derp.
Just do this
http://forum.xda-developers.com/showthread.php?p=53109563
Sent from my Nexus 5 using XDA Free mobile app
Lethargy said:
Download the factory image and flash boot.img, cache.img and system.img, and the new radios.
I would recommend a wipe and do it fresh, but it's up to you.
Edit: 3 replies in the same minute, derp.
Click to expand...
Click to collapse
Uhh, that went way over my head, maybe a dumb question but how does one flash img on a android phone? Sorry, I'm still a noob when it comes to these things. (is there a way to do it on a linux computer?)
danny2146 said:
Uhh, that went way over my head, maybe a dumb question but how does one flash img on a android phone? Sorry, I'm still a noob when it comes to these things. (is there a way to do it on a linux computer?)
Click to expand...
Click to collapse
You'll need fastboot setup on your computer. Once you have is setup just go to the link I posted. You just need to double click on the flash-all
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You'll need fastboot setup on your computer. Once you have is setup just go to the link I posted. You just need to double click on the flash-all
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
The flash-all.bat/flash-all.sh wipes if I'm not mistaken.
To the OP:
Download the Android SDK and set up fastboot, there are stickied threads for it in the General Section.
Download the factory images and take out boot.img, cache.img and system.img (inside a .zip inside the already compressed file), as well as the radio-hammerhead-m8974a-2.0.50.1.13.img. put them in fastboot directory
Open a cmd prompt in fastboot directory and type (pressing enter after each line, wait for each individual one to complete):
cmd said:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img
fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.13.img
Click to expand...
Click to collapse
It might be slightly different on a Linux computer but it should be in the stickies, or search
Lethargy said:
The flash-all.bat/flash-all.sh wipes if I'm not mistaken.
To the OP:
Download the Android SDK and set up fastboot, there are stickied threads for it in the General Section.
Download the factory images and take out boot.img, cache.img and system.img (inside a .zip inside the already compressed file), as well as the radio-hammerhead-m8974a-2.0.50.1.13.img. put them in fastboot directory
Open a cmd prompt in fastboot directory and type (pressing enter after each line, wait for each individual one to complete):
It might be slightly different on a Linux computer but it should be in the stickies, or search
Click to expand...
Click to collapse
Not in the link I gave it's a modified factory image
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Not in the link I gave it's a modified factory image
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Oh, I missed the link. :silly:
No offense to you nor your thread, but it would be better if he gains some knowledge of fastboot/adb.. You know, the usual.
jd1639 said:
Not in the link I gave it's a modified factory image
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
One more question before I do this. I do have to put the supersu zip file in my phone and then flash it after I'm done flashing the factory img, correct?
Lethargy said:
Oh, I missed the link. :silly:
No offense to you nor your thread, but it would be better if he gains some knowledge of fastboot/adb.. You know, the usual.
Click to expand...
Click to collapse
Let's get fastboot setup and we'll go from there
Sent from my Nexus 5 using XDA Free mobile app
danny2146 said:
One more question before I do this. I do have to put the supersu zip file in my phone and then flash it after I'm done flashing the factory img, correct?
Click to expand...
Click to collapse
Yes. because you'll lose root after flashing the factory images. :angel:
Cool, it worked! Now I have to re-root. Thanks a lot for the amazingly quick reply!
danny2146 said:
Cool, it worked! Now I have to re-root. Thanks a lot for the amazingly quick reply!
Click to expand...
Click to collapse
Welcome, if you ever run into issues make a thread in the right section if you can't figure it out yourself, we're here to help. You're welcome to PM me too if you don't think something is worth a new thread although people don't mind if it's in the right section. You seem eager to learn too, which is important. :angel:
Sent from my Nexus 5
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
Can I just grab the system, boot, and radio images and flash them in fastboot?
Will this retain root and update to 5.0.1?
Sent from my Nexus 5 using XDA Free mobile app
Yes, flash then re-root.
rootSU said:
Yes, flash then re-root.
Click to expand...
Click to collapse
It will take root away I guess?
Sent from my Nexus 5 using XDA Free mobile app
joho5 said:
It will take root away I guess?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Re-root
rootSU said:
Re-root
Click to expand...
Click to collapse
Will i lose custom recovery flashing the system?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
joho5 said:
Will i lose custom recovery flashing the system?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
recovery will be borked. Just flag the twrp image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
recovery will be borked. Just flag the twrp image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Don't think so.
AFAIK, /system/install-recovery.sh and /system/recovery-from-boot.p only exist when OS has gone through an OTA.
If you use a factory image, either to update or reflash /system, those 2 files won't be there - we get to keep our currently installed recovery anyways.
I even go further - when flashing a factory image.. I just skip stick twrp.img in the zip, overwriting recovery.img. Then I use flash-all.sh.
Tip: if you edit the flash-all script and remove the `-w` argument from the `fastboot update filename.zip`, it won't flash user data.img.
This what I did. Download Google factory 5.0.1 image. Unzip. Edit flash-all.bat and remove the "-w" flag for the one command it's found for. Run the edited .bat file. It'll lose root, twrp, but it'll retain data so just flash the recovery over again after the initial flash finishes, then go into twrp to flash SuperSU again and custom kernel if wanted
Sent From Lollipopified Bacon Goodness!
Make sure you flash SU B4 boot or you will loose root.
howard bamber said:
Make sure you flash SU B4 boot or you will loose root.
Click to expand...
Click to collapse
You can just flash it later.
Can you validate/comment on my process?
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
BigKenW said:
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
Click to expand...
Click to collapse
Give it a try. I'm not sure that the twrp image is going to work. But the worst case is you'll still have the stock recovery after you boot. You'll lose root in any case and will have to flash supersu in the custom recovery
Sent from my Nexus 9 using XDA Free mobile app
BigKenW said:
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
Click to expand...
Click to collapse
Just to make sure you understand what you're saying.
At step 3..
The twrp img file you download from their website needs to be renamed recovery.img and placed inside the update-rest-of-filename.zip, overwriting the one that's there already (yep, the stock recovery).
You got everything else right.
a maguro wrote this.
Or just type "fastboot flash recovery twrp.img" once you do the rest but skip step 3 cuz that is done with the command I wrote at the end of the process before you boot up.
1. Edit flash-all.bat to remove -w option
2. Run it to flash everything.
3. "Fastboot flash recovery twrp.img" (rename the twrp file you download to match twrp.img cuz it'll be a long name when you download it
4. In fastboot scroll to recovery, boot into it, it will boot into twrp
5. Flash SuperSU latest version from twrp (so make sure u have this on ur sdcard somewhere like in the downloads folder for example before u begin process
6. Clear dalvik and cache and reboot into lollipop. First boot may take a few min like 5 to 10
Sent From Lollipopified Bacon Goodness!
Didn't try it
I appreciate the tips. Just before I was about to attempt this, I saw Vomer posted a flashable image. I decided to go that route. Looks good so far.
BigKenW said:
I appreciate the tips. Just before I was about to attempt this, I saw Vomer posted a flashable image. I decided to go that route. Looks good so far.
Click to expand...
Click to collapse
And we were all in suspense to see how it worked out
Sent from my Nexus 9 using XDA Free mobile app
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
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!