yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] wolfca:
Hi I got trouble. Help please! Here is my case:

I installed driver for nexus 5. I can see “Android Composite ADB Interface”' under device manager.

I followed the instruction "Scenario #1"

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

No problem

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

Done

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

No problem.

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

No problem

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

Problem here:

On CMD console: error: device not found.

On the phone: "Now send the package you want to apply to the device with "adb sideload <filename>""

The phone is frozen.

6) When completed, select reboot.

No here yet.

How to make the phone back to normal?

+++++++++++++++++++++++++++++++++++++++++++

I did a hard reset and the phone is back to normal. However I still can't update the phone to 4.4.1. Weired! Because at step 5), pc can't detect the phone anymore.
[Nexus 5 General] Random-:
Updated to 4.4.1 from 4.4 on N5, after installing I had an error saying it couldn't connect to camera but a restart fixed that. Thanks :good:
[Nexus 5 General] Xeodus:
Sorted!

Somehow TWRP survived intact and a quick flash of SuperSu restored root - thanks again, and thanks for managing this great OTA helpdesk thread :)
[Nexus 5 General] Android The Greek:
Hold power button for 1 minute sounds like you have a driver issue. If you are using Win7 and its a driver issue... Follow my instructions here http://xdaforums.com/showthread.php?t=2557248
[Nexus 5 General] wolfca:
Thanks for the tip. I am running win8.1 and I followed the steps given but still no luck. It is the problem of driver. As long as the phone is in recovery mode, no device found. I tried a couple of time still no go. I will take a break and wait.
[Nexus 5 General] QWIKSTRIKE:
Hi I got trouble. Help please! Here is my case:

I installed driver for nexus 5. I can see “Android Composite ADB Interface”' under device manager.

I followed the instruction "Scenario #1"

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

No problem

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

Done

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

No problem.

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

No problem

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

Problem here:

On CMD console: error: device not found.

On the phone: "Now send the package you want to apply to the device with "adb sideload <filename>""

The phone is frozen. When you get to this point open device manager check for driver with an exclamation point in it, and choose the search for driver located on the PC I kept getting to this point and wasstuck in a loop until I did what I typed here in red! If you keep getting to this point and are stopped just do this from this point forward with out changing anything else!

Find a driver that says adb312 interface or similar to "adb31213 interface" and choose enter this will load and voila no more exclamation point The computer will ask you are you sure this file may cause your pc to freeze, continue!

after the file is loaded the device will now be listed as adb interface in device manager I think; regardless just go to the comand prompt and type adb sideload leave a space and open the folder that has the original file and drag it to the command prompt where the cursor and space is then hit enter it will load and then after it loads it will ask you to reboot the device when it reboots it will load the driver and update.....you can rename the driver and type the renamed driver into the adb sideload "renamed driver" I guess but I dragged the file there from the download folder there!

6) When completed, select reboot. When you do all that I have suggested after loading the "adb312 interface" you now will be prompted to reboot

No here yet.

How to make the phone back to normal? I understabd what you are getting at....I just unplgged the usb and held the off button, However; if you do what I suggested in red above you may not have to!

I had the same exact issue in Win 8.1...Do all that he says but see above in red when you go into the device manager and browse for the device driver I chose click on Android ADB Interface that had 312 I think it was adb312 interface or something with that in it. That loaded the adb drive and I then dragged the original file from the downloads folder on the desktop to the comand prompt after I typed adb sideload and left a space...when I dragged the original downloaded update file it went through. When it is done loading the prompt to reboot comes up and when done it updates the file.
[Nexus 5 General] fugn:
I had the same issue. I couldn't figure out what was going on so I flashed it back to stock 4.4.
[Nexus 5 General] Chad_Petree:
I love youuuuuuu, I made it using your instructions :laugh::highfive:
[Nexus 5 General] meethere:
i was on stock, rooted, franco kernel and twrp

I reverted back to stock kernel and file name changes as per franco http://xdaforums.com/showthread.php?p=48180171#post48180171, but when i was flashing ota update zip via twrp, i got error - which is because i removed korean language files.

also changed boot animation before...

so i downloaded image from google android,, extracted boot.img and system.img to platform tools folder , then ran cmd on win 8

adb fastboot flash boot.img and system.img

