yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Synyster06Gates:
Thought so. I just didn't want to make a mistake and wipe everything.

Thanks! :good:
[Nexus 5 General] Wostl:
Once I get my N5, I want to unlock the bootloader, root and install a custom recovery to use some useful apps and have the possibility to do a nandroid backup.

So I was reading a lot concerning the procedures the last days. But reading a lot means reading a lot of different opinions, what unfortunatelly makes me a little bit confuse... :eek:

So I read the information that unlocked bootloader+root are no issue for OTAs, but that with a custom recovery they (may) not work anymore.

In your thread now I read, that I can download them manually and flash via recovery. OK, that would not be a problem for me.

But if it won't work automatically, how will I be notified, that there is a new update? And were I can download the update manually?

Thank you a lot for your great effort and support! :good:
[Nexus 5 General] RodKahx:
In my experience if you are running a stock ROM still then you will still get the OTA notification regardless of boot loader or root. I find my OTAs here also. The general or Dev threads is where I find links or mirrors to them.

I also find adb side load of the update the best way to go. I'm unlocked rooted stock recovery and stock ROM.
[Nexus 5 General] Wostl:
Thanks for your answer.

Is there any change if I use the xposed framework and xprivacy? Do you know this, or have I to try?
[Nexus 5 General] El Daddy:
Yes, any modification to /system at all will cause the OTA to fail.
[Nexus 5 General] X-Jonte-X:
Does it mean that Option B (flashing OTA.zip via TWRP) will also fail and we have to use option C, flashing boot.img and system.img?
[Nexus 5 General] El Daddy:
Correct.
[Nexus 5 General] El Daddy:
With the confirmed 4.1.1 update on the horizon, make sure you check my original post to get your phone ready for the OTA.

If anyone receives the OTA or comes across the URL; please post it here!
[Nexus 5 General] Synyster06Gates:
Is there any way your could get this thread stickied? Would help people notice it more!
[Nexus 5 General] jntdroid:
I'm hoping one of those geniuses out there will guess the OTA url and grab the .zip - if that's even still doable like it used to be.

Also - I've installed Xposed and rebooted, but haven't done a dang thing with it. If I've simply installed it and haven't done any mods yet or installed any modules, do you think the system has been modified too much yet? I'm new to Xposed, so I don't know what it does or doesn't do...

I guess worst case I could just flash the system image and re-root it.
[Nexus 5 General] El Daddy:
I don't have the ability to sticky my own thread. You could PM a mod and request it to be stickied if you'd like. :)

We know the URL prefix. Someone actually needs to receive the OTA first so we can put the file name in to complete the URL.

If you flashed the Xposed framework, you will have to flash the /system.img of 4.4 as it modifies system files.
[Nexus 5 General] kraven001:
Found this on one of the threads here http://xdaforums.com/showpost.php?p=48175515&postcount=41

Guess thats the 4.4.1 OTA :-?
[Nexus 5 General] nadrojcote:
http://android.clients.google.com/p...ed-hammerhead-KOT49E-from-KRT16M.7ed504f6.zip
[Nexus 5 General] fleabeard:
FYI: I am stock, rooted, custom recovery (TWRP) with XPosed being the only real mod.

I just flashed the KRT16M Update. It failed on my first attempt, uninstalled XPosed and it flashed with no errors in TWRP.
[Nexus 5 General] SonicAngel:
I'm trying to sideload 4.4.2 from 4.4.1 and getting "system/priv-app/systemUI.apk has unexpected content"

I don't have anything installed that should touch system files other than AdAway and CPU SPY as far as I know... what could cause this and can I somehow flash some img to fix it?
[Nexus 5 General] efrant:
You have something that has changed your systemUI.apk (soft button mods or something like that?). Just flash the stock 4.4 system and boot images in fastboot.
[Nexus 5 General] jd1639:
I would flash the system.img. but then you'll want to use the 4.4.2 from 4.4
[Nexus 5 General] bash156:
any help please
[Nexus 5 General] jd1639:
Do you have the update zip in the same folder as adb
[Nexus 5 General] bash156:
yes I do
[Nexus 5 General] SonicAngel:
This is where I get scared, shouldn't I be flashing system.img from 4.4.1? Is there such a file? All I'm finding is the TGZ for KOT16M and I know I need KOT16E...

