yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] misbehave:
Thanks! I notice your post too late.:p

I've just rerooted it and reflashed CWM. It's all good.:D
[Nexus 5 General] ximaginex:
I'm stock with custom kernel and custom recovery. I got the update notification and like somebody else, when I tried to flash it I was just booted into TWRP. Found the original OTA for my device under /cache/ and even if I attempt to flash it, I get an error.

In order to flash this, I'm guessing I would have to follow Special Scenario #1 and flash system.img and boot.img but my questions are:

What effect will this have on my device? Will this only remove SuperSU or will I lose other settings/progress I've made on my device?

After flashing system.img and boot.img, can I still use the original OTA zip file to flash 4.4.2 after copying it from my Nexus?

That engineer that posted on reddit advised against downloading the OTA on your own because that resets something, so I'm hoping that if I still use the OTA file I already got officially then I can preserve the server identification he mentions.
[Nexus 5 General] mpgrimm2:
Request:

I'm on stock krt16m (w/Sprint), rooted, with TWRP. I received the ota update/download but forgot that I deleted the calculator.apk from system and apparently didn't back it up with TiBackup. <-doh!

Would someone be willing to post or extract the file for me since I didn't back the file up before removing it?

(I'm currently not at home/very poor speeds, ie 1x)

If not it's all good, I can pull it from a backup on my PC when I get home, then run the update.

Thanks in advance.

Sent from my Up all Night Sleep all Day Nexus 5!
[Nexus 5 General] Flatuglance:
I'm in scenario 2. When flashing from 4.4 to 4.4.2, do I need to wipe everything including my userdata?
[Nexus 5 General] cd69:
Hiya, I have a similar setup barring I am on 4.4.1. Anyway you could help me modify the 4.4.1 zip to go staright to 4.4.2 like you did. I would love to avoid flashing stock and then flashing to 4.4.2 if possible. Not a big deal I know, but hey why not cut a few steps ;)

If its too much work for you, no worries. It doesnt harm to ask...

Cheers anyway :)
[Nexus 5 General] blankoi:
My phone now is 4.4.1 rooted with Franco kernel r19. How do I update from 4.4.1 when there are no factory images for kot49e. Or are they providing the factory images for kot49e? Don't wanna go back to 4.4 because my data will be erased.
[Nexus 5 General] EddyOS:
Just use the KOT49H factory image, or flash the KOT49E>KOT49H yourself after setting the phone back to stock
[Nexus 5 General] jd1639:
Read the OP. Flash the system and boot images from 4.4. Then flash the appropriate zip 4.4.2 from 4.4
[Nexus 5 General] tobyax:
sorry guys... I need help...My nexus now is 4.4 rooted with Franco kernel r19... I try to install the ota zip in the first page in twrp but I get an error on TWRP

" /system/bin/thermal-engine-hh" has unexpected

E: Error execiting updater binary in zip /sdcard

Error flashing zip .....

help please

sorry for my bad bad english....
[Nexus 5 General] jd1639:
Did you fastboot flash the system and boot images from 4.4?
[Nexus 5 General] ohthesepaws:
Did you even read the OP? You basically fall under the third scenario, the instructions clearly state that you must at least stock ROM.

As far as settings yes you will lose them, SU gone, I would recommend getting a back up of your apps just in case.

The reddit post was basically talking about your app store guid, which if you reset, your apps will more than likely get an error because they do not recognize the parent.

I wasn't trying to sound like an ass, but please try to read the full OP next time. It doesn't hurt to read other users posts either ;)

---------- Post added at 03:04 PM ---------- Previous post was at 03:00 PM ----------

You need to go back to stock ROM and kernel, then try again.

OP says you fall under C or special number #1
[Nexus 5 General] mrRobinson:
Not work, simple zip edit and save.

mrRobinson_preserveRoot.hammerhead-KOT49H-from-KOT49E.zip

