yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] J_The_Nerd:
noob question

Sorry for this in advance but do i need to unlock my bootloader to use fastboot to flash system.img?
[Nexus 5 General] gialakias:
Yes you have to unlock.
[Nexus 5 General] jd1639:
Are you rooted? If so use bootunlocker from the play store. It won't wipe your device. If not you can use towelroot to root. It also won't wipe your device
[Nexus 5 General] gialakias:
Towelroot is accessible? Every time I try to download it it gives NE a page full of letters numbers symbols or it is some KBs only and not working. Off topic sorry.
[Nexus 5 General] jd1639:
Did you go to https://towelroot.com

Edit. Do it from your device
[Nexus 5 General] piumach:
Hi all, I've received just 2 hours ago the notification for lollipop update but I do not want to upgrade, how can I disable the annoying notification?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] Wh1t3Rose:
Freeze these apps using TIBU.

SDM.apk

FWupdate.apk

Keychain.apk

Wipe cache in recovery and reboot.
[Nexus 5 General] Austie1337:
By OTA.zip, do you mean downloading the attached .zip file for your phone in the original post and flashing that in custom recovery? I am referring to Section B. Also I may have deleted some apps in the past, but flashed gapps a while ago returning the apps I deleted, will this wreak havoc on my Nexus?
[Nexus 5 General] MattGoshko:
Hi guys I am a bit confused right now...

Firstly I am on stock 4.4.4 with CWM recovery and rooted. I also have Franco Kernel installed on my Nexus 5.

I got the OTA update and downloaded it but when I restarted my phone to install it it brought me to CWM and I got really confused so I hit GO BACK twice and the phone rebooted and the update was not installed.

How can I go as to install 5.0 on my nexus 5 from CWM ?

Thank you all !
[Nexus 5 General] Room7:
i am rooted and have xposed installed so I started at Section C.

Uninstalled xposed from within the app.

rebooted.

rebooted into recovery (cwm).

flashed ota.zip and got an error

I just got the official ota message today and get the same error when trying to install that

please help
[Nexus 5 General] Wh1t3Rose:
All of you guys need to read the big fat warning I put right above the Scenarios Section in the OP discussing recoveries.
[Nexus 5 General] Wh1t3Rose:
[MENTION=4858937]jd1639[/MENTION] you think I should edit Section B or create a Special Section B just for Lollipop?
[Nexus 5 General] jd1639:
I think you should edit it. It worked before, but I don't think it'll work ever again
[Nexus 5 General] MattGoshko:
The one that says that we have to sideload ? I do not understand ?

I am kind of new with this ... I followed a step by step tutorial on how to root and install franco a few months back ... I completly forgot all about it and I am kind of confused now.
[Nexus 5 General] jd1639:
You need to have the stock recovery and kernel for the ota to work. Since you're on Franco's kernel I assume you also have a custom recovery. Flash the boot and recovery image from the 4.4.4 factory image before trying the ota. You may also have to flash the system image so I'd go ahead and do that too.
[Nexus 5 General] MattGoshko:
Thank you very much !

Any tutorial on how I can flash those ?

I already downloaded the ktu84p stock image but now sure how I can flash what I need to flash
[Nexus 5 General] :
Tutorial..

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

