yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] ironia.:
so I have upgraded to L

fastboot stock 4.4.4 recvoery

uninstalled super su and xposed

adb sideload ota.zip

that's all!

I have only one issue, after turn off wifi, into the battery stats is always reported as active

yes I have already set the wifi preference

any suggestion??

tnx
[Nexus 5 General] xzilem:
Flash cache.img using fastboot then go into stock recovery and do wipe data/factory reset. Reboot system and you're done.
[Nexus 5 General] DryEagle:
I have stock ROM, custom kernel (franco), xposed, twrp recovery.

For the last few OTAs I have used this method flawlessly: https://gist.github.com/anonymous/bbfcff24b819f672bf7b

However, for the 4.4.4 -> 5.0 it doesn't work. Gives an error at step 16 and then the phone is bricked until after about 5 minutes of trying to turn it on I manage to boot it into bootloader -> reboot into recovery -> restore backup. Then it works fine as before but obviously I'm back on 4.4.4; Tried it twice now with exact same result.

Where am I going wrong and what do I need to change to fix this? I want to update to 5.0 without wiping data.
[Nexus 5 General] X-Jonte-X:
I update to lollipop via side load the ota, but I still have some old superuser app under system and also an old su file. I don't need root any more.

can I just flash the system. img from the factory image of lollipop to get rid of the old files?

Fastboot flash system system. img

Do I need to erase something? Will I lose user data?
[Nexus 5 General] Terminator19:
Trying to sideload 5.0 to my N5 but once I type the ADB reboot recovery, it says device not found....

Any ideas?

I looked in device manager and nexus is listed under other devices with a yellow exclamation mark.
[Nexus 5 General] kaushikd:
You need to re install the drivers properly.

Sent from Hammerhead!
[Nexus 5 General] baiju2012:
I had the same issue. You have reinstall the windows drivers for N5. Just choose from the list which you have already installed. Choose Android Device and then Android Composite Interface.

Nexus V Lollipop
[Nexus 5 General] kaushikd:
That is probably because you have selected:

Settings>Wi-Fi>Menu>Advanced>Scanning always available.

Sent from Hammerhead!
[Nexus 5 General] Cocktopus:
Thanks for the reply mate. From where can i get the cache.img?
[Nexus 5 General] ironia.:
From the factory image

---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------

Always turned off ...
[Nexus 5 General] Trans4M:
USB debugging WAS enabled.

All drivers WAS installed and NO errors or exclamation marks of any kind was shown in device manager.

But i found out that it was an outdated/old usb driver.

Reistalled all drivers and it worked like a charm :D

Thanks :good:
[Nexus 5 General] CAL7:
It looks like it's easier to go to 84Q than to 84P. Since I'm not in one of the countries for which the Q radio is intended (in the USA), is there any problem going to 84Q (as an interim step)? Thank you!
[Nexus 5 General] Terminator19:
Thanks.

I tried viewing the list of currently installed drivers etc. but there is no android??

Have you got a dll link for the nexus 5 drivers please.

edit:

Are there any good youtube videos for section a?
[Nexus 5 General] vanisleryan:
I solved this problem by downloading and installing universal adb driver by koush....just google it....then open adb cmd....put phone in recovery first then hook up to computer and the driver will install. Should work this time.
[Nexus 5 General] Terminator19:
Great, thanks very much! Got it installing now *fingers crossed*

edit:

Yup on 5.0 now :D

Thanks very much for the help again guys :)
[Nexus 5 General] baiju2012:
Sandman,

I had Android Driver issues in Windows, while using Scenario #1 and following Section A instructions. It would be more helpful in the OP, if you include some Android Driver for Windows help. just a suggestion.

Thanks for this thread. Now, i have Lollipop on Nexus 4, 5, & 7 after 4 days of its official release. Awesome. :D
[Nexus 5 General] rapatelrocky:
Unfortunately I am facing same issue regardless. Updated the sdk (though did not install 5.0 support since phone is still on 4.4.4) , tried universal driver , etc.

Basically device not seen in recovery mode.. if i plug in when it bootloader menu , the bootloader driver shows fine - select recovery and device is unplugged and never comes back until it times out and boots. adb using universal driver doesn't get anywhere. With google 11.0.x version it starts the daemon then says device not found.

switched usb ports, switched cables , only time i can change drivers is when phone is booted and connected in mtp mode. winblows 8.1 really sux ..

i have another laptop I can try installing from scratch but that will not work long term since i bought it as a gift and have to get it working on my laptop in case i ever need to do something. Worst part is i had used the sdk to do the settings.db mod under 4.4.2 without any problems.. don't recall if I had to use recovery mode though..

