yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Nightwing00:
Scenario #1 here.

I did it manually using Nexus Root Toolkit and Im having issues connecting to my LTE service. My Nexus 5 connects to sprint but I have no internet connection. below is what I did after downloading the images directly from google.

fastboot flash bootloader bootloader-hammerhead-hhz12d.img

fastboot reboot-bootloader

fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.21.img

fastboot reboot-bootloader

Normally the following line would work but with this release it doesnt.

fastboot -w update image-hammerhead-lrx21o.zip

so I had to unzip the contents into a new directory and manually flash them

fastboot flash system system.img

fastboot reboot-bootloader

fastboot flash userdata userdata.img

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot erase cache

fastboot flash cache cache.img

then i booted up using

fastboot boot boot.img
[Nexus 5 General] jd1639:
You flashed everything correctly. I'm not sure why you don't get lte. Check your apn
[Nexus 5 General] browngeek:
Xposed uninstall bootloop

So installed OTA via stock recovery and ADB sideload no problems. Was also able to root fine.

I then realised I hadn't uninstalled the Xposed framework. I was able to access Xposed and thought probably best to uninstall as I won't be able to use for a little while.

Woops, result now is that I am in a bootloop.

Any way to recover? ADB sideload the OTA again or is it a case of a fresh (clean) install?

Thanks in advance.
[Nexus 5 General] Wh1t3Rose:
I mean this with respect. But please remove your post and post in the N5 Q/A section as this has nothing to with OTA issues. *hint check APNs* Also Google "Lollipop Sprint Fix"
[Nexus 5 General] Nightwing00:
Sorry man. I thought this was Q&A. Had it open in another tab. I'll repost in there and thanks for the help.
[Nexus 5 General] Wh1t3Rose:
That's strange. It shouldn't have even installed with Xposed still installed. I think you will have to use factory image at this point to wipe your system partition. OTA not an option now unfortunately
[Nexus 5 General] browngeek:
Yeah, when I started the OTA I thought, shoot, Xposed still installed, and OTA won't go through. However OTA did go through. I guess I shouldn't have been too keen to uninstall Xposed.

Thanks anyway.
[Nexus 5 General] droidman89:
Ok so I have this question , I know the lollipop update is now live for nexus 5 I have the developer preview flashed onto my phone so my question is will I get the OTA update if I keep checking the update option. Or do I have to do something ... ? Much appreciated peeps :D
[Nexus 5 General] :
No, you won't get it while on the preview.

You can either flash stock 4.4.4 with fastboot. Or flash the 5.0 image with fastboot.

That's it. ?
[Nexus 5 General] 850RPM:
have you revert to stock recovery or used the adb sideload in TWRP?
[Nexus 5 General] jineshpatel30:
Can anyone reply this ?:) No one replied there so i think it's better to ask in thread which is ment for 5.0

http://xdaforums.com/showpost.php?p=56723522&postcount=7337
[Nexus 5 General] jd1639:
Sorry man, this is the wrong thread for this
[Nexus 5 General] ayang02:
Thanks, I guess I'll just do the CF-Autoroot.

Just wondering, did anyone try the TWRP sideload and successfully applied the OTA?
[Nexus 5 General] Lape500:
Sorry bout little spammin but i need help. Updated ota manually... worked tried to factory reset... didn't...just cleaning forever...Fastboot oem unlock...worked...fastboot reboot...android man flashed and vanished... phone shut off... nothing happening to phoneby pressing any buttons. :C Is it time to buy a new phone???

Edit :works now. Just had to press power button for lika aminute or something like that.
[Nexus 5 General] siren215:
will i be update thru OTA in future if i sideload ota now and remain unrooted, locked and stock?
[Nexus 5 General] 850RPM:
yes

---------- Post added at 11:30 PM ---------- Previous post was at 11:27 PM ----------

I tried to sideload using TWRP; didn't work; worse, cache got corrupted and had to flash stock cache.img in fastboot

