yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] bhaalhunter:
Thanks, gialakias

I have already done that before I post the cut screen.

Still looking for solution.
[Nexus 5 General] CODENEX:
One last help to ask for.

Rooted Nexus 5 with 4.4 as of now (KTU84Q), TWRP Custom Recovery. The update pushed me since five days ago and been sticked to the notifications.

Factory Image has already been downloaded (LRX210). I want to continue with the fresh factory image install of lollipop. It'll be great if someone provided me with any proper guide to follow with.

I know there are flashable zips (included with GApps), But I want to test perform the factory image going complete stock! Just for my curiosity! :rolleyes:
[Nexus 5 General] jd1639:
Follow method 2 of this if you want to learn to flash the factory image. Just use the image files from 5.0 http://xdaforums.com/showthread.php?p=47156064
[Nexus 5 General] Juhler:
Hi

I have unlocked, rooted and CWM v.6.0.4.5 and 4.4.4. The OTA fails with failure 7. Can I just reflash the recovery from the 4.4.4 without damaging any data on my phone, and then proceed with the OTA?
[Nexus 5 General] jd1639:
Yes, you might also have tio flash system and boot images. They won't wipe your phone
[Nexus 5 General] Juhler:
Thanks... I will try that :)
[Nexus 5 General] Anderson2:
I'm trying to prevent the Android 5.0 update notice on my rooted nexus 5 running stock kitkat.

I read here that one way was to rename the otcerts.zip file. So I did it and rebooted. But the update notice still comes up. How can I prevent it from happening?
[Nexus 5 General] doctor_droid:
Long press on notification

U will be taken to google play services app info

Uncheck show notifications :) voila
[Nexus 5 General] Anderson2:
Worked perfectly. Thanks.

(I was afraid to touch the notification in case it started the update.....)
[Nexus 5 General] djalouk:
I've recently flashed the 5.0 LRX21O factory image > installed a custom recovery (PhilZ Touch) and rooted.

So if I understood correctly, I will receive OTA's but I wont be able to install them? Each time, I'll have to revert back to stock recovery > install the OTA > flash custom recovery + root again, correct?
[Nexus 5 General] Wh1t3Rose:
Yes
[Nexus 5 General] winteum:
Revert to stock and status 7!

Hi!

My case:

I had root, franco and TWR custom recovery. Reverted to stock kernel, to stock recovery, unroot and tried the OTA. I got status 7 every time for /system/bin/surfaceflinger.

What more can I try?
[Nexus 5 General] jd1639:
Flash the system.img from 4.4.4 too
[Nexus 5 General] winteum:
It worked, thanks! Now I'm going to flash the CF-Auto-Root.
[Nexus 5 General] Rolo42:
- For the format command not working, I'd guess you're using an outdated version of Android SDK. Rather than format, you might be able to use erase but I'm not sure if that will gimp your 32GB version into a 16GB one (troubleshooting that is why I made the script...got tired of typing every time!)