If I do what you told me won't I make a mess by having boot.img and all the rest from 4.4.1 and just system.img from 4.4?
[Nexus 5 General] efrant:
You will need to flash BOTH the system and boot images of 4.4. Then apply the 4.4-to-4.4.2 update. Done.
[Nexus 5 General] jd1639:
You can just flash the system image, I've done it on my own device. But better safe than sorry:)
[Nexus 5 General] El Daddy:
Read the Q&A section in the OP.
[Nexus 5 General] efrant:
Was there not a kernel patch when updating to 4.4.1? Maybe I'm thinking of the 4.4 update. If that was the case, and there was no kernel patch, I agree, flashing just the system image is perfectly fine.
[Nexus 5 General] gfreek:
I'm assuming you are on windows 7/8 as I had the same issue until I realized I had to do the following in step 3 below:

Section A: adb sideload

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, on Windows7/8 hold shift key and right click mouse then select "Open command window here" from context menu and type the command: 'adb reboot recovery'

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”

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

6) When completed, select reboot.
[Nexus 5 General] bash156:
Sorted it. update.zip didnt work so I copy pasted the long filename not sure what I was doing wrong thanks anyway
[Nexus 5 General] aneesh99:
Flashed 4.4.2, reflashed TWRP.

Absolutely unable to regain root access after flashing 4.4.2. Keep getting the same old 'unable to open zip' in TWRP :confused:
[Nexus 5 General] ohad123454:
i tried everything i did that thing with the adb folder and it worked but now im doing the commands that a user in here told me but it says all the times "cannot open" even though i did everything exactly

i did everything that everyone told me in here lol but still it does'nt work ..

[/URL][/IMG]
[Nexus 5 General] SonicAngel:
Flashed system.img, rebooted, and got an error "Google search has stopped" Thought I screwed up badly but then it updated and all was well, went ahead and flashed 4.4.2 and all seems very well. I lost SU but flashed 1.80 with no problem.

Thanks dude :)
[Nexus 5 General] marleyfan61:
Put the file you are flashing into the plaform-tools folder. Then open a command prompt from within that folder as decribed a couple of posts ago, or navigate to that folder by changing directories within the command window. Then just type fastboot flash <filename>

---------- Post added at 12:57 PM ---------- Previous post was at 12:54 PM ----------

Try downloading UPDATE-SuperSU-v1.80.zip from the first page. Load it onto your /sdcard/ then flash that from withing TWRP. Worked for me.
[Nexus 5 General] ohad123454:
i did not understand completly , i downloaded platform-tools and then transformed the BOOT.IMG and the SYSTEM.IMG what i need to do now ? u can describe it plz ?

i mean u know as a list

"do

1.

2.

3.

etc."

that is the only way that i could understand
[Nexus 5 General] indelible:
I'm on 4.4 and received the update OTA. It asked me to reboot, and so i did. but after i rebooted, it went straight into TWRP and I didnt know what to do so I just booted back into the system. The phone didn't update, and choosing to check for updates doesn't do anything. I went back into recovery and found a file in the cache folder *a bunch of letters*.signed-hammerhead-KOT49H but it fails when trying to flash.

"/system/framework/android.policy.odex" has une

E:Error executing updater binary in zip '/cache

Do I have to just sideload it now?
[Nexus 5 General] aneesh99:
Still no joy... weird. I didn't have this issue when I installed 4.4.1 and needed to regain root access...
[Nexus 5 General] jd1639:
Try to re-download the super su file and check its md5. It could be a bad download.
[Nexus 5 General] ohad123454:
bro u can help me ? i messed up again ..
[Nexus 5 General] jd1639:
What do you mean you "transformed" the .img files?
[Nexus 5 General] ohad123454:
i moved the boot.img and the system.img files to that folder

