yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] jd1639:
If you flashed the 4.4.4 factory image why didn't you just flash the 5.0.1 factory image?
[Nexus 5 General] Mindspin_311:
When I flashed 5.0, I had some issues, so I figured I would let the OTA take over.
[Nexus 5 General] jd1639:
Ok, you're trying to save your apps and data. See the op. There's an update zip to go to 5.0. Sideload that in the stock recovery. That'll get you halfway there
[Nexus 5 General] Mindspin_311:
5.0 flashed fine, per se, but it was just super buggy, dunno why really. So it figured I would roll back and get a clean install via OTA. I have no problem flashing images. Maybe Ill flash 5.0.1.
[Nexus 5 General] jd1639:
Well, you're going to have to ota to 5.0 before the ota to 5.0.1 will work. You can't go from 4.4.4 to 5.0.1 directly
[Nexus 5 General] Mindspin_311:
You're right, maybe I will give 5.0 factory image another try. Odd that I havent received an OTA notification yet.
[Nexus 5 General] Wh1t3Rose:
Not really. People just don't understand how the OTA system works. Google doesn't send the OTA out to every device at once. You are put in a queue. When an OTA is first released the queue is quite large as you can imagine. So it can take a 2-3 weeks to receive the notification. If you dismiss it then you are put at the back of the queue and you start the whole process again.

Now as a few weeks go by and more people take the OTA the queue gets smaller and thus the amount of time you have to wait to get a notification shortens to a couple of days to about a week. Also they only roll out the OTA twice a day. So if it's late at night and you are spamming the refresh button you are wasting your time. Wait for the next day :)
[Nexus 5 General] neo2306:
After i did sideload wifi remains active even after its off and awake during sleep is off !!
[Nexus 5 General] kaushikd:
I got the 'System 7' error while sideloading the OTA. Then after unrooting I tried to flash system image and then got into bootloop. I tried flashing the other image files as well except userdata, still was in bootload. Then after factory reset only my N5 finally booted properly. But I lost all my data. Thankfully I had taken a backup 2 weeks back.
[Nexus 5 General] Cintra2:
Hei, what is the safest place to get the OTA?

I',m having sideload error status 7 with the OTA files I downloaded from a couple of places (13.9MB). They compare OK but something must be wrong with them. I am on stock 5.0.

Mvh
[Nexus 5 General] ironia.:
you have flashing the system.img from factory image 5.0?
[Nexus 5 General] GabbyWC:
http://xdaforums.com/showthread.php?t=2475327

I was getting that error also the first couple of times I tried to update my Nexus 5 from Android 5.0 to 5.0.1. In order to avoid the error, you have to make sure that your device is unrooted (which can be done through the SuperSU settings menu) and that you have stock recovery, kernel and system images on your device before you try to sideload the update. The Nexus Root Toolkit can handle those steps through its advanced utilities menu but you'll need to download the much larger ( 556 MB ) Android 5.0 factory image for your device in order to extract and flash the system image file from inside of it.

https://dl.google.com/dl/android/aosp/hammerhead-lrx21o-factory-01315e08.tgz
[Nexus 5 General] Cintra2:
Thanks, it's a while since I was rooted, but there might be some hangover from those days ;)

I'll try the OTA link you provided and if that fails, I'll go for the Factory Image (or wait)
[Nexus 5 General] GabbyWC:
Just keep in mind that the factory image link at the end of my previous post is for Android 5.0 and not 5.0.1. Google has all of the factory images for their devices available for download at https://developers.google.com/android/nexus/images
[Nexus 5 General] kaushikd:
Yes. I was flashing it from the 5.0 factory image file.
[Nexus 5 General] Cintra2:
Yes, thanks.. I have just finished flashing the 5.0.1 image, and all looks good :)