Just flash the files [MENTION=4858937]jd1639[/MENTION] recommended. ?
[Nexus 5 General] ankumar:
Still i am unable to install 5.0 update with adb sideload. :(

As you mentioned, I had removed the custom recovery and flash the recovery.img of KTU84Q stock firmware. After that i downloaded the OTA udpate for build KTU84Q and tried installation with adb sideload but installation aborted. Error thrown is that package is expected build KTU84Q and my device has build KTU84P [i was shocked coz in Settings > About, KTU84Q build number is displayed ]

Then i tried with OTA update for build KTU84P and again unable to install the same and error "/system/app/qcrilmsgtunnel.app has unexpected contents" is thrown.

Please help me :mad:
[Nexus 5 General] gialakias:
Well flash the system.img from the factory image you downloaded and try again with the ota.
[Nexus 5 General] piumach:
Cannot find these files, both with Tibu and root explorer. Where are they?
[Nexus 5 General] CDB-Man:
4.4.4 stock rom, rooted.

Hmm, mind posting a copy of the stock recovery.img you're using? For whatever reason, adb won't recognize the device when I'm in recovery mode. I'm on 4.4.4, but just flashed the KRT16M recovery.img on to the device.

Maybe I have a USB driver issue... I tried a bunch of drivers and no luck; any ideas?

EDIT: got my hands on the KTU84P recovery.img, though adb still does not detect the device when in recovery mode... what can I do now? Since adb doesn't detect the device, I can't sideload.

EDIT 2: After tinkering around some more with drivers, it seems that sideload is actually sending the update over now... lets see if it works.

EDIT 3: Looks like I'm good now. No idea what caused the problem originally.
[Nexus 5 General] Daemo00:
Hi all, I've received the lollipop update but it aborted because I've clockworkmod recovery (stock ROM with root and custom recovery), now I've got a couple of questions:

1. Do I really have to wipe completely my phone in order to install the stock recovery? After the factory reset, will the OTA come back again in the "software updates" section?

2. Or is it more convenient to follow scenario B and download&flash the OTA like any other rom? In this section what do you mean with "like any other rom" do I have to wipe data or something?

Big thanks to all, and sorry if this question has already been asked many times.. :( my lost OTA :(
[Nexus 5 General] Wh1t3Rose:
Reinstalling stock recovery doesn't wipe the device. Just fastboot the recovery and you can OTA.
[Nexus 5 General] kweso:
quick question: after i managed to get lollipop and flashed cwm i made a nandroid.

when i now want to restore an old kk-backup (cause i like gravitybox), and later come back and restore the lollipop-backup (when more tweaks are availiable), it would just be a matter of restore the backup and maybe wipe cache, wouldnt it? or will i have to deal with flashing stock-recovery or rerooting again?

tyvm!
[Nexus 5 General] Daemo00:
Oh that's a good news!! I read the tutorial you posted a few posts ago, and that said that the device will get completely wiped.. But maybe the wipe is needed for something else :)
[Nexus 5 General] Wh1t3Rose:
Thanks JD. I'll do it in the next couple of hours. Need my coffee cause its 6am lol :P
[Nexus 5 General] Wh1t3Rose:
Yep no wiping for you. You're not allowed :P :silly:
[Nexus 5 General] Wh1t3Rose:
Wipe system and data too. I'm not sure of TWRP (Please don't use CMR, its so outdated it isn't funny) wipes partitions before restoring nandroids so wipe everything before restoring. Not a big deal. Takes an extra 5 seconds.
[Nexus 5 General] kweso:
whats CMR? you mean CWM?

and well, wiping everything would take more than 5 sec, because i'd have to restore all my app-data, wouldn't i?

thx
[Nexus 5 General] Daemo00:
just to be sure of not breaking something, is it enough a

./fastboot flash recovery /path-to-there/recovery.img

command?

thanks for your effort and have a nice coffee :)
[Nexus 5 General] Wh1t3Rose:
No because that would be included in your nandroid if you backed up the data partition :)
[Nexus 5 General] Wh1t3Rose:
Not sure if you are on Linux or windows but the ./ isn't needed. That's used to execute Shell scripts in Linux. But the rest is good :)
[Nexus 5 General] joeyweaver:
My About Phone settings say I have Android Version 4.4.4, Build number KTU84P but when I try to install the zip to go from that version to Lollipop via TWRP, I get an error message saying package expects 4.4.4/KTU84P this device has 4.4.2/KVT49L

Screenshot of exact error here: http://i.imgur.com/Y8bLeku.png