then flashed ota update zip via twrp

then flash super su

then flashed franco v 19

wipe cache

reboot and voila :D

speaker sound loud

camera focus fast
[Nexus 5 General] cd69:
Google Play :(

So I was on stock, rooted, xposed.

Flashed update.zip after unintsalling xposed. Lost recovery so adb pushed then flashed SuperSU, wiped delvik cache. All seems ok now except:

"Unfortunately google play has stopped working" tried everything (except factory reset)....any advise will be greatly appreciated

Update: I flashed back to stock and reflashed the update. All good now :)
[Nexus 5 General] redcheese:
Okay so I fell into scenario #2. After flashing the OTA through TWRP 2.6.3.2, I lost root. I tried to flash the updated supersu through TWRP but it failed to install. Rebooting back into system, I notice that my hardware buttons have stopped working. They function outside of the OS within the bootloader and the recovery, but not within android itself. I also noticed that the battery icon is stuck with a charging symbol. Quicksettings correctly notifies whether the device is charging or not, but the battery icon remains static. I've managed to update TWRP to 2.6.3.4 and have done a factory reset. Nope, issue still persists. At this point I'm sure flashing another ROM such as cataclysm would remedy this problem. Nada, even after doing multiple wipes and clearing dalvik/cache. Once the screen locks after the timeout period I have to reboot to interact with the device. Any solutions?

Btw, the only root applications I had installed prior to flashing 4.4.1 were greenify and GMD gesture control.

Edit: after doing a full wipe and factory reset and having cataclysm pushed through adb, the volume rocker and the power button still have no effect within the OS. I'm not home at the moment so I won't be able to flash the stock IMG.

After flashing the OTA I seem to recall the hw buttons working normally. I think its after the failed supersu.zip flash where things went downhill. I hope I haven't permanently damaged anything considering the buttons still work in the bootloader and twrp.
[Nexus 5 General] RodKahx:
Thanks for the how to. Was able to sideload via instructions here. Thanks OP.
[Nexus 5 General] The Gingerbread Man:
Any ideas of how my Google maps sha1 sum has changed? Its failing for installing OTA. Fast booting is problematic because fastboot flash system system.img freezes up my PC so nothing responds. Any ideas of how to resolve this without fastboot? Log from recovery failing OTA https://www.dropbox.com/s/24v3r67p4an2lue/last_log
[Nexus 5 General] fugn:
Not sure why maps is causing the ota not to flash. You could try reinstalling Maps from the play store? If that doesn't work I guess you could find the 4.4 maps.apk and install it.

That's what I would do.
[Nexus 5 General] aavvaallooss:
Sorry but... where is the "adb folder", please?

---------- Post added at 03:20 PM ---------- Previous post was at 03:19 PM ----------

Sorry but... where is the "adb folder", please?
[Nexus 5 General] El Daddy:
Sorry, I should edit that post a bit. I just quoted that walkthrough from the post linked.

He's referring to the folder in which adb.exe is. So wherever you have adb on your computer.
[Nexus 5 General] aavvaallooss:
platform-tools?
[Nexus 5 General] El Daddy:
Yes.
[Nexus 5 General] jasonftfw:
Tried to sideload using cmd prompt, but once i get into recovery, my device is not listed in adb devices. can someone help?
[Nexus 5 General] Bhgprox:
go to device manager and manually make windows install device from list, and select android adb
[Nexus 5 General] jd1639:
Start adb side load then run the command adb devices. Does it show up then? If it does then run adb sideload. If it doesn't look in device manager and see if you see anything
[Nexus 5 General] jasonftfw:
ADB is installed. I can reboot into bootloader, but like I say as soon as I go into recovery I have no ADB anymore.
[Nexus 5 General] Bhgprox:
will i lose data if i flash system.img?
[Nexus 5 General] jasonftfw:
nothing in adb devices

device manager shows "AOSP on HammerHead" under other devices

edit: got it going now, manually installed adb driver, devices shows in list now. update file is sending now.
[Nexus 5 General] jd1639:
I would right click on the aosp hammerhead and update the driver. Go to where it lets you choose from a list on your computer. Choose android adb interface
[Nexus 5 General] Bhgprox:
i got it done, thanks a lot for your help :)
[Nexus 5 General] X-Jonte-X:
Can some please try to answer my questions? I would be very helpfull!