i recall when working on galaxy s3 that copying an ota update to the root of the phone as update..zip would cause it to update that - would that method work on the nexus 5 w./ kitkat?

*** Got the OTA update and it installed without issues - some apps don't work but that was expected ***

**** Found the issue on recovery mode - had to use power hold + one time volume up to get the menu and select the load from adb option, then the phone was seen and adb devices showed it in sideload mode. ****
[Nexus 5 General] Idan.lv:
[Solved] mismatched fingerprint release-keys error for Scenario #2

First, thank you for your post !

I'm writing this because when I tried to upgrade my rooted 4.4.4 nexus I failed and with an annoying error message about mismatched fingerprint of my release-keys, after several hours I managed to work around the issue and I'm writing this so the thread will be updated or someone will find it in the search

FYI : I had a rooted 4.4.4 device with custom recovery installed from ROM manager and came across this :

The issue :

script aborted: Package expects build fingerprint of google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys or google/hammerhead/hammerhead:5.0/LRX21O/1570415:user/release-keys; this device has google/hammerhead/hammerhead:4.4/KRT16M/893803:user/release-keys.
Package expects build fingerprint of google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys or google/hammerhead/hammerhead:5.0/LRX21O/1570415:user/release-keys; this device has google/hammerhead/hammerhead:4.4/KRT16M/893803:user/release-keys
E:Error in /tmp/update.zip

Senerio #2 for "release-keys build fingerprint issue"

1) download Nexus Root Kit from : http://www.wugfresh.com/nrt/

1b) I assume that you already have the drivers installed, If not please follow the "Full Driver Installation Guide" before you continue

2) Configure you device (nexus 5 and android 4.4.4 KTU84P)

3) Download File dependency (and keep doing it for every other step that will request it)

4) Lunch Advance tools

5) Select : Restore Stock recovery, and complete the process

6) Select : ADB Slide Update, and complete the process

Done, have fun.
[Nexus 5 General] gialakias:
Or better, just to know what you are doing, download the factory image and extract the recovery.img,then flash it from bootloader with the command fastboot flash recovery recovery.img and then boot in recovery and follow scenario 1 section A.
[Nexus 5 General] Idan.lv:
Not everyone knows exactly what they are doing and it feels much safer with the GUI
[Nexus 5 General] NexusLover69:
Hey guys I have a problem updating my Nexus 5 to 5.0 because I had Viper installed and it modified the system audio effects. Can someone please give me a link to stock KTU84P audio_effects.conf?
[Nexus 5 General] jd1639:
Just flash the system.img from 4.4.4 in fastboot
[Nexus 5 General] NexusLover69:
I can't I don't have access to a computer right now.
[Nexus 5 General] rapatelrocky:
Tried different PC, same issue - installed just the android sdk from first post (version 19) , and just the universal driver only which made the nexus 5 seen properly in normal mode, and ran the adb boot recovery after adb devices showed the RSA key and device properly, and just as on my PC the device just disappears from the system when it boots into recovery. weird.. Hopefully it is not my phone.
[Nexus 5 General] jd1639:
When you're booted into recovery with your device connected via usb go to device manager on your pc. There's probably a device with a yellowed exclamation mark on it. Right click it and navigate to where it lets you choose a list on your computer. Choose android adb interface, or something like that
[Nexus 5 General] rapatelrocky:
No device shows at all on either PC when it goes into recovery mode. Otherwise could easily add/update the driver it uses.

Could try doing a factory reset to stock 4.4.4 to see if it helps ,but might as well wait for the OTA update and only if it fails, then do the 4.4.4 stock reset and try OTA or if that doesn't work flash the full 5.0 (L) image. Guess I will be patient and wait.. if OTA goes fine, I will still try a reset to stock to see if recovery mode works. This is all odd since I only did a settings.db change when on 4.4.2 and OTA update to 4.4.4 was fine and I made no changes - and also since I used adb without issues before under 4.4.2.
[Nexus 5 General] Wh1t3Rose:
OP updated once again. Made it cleaner and updated info regarding 5.0 recovery sideload woes. Also Updated Q/A about driver woes. I will consider other suggestions tomorrow. This is all I have time for tonight. Thanks for all the feedback guys :)
[Nexus 5 General] incognitonk:
Hey, I'm on 4.4.4 complete stock. Locked bootloader.

Will the "Scenario A" method wipe my device? And will I need to unlock my bootloader for it first?
[Nexus 5 General] Yaz75:
The OTA will not wipe your device.

You do not have to unlock your bootloader to apply the OTA.
[Nexus 5 General] incognitonk:
Oh. Okay.

