yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] daLareid:
Thanks but now when I'm about to sideload the update back with the driver issues again, I get an error in cmd about the device no longer being found.

This is what I get on my phone:

e:/ signature verification failed

EDIT:

Nevermind, stupid me just realized I was working with a flash image and not the OTA file, isn't there an OTA for 5.1 yet?
[Nexus 5 General] thesebastian:
After you select the option "Apply update from ADB" (or something like that). You need to connect your phone to the computer and if it is the first time installing the "ADB from sideload driver" you will need to play with the windows "Device Manager" until you get it working.

You need to reinstall or install the driver manually selecting a right path. (Or selecting the list and then use the "Have Disk" button) can´t remember well....

I use the google "usb drivers", download them here or just using the Android SDK.

After the driver is installed, "adb devices" should find your N5 in sideload mode.
[Nexus 5 General] daLareid:
Thank you for your help, but seems like it was a stupid mistake on my part trying to adb sideload a flash image.
[Nexus 5 General] jtdc:
this i agree as well. i am content on stock and didn't do anything but cf-auto root to get rooted, and sometime placed the requirement of betterbatterystats app to system. the objective then was just to find battery drain culprit.

when i wanted to update to 5.0.1 and obtained the OTA already, i just reversed those 2 things. got betterbatterystats remove his required apk on system, and superSU full unroot. however, the OTA didn't work at all... after sideload the OTA the phone won't boot. Hence I have to reflash system.img and boot.img from base 5.0 version, then resideloaded the OTA to fix it. and those are only 2 "mods" to stock.

anyway, what i am not sure is if only system.img and boot.img are the only things touched by OTA. how about cache.img and recovery.img? i actually just don't want to lose data, so flashing userdata.img is a no-no, right?
[Nexus 5 General] Wh1t3Rose:
Yes you want you avoid that one. That'll wipe all Data and the whole Internal Storage. But you should just flash the 5.0.1 recovery/cache and OTA
[Nexus 5 General] Elluel:
You could have just flashed the 5.0.1 images directly :p