looks like sideload only works in stock recovery

on the other side, CF-Autoroot works well to regain root after update
[Nexus 5 General] Phaded:
Trying to flash the ota zip. I'm on the build ending in P. However it's failing in twrp. Said that I'm showing build fingerprint ending in H. Anyone know why?
[Nexus 5 General] ikavior:
How to run that script? I got the same problem as you, but I don't know how to run it.
[Nexus 5 General] p0xer:
Any recommendations for on flash the OTA on stock, rooted with TWRP 2.7.1.1?

should i go back to stock recovery before?

thanks.
[Nexus 5 General] siren215:
can anyone please provide latest adb and fastboot exe with necessary files?
[Nexus 5 General] mazsuper:
http://xdaforums.com/showthread.php?t=2317790

---------- Post added at 07:11 AM ---------- Previous post was at 07:10 AM ----------

Should have added link to minimum adb and fastboot
[Nexus 5 General] ayang02:
I have to say I flashed stock recovery and sideloaded the OTA and also got corrupted cache. The first sign was not being able to wipe the cache partition properly for me. Then I saw some mounting errors in cache/.

I also had to use fastboot to flash cache.img, phew thanks for the tip again.

I was getting worried that there was more issues since the bootup took a few more minutes after I flashed stock cache.img. Fortunately, I saw the "android" logo pop up!
[Nexus 5 General] lasha117:
5.0 has the bugs that i have on 4.4.4

camera bug

carier signal bug

they are not fixed :/

and on battery saving mode custom launcher are toooooooooooo slow
[Nexus 5 General] Prancuzas:
Ok, fellas I'm confused.

I'm rooted 4.4.4 KTU84P, with TWRP, stock ROM and xposed. I have a system notification pending to go for 5.0.

So my question is - can I press UPDATE after I've unistalled the Xposed properly?

I tried flashing c1a33561be84a8a6a7d5a4c8e3463c4db9352ce6.signed-hammerhead-LRX21O-from-KTU84P.c1a33561 via TWRP after wiping the cache, but got the MD5 related error that's where I stopped when my knowledge is very limited.

I can live without root or custom recovery for few weeks, just want to try 5.0 and dont want to mess up things.
[Nexus 5 General] VectorCroc:
Install adb & fastboot on your computer + drivers.

You need first to go back to stock recovery.

1) Download the 4.4.4 factory image (KTU84P)

2) Extract the recovery.img

3) In boot mode use that command with fastboot : fastboot.exe flash recovery "fullpath to recovery.img"

Then you don't need to download and FLASH the 5.0 factory image it but just apply the OTA (so you don't lose any data) :

1) Download the OTA (1st page of this thread) and rename it to update.zip

2) Go in stock recovery mode and select apply update with adb (volume button then power button to select)

3) Use adb on your computer and use that command : adb.exe sideload "full path to update.zip"
[Nexus 5 General] grgana:
Hi. I made nandroid backup right after i unlocked and rooted my N5… so basically i just need too restore that backup and in cwm flash 5.0 ota zip is that right ??

Sent from my Nexus 5
[Nexus 5 General] siren215:
need help here, when my mobile is on, it shows my device in adb devices, i reboot into recovery and when i go to sideload the update, my device is not detected. device manager shows it as nexus with with a yellow dot, means no drivers. any solutions? adb drivers are shown when my device is on and running. it is not detected in recovery.
[Nexus 5 General] garryboy:
Thanks sandman. Couldn't be bothered waiting for OTA. Used method A as I was stock 4.4.4. Worked a treat and now licking lollipop. Cheers
[Nexus 5 General] kaushikd:
Is it a good idea to flash the ota file? If I am not wrong some of the app will be not be working with Lollipop.
[Nexus 5 General] Wh1t3Rose:
95% of apps have updated to work on 5.0. If you update and an app doesn't work it will just force close. Uninstall it and no harm done.
[Nexus 5 General] kaushikd:
Guess I will flash the OTA and then will see. In case some major issue arises, I will do a clean install. Else this will continue. :good:
[Nexus 5 General] Gatz:
May I add up to that question by asking whether it is a good idea at all?