[/URL][/IMG]
[Nexus 5 General] indelible:
delete
[Nexus 5 General] jd1639:
Open a command window in that folder, shift + right mouse click on it and open a command window

Boot you device into bootloader mode and plug the usb cable into it

Then type fastboot flash system system.img Let it run it'll take almost a minute.

Then type fastboot flash boot boot.img That'll take a few seconds
[Nexus 5 General] ohad123454:
how to i boot my device too bootloader mode ?
[Nexus 5 General] jd1639:
Turn it off. Then hold power + vol down. At the top you should see START just leave it there, your in bootloader mode
[Nexus 5 General] xpartspins:
Okay, downloaded the 4.4 to 4.4.2 file, flashed via cwm. That went fine. It boots fine. Problem is, I don't seem to have a recovery any more. When I boot into recovery I get the red triangle thing. When trying to flash a recovery in fastboot, I get "FAILED (remote: partition table doesn't exist)". I can push vol up and do a factory wipe and start over, but that would suck. Any ideas? Thanks guys
[Nexus 5 General] ohad123454:
it doesnt work ..

[/URL][/IMG]
[Nexus 5 General] patsimeon:
In regards to my own question, I did get an OTA notification. With the precautions listed above, I went ahead and attempted to accept the update. It worked:cool: :)!!! phone is modified to my detailed liking while still being able to accept OTAs without losing root. Too awesome. I went ahead and did the same to my nexus 7 2013.
[Nexus 5 General] jd1639:
That's not good. I'd fastboot the cache.img. from 4.4 and then start over on the 4.4 to 4.4.2. You'll probably also have to flash system, boot, and a recovery image. Recovery could be cwm or the stock recovery.
[Nexus 5 General] aneesh99:
Not sure if I'm being a spaz but I can't find the original MD5 sum to compare. Do you know where I can find it?
[Nexus 5 General] jd1639:
If it's not shown from where you downloaded it from you probably aren't going to find it. Hopefully it's a good download
[Nexus 5 General] Cmora24:
Problem

I try to update my nexus 5 but in this step

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

I think the PC dont load the zip to the cellphone and the nexus it still waiting for the file so what can i do??
[Nexus 5 General] ohad123454:
dude it doesnt work ..
[Nexus 5 General] aneesh99:
I'm sure it is a good download, it's straight from Chainfire. Oh well, I'll leave it be for now. Thanks for the assist anyway! :good:
[Nexus 5 General] efrant:
Try fastboot flash system system.img.img
[Nexus 5 General] jd1639:
Ate you sure system.img is in that folder
[Nexus 5 General] ohad123454:
it worked ! whats the next command ? by the way what do i do after i finish the commands ?
[Nexus 5 General] marleyfan61:
Good call!! I didn't even think about possible renaming error. Too bad Windows doesn't automatically recognize when you are adding a .xxx to a file that alread has an extention.

Sometimes the solutions are simple.
[Nexus 5 General] ohad123454:
what is the other command bro ?
[Nexus 5 General] JukeboxJohnny:
Anyone else having problems getting any sort of service after 4.2.2? I'm on Sprint and I have no service at all.

I've tried rebooting multiple times, but I can never get a signal. What's going on?
[Nexus 5 General] El Daddy:
fastboot reboot
[Nexus 5 General] ohad123454:
but i did only the system command i need to do the boot command too , right ?
[Nexus 5 General] t0p8uzz:
The 4.4.1 > 4.4.2 Update on first page isn't right, its only 1.66MB in size once downloaded, the 4.4.1 update was 55MB

My ABD just sits at 100% file uploaded by the phone doesnt do anything
[Nexus 5 General] El Daddy:
fastboot flash boot boot.img

It is right. That is the size of the 4.4.1 to 4.4.2 OTA.