Thank you. You have been very helpful.
[Nexus 5 General] pablortega:
I hope this will help someone.

I was a section A case.

I was able to run" adb reboot recovery" with no problem.

After press volume up and choosing apply update from adb Windows 7 failed to load the driver for the nexus 5 in adb mode. You know the typical yellow question mark in device manager. I tried doing the typical unistall, install, pointing to the google drivers folder, changing MTP to PTP in the nexus 5. Nothing worked.

By pure luck I found this post

https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH

installed the drivers and voila, no more yellow question mark adn was finally able to get lollipop.

I hope this helps someone.

Cheers
[Nexus 5 General] Janez33:
Sorry if it's already been covered. If I am rooteed with cyanogenmod 11 should I get back to stock to get android 5.0 and then root again or should I wait for new version of cyanogenmod with integrated android lollipop?
[Nexus 5 General] shuvabrata:
Sideload stuck at 2%; Please help

I am stuck at 2% during sideload. Please see screenshot attached.
[Nexus 5 General] myturbo1:
I get this error . on stock rooted 4.4.4,twrp . tried with locked and unlocked boot loader. Flashing 5.0 from op.
[Nexus 5 General] armidaamica:
From LPX13D to LRX21O

Hello everybody, in my Nexus 5 I have installed the developers version LPX13D of Lollipop, I am rooted and the boot-loader is open. Reading around I have seen that people in my situation had problems with root after upgrading to LRX210.

What is the situation? Has anybody with my configuration been able to upgrade and keep root (o re-root) without problems?

Thanks for the help :)
[Nexus 5 General] Yaz75:
You can not flash the OTA with TWRP on your phone.

You must revert back to stock bootloader.

It's explained in the OP that any modifications will abort the update. No exceptions.
[Nexus 5 General] myturbo1:
It says in op I can flash in twrp just like I would a normal ROM...
[Nexus 5 General] myturbo1:
This
[Nexus 5 General] Yaz75:
"In order for the OTA to apply successfully without intervention; you must be completely stock

From 4.4.4 KTU84P

Current Bootloader: HHZ11k

Current Radio M8974A-2.0.50.1.16

Stock Kernel: 3.4.0-gd59db4e

All /system apps present

No modifications to existing /system files of ANY kind.

From 4.4.3 KTU84M

Current Bootloader: HHZ11k

Current Radio:M8974A-2.0.50.1.13

Stock Kernel: 3.4.0-gd59db4e

All /system apps present

No modifications to existing /system files of ANY kind.

Note: Literally any modification will break the OTA. Xposed, DPI, build.prop, volume mod, etc. ANYTHING!

Seriously, I'm not joking guys."

---------- Post added at 05:32 AM ---------- Previous post was at 05:30 AM ----------

Which he wrote when it was installing an update to 4.4.4, which this isn't.

This entire thread is packed with people having the exact same issue as you are, trying to flash it with a custom recovery, and it doesn't work. So you can either try something new, or keep trying the thing that doesn't work.
[Nexus 5 General] myturbo1:
Well it's misleading then. Cause it doesn't say this is to update to 4.4.4. It says 5.0. Root+twrp Section b steps. Etc . OP needs updated.
[Nexus 5 General] Yaz75:
Bottom line is if you skim the last 5-10 pages of this thread you'll see a common theme which is the same issue as yours. If you have TWRP or CWM installed you can't apply the OTA. You MUST have the stock recovery in order to sideload this update. If the update doesn't see stock system files then it quits.
[Nexus 5 General] jlmcr87:
No problems with LRX210, just flash chainfire´s auto cf-root on his website.
[Nexus 5 General] appex77:
Section A: adb sideload

NOTE:Make sure you have the latest version of adb. It seems people are having issues with older versions. It's attached at the bottom of this. Also Starting with Android 5.0 you must sideload the OTA through a stock recovery. Custom recoveries for now will error out.

1) Download the OTA.zip on your PC, rename the file update.zip, then place file in the same directory as adb.

2) Make sure you have USB Debugging checking in the Developer Options, then connect your phone.

3) Open the command prompt from the directory above on your PC and type the command: 'adb reboot recovery'

4) When in recovery, you’ll see an android laying down. Press volume up and release. The menu will appear. Select “apply update from adb”

5) Using the command prompt type: 'adb sideload update.zip' The file will load and the update will begin.

6) When completed, select reboot.

I am stock ..unrooted. I was updating to lollipop using thiese steps. I don't know what to do with 3rd step , i mean which command promt? and i dont have a clue what to do....