Any ideas?
[Nexus 5 General] jd1639:
You need to be on the stock recovery, not twrp. The instructions in the op are valid for previous versions of android but not 5.0. You'll have to either take the ota from your device or sideload it in the stock recovery. You can flash the stock recovery in fastboot or flash the zip in twrp from here http://xdaforums.com/showthread.php?p=50042079
[Nexus 5 General] kweso:
ah, yes, now i get it. wipe everything before restoring the backup. makes sense. i think my thoughts came from updating cm-nightlies on my old sgs2. they always recomended "wipe cache" after flashing.

but again:

whats CMR? you mean CWM?

i dont like the style of twrp. the pixel-crisp style and the basic navigation system of cwm makes me feel more like i'm a real hacker :p

anyways. thx!
[Nexus 5 General] jd1639:
Cmr is cwm. But you should get used to twrp. Cwm will not support 5.0 and higher
[Nexus 5 General] formeriphoneuser:
What option and thus instructions do I follow if I'm

- Stock /w root

-custom recorvery

- custom faux123 kernel

- Xposed /w module installed

Do I go for the OTA for full image?
[Nexus 5 General] kweso:
switching would mean to download the latest twrp-zip for the n5 to the sdcard and flash it with cwm, won't it?

will i be able to restore the cwm-backups with twrp?

thx again!!
[Nexus 5 General] jd1639:
Yes, you can flash the twrp zip in cwm. But the nandroids are different so they will not restore.
[Nexus 5 General] T-100:
I'm getting a "failed" message when I follow the instructions in Part B on the front page of this thread.

This is so frustrating. I just wiped the phone (N5), returned to stock, installed 4.4.4, then rooted, because I wasn't able to update from 4.4.2. I was getting the same "failed to update" messages then, too.

I have barely touched my phone since then, other than the usual "killing advertisements with Lucky Patcher" and "forcing apps to sleep with Greenify". I haven't messed with the system files at all. Unless installing a launcher would qualify as one, but I think it doesn't.

Anyway, I just want to install 5.0 using TWRP - I get the proper OTA rom, copy to root folder, reboot into TWRP, press "install", navigate to the OTA zip file, and swipe to install - and it fails, again and again!

What is happening here?! I really don't want to have to return to stock to do this again. Can someone advise me? Thanks.
[Nexus 5 General] jd1639:
You can't install the update in twrp. You need the stock recovery. The op was valid for previous versions of android but not 5.0. Flash the stock recovery in fastboot or the stock zip in twrp. You can find the stock zip here

http://xdaforums.com/showthread.php?p=50042079

Then either take the ota from your device or sideload it in the stock recovery.

Also, lucky patcher probably modified system files. If that's the case you'll have to flash the system image from 4.4.4 in fastboot.
[Nexus 5 General] formeriphoneuser:
And does this fact change anything or make things easier in my case? http://www.xda-developers.com/android/supersu-beta-lollipop-root-stock-kernel/
[Nexus 5 General] Yaz75:
If you want it to update then you have to have the stock system image and have stock recovery.

Any other scenario you want to ask about, the answer is "no, it won't work"

Update it first, then worry/work on rooting.
[Nexus 5 General] 2g4u:
Has anyone with Bulgarian IMEI received the OTA ?
[Nexus 5 General] Mysteryos_=):
I have find this tutorial: for me I suppose I’m in the Scenario #2 => section B, but I’m not sure, because I do not know the changes that were made by root tools, or by tools for lock/unlock bootloader.

I have a Google Nexus 5.

I have rooted my phone via Towelroot by Geohot.

I unlocked my bootloader with BootUnlocker (no clear data or/and files).

I install CWM with Rom Manager.

Build number: KTU84P

Android: 4.4.4

Thanks

PS: sorry for my English, I’m French.
[Nexus 5 General] formeriphoneuser:
Thanks, so which Scenario # do I go for here. Or can I just install/sideload all the stock images and then start rooting, custom recovery etc.?
[Nexus 5 General] Yaz75:
If you want to save your data, then fastboot load the system image and stock recovery. Then adb sideload the OTA update to 5.0. Then go ahead and try some of the root procedures here on xda.