After the file uploads to your phone and says 100% it won't return anything else. You can look at your phone for the installation status.
[Nexus 5 General] t0p8uzz:
Phone just sits at "You can now begin sending the file ..." it never changes
[Nexus 5 General] ohad123454:
it worked ! thank you very much everyone !

btw i should update to 4.4.2 or its unsable yet ?
[Nexus 5 General] RodKahx:
To the OP. LOL to think this was not stickied right away. Thanks to the mod from all of this threads attendees.
[Nexus 5 General] El Daddy:
Yeah, go for it!
[Nexus 5 General] aneesh99:
Huh... Not sure what happened. I installed 4.4.2 again, then used NRT to root my phone. SuperSU installed from the temp folder it gave me. All good in the end! :victory:
[Nexus 5 General] GrandMstrBud:
Section B: Flashing in a Custom Recovery (TWRP- CWM)

1) Download the OTA.zip and copy to your phone.

2) Boot into recovery.

3) Flash the OTA just like you would a ROM.

4) Reboot.

Tried this last night several times and I get installation failed. I am on the latest CWM recovery on a stock rom that was rooted.
[Nexus 5 General] jd1639:
It's sounds like something is modified, possibly changed dpi, build.prop, etc?? You're most likely going to have to flash the stock system and boot images
[Nexus 5 General] stamos*bp:
i've tried installing the 4.4 to 4.4.2 zip after flashing system.img and boot.img via fastboot on my modified 4.4.1 phone. everything seems to go okay, but once i'm in the phone after it has flashed, i can't add any widget -- i get the infamous 'google search as stopped' message.

not sure if this is related, but here is the process i've gone through (twice now)

1. fastboot flash system.img and boot.img over my 4.4.1 phone (to bring it back to 4.4)

2. reboot into recovery

3. wipe data, cache, and dalvik

4. flash the OTA (4.4 to 4.4.2) zip

5. there are two questions that pop up -- prevent rom from installing stock recovery (i choose yes) and fix root? (i chose yes the first time and no the second).

6. boot into phone which is now on 4.4.2.

everything else seems to work fine, except for adding widgets (like dashclock).

any help would be appreciated.

thanks!
[Nexus 5 General] nexgoose:
sooo...i changed my font when i rooted my N5...you think this causes a failed install of the update?

thanx!
[Nexus 5 General] wideasleep1:
It did for me!
[Nexus 5 General] N3tMast3r:
rooted with TWRP but stock kernel and locked bootloader. will I get auto updates?

Hi guys,

I manually flashed the OTA 4.4.2 from 4.4 via custom recovery. Everything is good.

Right now I am:

- rooted (via nexus root toolkit. I rooted when i was on 4.4 and then i re-flashed superSU via custom recovery after upgrading to 4.4.2)

- with custom recovery (TWRP)

- bootloader is LOCKED (I locked it via "bootunlocker" apk).

- kernel should be the stock one: "3.4.0-gabd2201 [...]"

I was wondering if I will automatically receive the OTA update notification from google once the 4.4.3(?) will be out.

What do u think?

Plz help.

Thank you.
[Nexus 5 General] EddyOS:
That's the cause, you have to be 100% stock to apply an OTA as it looks for the original files. If ANYTHING is modified it will fail
[Nexus 5 General] nexgoose:
it's all good in da hood! went back and install stock font and flashed bigxie's 4.4.2

super easy transition...no problems encountered with either su or twrp...
[Nexus 5 General] PhilipTD:
What carrier?
[Nexus 5 General] ohad123454:
Did anyone updated to 4.4.2 ? Its good and without lags?
[Nexus 5 General] thechris03:
Great Post!

Great write up! :good: Helps a lot since I am a Nexus virgin. I haven't actually had the time to side load the update.

Funny because I haven't gotten any update at all. Still running 4.4. I'm in Miami, Fl. If I don't get it before the

weekend I will definitely be pushing the update.