Is it possible that with sucha majot upgrade it's just better to flash the factory image than applying OTA? Has anyone ever experienced issues with that respect?

Would for instance apply OTA then issue a factory reset bring me to the exact same situation as flashing the factory image?

Thank you
[Nexus 5 General] Wh1t3Rose:
You also m might wipe data on any app that won't open then reopen it before choosing to uninstall it.
[Nexus 5 General] Wh1t3Rose:
Technically speaking it's the same. However some people do not wish to take the time to back up their data, wipe their phone, then restore everything again. Hence the reason for the OTA.
[Nexus 5 General] garryboy:
I've had no issues since I flashed ota over stock 4.4.4. I have one app MX player that does not work. So I've deleted it. No big deal.

I imagine there's is no great risk flashing the ota manually as it pretty much doing the same as the OTA is it not
[Nexus 5 General] Wh1t3Rose:
Grab the test build of MX Player here (Pro still doesn't work for now)

http://xdaforums.com/apps/mx-player/read-android-5-0-lollipop-preview-issue-t2909957
[Nexus 5 General] alitaheri73:
Can anyone give me link of OTA, the zip one that i can flash it in recovery?
[Nexus 5 General] Wh1t3Rose:
Look in the OP
[Nexus 5 General] VectorCroc:
Check first page.

You need to apply it with the ADB in recovery, do not flash it.

You never flash an OTA because it's a not full factory image but only patches to the previous version. Flashing means everything is wiped/deleted prior installation.
[Nexus 5 General] 850RPM:
you probably don't have the latest drivers installed;

however just click on update driver when in recovery and you should have drivers installed;

as the device are in different modes, there are different drivers for regular use like MTP vs bootoader vs. recovery; the device will be identified properly in device system in windows as ADB bootloader interface vs Android ADB interface

---------- Post added at 08:06 AM ---------- Previous post was at 08:01 AM ----------

no need to wait few weeks for root;

just use CF-Autoroot, latest busybox and latest TWRP after you update and you're back in business

everything works well, all my apps who need root (like adaway, cerberus, es file explorer and few more) were able to aquire root priviledges and to function like before.
[Nexus 5 General] DirtyShroomz:
I can't flash it either coming from 4.4.4 stock rooted, md5 error

Update

For some odd reason phone thinks I'm on 4.4.2
[Nexus 5 General] :
Just do section D ... And you'll be good. ?
[Nexus 5 General] DirtyShroomz:
Yeah was trying to avoid to but have no choice
[Nexus 5 General] Gatz:
Yep, I am easily one of those people, so I will go for OTA, thanks! :)
[Nexus 5 General] jd1639:
You could try flashing the system img from 4.4.4 in fastboot then try the ota.
[Nexus 5 General] Jacktheskipper:
Came from rooted 4.4.4 with unlocked bootloader and TWRP.

1. flashed stock recovery

2. Section A: adb sideload worked perfectly fine for me.

3. CF-Auto-Root worked flawless

4. flashed TWRP again

... and here I am with 5.0 Lollipop running perfectly fine. Thanks to all the helpful people on here, without you this wouldn't have been as easy as it was.
[Nexus 5 General] ironia.:
someone have successfully flashed the OTA via TWRP????
[Nexus 5 General] droidman89:
I believe it has stock recovery on it.. So does this mean that I will lose all my data if I have to reimage with stock 4.4 ROM?
[Nexus 5 General] ironia.:
if you flash stock

recovery

you will lose NOTHING

if you flash stock

factory image