If you don't care about your data then I would do I full wipe, then flash the factory 5.0 image and start fresh, then go for root.
[Nexus 5 General] jd1639:
You'll need to flash the recovery, boot, and system image from 4.4.4 in fastboot in order to take the ota
[Nexus 5 General] T-100:
Thanks for the feedback. I'm a pretty casual tech-type of user, so a lot of the stuff here goes over my head, i.e. I'm not super-familiar with all of the terms, etc.

So, I'm unclear about the exact function of a "stock recovery" - does it return my phone to a pre-rooted state, perhaps? I also don't know how to flash in "fastboot". And, I certainy don't know how to "sideload" something.

I just follow tutorials to the letter. So, might there be some tutorials for these procedures? I'm not comfprtable proceeding without a full, clear knowledge of what I might be doing with these files, processes, etc. Thanks.
[Nexus 5 General] Yaz75:
AGAIN, can't have the custom recovery on the phone. Stock recovery only and adb sideload the OTA. If you messed with a different kernel then you're going to have to go back to the stock system image, then sideload the OTA.
[Nexus 5 General] formeriphoneuser:
Thanks. Is there a reason why I can't do a full image flash?
[Nexus 5 General] Yaz75:
You absolutely can do a full image flash.

You'll lose all your personal data and be just like an out of the box, brand new phone. Some people don't want that but If you want to start over and start fresh, then go ahead and just go for the factory image. I would advise wiping cache before doing so.
[Nexus 5 General] formeriphoneuser:
Since I have a Ti-Backup and Nandroid backup (plus all this is backed up again on my Mac) I'm not too worried : ) So would this be Scenario #3 I go for in my case?
[Nexus 5 General] Yaz75:
Please don't look at the scenarios, they were written for 4.4.4 not for 5.0

Please do not try to restore a 4.4.4 nandroid backup when in 5.0, it will not work
[Nexus 5 General] Rolo42:
5.0 --> 4.4.4 nandroid worked

It worked for me; the caveat is having external storage:

I did a TWRP nandroid backup to USB OTG storage

I did a full wipe/format, factory image install (only stayed unlocked), installed 5.0

I didn't like the idea of Xposed not working (Yes, I should have checked that first) and restored my 4.4.4 nandroid backup. The only "issue" I had was Evernote noticed the sdcard had changed and asked what to do

I see Lollipop as a "developer preview" still until 1) must-have apps work in it and 2) Google apps stop getting FCs (had two in the first few hours of running it).
[Nexus 5 General] Yaz75:
I've had zero FC's on any app since updating.
[Nexus 5 General] formeriphoneuser:
So was your process the following:

From 4.4.4 you

0. Facory wipe/restore

1. Sideload all Android L images (boot, recovery etc.) to phone

2. Sideload the Root app and root the device

3. Install custom recovery

4. Install kernel

Is that the way you did it?
[Nexus 5 General] ohad123454:
Hey guys after i updated to L my phone gets really stuck and sometimes its really slow+ today my battary drain from 100% to 0 in 2 hours without doing almost anything.

Does it normal?
[Nexus 5 General] Yaz75:
That is not remotely normal.

Save your private data and reset that thing
[Nexus 5 General] Rolo42:
...which doesn't change the fact that I have on a rooted factory out-of-box configuration (plus play store auto updates), even after wiping and re-installing. I'm assuming my hardware is good since I don't have any issues whatsoever using the heck out of it with KK.

Pretty much, except with CF-autoroot handling the kernel part. This is exactly how I did it (extracted factory lrx21o, renamed some files for simplicity/8.3 conformity):