cache.img shouldn't be too big of a deal but you can flash it anyways. recovery.img is also optional, but I guess you could flash it anyways if you don't have a custom recovery (not having a custom recovery isn't the best idea when you have root access, as if you run into a bootloop, you will have to reflash).
[Nexus 5 General] bltcool:
hi, after installing android 5.1, now my /system is full, is there anyway to clear some space up?
[Nexus 5 General] thesebastian:
Offtopic: Yes. You can delete some system apps and install them as user apps. But I wouldn't do that.

Sent from my Nexus 5
[Nexus 5 General] thesebastian:
URL Does not work (But i saw your other post one URL which is working).
[Nexus 5 General] emuneee:
Fixed.
[Nexus 5 General] baiju2012:
Please post OTA URL if someone gets the update from 5.0.1 instead of 5.0.
[Nexus 5 General] saberdragon18:
http://xdaforums.com/showpost.php?p=59377625&postcount=344

Here you go for 5.0.1 to 5.1

http://android.clients.google.com/p...d-ota-LMY47D-from-LRX22C-radio-restricted.zip
[Nexus 5 General] drewm27:
e16268c5a3df75a65054ab258d7d615288b7e3b4.signed-hammerhead-ota-LMY47D-from-LRX22C-radio-restricted.zip

Can't post the full url because I have less than 10 posts, but append it to the normal place
[Nexus 5 General] jd1639:
You guys are working way too hard. Just flash system and boot from 5.1
[Nexus 5 General] gialakias:
Yes but the bootloader and radio aren't new also?
[Nexus 5 General] jd1639:
Flash those too if you want
[Nexus 5 General] thesebastian:
Yes:

You could skip the latest bootloader if you want. But I highly recommend you to update the ratio to match the same used for the version that you have.

Sent from my Nexus 5
[Nexus 5 General] rogerchew:
Hmmm....not sure if anyone else has run into any issues, but the restricted radio has me wondering if this is for Tmobile only? I'm on ATT and since updating using the OTA I don't get LTE anymore, just H. Anyone else experiencing this?

Update

Spoke too soon, took awhile to get connected I guess. Back on LTE. Phew
[Nexus 5 General] funnel71:
For this that have the 5.1.0 OTA update file, here's what I did to successfully install it.

I have stock 5.0.1 ROM, custom recovery (TWRP) and root, so follow these instructions if you have this EXACT set up. These will work for other set ups, but you may have to download something different, or do things in a slightly different order.

> Download factory image for 5.0.1

> extract recovery.img and system.img, and put that in your "ready to go" (RTG) folder on your PC where you like to flash from

> Put the OTA zip file in the RTG folder

> Put your custom recovery if you want it back in the RTG folder

> put your method of rooting in the root folder of your internal storage on the phone (I use supersu.zip)

> Plug your phone up while booted. Open a command prompt on your PC, type adb devices. If you get a serial back, you're good. If not, STOP and address your ADB driver issue.

> Type adb reboot-bootloader, and it should do just that

> Now in the bootloader, still plugged up, type fastboot devices. If you get a serial back, you're good. If not, STOP and address your fastboot driver issue.

> Type the following commands:

fastboot flash recovery recovery.img

fastboot flash system system.img

> Once those are done, type fastboot reboot-bootloader, and it will do just that

> Back in the bootloader, use Vol up to move it to recovery mode, and press the power button.

> Stock recovery loads, with an android on its back. Press power+Vol up to see the recovery menu.

> Use vol down to move to adb update selection, and press power button

> You are now prompted to sideload, so type command: adb sideload <the_name_of_the_ota_zip_file>

> Loading of OTA should begin, and it does take a while, so be patient. Once finished, you should be highlighted on reboot system now, do this by pressing the power button.

> Your phone reboots, and if you eventually start seeing it optimizing your apps, you know you're well on your way to finishing this bad boy.

CONTINUE IF YOU WANT YOUR CUSTOM RECOVERY AND ROOT BACK

> Once your phone is fully booted into its standard system, back to your command line on the PC, type adb reboot-bootloader, and it will do just that.

> Back in the bootloader, type fastboot flash recovery <image_file_name_for_your_custom_recovery>

> Type fastboot reboot-bootloader, and it will do just that.

> Once done, use Vol up in the bootloader to move to recovery mode, press the power button, and your custom recovery loads

> Select your install method from recovery, find your root method on your internal storage previously mentioned, and install it.

That should do it folks. Good luck, and I hope I was helpful.
[Nexus 5 General] [hfm]:
I've been running at for a couple hours now.. Phone is definitely more responsive.
[Nexus 5 General] sykosoft:
Agreed. This isn't confirmation bias (I left my wife's on 5.0.1). It really is much more responsive. I'm really hoping that holds up.
[Nexus 5 General] MrKaon:
2am here in UK :eek:

and I am side loading ota :victory:
[Nexus 5 General] tonyt3rry:
im having trouble getting fastboot to work it works fine but when i try the reboot recovery command it says device not found but when i go to unlock bootloader it reconises that it is already unlocked
[Nexus 5 General] nsxalwayz:
ok, i was able to sideload from 4.4 to 5.0 with no problem. Now i'm trying to sideload from 5.0.1 to 5.1, i get the error: protocol fault <no status>

any help please?
[Nexus 5 General] Wh1t3Rose:
You are on 5.0.1 right? Probably just a bad download. Redownload the zip
[Nexus 5 General] kicksilver:
So, you're on 5.0 or 5.0.1?

Enviado do meu Nexus 5
[Nexus 5 General] nsxalwayz:
hi, yes i am on 5.0.1 currently.

---------- Post added at 09:55 PM ---------- Previous post was at 09:49 PM ----------