you will lose EVERYTHING (userdata.img invokes the wipe;))
[Nexus 5 General] droidman89:
Hmm well I have some rootkit that did the developer preview install on it.. It unlocked boot loader and everything . I might as well do a manual image install of the official update with that tool huh?
[Nexus 5 General] ironia.:
if you have the L preview, you have only one way factory L or full L rom, absolutely not the OTA
[Nexus 5 General] alitaheri73:
Sorry for noob question, i am completly stock. do i need to unlock bootloader for slideload update?
[Nexus 5 General] EddyOS:
No (follow the OP)
[Nexus 5 General] k1chy:
No. You don't need to unlock boot loader.

In fact, people with custom recovery faced problems. You are good to sideload.
[Nexus 5 General] jagreci:
I just flashed the zip he posted and then flashed the ota zip from my current build and all was good. The first zip fixed the issue. Did you try it yet?
[Nexus 5 General] ottodroid:
Hi guys! i am very new here, i've been reading you for a long time and thanx to xda i made few mods to my nexus 5 following the step by step guide so i really wanted to thank you all!

Now i really, really, need your help.

i am on scenario1: Unlocked, no root (rerooted) and everything on stock

i followed the path A but when i started to type in the cmd "adb reboot recovery" (debug usb on) an error occurred: it was written "no device found" and sudently (i don't know what huppened) the device shutted down.. i mean i have a black screen but if i change usb port the computer detect it.

Please guys i really need your help bacuse as you can understand i am totally a noob :crying:

PS: sorry for my enlish i am from Italy
[Nexus 5 General] siren215:
i had the same problem, remove all the drivers from device manager and use universal naked driver(search on this forum) and install those drivers, your mobile will be detected then.
[Nexus 5 General] bhojo1:
go back to KTU84P from KTU84Q ?

I have a newer radio and newer firmware :( KTU84Q ... when I try to sideload this it fails because there is a version mismatch. I guess there is no way to go back to KTU84P from KTU84Q ? I can't afford to wipe the phone or root it since I have my work email installed on it...:eek:

http://www.xda-developers.com/andro...o-4-4-4_r2-in-nz-aus-india-glass-gets-xe19-1/
[Nexus 5 General] ottodroid:
i just noticed that with the nexus root toolkit the device is reconized ..but the screen is completely off (????)
[Nexus 5 General] alitaheri73:
Anyone knows why that happening to me?!
[Nexus 5 General] Ave_CoVeR:
See the instruction. you are doing wrong

http://m.youtube.com/watch?v=uvch38KDmTk
[Nexus 5 General] jd1639:
Open the command window in the same directory as adb.exe

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

Hey [MENTION=4828464]Sandman-007[/MENTION]. I did my first ota ever after much trouble. I had the status 7 error in the stock recovery and the 4.4.2 error in twrp. The script file didn't work for me. I had to fastboot flash system, boot, recovery, and cache from 4.4.4 to get sideload to work in the stock recovery. Just flashing system and boot did not work. Don't know why. Just an fyi for you.
[Nexus 5 General] Android The Greek:
If a person has experience with SDK or adb they can do it. If you don't you must learn through the painful process of reading and experiment like we all have done in the gingerbread days
[Nexus 5 General] kraven001:
Yeah , well, I remember actually reading a handful of posts reporting getting this OTA directly to their device. What is interesting that there is a lot discussion around keeping root, cleaning up to apply this, etc. which definitely is "outshadowing" any happy campers that would just say: "Suck on this, I was stock and it worked"!

As with the Defects thread, the hype and discussion is around the "issues" rather than the positives.

As far as sideloading, besides having some issues with drivers the process should be pretty straight forward for your average computer saavy person.
[Nexus 5 General] j831:
Sorry if you already figured this out. Late reply.

I followed the steps I listed and everything went smoothly. I DID NOT carry out step 1 in TWRP. I used adb on my pc.
[Nexus 5 General] dmarg:
Are you only supposed to wipe the cache? Leave everything else and this will result in not losing any of your apps or data?
[Nexus 5 General] t0p8uzz:
For pro

Ignore - sorry
[Nexus 5 General] QWIKSTRIKE:
This was a good idea but when I did this it still didn't work. It seems when the phone booted into recovery mode the win 8 OS did not recognize the phone and I had an exclamation mark in my drivers in device manager. After trying to load the latest win_usb.drivers it still did not work so I right clicked on the exclamation point and hit browse and installed the ADB3122013 drivers and bam went back to the comand prompt typed adb sideload and then draged the original downloaded file and hit enter....booom! I am now cooking with 4.41. For those that got errors after booting into recovery I suggest you check your device manager to see if the device registers.....mine registered when I did an adb devices, and displayed the serial number, However; when I booted into recovery everything seemed fine until it asked for the file that I wanted to upload....

After finding the exlamation point I plaed with usb driver and decided to load the ADB312 drivers and got rewarded with the update! I did this by going to the let me choose the driver on the machine rather than the browse driver feature. I already had the Latest Android SDK from the MSL install that I did. So to clarify you must choose let me install drivers on the machine rather than browse for drivers.
[Nexus 5 General] hpsauce37:
im stock and trying to use the side-load method.

when i try to push the update and type the command in the cmd window it says 'cannot read 'update.zip'

any ideas what im doing wrong?
[Nexus 5 General] Lettuce!:
Ok guys so finally took the plunge and decided to update.

For those confused (like me) I thought I'd type out step by step instructions that I did.

Pre-conditions: UK Nexus 5 (D281), rooted, TWRP 2.6.3.4, stock ROM, franco kernel r16, no mods, nothing frozen or removed

1) downloaded factory image from https://developers.google.com/android/nexus/images#hammerhead

2) extracted the tgz, then extracted the tar, then extracted the zip to get the system.img and boot.img files