This *should* preserve root, and not touch your non-stock recovery. But it will need all other system files to be stock so if you have xposed just click uninstall first so it puts app_process back then after this launch xposed and click install again.
[Nexus 5 General] tobyax:
i have the stock system...

I need to follow this guide?
[Nexus 5 General] jd1639:
Yes, this should work
[Nexus 5 General] tobyax:
if I follow that guide I would lose all the data?
[Nexus 5 General] jd1639:
No you will not as long as your bootloader is already unlocked.
[Nexus 5 General] tobyax:
yes my bootloader is unlocked... thanks
[Nexus 5 General] ohthesepaws:
The one you linked to WILL erase your data. If you are stock like you say you are, you want scenario A. Special scenario 1 is for people who have mods and custom kernels. The scenario returns them to stock then performs the upgrade.

I can't tell if the guys who told you it would work are trolling or haven't read the OP...
[Nexus 5 General] 2 Be:
just in case, because I was looking for my setup in this thread and didn't find it:

just ran cf-auto-root on stock without major modifications afterwards, just iptables and hosts changed for firewall & adblock as well as busybox for some shell fun --> updated without problems though OTA.

As described run cf-auto-root again and reinstall SuperSU then you're good to go.

Thanks OP & Community!
[Nexus 5 General] dev87:
734262982

I'm on stock ROM with root (haven't installed any updates so far). What is the best route to update to 4.4.2 and preserve root ? Also, do I need to make a recovery of my apps before applying this update ? I'm running on ART atm, if that makes any difference.
[Nexus 5 General] wideasleep1:
I think preserving root through superuser premium is the only way so far. Otherwise simply re root after the update. And yes I would back up.
[Nexus 5 General] saugatdb:
Hi, just a small question. Is there is any one who is completely on stock (not even rooted or any other change) & still didin't received the OTA for 4.4.2?
[Nexus 5 General] dev87:
Thank you, can I simply install the update via OTA update on my phone ? and re-root thereafter? Do you use Titanium for backup ? I have never given much thought to backup apps until now. Any recommendations ?
[Nexus 5 General] wideasleep1:
I just use TWRP to back up...but yeah if your /system is clean and using default font you're golden. You can either flash su or use a toolkit to quickly reroot and update your recovery at the same time. Mine was a few versions behind.
[Nexus 5 General] styago:
Strange, I have just received an official OTA message feim Google to upgrade to 4.4.2. I downloaded and followed the steps and it rebooted, tried to flash the OTA and it was aborted. So now what? I thought I would not get the OTA if it wasn't completely stock? I can't flash the images of 4.4.2 directly in recovery and I thought I might have still a mod running which I don't remember anymore. What do I do now? Flash via fastboot and that's it? Do I not pay attention to the OTA message? Weird.

---------- Post added at 09:28 PM ---------- Previous post was at 09:27 PM ----------

Strange, I have just received an official OTA message feim Google to upgrade to 4.4.2. I downloaded and followed the steps and it rebooted, tried to flash the OTA and it was aborted. So now what? I thought I would not get the OTA if it wasn't completely stock? I can't flash the images of 4.4.2 directly in recovery and I thought I might have still a mod running which I don't remember anymore. What do I do now? Flash via fastboot and that's it? Do I not pay attention to the OTA message? Weird.
[Nexus 5 General] jd1639:
You can get the ota of you're not completely stock, it just won't install which appears happened to you. You'll have to fastboot flash the system and boot image from 4.4. After you do that you can sideload the update zip. See the op.
[Nexus 5 General] raph22:
I'm having a problem updating my phone to 4.4.2. Command prompt recognizes my device, and I can get to side loading. The problem is when the update reaches 100% it says E: footer is wrong and E: signature verification failed. My phone is stock, locked, and non-rooted. The only thing I can think might have changed anything is the percent enabler app which I used but I returned the phone back to no percent and deleted that app.