i'm redownloading the zip file and also updating my android sdk tools and platform tools through android sdk manager. hoping one of these will fix my problem
[Nexus 5 General] Wh1t3Rose:
Sideloading in stock recovery NOT a custom one right? OK I would redownload the OTA zip. If you still receive errors then Fastboot system, cache, and recovery from the 5.0.1 image individually. Then download the OTA
[Nexus 5 General] nsxalwayz:
yes, everything 100% stock unrooted. i tried again after redownloading the ota zip but no success. I'll try again after it finish updating the platform tools. thanks for your help!
[Nexus 5 General] Wh1t3Rose:
Going to bed now. 1:15 am here. Hopefully someone will chime in if you have any more issues. I'll be back here in the morning.
[Nexus 5 General] nsxalwayz:
don't know how i did it, but i did it! success
[Nexus 5 General] roli006:
very interesting:

I've installed the OTA from LRX22C, everything works fine. Then I've put my N5 on the wireless charging adapter. In the morning (6 hours later) I've checked my mails without any problems. 10-20 minutes later suddenly the screen was black: boot loop, 1-2 seconds the android boot animation, reboot and so on. I've tried to access recovery but after 1 second recovery crashed --> boot loop with the 5.1 boot animation.

Now at work I've plugged my phone to the computer and at the moment the system is booting and optimizing the apps. I hope that was only a temporary bug....

Had someone the same experience?

Is it possible to make a logcat (dev options were disabled)?

EDIT: interesting,now I'm getting always the menü for power down (like someone is pressing the power button the whole time), bootloop and now the app optimization....

EDIT 2: reboots and reboots, sometimes it is working for 5 minutes, sometimes not! At the moment I wipe the cache partition. If this doesn't help, I'll try to shutdown the phone, backup my files in the evening and install the factory image :/
[Nexus 5 General] gialakias:
You have to update the adb to version 1.0.32. Check it with the command: adb version

[MENTION=4588191]roli006[/MENTION] It is possible that your power button has stuck. Just a thought.

Sent from my Nexus 5
[Nexus 5 General] roli006:
mhm that is also my thought.... strange, after 1,5 years

when it's on the desk (doing nothing) I have no problems :D

I hope I can fix it knocking it on my hand... I don't want a refurbished exchange unit :D
[Nexus 5 General] MrKaon:
Looks like you have driver issue while you are in fastboot try this command from your pc:

Fastboot devices

It should show device id otherwise driver hasn't installed properly.
[Nexus 5 General] kaushikd:
If I am running completely stock including recovery except having CF Auto Root, which file I need to flash before sideloading the OTA?

Recovery.img and system.img from 5.0.1? Or any other file as well?
[Nexus 5 General] gialakias:
If you have the stock recovery and only system.img should do it.

Sent from my Nexus 5
[Nexus 5 General] kaushikd:
Great, thanks. :)

Sent from Hammerhead!
[Nexus 5 General] maxpayn02:
Hello

I have stock 5.0 ROM, custom recovery (TWRP) and root , do i download the 5.1 ota zip and install it with recovery or do i have to go through 5.0.1 first ?

If that question seems stupid im sorry ,i'm a newbie here
[Nexus 5 General] jd1639:
You have to go through 5.0.1 first if you're going to flash the ota.
[Nexus 5 General] maxpayn02:
So do i need to unroot and install stock recovery to update 5.0.1 ?
[Nexus 5 General] MrKaon:
You don't need to unroot the device in order to apply OTA but root will be lost and need to flash zip again.

Yes for applying ota you will need stock recovery.
[Nexus 5 General] gialakias:
Flash the recovery.img the system.img from 5.0 factory image and use the zip file from 5.0 to 5.1 and you are good to go. Instructions in the first post.

Edit : you can find the zip here http://xdaforums.com/showthread.php?t=2475327

Sent from my Nexus 5
[Nexus 5 General] MrKaon:
There is OTA from Android 5.0 to Android 5.1 skipping 5.01

LMY47D from LRX21O - http://android.clients.google.com/p...d-ota-LMY47D-from-LRX21O-radio-restricted.zip

Flash stock recovery and side load above OTA.
[Nexus 5 General] Wh1t3Rose:
You have a broken power button
[Nexus 5 General] Wh1t3Rose:
Guys I'll update the OP as soon as I can. Very busy today but I'll try to update it today or tomorrow
[Nexus 5 General] maxpayn02:
So Just to confirm :