Thanks for your help.
[Nexus 5 General] myvijay:
I flashed back to stock 5.0 , made sure everything is fine and rebooted into stock recovery and then selected 'apply update from adb' The device appears on device manager as Nexus 5 without an associated driver. I tried pointing it towards "C:\......\Android\android-sdk\extras\google\usb_driver" but it doesnt recognize the driver. The driver is recognized in fast boot mode. The USB debugging is enabled in settings and the computer has permanent access for debugging. I tried it on windows 7 machine thinking this might be something specific to win8.1 but with similar results.

Isnt the driver location for both adb and fasbtoot the same one ? Any suggestions are welcome.
[Nexus 5 General] gialakias:
If it works in bootloader and not in recovery, try adb sideload and maybe it works. For me it worked!

Sent from my Nexus 5
[Nexus 5 General] flowsn33:
Finally...

I came from an unlocked and rooted but otherwise stock N5. Combination of both did it for me, first I just flashed system.img and recovery.img, ended up with a weird "EMMC:/dev/block/platform/msm_sdcc.1/by-name/boot:..." error, then I also flashed boot.img and bootloader.img and the sideload worked flawless. Thank you guys :good:
[Nexus 5 General] tomh1979:
i keep coming up with adb sideload device not found while in recovery, i don't get it cause i can be booted to system and do adb devices, or adb reboot recovery and it works, but doesn't appear to work in recovery, what the heck?
[Nexus 5 General] jd1639:
With your device booted into recovery and connected to your pc go to device manager and see what the issue is. You might have to right click on it and then go to where it lets you choose a driver from a list on your computer. Choose android adb composite driver
[Nexus 5 General] ASimPerson:
I'm a bit slow today perhaps, but if you're flashing system.img why not just flash the system.img from the 5.0.1 factory image and skip the whole sideloading deal?
[Nexus 5 General] edwaine:
While in recovery(do not restart your phone), Download the Google driver and then Go to device manager in windows and you will see "others" and nexus 5. Click update driver then choose show all manufactures, choose Google and click "ADB Composite Device " then finish.
[Nexus 5 General] jd1639:
Because this is an ota thread. But you are correct. You can flash the radio, system and boot from 5.0.1 and be good to go. However, it's does Bork your recovery and you lose root. So you'll have to deal with that
[Nexus 5 General] tomh1979:
good thing was as soon as i got home for lunch the ota hit my phone, lol, figures right.
[Nexus 5 General] vukis:
So no updates in recovery.img as on 5.0.1? Or should I also flash the recovery?
[Nexus 5 General] Elad92:
I'm running stock rom and kernel with just root.

I tried to install the ota i got through the os, but it failed. I then tried to sideload the update but got status 7 error about 'system/bin/install-recovery.sh'.

I tried to unroot my device using the SuperSU settings but still get this error.

How can I install this update?

Thanks
[Nexus 5 General] jd1639:
Flash the system.img from 5.0 after you unrooted.
[Nexus 5 General] YoColdRain:
DOHHH!

Got notification for 5.0.1 update and decided to start updating from OTA. BUT i have TWRP installed, so it rebooted straight to recovery so I simply restarted phone. I know that It wont get updated, but it seems my wifi wont connect. Did my wifi radio get updated or something? Anyone else with similar issue Or suggestions on how I can go about either updating 5.0.1 or fixing wifi for now (i can update later).

thanks
[Nexus 5 General] Elad92:
Will it wipe my phone?

How do I install it? Download the 5.0 image file, take the system.img from it and run the below command?

fastboot flash system system.img
[Nexus 5 General] zorro3210:
Hello

I am in 5.0 rooted and unlocked with ClocckwordMod Recovery 6.0.4.5 installed

I just got the OTA of 5.0.1.

It downloads but then he want to install it i got some message

****************************

Package expect build fingerprint of google/hammerhead/hammerhead 5.0/LRX21O/1570415:user/release-keys or google/hammerhead/hammerhead 5.0/LRX21O/1602158:user/release-keys; this device had google/hammerhead/hammerhead 4.4/KRT16M/893803:user/release-keys

Error in /tmp/update.zip (status 7)