Thanks in advance!
[Nexus 5 General] mouitjskh:
stock recovery

Hi, i'm on 4.4.4 rooted with twrp custom recovery, how do I install stock recovery? and will i have to wipe my phone?
[Nexus 5 General] breal4sho:
I don't like using tool kits too much however check Wugfresh Nexus Tool Kit.

I've never had any problems with it and it will take you back to stock pretty easily.

However you don't need stock recovery to apply the update.
[Nexus 5 General] gialakias:
He has to install stock recovery to apply the ota zip. This ota doesn't work with current custom recoveries. Download the factory image 4.4.4 and extract the recovery.img. Then flash it from bootloader using the command : fastboot flash recovery recovery.img. Then boot into stock recovery and apply the zip using the directions of the OP.
[Nexus 5 General] miketwn:
im on scenario a.

when i enter adb sideload update.zip

i get error "file not found"

can someone help me
[Nexus 5 General] Jinson7:
Incorrect version

When I check the version on my phone it states I am on KTU84P however when installing via recovery or adb sideload the error reads I am on KRT16M...

Not sure what to do next. I am rooted and did have the exposed framework which was uninstalled...
[Nexus 5 General] Gatz:
Does this also mean that I cannot flash the 5.0 OTA zip from TWRP?
[Nexus 5 General] foosion:
That usually means you don't have update.zip in the directory you're in when running adb.
[Nexus 5 General] NCguy:
According to this android police article, ALL rooted devices after 5.0 will fail OTA due to the new way google is now checking for mods. Do you concur and will all stock rooted users have to subsequently use your scenario 1 to apply OTAs after 5.0?

http://www.androidpolice.com/2014/1...re-means-update-will-fail-system-modified-way
[Nexus 5 General] breal4sho:
I can confirm kind of.

I thought I would be able to use latest TWRP.

However with more reading and a few failures I found you must be on stock recovery.

Flashed back to stock recovery and flashed without undoing root and all is good now.

Of course root is lost on reboot but reflash of Supersu solves it.
[Nexus 5 General] gialakias:
Well from 4.4.4 to 5.0 root doesn't affect the update. But after 5.0 I think it will. That is because we modify slightly the kernel to achieve root access so the ota will fail. I would like to know from another member here that has more knowledge of the situation if I am right or wrong.
[Nexus 5 General] NCguy:
The article says even the su binary will cause a byte fail the way they are checking post 5.0? If this is true this changes the game for rooted stock users who like to casually take OTAs. I'm really surprised at the lack of discussion.
[Nexus 5 General] Jinson7:
Went back to stock

I reverted back to stock wiped all data using the factory image of KTU84P yet I still get the error about I am on KRT16M.

What is going off?
[Nexus 5 General] NCguy:
Wipe caches?
[Nexus 5 General] miketwn:
scenario a

Im on the step where you sideload the update.zip for installation. However i get "error: device not found" I dont get that, since I already successfully adb reboot recovery. Dont know what to do now
[Nexus 5 General] Wh1t3Rose:
Srsly??? Read it again.
[Nexus 5 General] Wh1t3Rose:
See Q&A 1. Try that and see if it works. Reboot phone after install with phone connected.
[Nexus 5 General] Wh1t3Rose:
If you used a factory image to go to stock why don't you just install the 5.0 factory image then. An OTA doesn't make any sense for you at this point.
[Nexus 5 General] Jinson7:
Exactly what I did. Thanks. Was all working fine until I flashed custom recovery. Went into custom recovery and it warned me I wasn't rooted and do I want to flash the latest SU. Obviously I said yes and I am now stuck in a boot loop. Is there an image I can just flash without losing all my setup again?
[Nexus 5 General] Wh1t3Rose:
You could try using cf-auto root to replace whatever SU binaries TWRP installed with the correct ones. But if that doesn't work then you must reflash system. You shouldn't need to factory reset though.

FYI Cf-auto root is our only way to root 5.0 atm. Use that then flash SuperSU 2.19 Zip in recovery.
[Nexus 5 General] Blackyhammer:
Hi guys, I've read through the OP and I'm still having issues.

I was: Stock ROM, rooted, with TWRP recovery and with exposed installed.