-I enter bootloader then i enter this commandes :

fastboot flash recovery recovery.img

fastboot reboot-bootloader

fastboot flash system system.img

fastboot reboot-bootloader

Then i go to stock recovery mode and i sideload the ota

adb sideload ota.zip

Will i lose my data after that ?
[Nexus 5 General] gialakias:
Yes, you will be OK.

Sent from my Nexus 5
[Nexus 5 General] techToys7:
I keep getting *cannot read 'update.zip'*. My Nexus 5 is completely stock, not rooted, etc. I just updated the Android SDK, too. All I did was rename the OTA file, which is what I was told to do from: http://xdaforums.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
[Nexus 5 General] maxpayn02:
I got that error trying to flash OTA 5.1 from 5.0 any idea ??
[Nexus 5 General] gialakias:
Flash the boot.img too and retry. You should be OK.

Sent from my Nexus 5
[Nexus 5 General] techToys7:
I keep getting *cannot read 'update.zip'*. My Nexus 5 is completely stock (5.0.1), not rooted, etc. I just updated the Android SDK, too. All I did was rename the OTA file like it says to do.
[Nexus 5 General] maxpayn02:
It worked , thx man i appreciate it
[Nexus 5 General] thesebastian:
What are you writing exactly? (You don't really need to rename the OTA file as long as you type the real filename.zip).

Sent from my Nexus 5
[Nexus 5 General] gialakias:
Try not renaming it and re-download it. Also put it in the folder platform tools and open terminal in there.

Sent from my Nexus 5
[Nexus 5 General] kr1pt:
I just need to sideload it? (completely stock L)
[Nexus 5 General] Elluel:
You didn't really need to post in three threads lol :eek:

If you are COMPLETELY STOCK and/or locked bootloader, yes you'll be sideloading the OTA.

Everything is detailed in the OP. If you have any issues, post a screenshot/copy + paste of your cmd/terminal.
[Nexus 5 General] kr1pt:
yea sorry i was really nervous about updating rofl, updating now
[Nexus 5 General] techToys7:
Still getting *cannot read <filename>*, and it was in the platform-tools folder.

Edit: I added ".zip" to the end of the file, and now I'm getting a "device not found" error. Google USB drivers are installed.
[Nexus 5 General] Wh1t3Rose:
Are you in Sideload mode in recovery? TWRP right? Swiped to start Sideload? Try updating your recovery.
[Nexus 5 General] techToys7:
I chose "apply update from adb" from the stock recovery. I'm currently running Android 5.0.1
[Nexus 5 General] kaushikd:
I tried the same on my N7. It didn't went through. I flashed the boot and system image files from 5.0.2, then it went through.
[Nexus 5 General] gialakias:
So your boot image was altered too. That's why it didn't go through. Cf-autoroot alters it probably. So the safest way if you are not full stock is to flash recovery, system and boot image and you should be OK.

Sent from my Nexus 5
[Nexus 5 General] kaushikd:
Great, now I can try safely on my N5! ;)
[Nexus 5 General] Kwiatek87:
Hi,

I've got problem with manual OTA update.

I did update through Linux Mint and this ADB pack. Everything go ok since 90% of serving. I'm stucking now on "Unpacking new system files". Before there was:

- Finding update package,

- Opening update package.

- Veryfying update package,

- Installing update,

- Verryfying current system,

- Removing unneeded files,

- Patching system files,

- Patching boot image,

- Unpacking new system fils - and it's about an hour and nothing happened :(.

Please help.

PS. I'm not rooted and my bootloader is not unlocked. I just pusged adb sideload. Update from 5.01 to 5.1.
[Nexus 5 General] David Guite:
I'm on 5.0.1 stock, rooted, custom recovery, custom kernel, and old radio.

To update to 5.1 without losing any data what are the files i should flash?? And do i need to erase anything before flashing??
[Nexus 5 General] kaushikd:
Thank you guys! Just now sideloaded the OTA! :good:
[Nexus 5 General] prtsmgr:
Thanks all, I was able to sideload the update from 5.01 to 5.1

Here's a few tips that may help others:

I needed adb 1.0.32 to proceed.

Even though I had already installed the USB driver, I needed to reinstall it again while booted in recovery.
[Nexus 5 General] mpgrimm2:
I'm traveling, crap signal ( i.e 1x sprint) and need the stock lrx22c 5.0.1 recovery .IMG

Anyone able to post it up for me ?

Sent from my "Up All Night Sleep All Day" Nexus 5!
[Nexus 5 General] jd1639:
Here's a zip. You can extract the img out of it if you want http://xdaforums.com/showthread.php?p=50042079
[Nexus 5 General] mpgrimm2:
Thanks, that is exactly what I was looking for. Subscribed.

Not sure why I couldn't find it with the search engine or Google.

Sent from my "Up All Night Sleep All Day" Nexus 5!
[Nexus 5 General] MrKaon:
First method: (The one I used)

Download factory image 5.0.1 (LRX22C)

unzip it find system.img, recovery.img and radio.img

flash them in fastboot, go to recovery sideload OTA: LMY47D from LRX22C http://android.clients.google.com/p...d-ota-LMY47D-from-LRX22C-radio-restricted.zip

flash custom recovery then flash SuperSU and wipe cache.

Your data will be safe.

Second method: (I haven't tried this one)

Download factory image 5.1.0 (LMY47D)

unzip it edit flash-all.bat and remove -w

while phone is in fastboot run flash-all
[Nexus 5 General] ChungWingKeung:
Help

problem should be solved thx
[Nexus 5 General] wahur1:
checked the first post but still can't find the 5.1 ota link ?
[Nexus 5 General] walpurgisnacht30:
Have you try to search?
[Nexus 5 General] Yaz75:
Took me MAYBE 45 seconds to find.

http://xdaforums.com/google-nexus-5/general/android-5-1-corner-t3021452
[Nexus 5 General] sterlinggold:
Hi All, I have a rooted (cf-autoroot) KitKat (4.4.4) with nothing custom except Xposed with a couple of modules. I disabled Xposed and tried to go through the 5.0.1 OTA process but I got an error.

Is there a way to successfully complete the OTA update process without reverting to TWRP, adb, fastboot etc?
[Nexus 5 General] kaushikd:
You need to flash system and recovery image files (from 4.4.4) before you can flash the OTA. I faced the same error while upgrading to 5.0 from 4.4.4.
[Nexus 5 General] sterlinggold:
Bummer, was hoping to avoid doing that. Will that wipe all the data? Can you share the steps you took to do that?
[Nexus 5 General] :
http://xdaforums.com/showthread.php?t=2513701

Method 2. Just flash system and recovery images. No, it should not erase any data.

But a nandroid backup first is always recommended. ?
[Nexus 5 General] jd1639:
It will not wipe your data. See method 2 in here http://xdaforums.com/showthread.php?p=47156064 but only flash the system and recovery images. You can ignore the other flashing steps.

Edit, darn, ninja'd
[Nexus 5 General] :
^^^^ Ninja'd. ?
[Nexus 5 General] wahur1:
what does "restricted radio" means in the OTA file ?
[Nexus 5 General] gialakias:
I think with cf-autoroot he has to flash the boot.img also. Correct me if I am wrong.

Sent from my Nexus 5
[Nexus 5 General] efrant:
Correct.
[Nexus 5 General] sterlinggold:
Thanks all, ran through the flashes using the 5.1.0 (LMY47D) image from google. The next step is to select "Recovery" using the volume buttons. I want to keep my data so should I just choose restart bootloader?

update: did a fastboot reboot and now I have these spinning magic balls for 10 minutes. normal?

update 2: ran cf auto root; still get spinning balls

update 3: tried flashing 5.0.1 still no joy, flashed 4.4.4 system, boot, recovery and managed to get device back but no accelerometer and no mobile network.
[Nexus 5 General] efrant:
After flashing the boot and system images, it is advisable to type: fastboot format cache

That usually clears up the "spinning balls". There should not have been any need to downgrade.
[Nexus 5 General] sterlinggold:
I ended up wiping and starting from scratch with the 5.1 rom. I believe you are correct as the "unable to mount cache" error kept showing up in recovery, I only did erase cache which is what was in the tutorials.

Oh well, it's good to start from scratch every once in a while.

Thanks all!
[Nexus 5 General] Elluel:
As far as I know, it means that it patches the current radio instead of flashing the entire image. End result is the exact same.
[Nexus 5 General] wahur1:
Thanks a lot for the info.
[Nexus 5 General] VectorCroc:
Source ?
[Nexus 5 General] Elluel:
LRX21O > LRX22C OTA had both a "restricted radio" zip and another that wasn't. End result was the same on either.

Even if I'm incorrect, it doesn't matter as the end result is the exact same, "restricted radio" or not.
[Nexus 5 General] Wh1t3Rose:
OP Updated!

OP is now updated with new OTA files. I will clean up the guide a bit more today in a few hours.
[Nexus 5 General] HOslolam:
Sandman, your 5.1 links are broken. Looks like a copy/paste problem as the link has a ... in the middle of it.
[Nexus 5 General] oxfordmark:
When i get to the apply update step, the driver install fails, therefore the update.zip doesnt start.

ANy idea whats going on?

Update: the link to ADB on the 1st page is out of date, new ADB installed and is serving the update.
[Nexus 5 General] klappa:
How do I sideload the new 5.1 images?
[Nexus 5 General] jd1639:
Start by reading the op
[Nexus 5 General] ShadowAS1:
Fixed Links

Until the links in the OP are fixed:

LRC21O to LMY47D: Download

LRX22C to LMY47D: Download
[Nexus 5 General] Wh1t3Rose:
Links are fixed. Sorry about that guys. Thanks [MENTION=3793399]ShadowAS1[/MENTION]. I appreciate that.
[Nexus 5 General] MrKaon:
Can you please fix this part from OP

to
[Nexus 5 General] Wh1t3Rose:
Nice Catch! Done. Thanks :)
[Nexus 5 General] MgudFrn:
I completely unrooted with Chainfire's SU app, and tried to sideload 5.1 with stock recovery and got this error:

error in sideload/package.zip (status 7)

installation aborted.

Sent from my Nexus 5
[Nexus 5 General] jd1639:
Flash the boot.img with fastboot from the version of android you're currently on. Then side load
[Nexus 5 General] gialakias:
He needs the system.img also because root affects the file that flashes the stock recovery AFAIK. Correct me if I am wrong.

Sent from my Nexus 5
[Nexus 5 General] jd1639:
Cf- auto changes the boot image. He may have to flash system and boot.
[Nexus 5 General] exhibit1234:
Hi, I wanted to try the 5.1 OTA so I was trying to return to stock 5.0.1 first but I accidentally returned to version 4.4.4 stock recovery and kernel. The phone bootloops. Not sure how to proceed.. I can get into stock recovery. I guess I should try to flash images using fastboot but I don't have the 5.0.1 images..
[Nexus 5 General] MrKaon:
Download it from here:

https://developers.google.com/android/nexus/images#hammerhead
[Nexus 5 General] exhibit1234:
Thanks for your help. I didn't need to because I had a backup. I guess now I know how to get back to stock to get the latest update.
[Nexus 5 General] Kabir999:
I am trying to sideload the 5.1 but when going into recovery it says "No command'. Any reason?

My device is completely stock and running 5.01 (sideloaded that from 4.4)
[Nexus 5 General] jd1639:
Do you have adb installed? Are you typing the command correctly?
[Nexus 5 General] Kabir999:
Yes, I do have ADB installed. Just noted that when I am manually trying to enter recover I am getting the same message.
[Nexus 5 General] jd1639:
So, if I understand you correctly, you can't get into recovery? If so then I would try and flash the stock recovery.img with fastboot
[Nexus 5 General] tjizzle:
Hi... Did you ever resolve your WiFi connectivity issues?
[Nexus 5 General] YoColdRain:
not sure what I did, but I believe I flashed 5.0.1 rom after that and its all good since then. on 5.0.2 right now.