- For TWRP, many are having that issue with 2.8.2.0 (I have it on my wife's N5 but not on mine); try TWRP 2.8.1.0
[Nexus 5 General] greeneyez15o:
Little issue recovery partition not found after updating to 5.0 i just tried flashing new twrp and that appeared on flashify
[Nexus 5 General] Wh1t3Rose:
OP Updated for 5.0!

(finally!)

Made changes to sections C and D for 5.0 specific requirements. Also added fastboot command for recovery.img which must be don for 5.0 OTAs. Also clarified Scenario redirection stated in Section D (last line) based on 5.0 or 4.4.4 and below.
[Nexus 5 General] wease59:
OTA error on install

I'm stock and have had no problems updating OTA before.Now i keep getting the installing screen then a minute in it goes to error?

What can i do?

Thanks
[Nexus 5 General] jd1639:
Is your bootloader unlocked? If so I would flash the recovery, system, and boot image from 4.4.4 in fastboot
[Nexus 5 General] Gatz:
I flashed the stock recovery from KTU84P, but does not seem to be working very well...

If I enter the recovery itself, it displays the android laying down and if I click Volume Up then the menu appears.

Here's where the weirdness starts... if I now click Volume Down, I go to the next menu item, but if I click Volume Up the menu disappears....

So For example:

Enter Recovery

Volume Up -> The menu appears

Volume Up -> The menu disappears

Volume Up -> The menu appears

Volume Down -> Second menu item

Volume Up -> The menu disappears

Volume Up -> The menu appears

Volume Down -> Third menu item

Volume Down -> Fourth menu item

Volume Up -> The menu disappears

Volume Up -> The menu appears

Volume Down -> Nothing (can't go past the fourth menu item)

Volume Up -> The menu disappears

Volume Up -> The menu appears

... and so on... from here there's no way out, I have to make the menu disappear and then reboot by holding the power button

The system itself seems to be working if I reboot, but I'm a little concerned sideloading the update now because it seems the recovery is not working properly, and I am also skeptical flashing the recovery again...

What would you suggest that I do?

Thanks.
[Nexus 5 General] jd1639:
Go ahead and sideload the ota. My recovery did the same thing
[Nexus 5 General] wease59:
Will this wipe all my contacts texts setting etc?

Thanks
[Nexus 5 General] jd1639:
If your bootloader is unlocked it won't wipe anything. Unlocking the bootloader in fastboot will wipe your device
[Nexus 5 General] wease59:
How can i tell if its unlocked?

Thanks
[Nexus 5 General] jd1639:
If you don't know it's probably locked. Are you rooted? If so get bootunlocker from the play store
[Nexus 5 General] wease59:
I'm unocked.

I see the lollypop file is a .tar file.How do i load it?Thanks
[Nexus 5 General] jd1639:
You need to extract it using 7-zip or winrar. Inside is another zip file extract that too. In there is the system, boot and recovery image files. Flash those in fastboot
[Nexus 5 General] wease59:
I did as you said but when I extract it I only get one file from it?

Is there a download site with the stock lollypop zip file I can use? Thanks
[Nexus 5 General] jd1639:
Google nexus factory image. You should download a .tgz file
[Nexus 5 General] Gatz:
Ok I managed to sideload the OTA and the upgrade seems to have been successful.

I didn't unroot beforehand cause I didn't think it would be necessary but now I think I found the reason why it was... I have the SuperSU app left orphan in the system and won't let me uninstall it.

Can that be done? I know it does not do anything bad, it's just... unnecessary...

(I would like to wait a bit before rooting, until there is a way without custom boot.img.)
[Nexus 5 General] wease59:
Can you give me the steps you did to sideload it. I can't find the correct files? Thanks
[Nexus 5 General] TR2N:
Hey guys. Thank you for this thread, it is highly appreciated!

I am on Stock Lollipop, used CF Autoroot, flash TWRP and installed franco.Kernel r68 before Chainfire released SuperSU without the need for a patched kernel. I don’t know if FK is doing something to the system partition..

If Google is releasing an OTA for Lollipop, do I need to full wipe my N5?

If I understood correctly, I could flash boot.img, recovery.img and system.img with fastboot to become completely stock again? Should I unroot with SuperSU app before and does it harm my internal storage or data in any case? Or is it better to flash everything from scratch? With back upping my data before..

Thank you and kindly regards

Nico
[Nexus 5 General] Gatz:
My setup: Nexus 5 with stock 4.4.4 (KTU84P), TWRP recovery, SuperSU, XPosed

Steps:

Uninstalled XPosed framework

(should have unrooted as well, cause now I'm left with the ghost SuperSU app :( )

Downloaded factory 4.4.4 (KTU84P), from which I extracted and flashed the stock recovery image with fastboot.

Upgraded the system with the OTA zip file in the first post using adb sideload in stock recovery (had to force the ADB driver in Windows while in recovery to be able to do that)

Bootloop :rolleyes:

Formatted /cache partition with fastboot (with stock recovery for some reason it wouldn't work, the recovery itself seems kinda buggy...)

Successfully restarted

Some apps acted weird, like Google Play Services complaining that it needed updating then not finding an update. A couple of reboots fixed it.

Skype also for some reason was not acting very well.

I will be watching the system a few days and if I see any other weirdness I'm going to factory reset or flash factory images to start over.

Hope it helps. If you need further details on a specific step let me know.
[Nexus 5 General] wease59:
did this method keep all your apps and contacts,data etc?

Thanks
[Nexus 5 General] Wh1t3Rose:
Yes. But you realize he basically restated what I already have in the OP. And the files are in the OP as well. Sounds like to me you didn't even read it.
[Nexus 5 General] wease59:
Yes but i don't see a system image file only a folder?I don't see any of the image files you stated.There are many bootloader images?I see a boot image p file but system file anywhere?

Thanks

---------- Post added at 09:51 PM ---------- Previous post was at 09:41 PM ----------

Also what is the OP you are talking about?

Thanks
[Nexus 5 General] Wh1t3Rose:
OP means Original Post. You need to read the big giant first post of this thread. I provide everything you need there. You download the factory image from that post. Then EXTRACT the file. You will get the files you need.
[Nexus 5 General] wease59:
error 7 question

Is there a way to correct the error 7 message on the update without wiping all you data.Thanks
[Nexus 5 General] jd1639:
Flash the recovery, system, and boot images from 4.4.4 in fastboot. Then try the ota again
[Nexus 5 General] wease59:
No luck as i must be a moron.When i download the stock 444 factory file thats a .tar, and extract it there is only a file in it.No images ,just this file.(hammerhead-ktu84p-factory-35ea0277)
[Nexus 5 General] Wh1t3Rose:
Just keep extracting until you can't extract anymore.
[Nexus 5 General] wease59:
You guys are the best. I finally did get it loaded and it looks nice. Thanks
[Nexus 5 General] Cowboy_Henk:
Is there any way to disable and delete te OTA noficiation I got to update to lollipop?

I don't wan't to update now, I want to wait for lollipop compatible xposed.
[Nexus 5 General] Wh1t3Rose:
Go back a few pages. I've discussed it multiple times in the last few days
[Nexus 5 General] gravi2:
Sorry if this has been answered before, but I tried searching the thread and did not find any reference to this.

I am in 5.0 Dev preview LPX13D. Is there a way ( or which scenario is applicable) to upgrade to the 21O ?
[Nexus 5 General] jd1639:
You can't ota. The best thing to do is flash 21o in fastboot. There really isn't away to get to 21o without wiping your device and starting over.
[Nexus 5 General] lasha117:
hi :) i want to install nexus 6 rom on my nexus 5 and which custom rom is better

thanks
[Nexus 5 General] jd1639:
You can't install a nexus 6 rom on the n5. You'll brick it
[Nexus 5 General] lasha117:
hah i know :) and i am looking best custom ported nexus 6 rom for nexus 5 :)
[Nexus 5 General] jd1639:
Look in the development forum for ported roms. But I have no idea why someone would port a rom from the n6.
[Nexus 5 General] lasha117:
i have found it :) because it has some functions that we dont have on nexus 5 ;) like ambient display
[Nexus 5 General] Wh1t3Rose:
Exactly. Looks like you found it :good: But next time please ask in the "Ask Any Question" thread. This thread is about applying OTAs. Thanks :)
[Nexus 5 General] mattjuk:
Hi have searched but can't find a concrete answer. I upgraded to lollipop via the nexus toolkit and all is fine. I lost root obviously in the process but my bootloader is still unlocked. My question is can I apply the upcoming 5.01 ota if I have an unlocked bootloader? Everything else on my phone is stock. Thanks
[Nexus 5 General] thesebastian:
Scenario #1