i open adb but nothing happens. can anyone please help me and tell easy steps? I am new to all this :/
[Nexus 5 General] Yaz75:
You really need to know how to open up a command prompt/terminal window on your PC. Then you have to use keyboard commands to change to the directory where adb is installed and then execute typed commands. None of this is particularly difficult, but it does require some rudimentary computer knowledge from back in the day. Simple commands like "cd.. " "DIR" etc. Stuff you learn at the very beginning. If you're not comfortable doing any of that, then it's probably best you wait for the OTA to push to your phone.
[Nexus 5 General] Wh1t3Rose:
1. Go to the ADB tools directory that you saved on your PC

2. Hold Shift and right click on white area in Windows Explorer

3. Click on "Open Command prompt here" in the context menu'. Then finish up with commands
[Nexus 5 General] Wh1t3Rose:
OP Update:

OK guys I added a big fat warning at the beginning of the Scenario Section about the 5.0 OTA and stock recovery requirements. Let hope people read it before posting :) :good:
[Nexus 5 General] marksedge:
Mr.sandman putting it work in the am ...good job soldier !
[Nexus 5 General] imtiax:
anyone know when OTA will hit devices in canada?
[Nexus 5 General] marksedge:
Sideload asap works fast accurate and painlessly if you have correct drivers and command prompt
[Nexus 5 General] DryEagle:
updated to lollipop, wheeeee
[Nexus 5 General] Wh1t3Rose:
Q&A #1. There's a thread dedicated for it on XDA
[Nexus 5 General] donnyp1:
Just got ota notice. Should I or shouldn't I?
[Nexus 5 General] lollos1995:
Hi :)

Should I do a factory reset before flashing the OTA? Now I have a TWRP and Xposed Framework.

Thank you very much!
[Nexus 5 General] jd1639:
You're going to have to uninstall xposed and flash the stock recovery. I'd read the op
[Nexus 5 General] Wh1t3Rose:
Go ahead as long as you are on stock recovery and no system modifications
[Nexus 5 General] donnyp1:
Flashed back to 4.4.4 with image. Bone stock
[Nexus 5 General] lollos1995:
I know that I have to uninstall xposed, but in section B there is written that I can flash also from custom recovery, and I don't understand if I can flash whitout doing a factory reset because it is an OTA or if I have to do a factory reset.
[Nexus 5 General] jd1639:
Don't do a factory reset. It'll wipe your device and defeats the purpose of the ota. But you will need the stock recovery with lollipop
[Nexus 5 General] Thiagooo:
Guys... I updated my nexus 5 with ADB > ZIP/OTA

If I want to wipe data / factory reset, I have to install the system again?

or just wipe everything via adb recovery? my system still intact?

There is some problem in "clean" everything?

THANKS!
[Nexus 5 General] Wh1t3Rose:
For a factory reset just boot to recovery manually (no adb or pc needed) and choose Factory reset. system partition will stay intact. But keep two things in mind

1. If done via stock recovery it wipes User installed apps AND SD Card. Leaves System intact.

2. If done via Custom Recovery like TWRP it wipes User installed apps. Leaves System and AND SD Card intact.
[Nexus 5 General] steveYXE:
changed recovery back to stock for OTA

Hi

Long time lurker first time poster....

I was on 4.4.4 stock with custom recovery (TWRP) and root,

OTA didn't work, so I switched the recovery back to stock using this: https://play.google.com/store/apps/details?id=com.graffixnyc.m8recoveryswitcher )

details here : http://xdaforums.com/android/apps-games/app-simple-recovery-switcher-t2857554

and OTA worked.

Easy peasy
[Nexus 5 General] jd1639:
Yep, you need the stock recovery for the ota to work. Glad you got it working:)
[Nexus 5 General] steveYXE:
I had an update notification this afternoon. On KOODO
[Nexus 5 General] jasonftfw:
I'm having issues trying to sideload the OTA.

I'm using wugs tool kit to assist me with the prompts for sideload just to make this faster and get it over with.

So I get through to the recovery and then I get the menu, but I cannot move to select apply update via adb.

If i manually get into bootloader and then recovery I can select update via adb, but then my computer does not recognize adb device.

help?
[Nexus 5 General] byuboy87:
hello. I've read every page of this thread related to flashing lollipop update, and a lot of the earlier pages.. I fall under scenario 3, as I rooted with towelroot and only installed xposed and a few modules, no custom recovery. I have uninstalled xposed by way of its settings, uninstalled the app and all modules. heck, I even uninstalled superuser. I've tried 3 times with ota, but each time I get error. can someone help?? lol. if it matters, nexus 5 app root checker shows phone still rooted. please and thanks
[Nexus 5 General] jd1639:
Google 15 second adb install xda. See if those drivers work. Then boot into recovery and try the adb sideload. If you're using a tool kit most of is won't be able to help as we've never used it.
[Nexus 5 General] jasonftfw:
would it help to know that using the toolkit to sideload worked on my nexus 7 with no problem?
[Nexus 5 General] avicohh:
For those who got in trouble with the installation via sideload (stock recovery), I wrote a simple script for it.