fastboot devices
@pause
fastboot erase boot
@pause
fastboot format cache
@pause
fastboot erase recovery
@pause
fastboot format system
@pause
fastboot format userdata
@pause
fastboot flash bootloader bootloader.img
@pause
fastboot reboot-bootloader
@pause
fastboot flash radio radio.img
@pause
fastboot reboot-bootloader
@pause
fastboot flash system system.img
@pause
fastboot flash userdata userdata.img
@pause
fastboot flash boot boot.img
@pause
fastboot flash recovery recovery.img
@pause
fastboot reboot-bootloader
@pause
fastboot oem device-info
@echo Perform factory reset (select recovery, hold Power+tap VolUP).
@echo Reboot to system; verify 32GB storage; reboot to bootloader (Power+VolDN).
@pause
fastboot devices
@pause
fastboot flash recovery twrp.img
@pause
fastboot boot cfautoroot.img
@echo Boot system; install SuperSU, Root Validator, BusyBox.

Each step worked perfectly.
[Nexus 5 General] ohad123454:
How can i backup all of my data at once?
[Nexus 5 General] Yaz75:
Except for the part where you're having force closes and slow laggy performance.
[Nexus 5 General] Rolo42:
I don't remember saying anything about "slow laggy performance" (especially since I'm a purist with vernacular, where "lag" refers to network latency and "hitching" refers to UI/performance stutter). I think you have me confused with someone else. Additionally, I didn't have FCs running my sideload batch file, which is what I was referring to. Please don't mis-quote/misrepresent me.
[Nexus 5 General] formeriphoneuser:
Last question before I flash my baby. If I use the CF-autoroot method can I then install the faux123 kernel and still have root after that?
[Nexus 5 General] Lape500:
My friend has really strange problem with ota (came through phone itself) Her phone doesn't have switch for orientation in quick setting panel or in settings. Has anyone experienced anything like this?
[Nexus 5 General] VivaErBetis:
Just use that feature a couple of times using the settings menu and the quick setting will appear magically [emoji2]
[Nexus 5 General] Lape500:
Well it is not in setting -> screen either (we checked its place from my phone)
[Nexus 5 General] Rolo42:
I've no idea but I'd assume custom kernels have root in mind...kinda silly not to...but I can't say I know the finer points on it. If you try it, what's the worst that can happen? You have to flash stock/CF-autoroot again. One benefit of having an "Oh sh^#!" plan "Z" is that you can experiment.
[Nexus 5 General] VivaErBetis:
It's in several places. For instance in accessibility settings [emoji106]
[Nexus 5 General] wease59:
OTA keeps failing

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] formeriphoneuser:
Help...report after entering twrp recovery

Hey Rolo42,

thanks for your help so far.

I just used your instruction and came this far:

fastboot devices
@pause
fastboot erase boot
@pause
fastboot format cache [COLOR="Red"][B]***did NOT work, no such command***[/B][/COLOR]
@pause
fastboot erase recovery
@pause
fastboot format system[COLOR="Red"][B]***did NOT work, no such command***[/B][/COLOR]
@pause
fastboot format userdata[COLOR="Red"][B]***did NOT work, no such command***[/B][/COLOR]
@pause
fastboot flash bootloader bootloader.img
@pause
fastboot reboot-bootloader
@pause
fastboot flash radio radio.img
@pause
fastboot reboot-bootloader
@pause
fastboot flash system system.img
@pause
fastboot flash userdata userdata.img
@pause
fastboot flash boot boot.img
@pause
fastboot flash recovery recovery.img
@pause
fastboot reboot-bootloader
@pause
fastboot oem device-info
@echo Perform factory reset (select recovery, hold Power+tap VolUP).
@echo Reboot to system; verify 32GB storage; reboot to bootloader (Power+VolDN).
@pause
fastboot devices
@pause
fastboot flash recovery twrp.img
@pause
fastboot boot cfautoroot.img
@echo Boot system; install SuperSU, Root Validator, BusyBox.

When trying to boot into the custom recovery twrp I see the screen and then reboots into Android L? What am I missing? I verified that I'm rooted.
[Nexus 5 General] etoS:
MANY THAAAANKS!!! I had the same problem and have been reading hours on Internet without finding any solution... and all I had to do is flashing the radio.img! You saved me! :)