Installation aborted

****************************

Any help for me please? thanks
[Nexus 5 General] bmaster7:
What it the best process for unrooting to get the OTA?
[Nexus 5 General] flintdragon:
This was my issue too. Got that EMMC error and went ahead and flashed the boot and bootloader and that did the trick. Thanks!
[Nexus 5 General] Wh1t3Rose:
Use the in built method in the supersu app. Then reboot. Then test with Root checker from the play store. Make sure you are on the stock recovery while you are at it.
[Nexus 5 General] flintdragon:
What did you do again to recover? I'm on the boot animation stuck for a while now.
[Nexus 5 General] dsoch:
i'm rooted with cf autoroot and have twrp installed

so if i'm right i have to proceed that way if i don't want to loose any data.

1. unroot via super su app

2. download 5.0 factory image again

3. extract

4. flash system.img

5. flash boot.img

reboot device and install OTA

then reroot and re-flash custom recovery

am i right?
[Nexus 5 General] bmaster7:
I am stock and unrooted via the su app. I checked with root checker and confirmed. I got the notification to update again and the same error occurred. Any ideas?
[Nexus 5 General] ironia.:
Boot.img if you have modified kernel and recovery.IMG if you have twrp/ cwm
[Nexus 5 General] dsoch:
i'm not sure if chainfire's autoroot modified the kernel but i think it did. so i need to flash all 3 images? whats about system.img?
[Nexus 5 General] Dunge2:
When I get to the sideload step I get this error:

"EMMC:/dev/block/platform/msm_sdcc.1/by-name/boot:[****ing long number]" has unexpected contents. Error in /sideload/package.zip (Status 7). Installation aborted.

Side question, why does this time we need to flash system.img? To update to 5.0 the only thing I had to flash was recovery?

edit: As mentioned by flowsn33, flashing boot and bootloader fixed my problem. I did not expect I had a modified kernel... also did not have to do this last time..
[Nexus 5 General] jd1639:
Because it's impossible for us to know what you've done to your device I recommend you flash the recovery, system, and boot images from 5.0 before the ota. If you've flashed a different modem you'd have to flash the radio image too
[Nexus 5 General] djsnake81:
As i said, i installed cwm and then rebooted into it.

In the cwm, i gave "wipe cache" and "wipe dalvik".

Then rebooted the phone. And after 1 minute of booting animation, it started
[Nexus 5 General] ASimPerson:
Okay, but the current prevailing methods I see force you to lose root and flash the stock recovery anyway. I take it there is still a difference between:

1. Un-root

2. Flash stock recovery

3. Flash 5.0 system.img

4. Boot into stock recovery

5. Sideload the OTA

6. Flash a new recovery

7. Recover root

and

1. Flash the 5.0.1 system.img, boot.img, etc.

2. Recover root

?
[Nexus 5 General] jd1639:
No, there's really no difference. Then end result is the same
[Nexus 5 General] Telyx:
I was on 5.0 rooted with TWRP and had flashed the radio from 5.0.1 already, so I just fastboot flashed system.img and rerooted. So far, all is well.
[Nexus 5 General] efrant:
Yes, if you've used CF-Auto-Root when you updated to Lollipop, it modified your boot image (to allow root on Lollipop), so you no longer had the stock image.
[Nexus 5 General] funnel71:
This was PERFECT! It was a tad bit of a hassle compared to updates in the past, but it did exactly what I needed. I replaced your CWM instructions with TWRP 2.8.1.0 because that's what I prefer, but everything else was awesome. Thanks for taking the time!!
[Nexus 5 General] bmaster7:
Fixed
[Nexus 5 General] kaushikd:
I wish I have waited for this info. Then I wouldn't have lost my data. :(
[Nexus 5 General] oxfordmark:
Had the update pop up last night (12 hours ago). Can't see any changes yet.
[Nexus 5 General] urosme:
I had to also flash boot.img from the 5.0 factory image (after step 13).

Then it went through.