Btw, I did not receive the 4.4.1 or 4.4.2 updates which is why I'm trying to update this way.
[Nexus 5 General] styago:
Thanx and I thought so. A pity. One question though. I tried the OT method but I tried to unzip the image and I never got to the shown folder content. I always get just a image unzipped. No boot. Img, system.img, etc. Strange. Any idea?
[Nexus 5 General] jd1639:
Use z-zip to unzip it. Inside that is another zip file which needs to be unzipped. In there you'll find the system and boot images
[Nexus 5 General] styago:
One last question : is it possible to fastboot the official 4.4.2 image you can get from Google instead of first to 4.4 and then to 4.4.2 via OT?
[Nexus 5 General] mokee92:
?

Which update should I flash for build KOT49E?
[Nexus 5 General] jd1639:
Yes you can, but you'll lose your data so make sure you everything up.

---------- Post added at 03:15 PM ---------- Previous post was at 03:13 PM ----------

What version are you currently on, 4.4 or 4.4.1?
[Nexus 5 General] mokee92:
4.4.1. sorry...
[Nexus 5 General] ohthesepaws:
You are at 4.4.1, grab the 4.4.2 update

---------- Post added at 09:55 PM ---------- Previous post was at 09:53 PM ----------

I tried the update via this thread originally to go from 4.4 to go to 4.4.2, and it only bumped me up to 4.4.1. So then I just did the other one just as easily.
[Nexus 5 General] efrant:
No it will NOT.
[Nexus 5 General] pbenoit:
Hi,

I've done this tuto, but at 16) TWRP tells: "unable to mount /system" then don't update ota.zip.

Then i've to wipe system then go back to 9)

then all well worked

I when from 4.4 to 4.4.2

For easyer dos prompting, i reccomand to have adb folder to be shortest as possible (C:\platform-tools for me)

With this list, you allways have TWRP that allows you to recovery if needed. Then it's very safe...

Hoping that can help.
[Nexus 5 General] sylar12:
Hi,

I just received the notification update a few hours ago. I'm rooted but with stock recovery (this is not one of the scenario listed in the first thread).

I have launched the update, but I get an "error" during the update process... I have indeed modified build.prop to change DPI, I guess this is the reason why the OTA won't apply (and I have "survival mode" checked in supersu app).

So, the question is: how can I update to 4.4.2? I am eventually ready to reset my phone, but will a factory reset be sufficient to recover a completely official system which whill allow an update to 4.4.2? Or should I flash an official 4.4.2 image?

Thanks for your any advice!
[Nexus 5 General] El Daddy:
A factory reset will not rebuild the /system partition.

You have a couple options:

1. Replace the build.prop and sideload the OTA

2. If you're on 4.4 you can flash the system.img then sideload the OTA.

3. Flash the 4.4.2 full image except userdata.img to retain your data.
[Nexus 5 General] sylar12:
OK, thanks.

So you think that restoring the original build.prop should be sufficient to sideload the OTA? If yes, I will try this solution first.
[Nexus 5 General] El Daddy:
If that's the only modified file in /system, then yes.
[Nexus 5 General] sylar12:
Well, I though I had a backup of build.prop (from the ROM toolbox app), but restoring it does not change DPI ... Hopefully, I only modified the ro.sf.lcd_density value. If I put back here the original value (480 I think), is this analog to a full restore of the original file? I hope so...
[Nexus 5 General] wong93:
yo guys, I updated manually using the method at Section A, will I be able to get future updates OTA or I need to flash it manually forever since i updated manually this time
[Nexus 5 General] Holy88:
Hi all,

Nexus 5

4.4

CWM + Root

Stock

I can't install the 4.4.2 update, same with cwm or tw something like (Error 7) .. Any help :/?
[Nexus 5 General] sylar12:
Juste in case someone is in the same situation ("original" OTA fails, nexus rooted, with stock recovery, and changes in build.prop only) :

- set DPI back to 480 (I guess it should be ok for other settings in build.prop), and activate SuperSU survival mode,