Sent from my Nexus 5
[Nexus 5 General] mattjuk:
Is that a yes?
[Nexus 5 General] thesebastian:
Yes. It doesn't matter the boot loader status (locked or unlocked) for the OTA.

Sent from my Nexus 5
[Nexus 5 General] Fustigador:
So, if I flash 5.0 stock image and lock bootloader, I want to sell the phone, the phone will have auto OTA future updates?

Thanks.
[Nexus 5 General] thesebastian:
Only if it was properly flashed.

If all partitions match the current factory image of the version.

The flash all bat file inside the Google factory image must not fail.

Sent from my Nexus 5
[Nexus 5 General] jj14:
I'll let the experts weigh in and update as necessary, but here's my 2 cents

Why bother with reverting back to stock 5.0 and then taking OTA for 5.0.1? Why not just get the 5.0.1 image (it will be likely available before OTA), and extract the boot/recovery/system from there, and flash those directly using fastboot?

fastboot flash bootloader bootloader.img

fastboot reboot-bootloader

fastboot flash system system.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot erase cache

Then, reroot using the new supersu that doesn't modify the kernel
[Nexus 5 General] thesebastian:
OTA.zip or flash-all.bat > factory image skipping data.img (or skipping factory reset).

I don't recommend to flash the factory image without wiping /data...except when you are moving to the same version (to restore modified partitions).