Best regards!
[Nexus 5 General] Wh1t3Rose:
Not true and please don't spread this. The scenarios are fine. The only difference is the stock recovery. That's it
[Nexus 5 General] Wh1t3Rose:
I was going to create a scenario specific to 5.0 tonight but didn't have time. It's 3 am. I'll do it when I wake up hopefully :fingerscrossed:
[Nexus 5 General] ankumar:
EDIT: 1---------------------------

My previous Quote:

Originally Posted by ankumar

Still i am unable to install 5.0 update with adb sideload.

As you mentioned, I had removed the custom recovery and flash the recovery.img of KTU84Q stock firmware. After that i downloaded the OTA udpate for build KTU84Q and tried installation with adb sideload but installation aborted. Error thrown is that package is expected build KTU84Q and my device has build KTU84P [i was shocked coz in Settings > About, KTU84Q build number is displayed ]

Then i tried with OTA update for build KTU84P and again unable to install the same and error "/system/app/qcrilmsgtunnel.app has unexpected contents" is thrown.

Please help me

QUOTE END

----------------

Please send me the link of recovery.img and system.img for build KTU84Q.

Thanks in advance

EDIT:2 [Post of Thanks]

I am successfully able to install android 5.0 update with adb sideload and i didn't flash system.img

Thanks to all who helped me. :)
[Nexus 5 General] gialakias:
Well download the Q factory image and extract it from there, I don't have it I use the P because of my region.
[Nexus 5 General] RoxAbout:
v5.0 OTA vs v4.4.4

I want to stay on v4.4.4, I'm very happy with exposed etc.

How do I get rid of the constant OTA Nag for v5??

I tried to d/l it and even went to install it but it opens up the TWRP main menu and stops. After I reboot the nag comes back and it forgets that it already d/ld the update.

Ideas?

:confused::confused:
[Nexus 5 General] ankumar:
I have downloaded the KTU84Q factory image and but i didn't see any recovery or system image file in compressed folder. Refer screenshot: factory_img.jpg

I have downloaded the factory image from link : https://dl.google.com/dl/android/aosp/hammerhead-ktu84q-factory-ae475293.tgz

I am new in this stuff. Please help me.
[Nexus 5 General] gialakias:
Uncompress every compressed file in there and it will show up.
[Nexus 5 General] Wh1t3Rose:
Read back a few pages. I listed some apps to freeze
[Nexus 5 General] piumach:
Hi Sandman,

I've tried to look the app you told me but I'm not able to find them, where they are supposed to be?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] Wh1t3Rose:
They are system apps. Use Titanium Backup to freeze them. They will be marked in red text.
[Nexus 5 General] piumach:
I tried but in Titanium Backup I'm not able to find them...what is the exact name shown?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] RoxAbout:
How To Stop OTA

I used Amplify [unbounce] and blocked the following items:

Under Services:

com.google.android.gms/.update.SystemUpdateService > set to deny

Under Wakelocks:

SystemUpdateService > set to 9999999

SytemUpdateVerifierTask > set to 9999999

Problem solved!

No more update nag!

No more battery drain for the update nag!

P.S. If you havent discovered Amplify [unbounce] yet It will increase your battery life by a huge factor, Most of my settings are for 12 hours except for the above ones they are set to infinity!

http://xdaforums.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874

Enjoy please say thanks if it helps you!

:good::highfive::good:
[Nexus 5 General] bhaalhunter:
OTA fail on compelete stock Nexus

Hi, compelete stock Nexus 5 and trying to update, nothing but error, I have posted the screen please help.

Tried rest eveything all ready.
[Nexus 5 General] piumach:
Thank u! I made my day!! :)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] gialakias:
fastboot flash the system image of 4.4.4 and try again, you should be OK.
[Nexus 5 General] chessjoe:
I have flash stock recovery and solved this problem.