- download the OTA (see first post), reboot to recovery, and apply update thanks to adb sideload.

At the end, the update is applied perfectly, and my phone is still rooted (so I am able to reduce DPI again ;) )
[Nexus 5 General] El Daddy:
Of course you'll get future updates.
[Nexus 5 General] Reginald Dyson:
Thank you very much for this info
[Nexus 5 General] jelle2503:
If ota fails in recovery, just download 4.4.2 factory image and edit flashall.bat. remove -w to keep your data.

After that i fastboot latest twrp and used that to adb sideload supersu.

Verstuurd vanaf mijn Nexus 5 met Tapatalk 4
[Nexus 5 General] CDB-Man:
Regarding Modded Camera App by Jishnu Sur™

[MENTION=962867]El Daddy[/MENTION]:

There's 1 specific case that I'd like to point out, where users may have a modification, but do not need a full "return to stock".

I ran into this, and almost did your Scenario 3 Section C, before realizing this was the issue. I'm sure other people have ran into this, as the custom camera app below was a popular fix while people were waiting on Google for an official fix!

Anyways...:

If anyone has installed the modded Camera app by [MENTION=4972367]Jishnu Sur™[/MENTION] (here: http://xdaforums.com/showthread.php?t=2516061 ), the OTA update from 4.4 -> 4.4.1 or 4.4.2 will fail when attempted to install .zip from sdcard in custom recovery (cwm, twrp, etc), as the modded camera app does not pass the verification step when the OTA update looks for the stock camera app.

In this case, anyone with Jishnu's modded camera app should download and flash back the stock 4.4. camera app, which is included in his post in the linked thread. After flashing to stock 4.4 camera, the OTA update should work as normal!

Hope this helps!
[Nexus 5 General] El Daddy:
That falls under Section C; Option 2. "Replace stock .apk's you removed or modified." Essentially, that's what you are doing.

Regardless of what you do to modify your phone, everything has to be back to stock in /system for the OTA to complete.

I appreciate the thought and a link to the camera app. It will be helpful to others.
[Nexus 5 General] shahidhussain:
My wife's Nexus 5 received 4.4.2 OTA update twice but every time I proceed with update it goes reboots and does all the usual stuff but then when it finishes it is back to 4.4, no change. It is strange. Any ideas?
[Nexus 5 General] jd1639:
Have you made any modifications on the phone? Changed build.prop, deleted system apps, xposed framework etc.
[Nexus 5 General] shahidhussain:
No. It is completely stock. No alteration or modifications. It is locked and unrooted as received by Google.
[Nexus 5 General] androidbence:
Very nice
[Nexus 5 General] Brendo:
Such a useful thread :) OTA failed to install, so I checked this thread for a couple mods I thought may be affecting it and found my answer

Stock | Root | TWRP

Had to restore stock camera app

Had to uninstall xposed

Everything works after that :D

(Lost root, but simple to fix)
[Nexus 5 General] tarroyo:
Just rooted my N5 on 4.4, 2 questions were there any bootloader and radio changes from 4.4.1 to 4.4.2? and where can I find the bootloader and radio img files???
[Nexus 5 General] EddyOS:
1. No changes

2. Can get them from the factory image that Google has kindly provided :)
[Nexus 5 General] tarroyo:
I know I can get them from the factory image, what folders am I supposed to be looking in is what I meant.
[Nexus 5 General] jd1639:
Just extract the factory image with 7-zip and you'll see the bootloader and radio images in there.
[Nexus 5 General] ImDaiLow:
My device stays at 4.4 after I followed section B and flash 4.4.2. What is the problem here?
[Nexus 5 General] El Daddy:
Were there any errors?
[Nexus 5 General] ImDaiLow:
Nope. First, I got an update from the phone, soo I clicked install+restart,,,it boots into custom recovery. No update. From then on, I checked my system update, it says I am up to date even though I am on 4.4. I decided to flash it with TWRP; very thing successful (flash just like other ROM right?). I am still on 4.4 :rolleyes:
[Nexus 5 General] azr6:
So I have rooted and recovery installed but stock rom and am trying to update the OTA through Recovery. I get this error:

"/system/app/Videos.apk has unexpected content

E:Error executing update binary zip in '/sdcard

Then it says it had an error flashing my OTA and fails. Anyone know what would cause this? I don't have any mods flashed over and just uninstalled some apps I didn't use otherwise it's all stock.
[Nexus 5 General] jd1639:
Some of the apps you deleted is causing the problem. You're going to have to fastboot flash the system and boot image from 4.4 factory image
[Nexus 5 General] azr6:
Which file would the videos.apk be? Or can I just flash a custom rom with 4.4.2 already in it and call it a day?
[Nexus 5 General] husamco1990:
Hello guys

Just wanna ask if I unlocked my boot loader without root or anything does my phone still receives ota from google
[Nexus 5 General] aavvaallooss:
Yes. But why do you want to ONLY unlock bootloader if you don't want to root it or anything else?
[Nexus 5 General] husamco1990:
Well I'm not planning to root my phone now but I will later

So I thought I unlocked the phone now before installing apps
[Nexus 5 General] aavvaallooss:
Good idea
[Nexus 5 General] efrant:
It's almost always a good idea to unlock your bootloader, even if you never plan on using a custom ROM or root. It will save you headaches later if something messes up.
[Nexus 5 General] mgear2:
Alright, my mind isn't working right now and I'm confusing myself.