Hope it helps someone!
[Nexus 5 General] neo2306:
I have updated thru ota to 5.0.1 from complete stock 5.0 but don't know what happened my WiFi always remains wake even I close WiFi and wake during sleep is off and always scanning is also off.
[Nexus 5 General] netcitizen:
Hi ,

I am on stock 5.0 rooted with CF root and TWRP recovery.

Now how to flash the OTA zip ?

Is downloading the image and going back to completely stock and then flashing the OTA is the only option ?

for that I can grab the 5.01 image and flash it .

If changing recovery alone would let me flash the OTA ?

If so can someone share a flashable stock recovery or the flashable stock kernel with stock recovery.
[Nexus 5 General] bavadawir:
Error updating to 5.0.1

I got the Ota update notification, so I downloaded it and clicked restart and install.

N5 reboots and starts installing the update. But at about 25% it stops and gives a laying Android with "error". How do I fix this?

I got lollipop via ota and rooted with cf-autoroot.

No custom recovery.

Tried to update several times but it failed every time the same way
[Nexus 5 General] gialakias:
Fastboot flash boot boot.img and retry. It has been answered many many times before. Cf-autoroot modifies the kernel.

Sent from my Nexus 5
[Nexus 5 General] igrikmc:
hi! I've got nexus 5, I did sideload 5.0 update via adb. So now my question is: am I going to get next OTA update from google? When I was doing adb sideload my device was on 4.4.4 kitkat, absolutely clean(out of box, I just bought it), no root or any custom things. thanks!
[Nexus 5 General] gialakias:
Of course you will. You did manually what the ota file does automatically, that's all.

Sent from my Nexus 5
[Nexus 5 General] ironia.:
yes
[Nexus 5 General] tikkalamt:
THIS ^^ !!!

I was doubting that unrooting from SuperSu might leave something behind, but did not know what. I already tried adb sideload, reflash system.img and replace install-recovery.sh in /system/bin, but this is what resolved.

THANKS !!
[Nexus 5 General] efrant:
Why did you wipe? You should have been able to preserve your data in any case.
[Nexus 5 General] bavadawir:
where do i get the boot.img

i have never done this before :)
[Nexus 5 General] jd1639:
Extract it out of the factory image. Download the factory image, extract it. In there is a zip file, extract that too. In there you'll find the boot.img. I recommend you also flash the system and recovery images

Edit, use 7-zip to extract it not win zip
[Nexus 5 General] Bhgprox:
My nexus 5 is 5.0 rooted, unlocked bootloader and with twrp recovery. Is there any quick guide how to install the 5.0.1 update?
[Nexus 5 General] tikkalamt:
This is what I had to do, hope you're familiar with adb commands.

1) Get the 5.0 factory image and extract boot.img and recovery.img from it

2) uninstall root from SuperSU options and reboot

3) adb reboot bootloader

4) adb flash recovery recovery.img

5) adb flash boot boot.img and reboot

After this I just waited for the OTA to become available again and let the system to take care of the rest. Remember that this might not be enough if you have modified other system files, you have to be completely stock for OTA to succeed.
[Nexus 5 General] Bhgprox:
wow, thats a lot of work, think ill only do it next year :good: thanks, by the way.
[Nexus 5 General] Sapphire0071:
Sorry for stupid question.. If i unlock bootloader can i still receive ota for 5.0.1?.
[Nexus 5 General] Wh1t3Rose:
Yes. As long as you haven't made any system or kernel changes. And you must not be rooted.
[Nexus 5 General] NCguy:
That's why IMO one of the kit developers seriously needs to figure out how to one step this process
[Nexus 5 General] jd1639:
Just another reason if you're rooted you should be proficient with fastboot commands. It's really not that difficult and only takes a few minutes to either set your device up for the ota or flash the necessary images to go directly to 5.0.1 without losing data.
[Nexus 5 General] NCguy:
I agree, you should be. Be if you don't do it a lot it's easy to get unfamiliar and you can easilly get caught by outdated versions etc. So after you've learned I think a reliable kit makes sense.
[Nexus 5 General] perusmuro:
This almost worked me too but I needed also flash system.img after that OTA was updated successfully.
[Nexus 5 General] c3k:
Fastest way is download 5.0.1 image and flash boot & system. No need to unroot (because you are going to overwrite system and kernel) and no need to change recovery (because you flashing through fastboot).
[Nexus 5 General] jd1639:
The radio has changed so flash that too
[Nexus 5 General] c3k:
You're right, I forgot it
[Nexus 5 General] tha_lord:
Does it also need to flash cache when proceeding that way ?
[Nexus 5 General] funnel71:
http://xdaforums.com/showthread.php?t=