Download the script from here.

http://sourceforge.net/projects/avicohh/files/Android/OTA_Installer.zip/download

Extract the script zip file to some directory in your computer.

Rename the OTA zip to update.zip and put it in the same directory

Enable USB Debuging in the phone.

Connect the phone, and double click on the RunMe file.

No need to download adb and etc, just make sure the drivers are installed correctly.

This script should work with any OTA update.

Enjoy.

OP, please add it to the first post.
[Nexus 5 General] Bhgprox:
Hi, i have a few doubts:

Im upgrading from KTU84P and my nexus 5 is rooted with unlocked bootloader and custom recovery. When i upgrade it directly from me custom recovery will i lose the custom recovery and root? and also will i lose any data from my phone? It wasnt well explained at the help desk

thanks a lot
[Nexus 5 General] jd1639:
You'll need to have the stock recovery for the ota to work. Flash it in fastboot or flashify on your device. You will lose root and obviously the custom recovery. It won't work with a custom recovery.

You should not lose data but I'd recommend you back it up off your device just in case
[Nexus 5 General] byuboy87:
anybody???
[Nexus 5 General] Bhgprox:
where can i find the stock recovery?
[Nexus 5 General] Wh1t3Rose:
Wait what? Why didn't you just flash the 5.0 Factory Image then? lol
[Nexus 5 General] Wh1t3Rose:
Download the 4.4.4 Factory Image. Extract it and pull out the Recovery.img. The fastboot it manually.
[Nexus 5 General] donnyp1:
I took the ota, didn't lose anything, but did a factory reset after. It is very fast and smooth. Can't find any bugs yet. All my stuff works. Debating on rooting, custom recovery, and flash a kernel now. Any thoughts? Just leaving it stock for now till more polished Roms hit, but the update makes it feel like a new phone.
[Nexus 5 General] Bhgprox:
thnx a lot
[Nexus 5 General] jd1639:
Do you have the stock recovery? You need to
[Nexus 5 General] imtiax:
I bought my phone directly from google and use Wind
[Nexus 5 General] mahtovinesh@gmail.com:
Hello devlopers. First time rooted my mobile. I downloaded 5.0 and then updated my system but battery was drained off in few hours. So i reverted to stock 4.4.4. Yesterday night at 5am I got automatic system update notification to update 5.0 I downloaded ans installed ans then rebooted to revovery but the file didn't installed and no I am still at 4.4.4. But now I am looking at update status then I am not getting any update for 5.0. They are saying that you software is currently updated. But my os is 4.4.4. If it is updated then how come I received notification for 5.0,yesterday. Now I am not receiving update notification. I downloaded root file manager.can anyone tell me wer that dowloaded file went in which folder?

Sent from my Nexus 5
[Nexus 5 General] byuboy87:
yea, stock recovery. thanks for reply.
[Nexus 5 General] jd1639:
Look I'm your cache folder
[Nexus 5 General] byuboy87:
also, it'll take a few mins, but it'll show the update again. I've been thru this 4 times now, but still get error
[Nexus 5 General] mahtovinesh@gmail.com:
I searched for cache folder but its empty!

Sent from my Nexus 5
[Nexus 5 General] jd1639:
Try flashing in fastboot the system, boot, ands recovery images from the 4.4.4 factory image. Then try the ota
[Nexus 5 General] Bhgprox:
Im having status 7 problems with the mixer_paths.xml file, i had already flashed the original from this thread: http://xdaforums.com/google-nexus-5/themes-apps/mod-headphone-speaker-volume-boost-t2532788/page83 but still cant update.

where can i find the original file?
[Nexus 5 General] jd1639:
Flash the system.img from 4.4.4 in fastboot. While you're at it flash boot and recovery too
[Nexus 5 General] Bhgprox:
will i lose anything?
[Nexus 5 General] Xeodus:
Lost root after flashing OTA using TWRP

Hey guys - so I flashed the OTA from stock rooted 4.4 using TWRP and all went well, but I lost root on reboot.

To get it back, do I just need to boot back into recovery mode now and flash the superuser zip once again?

Thanks!
[Nexus 5 General] El Daddy:
Yes. You probably lost twrp so you'll have to reflash that first.