If people wants to keep data.....better wait the OTA popup or just flash the OTA zip with sideload.

Sent from my Nexus 5
[Nexus 5 General] Theliels:
you can update your N5 flashing only system.img and boot.img (of course bootloader, recovery or radio if are newer on the new firmware) without wipe if you want, the risk is low... of course between the same firmware provider: Stock Room <-> Stock Room. Never update your room to another different room without wipe.

OTA Updates dont touch data partition after all, you can see it in OTA installation scripts if you want. OTA process in general terms patch existing system partition files (recovery, radio... too if needed), add new files and remove one not necessary.

Wipe is always better, but I would not say necessary
[Nexus 5 General] ROADKING17:
Any way to update through phone to lollipop without a computer?
[Nexus 5 General] gialakias:
Yes there is. Wait for the ota.
[Nexus 5 General] elpaga:
My case

Hi friends!

My case is: Stock ROM, stock recovery, unlocked bootloader and rooted. What can i do to update? I want to keep my root status.
[Nexus 5 General] jj14:
Did you read the first few posts of this thread?
[Nexus 5 General] Wh1t3Rose:
Section A after unrooting.
[Nexus 5 General] ROADKING17:
Phone is rooted running custom kernel.. I am getting the OTA but nothing happens when I download and install it just takes me to my custom recovery
[Nexus 5 General] gialakias:
Well the solution is in the first post of the thread. Did you read it?
[Nexus 5 General] ROADKING17:
Yes I did but I'm going back to my first question of updating it without a computer and keeping root
[Nexus 5 General] gialakias:
It is not possible. Only with the instructions that are given here in the first post. After 5.0 we need a computer unfortunately.
[Nexus 5 General] efrant:
I guess technically it is possible. You would need to modify a line in the updater-script file in the OTA zip, then flash it using your custom recovery, then flash SuperSU 2.37 immediately after the OTA zip, then reboot.
[Nexus 5 General] gialakias:
Nice approach efrant! Is it possible to do the modification on the phone?
[Nexus 5 General] efrant:
Yeah, you should be able to extract the updater-script file, modify it, and put it back in the OTA update file.

The file is located here: /META-INF/com/google/android/

You need to extract it, and change this line:

getprop("ro.build.fingerprint") == "google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys" ||
getprop("ro.build.fingerprint") == "google/hammerhead/hammerhead:5.0/LRX21O/1570415:user/release-keys" ||
abort("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 " + getprop("ro.build.fingerprint") + ".");