Just follow that

---------- Post added at 05:31 PM ---------- Previous post was at 05:31 PM ----------

OTA should work just fine
[Nexus 5 General] Cirkustanz:
FYI your link is broken. (It is not complete)
[Nexus 5 General] Bhgprox:
going to do that and flash radio too. I wont lose any data, am i correct?
[Nexus 5 General] jd1639:
You are correct
[Nexus 5 General] Bhgprox:
good, i looked at the image file, is this the radio (radio-hammerhead-m8974a-2.0.50.2.22.img)?
[Nexus 5 General] jd1639:
Yes, easiest is to rename it to just radio
[Nexus 5 General] Bhgprox:
just did the update as suggested, really easier than unrooting and everything, thanks for the help, and do you have any directions on rooting 5.0.1?
[Nexus 5 General] jd1639:
Flash twrp image in fastboot then flash supersu 2.40 in twrp
[Nexus 5 General] Bhgprox:
just installed twrp but when i went to recovery the stock recovery appeared. idk why
[Nexus 5 General] jd1639:
I had that problem too, boot twrp then flash supersu

fastboot boot twrp.img

Then flash twrp
[Nexus 5 General] Bhgprox:
help!!! i just fastboot reboot while stock recovery and now my pc recognize my nexus 5 as zeus flash device.

and its not powering on or off

EDIT: IT JUST TURNED ON, OMFG i was dying already. i will boot into twrp and root now
[Nexus 5 General] Wh1t3Rose:
You flashed the wrong recovery for a different device
[Nexus 5 General] Wh1t3Rose:
Root 5.0.1 using this

http://xdaforums.com/showthread.php?t=2976643
[Nexus 5 General] QWIKSTRIKE:
This is what is done when it post and device not found error. I laid this out in red in a previouspost that seems to help many from my message box.lol
[Nexus 5 General] robz2k:
Hey, I have my phone rooted with a custom karnal. Does that mean i have to follow option 3?
[Nexus 5 General] jd1639:
Yes, flash system.img and boot.img.
[Nexus 5 General] wolfca:
Thanks. I did it. I carefully followed the instruction and the phone is updating. I think I did not "disable the driver signature enforcement feature " successful first time.

This time I used Universal_Naked_Driver_0.73 for usb driver. Now my phone is android 4.4.1.

Thanks again for all the helps from you and the forum.
[Nexus 5 General] iJimaniac:
So, coming from a Samsung device that never received a single update (big surprise XD) I'm new to this whole ota game. The state of my device is unlocked and rooted with cf-auto root, but completely unmodified otherwise (including stock recovery). I thought I understood from reading around the forums that I should still receive the ota but seeing as I've yet to get it, I'm wondering if I shouldn't be expecting it? Do I just need to sideload it? Thanks
[Nexus 5 General] bjam19:
What if I'm in scenario #1 but I have a mac? I'm new to all this, and the attached adb file in the platform-tools folder is in .exe format and is therefore useless for me

any help would be appreciated, thanks!
[Nexus 5 General] redcheese:
Okay so I've gone through the 2 methods outlined in that thread. I'm unable to complete this step "★When a small Android appears, press Power Button + Volume UP." It seems the HW buttons aren't working outside of the bootloader, thus I am unable to execute commands from stock recovery. Is there anything I can navigate to using a root explorer to see if I can enable them that way?
[Nexus 5 General] blackbearblanc:
Thats why were asking before doing anything...