Thanks! :D
[Nexus 5 General] M@cNuss:
It's weird im still on 4.4 no matter what i do i cant sideload update.
[Nexus 5 General] El Daddy:
Care to explain so we can help? :)
[Nexus 5 General] gian569:
great great great thread!!!! really thank you! anyway, i still have doubts :laugh: i'm almost completely stock, no modification by zips, stock kernel, only custom recovery (cwr) and root. but unlocking the bootloader some stock apps were gone, i noticed only wallet (useless in my country so no importance given), and maybe other, i didn't know how to check...am i in the B or C section?

by the way, i'm not going to flash 4.4.2 because of the dark camcorder, but i'll need this in the next update (really hope soon)

edit: another question: in my situation, should i receive notification of ota update or not?
[Nexus 5 General] M@cNuss:
Of course,i followed the description in the first thread,updated all the drivers but when i get to adb sideload update it says device not found.Both on my win 8,1 and on my win 7.
[Nexus 5 General] ohad123454:
Hey i Updated to 4.4.2 and now i have no root how to root again ? I have root and unlock bootloader
[Nexus 5 General] jd1639:
Do you have a custom recovery? If so flash supersu with it.

Edit, follow this guide http://xdaforums.com/showthread.php?p=47025283
[Nexus 5 General] ohad123454:
I have twrp recovery i can work by this guide but without open the bootloader ? Cuz its opened the bootloader already

http://www.youtube.com/watch?v=J1AKqrrf-5o
[Nexus 5 General] jd1639:
Just download supersu to your phone. Boot into recovery and flash it.