to this:

file_getprop("/system/build.prop", "ro.build.fingerprint") == "google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "google/hammerhead/hammerhead:5.0/LRX21O/1570415:user/release-keys" ||
abort("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 " + file_getprop("/system/build.prop", "ro.build.fingerprint") + ".");

and put it back in the OTA update zip. (Or you could just delete the line, but you need to make sure you are on KTU84P yourself.) Then the file should flash in a custom recovery.

Credit: [MENTION=4811172]RusherDude[/MENTION] from his post here.
[Nexus 5 General] gialakias:
So this is the check that fails. And as far I can see you put file_ in front of the line so not to "read" it or you just delete the whole check

Edit : Sorry I read again, I have to change the way it checks. I have forgot I have seen and thanked his post also! So it is ok if I delete the whole line?
[Nexus 5 General] efrant:
Yes, you can delete the whole check.

For reference (and based on my understanding), getprop("ro.build.fingerprint") reads the fingerprint from RAM (which has your custom recovery info, if you are booted in a custom recovery), while file_getprop("/system/build.prop", "ro.build.fingerprint") reads the fingerprint from the actual build.prop file.
[Nexus 5 General] RusherDude:
Very appreciated :good::good:. I am not a dev but for a single input I give to xda (other than testing for devs) and getting credited for it it's massively rewarding. Thanks! :)
[Nexus 5 General] azr6:
So I'm trying to install the very first OTA 4.4.2 with the camera fix and get this error:

/system/app/Videos.apk has unexpected content

I'm on stock rom with root and unlocked with TWRP. Have 0 of the OTAS installed. Anyone have this original file I can push and get these OTAS going?
[Nexus 5 General] Wh1t3Rose:
Get it from the stock factory image.
[Nexus 5 General] azr6:
Have no idea how to do that. I found the factory image here for 4.4:

https://dl.google.com/dl/android/aosp/hammerhead-krt16m-factory-bd9c39de.tgz

Is there an app I can use to just pull that file out of there? Also, can I just upgrade from 4.4 to 5.0 or do I have to do one OTA at a time until I reach 5.0?
[Nexus 5 General] jd1639:
Use 7-zip or winrar to extract it. Inside is a zip file, extract that too
[Nexus 5 General] funnel71:
I found if you just open the file inside of winrar remove those three lines and put the file back when it asks you to that worked perfectly
[Nexus 5 General] azr6:
Looks like I got it all figured out now. Had to push the file in ES Explorer to get it to recognize. Flashed to 4.4.2 was successful. Thanks.
[Nexus 5 General] FilipeMoritz:
Hey, Im going to root my Nexus 5 with CF Auto Root, after that, Ill be able to sideload new versions of Android without problems or Ill need to unroot or someting else?

Sorry for my bad eglish
[Nexus 5 General] Wh1t3Rose:
Some people report they can without any issues. I say no but you can try for yourself. If it fails to flash in recovery then no harm done. Just open SuperSU app. There is an option to unroot in the app. Unroot then reboot then sideload OTA again.
[Nexus 5 General] funnel71:
Flashing the 2.37 super su zip works too if you have the means.
[Nexus 5 General] lasha117:
Any signs of 5.0.1 ?

=======================
[Nexus 5 General] xPeriaGUY666:
Still nothing here in belgium...
[Nexus 5 General] El Daddy:
Just update if you are on windows.
[Nexus 5 General] assasin34:
it says device not found..i had updated drivers before i have flashed zip.
[Nexus 5 General] 123go!:
This is not working for me, I have no idea why. I kept my recovery, but supersu wont flash, it says failed, unable to open zip file.....argg

nevermind, got it to work......

in case anyone has the same issue. I fixed it by using ADB to push the supersu file onto my "sdcard", then install it via recovery from there.