Allready tried extracting - bt dont know if Im supposed to rename to .img.....

Anyway - Nexus Root Toolkit helped and 4.4.1 is on.

But would like to know anyway
[Nexus 5 General] xfer48:
is this OTA for KFS78N or KQS81M ?
[Nexus 5 General] Carlosmembri:
Please help! Always the same...device not found..

First when I type adb devices it works and my decice it's there in the list.

Then when I'm in recovery Mode I type adb sideload adb... and... device not found.

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 General] fugn:
Do you see the small android? Sometimes you need to press them more than once. In my case I pressed one after the other and it worked.

Or you can go into terminal and enter this command while your phone is on.

adb reboot recovery
[Nexus 5 General] Shoopz:
When ever I get to the part to send the update to my phone adb loses connection and says device not found even when it shows up on the command adb devices
[Nexus 5 General] El Daddy:
Try a different USB cable and/USB port.
[Nexus 5 General] Shoopz:
got it to work had to use a nexus 4 driver though
[Nexus 5 General] kosmasgr:
Hello. I succesfully install adb drivers using usb_driver from google nexus 4. When i typed the command: 'adb reboot recovery' my phone reboots and go into a android logo with a message "no command". I cant enter into recovery to flash the update.zip. any help please ?
[Nexus 5 General] El Daddy:
Section A4
[Nexus 5 General] wolfca:
I do not know if your os is windows 8 or 8.1. I had exactly the same problem. You need "Disable Driver Signature Enforcement". Follow the second method from http://www.theandroidsoul.com/nexus-5-driver-adb-fastboot-installation-guide/
[Nexus 5 General] kosmasgr:
Nothing happens. Power and volume up for 1 sec ? Or power then volume up and release ?
[Nexus 5 General] El Daddy:
Power then volume up then release
[Nexus 5 General] kosmasgr:
Excellent. Just installed the update :)
[Nexus 5 General] jd1639:
Turn your device off, hold the power button for 20 seconds. Then boot into the bootloader and plug the device into the pc
[Nexus 5 General] Wh1t3Rose:
Thank Google for the secondary bootloader yea?
[Nexus 5 General] Bhgprox:
so i boot first and then flash the recovery and after that flash the supersu via twrp normally?

EDIT: nevermind, i got it :) thanks a lot
[Nexus 5 General] jd1639:
Boot into the bootloader and

fastboot boot twrp.img

Flash supersu in twrp when it boots into it

Then got back into the boot loader and

fastboot flash recovery twrp.img
[Nexus 5 General] Bhgprox:
worked flawlessly :good:
[Nexus 5 General] kaushikd:
I was getting stuck on bootloop after flashing everything except userdata. I guess there was a corrupted partition which was causing that. I should have tried erasing cache partition first. But I tried factory reset and then cache partition. Even after that also my phone was restarting frequently. So I did a clean install of 5.0 image and got the update via OTA. Now everything looks fine and no issues as of now. Lessons learnt, do proper reading before proceeding. :p

---------- Post added at 11:25 AM ---------- Previous post was at 11:18 AM ----------

Ok, I got so many suggestions now and got confused. Can someone tell me if I'm on completely stock with CF Autoroot, what are the exact files I need to flash after unrooting from the SU app before sideloading the OTA?
[Nexus 5 General] jssingh:
Certainly helped me man! Thanks.

Maybe one step that can be introduced between point 13 and 14 would be to flash boot.img in case anyone has a custom kernel installed.

fastboot flash boot boot.img

Just follow this process guys and it'll be painless! The only painful thing is Android upgrading my 200+ apps on boot :)
[Nexus 5 General] blakeslee14:
great walk through. I replaced CWM with TWRP, but with the same results. if you rooted with cf auto root flash the bootloader.img and boot.img as well.