I did not look at the you tube video. Look at the guide I linked and follow the how to root
[Nexus 5 General] El Daddy:
Are you opening command from the same folder in which you have adb.exe?
[Nexus 5 General] ohad123454:
Thank you it worked. All i had to do is to flash the supersu zip again
[Nexus 5 General] jd1639:
Yep. Very simple, very easy
[Nexus 5 General] M@cNuss:
Yes i do,but got the OTA just 5 min ago so im good for now thanks.
[Nexus 5 General] giarob78:
hi guys there are people who still dont take the new 4.4.1 ota? im still dont have :(
[Nexus 5 General] EddyOS:
If you're still on 4.4 then you'll probably go straight to 4.4.2. Why wait and manually flash it!
[Nexus 5 General] giarob78:
in settings, update he still say to me that i have the latest version and i'm on 4.4!

---------- Post added at 06:25 PM ---------- Previous post was at 06:20 PM ----------

thank you for answer, ok now i will try like you say :good:
[Nexus 5 General] jd1639:
I'm the same, it'll roll out over time. I just manually installed 4.4.2. Just follow the op.
[Nexus 5 General] giarob78:
thank you guys, i'm just see it in the op, after download it i will install manually;)
[Nexus 5 General] ohthesepaws:
SO interestingly enough, the link for 4.4.2-KOT49H-from-4.4-KRT16M, upgraded me to 4.4.1, was that intended? I got to 4.4.2 with the second link after. I am just curious, because after reading I though the build i just listed would upgrade me straight to 4.4.2

Also, I am not 100% positive on the process of sideloading OTAs, but do they reset your root and recovery each time?
[Nexus 5 General] jd1639:
You will lose root. But I didn't lose my recovery
[Nexus 5 General] ohthesepaws:
Weird, I did both times. Obviously wasn't hard to put back on. I am just curious if I did something improperly.
[Nexus 5 General] El Daddy:
It depends if the OTA contains a new recovery. If it does it will flash it.

4.4 > 4.4.1 had one. 4.4.1 > 4.4.2 did not.
[Nexus 5 General] jd1639:
It's interesting because they both appear to patch the recovery. But I tested side loading 4.4 to 4.4.2 thru twrp and didn't lose twrp.
[Nexus 5 General] El Daddy:
Maybe your recovery stops it.

Ota's come with a script to flash stock recovery on every boot. We used to have to rename or remove the script to stop it. I haven't seen it pop up on the N5 yet so I assumed customer recoveries took care of it unless the OTA contained a recovery patch.
[Nexus 5 General] ohthesepaws:
I will have to see what happens with the next patch, I am using CWM and lost it both times side loading. Is there a cons/pros list somewhere to using CWM versus TWRP?
[Nexus 5 General] jd1639:
It's really a personal preference. One thing to keep in mind is nandroids are not compatible between them. It's easy to flash the recovery so it's probably best to use what you're comfortable with.
[Nexus 5 General] RodKahx:
Deleted
[Nexus 5 General] tragik74:
factory image 4.4.2 link is up but the image file is not available yet.
[Nexus 5 General] stuart0001:
It is now
[Nexus 5 General] PhilipTD:
After having read the various threads for hours over the past couple of days in preparation of flashing 4.4.2, the update just automatically downloaded and prompted me to install. I'm afraid to pull the trigger. I'm stock rooted. I don't think I changed anything.

Does the fact that I received the OTA mean that my system is good to go? Is there a way to check it?

Sent from my Nexus 5
[Nexus 5 General] stuart0001:
Yes otherwise it won't install.
[Nexus 5 General] PhilipTD:
Thank you. Anything else I need to do before jumping in?

EDIT: I pulled the trigger, but it was a dud. I clicked "restart and install", it restarted into the TWRP homescreen, and the file was nowhere to be found.

Sent from my Nexus 5
[Nexus 5 General] mrRobinson:
so you aren't stock, you have non-stock recovery. You'll either want to flash the stock recovery or do one of the other methods in the OP.

---------- Post added at 05:11 PM ---------- Previous post was at 05:07 PM ----------

So I have 4.4, rooted, TWRP, Xposed with Gravitybox. Everything else stock.

I modified the 4.4 zip that goes to 4.4.2 so it can be flashed with TWRP and preserve root.

All I had to do was launch Xposed, click uninstall, flash zip, launch xposed and click install again.

If anyone else want to try it here is the zip:

mrRobinson_preserveRoot.hammerhead-KOT49H-from-KRT16M.zip

Really just saves you a couple steps.

Edit: actually didn't preserve root for me, so I had to flash supersu in recovery again but I think I fixed that in this file uploaded here.
[Nexus 5 General] ohthesepaws:
http://xdaforums.com/showthread.php?t=2513701

Here is a great one to use, pretty straight forward.
[Nexus 5 General] miguecasla:
I was in the same situation, did the same and now I'm on 4.4.2 + root + unlock bl + xposed + gravitybox.
[Nexus 5 General] Pig Vomit:
Same for me, link was incomplete. Luckily, it was an easy guess.

Here's a working link for a complete factory image of KOT49H:

EDIT: Nevermind, they fixed the link now.
[Nexus 5 General] djmr420:
Im in the same boat. I am rooted and unlocked and i did it with cf auto root. I just got the OTA update notification. Will i be fine just letting it update?
[Nexus 5 General] jd1639:
If everything is stock you'll be fine. You'll have to re-root after the update
[Nexus 5 General] djmr420:
Awesome .. great thanks ;)
[Nexus 5 General] lollerskating:
I fall under scenario #2; will I lose CWM after flashing the OTA like a ROM? Will the stock recovery replace CWM?

Thanks for answering all of these questions!
[Nexus 5 General] El Daddy:
Most likely it will. I have read some reports of the custom recovery living through the flash.
[Nexus 5 General] waytec:
Yes!!

Good job!!
[Nexus 5 General] ohthesepaws:
Yes, I did to 4.4.1 and 4.4.2. It's easy to put back on though.
[Nexus 5 General] kimboinatl:
I followed the steps for special scenario #1 - worked like a charm! Thanks!
[Nexus 5 General] misbehave:
I am also under scenario #2.

I have CWM, unlocked bootloader, rooted, complete stock rom with no modification.

I've just followed Section B instruction.

I lost root and lost CWM recovery after the update.

Now I need to root and flash CWM again.

Hope this answer your question.
[Nexus 5 General] mrRobinson:
Shouldve tried the zip i posted.