No idea why I had to do it that way and couldn't just use the version I downloaded via my phone.....
[Nexus 5 General] assasin34:
i am trying section-a but no chance.when i try adb sideload update.zip ut says device not found..all drivers up to date.any other way to update to 4.4.1..?it drives me crazy..!!!
[Nexus 5 General] efrant:
Likely related to root. Some older versions of SuperSU interfered with the OTA update process, so if you had flashed one of those (regardless of whether or not you updated it via the Play Store), it would cause the OTA to fail.

Just flash the stock boot and system images using fastboot. Done.

No
[Nexus 5 General] wolfca:
Thanks for very detailed explanation. It is very helpful. I just could not find the adb312 interface anywhere from my pc. I have downloaded the following usb drivers: Universal_Naked_Driver_0.73;NEXUS 5 UNITED MOBILE DRIVER; and Google USB Driver. Could you please help me where to locate it?
[Nexus 5 General] jordan.harris01:
Check Device Manager and update the driver while the phone is booted into recovery and awaiting the sideload.
[Nexus 5 General] Savageman13:
I had this problem and I was able to fix it by doing this:

Open Device manager

Open the properties of the ! Nexus 5 device

Click "Update Drivers"

Click "Browse My computer..."

Click "Pick from a list on my computer"

In the Manufacturer column there should be a ASUSTeK Computer Inc, choose that.

Choose the latest "ASUS Android ADB Interface" driver, mine is 9/26/2013

...

Profit

I can now see my device in the "adb devices" command.
[Nexus 5 General] Teczeus:
Changing Mods back

I want to use Scenario #2 although I changed my DPI and my speaker volume but changed them back to stock values. Can I still use scenario

#2 since I changed values back on those 2 Mods or will I still have to use Scenario #3? Thank you in advance.
[Nexus 5 General] Julio_S:
Error 7

hi guys, i've tried to update my os but i always get error 7 and the path is "/system/lib/libart.so .. i only have my bootloader unlock, stock android,stock recovery.. what can i do?
[Nexus 5 General] Android The Greek:
Try this

http://xdaforums.com/showthread.php?t=2557248
[Nexus 5 General] wideasleep1:
Same here..TWRP is erroring on roboto...is that the default font?

edit a googsearch said roboto condensed, but that was wrong...it's roboto regular..twrp is now flashing!
[Nexus 5 General] Julio_S:
---------- Post added at 03:10 PM ---------- Previous post was at 03:08 PM ----------

[/COLOR]

If everything is back to stock #2 should work[/QUOTE]

I already tried with cwm and twr and neither of them worked, it gave the same error
[Nexus 5 General] Ulver:
All this talk about side loading the update...but has anyone actually got the update OTA??
[Nexus 5 General] El Daddy:
If someone hadn't, we wouldn't have the link...
[Nexus 5 General] Ulver:
OK, besides the first person who found the link. Anyone else?
[Nexus 5 General] El Daddy:
11,472 people. :)
[Nexus 5 General] jd1639:
If you don't see it here you won't see the ota https://developers.google.com/android/nexus/images
[Nexus 5 General] apache04:
Query related to CF Auto Root

I'm pretty confused about the way CF auto root works. some say it breaks OTAs some say it doesn't affect the recovery so it won't break OTAs

can anyone here please explain me if I'll still get OTAs after rooting my all stock 5.0 Nexus 5 by Chainfire's Auto Root method?

Any help would be greatly appreciated.
[Nexus 5 General] Wh1t3Rose:
Read my previous post in the other thread you posted in. And please do not cross post. Thank you.
[Nexus 5 General] :
Droid life has received the zip on their site.
[Nexus 5 General] stbxxl:
DroidLife just posted the Nexus 5 5.0.1 OTA URL: http://www.droid-life.com/2013/02/1...date-a-nexus-without-root-or-custom-recovery/
[Nexus 5 General] aavvaallooss:
Factory image:

https://dl.google.com/dl/android/aosp/hammerhead-lrx22c-factory-0f9eda1b.tgz