3) moved these two files into my adb folder (for the fastboot/adb method)

4) downloaded SuperSU-v1.80.zip from http://download.chainfire.eu/supersu

5) put SuperSU-v1.80.zip on my internal storage

6) downloaded the 4.4.1 OTA update zip from http://android.clients.google.com/p...ed-hammerhead-KOT49E-from-KRT16M.7ed504f6.zip

7) renamed it to ota.zip (biggest filename in the world before!)

8) moved ota.zip onto my internal storage

9) rebooted phone into bootloader

10) opened command prompt from within your adb folder

11) connected USB cable

12) typed 'fastboot devices' to check the connection

13) typed 'fastboot flash system system.img'

14) typed 'fastboot flash boot boot.img'

15) used the volume and power buttons to boot into recovery (TWRP)

16) installed ota.zip

17) installed SuperSU-v1.80.zip

18) cleared dalvik and cache

19) rebooted phone

It then went through that process of first boot and optimising 120-or-so apps but I lost no apps or data, everything was right where I left it. Didn't lose root access. To be honest didn't encounter any problems.

There seems to be some negative reports about the updated baseband giving poor signal and slow speeds so I'll leave that for now.

Thanks everyone for all your help and support.
[Nexus 5 General] efrant:
Well done. That's exactly how to do it!
[Nexus 5 General] El Daddy:
If you named the file update.zip, the actual name would be update.zip.zip.

Windows auto names extensions by default. That could be your problem.

If not try another usb cable or a different usb port.
[Nexus 5 General] El Daddy:
Nice! Would you mind if I linked to your post in the OP? I'm sure it will help others in the same situation.
[Nexus 5 General] jumpman1229:
Anyone? I don't know what to do. Don't really want to set all my stuff up again =\
[Nexus 5 General] efrant:
http://xdaforums.com/showpost.php?p=48212456&postcount=268
[Nexus 5 General] El Daddy:
Do what "Lettuce!" posted on the previous page.