I have followed all the steps and am now:

Stock ROM, stock kernel, stock recovery,xposed uninstalled. Disabled root within SU app. I also renamed some system/bin files back to stock I guess after following Franco's instructions

"Notice for the future OTA from KitKat to Lollipop

The following changes only apply if you have the referenced files, otherwise this is not for you.

1 - Rename /system/bin/thermal-engine-hh.bak to /system/bin/thermal-engine-hh

2 - Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so"

When I attempt to install the OTA via my nexus 5, it simply errors.

Can anyone help me pls? All help would be much appreciated.

Thanks!
[Nexus 5 General] jd1639:
You need to have the stock recovery. To make sure you have everything back to stock I'd recommend flashing in fastboot system, boot and recovery images from 4.4.4
[Nexus 5 General] Blackyhammer:
Thanks, but i have stock recovery already.

I'm a bit of a noob to this, can you please give me a few more pointers for fastboot and where to get images? Ta
[Nexus 5 General] gialakias:
Fastboot flash system and boot and probably it will pass. That is if you don't want to lose any data. Else flash the factory image and you are done.
[Nexus 5 General] jd1639:
See method 2. Just system, boot, and recovery. Not the other images

http://xdaforums.com/showthread.php?p=47156064
[Nexus 5 General] Gatz:
Sometime even if one THINKS he understood correctly, one still wants to double check before doing damages...

So... what I understand is that with STOCK ROM/TWRP/ROOT I can still upgrade to 5.0 with OTA zip flashing (Section 2), but no longer with ADB (Section 1).

Is that correct?
[Nexus 5 General] jd1639:
You can't have twrp. You need the stock recovery
[Nexus 5 General] Blackyhammer:
Cheers guys, will try this out later tonight
[Nexus 5 General] Yaz75:
Windows uses one driver to talk to your phone when it's not in recovery mode, and a different driver when it is in recovery mode.

So adb works the first time to reboot it into recovery, but once it's in recovery, the computer see it as a different device and doesn't know which driver to use to talk to it. So when it's in recovery, use your device manager to point to the correct driver.
[Nexus 5 General] Wh1t3Rose:
You can't damage your phone. It just won't flash. Stock recovery is needed for it to take successfully.
[Nexus 5 General] Gatz:
Ok thanks, so the procedure for me would be:

1. Remove xposed (no unroot necessary)

2. Flash stock recovery from PC

3. Sideload OTA from PC

4. Flash TWRP again from PC

Correct?
[Nexus 5 General] Wh1t3Rose:
You got it :). As long as there are no other system mods like build.prop tweaks. Might wan to remove SuperSU first.
[Nexus 5 General] gialakias:
Right. Also root does not affect the installation process. It is done successfully but root is lost of course.
[Nexus 5 General] miketwn:
can you elaborate on how to use device manager to point to the correct driver.....thanks in advance...
[Nexus 5 General] Yaz75:
When you have you phone in recovery and the USB cable plugged into it, you should see it listed in Device Manager. Mine said Nexus 5 with a yellow triangle icon on it. That's a warning from Windows telling you it has a driver problem. If you right click and select "Update Driver" on that, it should pop up a message box. Don't have Windows automatically select a driver, choose the Browse My Computer option, then select the choice of Let Me Pick option. It should bring up a list of drivers on your computer. You should select the one that says Android ADB Composite device. If that isn't there, you need to go to http://developer.android.com/sdk/win-usb.html and download the correct drivers.
[Nexus 5 General] miketwn:
thanks...forgot about checking it in device manager after adb reboot recovery. Ill try that...Note, I installed the google drivers and it says adb composite device when i plug the usb cable to the phone....otherwise i might have to install the universal drivers
[Nexus 5 General] Yaz75:
I know, it said the same things for me. I fought this exact issue for a full day before I got it to recognize the phone in recovery. It's super frustrating. Once it connects though, the OTA update was easy.
[Nexus 5 General] antwonw:
Worked great! Thanks!
[Nexus 5 General] zolah:
Not really anything to do with nexus 5 as such but true story...

Earlier today my nexus 5 died and I've had to send it away for repair at carphone warehouse where I bought it from.