I somehow broke my video recording by flashing one of those higher bitrate camera things in the development area (I can't post there due to my small amount of posts).

I've flashed back to the stock app but I still can't record video. I press the record button and nothing happens. I look in the DCIM area and it just has a bunch of TMP files from when I click record.

Will flashing an OTA (I'm already on 4.4.2) possibly fix this?

I am rooted.
[Nexus 5 General] El Daddy:
Flashing the OTA won't help you. Flashing the 4.4.2 system.IMG may though.
[Nexus 5 General] mgear2:
Alright, thanks, I'll try that.

Will this wipe my data? I'm new to the Nexus phones (My last phone was a Thunderbolt).
[Nexus 5 General] El Daddy:
No it won't.

Download the factory image here: https://developers.google.com/android/nexus/images#hammerhead

Extract the .tgz down until you see the images.

Boot in the bootloader and flash only the system image.

Command is: fastboot flash system system.img
[Nexus 5 General] mgear2:
Alrighty, I've done all that you mentioned.

I still can't record video. It snaps pictures fine but the record button doesn't even respond.

When I try to record from a camera app from the market, it says "Cannot connect to the camera".
[Nexus 5 General] efrant:
Try flashing all the images except the userdata image.
[Nexus 5 General] mgear2:
I'm not too experienced with ADB so would it be like:

fastboot flash boot boot.img and cache cache.img?

Or would I do system boot.img?
[Nexus 5 General] erpman:
Can I install the OTA update that downloaded to my phone?

I am scenario 2 listed in the OP. In my drop down notifications,it tells me , "System Update downloaded touch to install." Can I just install this downloaded update? Does the custom recovery mean that I can't install it this way?do I have to down load the zip to my computer, move it to my phone, and then flash it with TWRP?

Side question, why does everyone seem to download zip files to the computer and then move them over to the phone? Why not download files to your phone with an app like Download All Files?

Thanks a bunch. I've been staring at update notification wondering if it's OK to install and if I can should I considering complaints of faster battery drains with the update.
[Nexus 5 General] jd1639:
You would do.

fastboot flash boot boot.img

fastboot flash cache cache.img

I think boot is bootloader something
[Nexus 5 General] mgear2:
Alright, thanks.

I'll try this once I get home and report back.

If I can't get it to work, I'm just going to flash a custom rom and see if that fixes it.
[Nexus 5 General] jd1639:
If you're scenario #2 you can just let it update. You will lose root and the custom recovery. You'll have to add those back after the update.
[Nexus 5 General] mgear2:
I don't know which one it was, but one of the img files fixed it.

Thanks guys!
[Nexus 5 General] erpman:
Thanks. I' ll do that
[Nexus 5 General] Burrid:
Sorry, haven't read this thread completely but, why is there no 4.4.1? I have to go from 4.4 directly to 4.4.2?
[Nexus 5 General] jd1639:
Why would you want to go to 4.4.1? But to answer your question, yes you'll go direct from 4.4 to 4.4.2
[Nexus 5 General] Burrid:
Because I might miss the updates from 4.4.1 if I go directly to 4.4.2? Or doesn't it work that way?
[Nexus 5 General] jd1639:
What updates? 4.4.2 has all the updates of 4.4.1 plus some more
[Nexus 5 General] UnknownzD:
4.4.1 has contained a denial-of-service (DOS) bug vulnerability within the SMS system. Therefore, it is recommended that you should skip the 4.4.1 update and directly goes to the 4,4.2 update.
[Nexus 5 General] ldubs:
Whoa hang on this is not 100% true, 4.4 had this vulnerability...

sent from my hammerhead
[Nexus 5 General] Burrid:
Well I've tried flashing 4.4.2, but I always get an error.

With TWRP I get:

Checking for MD5 file...

Skipping MD5 check: no MD5 file found.

Verifying current system...

"/system/build.prop" has unexpected contents.

E: Error executing updater bineray in zip '/sdcar

Error flashing zip '/sdcard/b3d1f30762c7ba86c71

Updating partition details...

FAILED

And with CM I get a status 7 error.

E:Error in /data/media/0/b3d1f30762c7ba86c7a00e93a700e58b9977c41.signed-hammerhead-KOT49H-from-KRT16M.b3d1f307.zip

I don't believe I ever modified the stock 4.4.
[Nexus 5 General] jd1639:
Are you trying to flash the 4.4.2 factory image with twrp? Because of you are it isn't going to work. Also looks like your build.prop was edited, can in which case the update isn't going to work
[Nexus 5 General] eatabagel:
In preparation for 4.4.1... I know this might be getting repetitive but I'm still getting conflicting information.

But the OP says for Scenario 2: "You are stock, with root. Custom Recovery without any modifications or deletions."

Currently, I'm stock, rooted, and with TWRP. The only modification I made was the T-Mobile Wifi Tethering mod seen here: http://xdaforums.com/showpost.php?p=47203432&postcount=70 where I added one line to /data/data/com.android.providers.settings/databases/settings.db

This means I won't get the OTA, I can't sideload, and I have to do the things listed for scenario 3?

EDIT:

Nevermind, I downloaded the update, installed through TWRP. It seems to have worked. Thank you.
[Nexus 5 General] flintdragon:
if I'm rooted but using stock recovery, can I just adb sideload it?
[Nexus 5 General] El Daddy:
OP updated! Thanks to those who posted the link. I have given you credit in the OP! :)
[Nexus 5 General] efan3719:
should be able to if nothing on the system is modified and you have stock kernel and such. you may need to reroot afterwards.
[Nexus 5 General] theoblackhawk:
Sorry if it was already answered but...

I have everything stock, root and TWRP but also I disabled some system apps.

Do I have to enable those apps again in order to get the OTA updates?

Thanks
[Nexus 5 General] El Daddy:
Disabled apps won't effect the OTA.
[Nexus 5 General] Dreadsteel:
Once updated to 4.4.1 and he has to reroot, won't that wipe his user data?
[Nexus 5 General] efan3719:
nope. rooting doesnt do anything to data. when you go from completely stock and unlock the bootloader to install a custom recovery in order to flash root, that deletes user data. but those steps wont be necessary to reroot. he'll just need to flash custom recovery image, and then flash supersu.