EDIT: efrant has his ninja working again!
[Nexus 5 General] Lettuce!:
No problem, please do!
[Nexus 5 General] slash89mf:
Using this method will i receive the next OTA updates or they will fail?
[Nexus 5 General] El Daddy:
Sideloading the OTA is no different than updating naturally. You will continue to get updates.
[Nexus 5 General] cd69:
I have stock + CWM + root + Xposed. I read the following steps in one of the pages in this thread. But I don't seem to find it now. Can you more experienced members tell me if the following steps work.

1. I uninstalled Xposed from within the app, rebooted.

2. copied the OTA ZIP to my phone via USB storage mode

3. rebooted into CWM

4. flashed the OTA ZIP

5. Rebooted in CWM, It asked if I wanted to restore root, I said yes.

6. done!

Thanks for your help guys.
[Nexus 5 General] Hurizen:
As a note for those even more confused (like me), here's the step needed to update to 4.4.1 and keep root, for phones with this configuration:

Stock ROM, Stock Kernel, Rooted.

Note: 04) SuperSU file name is (now) UPDATE-SuperSU-v1.80.zip

Note: 18) Dalvik and cache get wiped with OTA so, this is optional, imho.

Thank you
[Nexus 5 General] unknown1205:
if you guys are stock rooted, and flashing the OTA failed because you made some modifications to the system files. flash this stock, rooted 4.4.1 rom. i did it for my friend's phone and it worked perfectly. didnt have to lose anything on the phone. just wipe cache and flash away.

http://xdaforums.com/showthread.php?t=2557523

if you want the updated radio. (optional) you can flash this. i didnt do this for my friend but you will still reap the benefits of 4.4.1 without it.

http://xdaforums.com/showthread.php?t=2558080
[Nexus 5 General] darksome123:
Noob question, how is applying OTA different from applying a factory image? I found this and I thought it would be easier to apply:http://www.ibtimes.co.uk/how-update...ild-lrx21o-via-official-factory-image-1474565

I'm looking for the most convenient way of upgrading to Lollipop.

Some stats:

Nexus 5

Running 4.4.4

Stock rooted and unlocked

CWM Recovery

Xposed Framework installed

Franco kernel

Baseband from 4.4.2

Thank you.
[Nexus 5 General] jd1639:
There really is no difference other than the ota generally doesn't wipe your device. With all the mods you've done to your phone your better off flashing the factory image. You'd have to flash almost all of 4.4.4 factory image to get your device to take the ota. Backup your phone first in any case off your device.
[Nexus 5 General] Wifiguy:
The lollipop OTA keeps giving me error 7 saying that my fingerprint is 4.4 even though I'm on 4.4.4

:(
[Nexus 5 General] Yaz75:
You're going to have to ditch the Xposed, CWM and Kernel. If you want the fastest way you need to flash the 4.4.4 factory image and take it back to complete stock out of the box. Then adb sideload the ota zip. Or wipe and factory image the 5.0 file. Then you can go ahead and re-root etc. This version is REAL picky about updating. If it finds any file at all that it compares and doesn't get a match, the install quits.
[Nexus 5 General] jd1639:
I had the same problem. I had to flash the system, boot, recovery, and cache image from 4.4.4 in fastboot to get the ota to take. You could try that
[Nexus 5 General] Yaz75:
If you still have CWM recovery and root, then you're not going to be able to use the OTA file.
[Nexus 5 General] Wh1t3Rose:
Strange. What error message did it give you exactly? Just a status 7 error? Didn't complain about a mismatch file? Usually status 7 means corrupt download. So that's strange.
[Nexus 5 General] darksome123:
So if I were to just flash the factory image, do I need to uninstall Xposed framework and revert to the stock kernel and respective baseband?
[Nexus 5 General] Yaz75:
If you wipe and flash the factory image, all that will be gone. It should return your unit to a fresh, out of the box install condition. If I'm wrong I welcome the correction.
[Nexus 5 General] wahur1:
I'm completely stock, no root, locked bootloader. If i sideload the OTA will it wipe out everything ?