Pulled the old nexus 4 out as my trusty back up phone and was just setting it up and lollipop update has come through ota so its on its way guys.
[Nexus 5 General] RusherDude:
Just wondering, there is any way to block the OTA? maybe freezing some process? I mean both the persistent notification about a system upgrade and the download rmanager ready to download 500MB asap you press yes (or automatic in X time?)

Thanks!
[Nexus 5 General] vanisleryan:
http://www.koushikdutta.com/post/universal-adb-driver

This should be added to op post it worked like a charm...trick is after installed on PC....open adb cmd, put phone into recovery, then connect to computer... New driver will install and your good to go.
[Nexus 5 General] musky:
What folder does the OTA download to? My girlfriend hit the update button, and i can't figure out where it downloaded to! I need yhe flashable version, but have insufficient space to download it. Please help?
[Nexus 5 General] efrant:
You should be able to disable the OTA update notification by renaming this file: /system/etc/security/otacerts.zip

I believe it downloads it to /cache.
[Nexus 5 General] miketwn:
thanks....it just took 10min to update my nexus 5 to Lollipop after updating the driver after booting into recovery... :) thanks again:good:
[Nexus 5 General] RusherDude:
I will try, thanks!

Edit: I'm an idiot and just failed and pressed download after renaming the file before rebooting. Will rebooting fix this or im semi screwed and should load a backup?
[Nexus 5 General] efrant:
If you renamed the file and then rebooted, it should prevent the update notification. If it already downloaded the file, you may have to delete it, and then reboot.
[Nexus 5 General] Chrisv006:
Will option B wipe my device upon flashing the OTA?
[Nexus 5 General] RusherDude:
I renamed then failed and pressed download without rebooting, so even after rebooting it tries to download the OTA :S.

I guess a backup is my only way now? :S
[Nexus 5 General] Wh1t3Rose:
The OTA isn't flashable. Must be sideloaded via STOCK Recovery. It will not wipe data unless you choose "factory reset" in recovery.
[Nexus 5 General] Wh1t3Rose:
Did you delete the OTA file using a root explorer?
[Nexus 5 General] RusherDude:
It didn't download, it started the download but I don't want it to download..

Edit: Just loaded a pre-made nandroid backup. The download didn't start in this world :), let's try the otacert stuff.

Edit2: It didn't work. otacerts is renamed and yet it still shows the notification and tries to download the update :(
[Nexus 5 General] Wh1t3Rose:
I would just freeze otacert using Titanium Backup and reboot
[Nexus 5 General] RusherDude:
Thanks, but can't find "otacert" with titanium backup, what do you mean?
[Nexus 5 General] pengc99:
Okay, so I'm an idiot for trying the OTA with CWM recovery...of course it failed.

Now, I flashed stock recovery back, but how do I get the OTA update notification to show up again? I cleared out the .zip package from /cache, but is there a flag I need to set somewhere to get it to pull an update again?

edit: I just waited a little longer and got another update notification.
[Nexus 5 General] Wh1t3Rose:
My bad. The app is called SDM. Freeze that.
[Nexus 5 General] RusherDude:
I don't have any SDM process either :S
[Nexus 5 General] Wh1t3Rose:
You sure? Use the filter in Tibu and type SDM. It's a system app.
[Nexus 5 General] RusherDude:
Maybe because in spanish it got another name? Ill change language and try.

Edit: Nah, doesn't appear in english either. I do not have that app.
[Nexus 5 General] sucro:
Stock Rom, stock recovery, unlocked bootloader, rooted phone. Just to confirm, am i in Scenario #1 ?

If yes scenario #1, what's recommended, to do flash by Wifi or using section A? Anyway, will flashing Lollypop, delete my apps, contacts, etc.?

Is possible root Lollypop 5.0, Chainfire superuser app maybe, i saw it's still beta?

Thanks!
[Nexus 5 General] RusherDude:
Tested and it doesnt work :(, even if the file isn't otacerts.zip anymore, it still manages to find that there's an OTA and to show the notification :(
[Nexus 5 General] jasonftfw:
as an alternative to waiting, you could've downloaded the OTA from this thread and sideloaded it via stock recovery. Keep that in mind for future if you dont wish to wait.
[Nexus 5 General] donnyp1:
I was bone stock, took ota, went ahead after and did factory reset to start fresh. Used wugs tool to root and install twrp. Phone smoking fasst