yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] hyde60:
I got this error...

"/system/bin/app_process" has unexpected contents.

E:Error in /data/media/0/Download/signed-hammerhead-KTU84M-from-KOT49H.d173d546.zip

(Status 7)

Instalation aborted

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 General] jd1639:
You have modified or missing system files.
[Nexus 5 General] hyde60:
The thing now is how do i restore it...?

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 General] aavvaallooss:
Reading the OP maybe?
[Nexus 5 General] hyde60:
What's the OP? Sorry i'm such a noob hahaha

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 General] aavvaallooss:
Wipe Dalvik/cache after installing SuperSU 1.99r4 from TWRP
[Nexus 5 General] Frankie73:
The "Opening Post" = the first post in this thread.
[Nexus 5 General] hyde60:
I did, i think i might be flashing stock again

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 General] deusfaux:
My scenario is not listed in the main instructions.

Unlocked. Rooted. Stock recovery.

Even if I follow directions from #2, it refers to flashing a ROM which I've never done either.

More clarification could be used.
[Nexus 5 General] jd1639:
You don't need to do anything but take the ota. You will lose root. Not sure how you rooted it before, but I'd boot into a custom recovery and flash super su.
[Nexus 5 General] deusfaux:
I booted into CWM, I didn't install it. Which is another thing that annoyed me on the Nexus 5 sticky compared to the previous Nexus model sticky threads. Replacing the stock recovery is not necessary.

Anyways, you're saying the OTA will simply work, without any effort from me? That's generally what I expected, but out of all the OTAs I've had over the years, I remember one or two recent ones where because I had root, it futzed with the phone a bit and I had to re-do a clean install for things to work right.

ie, I wasn't sure if maybe I should un-root before the OTA. Also I assume root is working on 4.4.3?
[Nexus 5 General] jd1639:
Yes, you can root 4.4.3
[Nexus 5 General] dawgz:
Just flash the KTU84M image?

Hello,

So can I just wipe my phone, and flash the KTU84M image from this link https://developers.google.com/android/nexus/images#hammerhead?

This is the same as taking an OTA from KOT49H right? Same updated modem, and other components??

Thanks!
[Nexus 5 General] jd1639:
You don't need to wipe. You need to flash that in fastboot
[Nexus 5 General] Quickfire:
I'm on TWRP, stock ROM, with Xposed Framework, and I've flashed a custom font package. What section do I fall under?

By the way, I'm really quite new to all this. Do I have to update TWRP to the latest version too? How do I do that?

I also want to keep all my files, apps and settings. Will NANDroid backup do that?

Thanks.
[Nexus 5 General] jacknicholson:
You are Scenario #5, although you should be able to easily upgrade yourself to a cozy Scenario #3 spot by restoring the stock fonts.

A nandroid will backup your apps and settings, but not the contents of your internal storage. You don't have to update TWRP, and shouldn't lose any data as long as you don't flash userdata.img and stick to the guides. (That said, I'd advise against restoring your old data partitions after the update, although it'll of course still be handy to have one in the event something goes amuck.)
[Nexus 5 General] Quickfire:
This is going to sound very dumb, but in step 1, when it says download factory image, do I download the image for my current system (4.4.2) or the one I'm going to install (4.4.3)?

---------- Post added at 03:30 PM ---------- Previous post was at 03:23 PM ----------

Thanks for the help. I actually got the stock fonts from that thread, but realized they weren't really stock. Once I flashed them, the icon font wasn't Roboto, which is what stock should have been.

If I'm scenario 5, I can skip D1 and go straight to D2 yeah? I'm asking because D1 specifically says that all data will be wiped, and I don't want that.

And when it says flash boot.img and system.img, does it mean the .img for my current system (4.4.2) or the one I'm intending to install (4.4.3). This is probably a really dumb question so sorry!
[Nexus 5 General] jacknicholson:
I don't believe D1 makes any mention of losing your data. At any rate, you can jump to D2, provided you haven't flashed a custom kernel (which means you won't have to flash boot.img, as well). You won't lose any data by simply flashing system.img, and you'll want to flash the 4.4.2 image to revert your modifications, before updating.
[Nexus 5 General] Quickfire:
Well D1 links to another thread and that thread warns that all data will be wiped.

Anyway just to see if I got things right.

1. I have Xposed installed. To install 4.4.3 I will have to uninstall Xposed.

2. I have custom fonts flashed. If I can't locate the stock fonts I will have to flash system.img.

3. Once I have done 1 and 2 I can load the 4.4.3 OTA file and install it and everything should be ok.

So flashing either boot.img or system.img will not wipe any data?
[Nexus 5 General] Zjwiewafjuh:
So sorry! I missed that one...

Great post. Can I flash it the same way as an update?

adb sideload yourzipname.zip ?

Thank you!
[Nexus 5 General] Cocktopus:
Hello. I'm on stock rom with root and custom recovery. Yesterday I received a notification for system update. Should I allow the ota to install??

I'm asking because with my previous device stock recovery was necessary for ota.
[Nexus 5 General] Haul:
You will probably just end up booted into your custom recovery and then you'll just be staring at your recovery wcreen andnothing will happen. No harm will be done, but the OTA won't be applied either. You can either flash stock recovery to apply the OTA or you can manually adb sideload it.
[Nexus 5 General] aavvaallooss:
Don't unninstall anything. Just flash system and boot. Then flash the OTA and SuperSU. Reboot and reinstall Xposed
[Nexus 5 General] Quickfire:
Done. Thanks very much for the help guys.
[Nexus 5 General] Cocktopus:
Can give me a link to the stock recovery. I couldn't locate it.
[Nexus 5 General] jd1639:
Google nexus 5 factory image. It's in there
[Nexus 5 General] Cocktopus:
Just confirming...

So what I do is extract the recovery.img from the factory image and flash it via fastboot and I'll be OK to update through ota? I have stock rom with root and custom recovery.
[Nexus 5 General] jd1639:
It should, unless you messed with any system files. In that case flash system.img too.
[Nexus 5 General] paulprog:
to get stock files, download factory image from here, extract system.img, and then extract it as shown in the following tutorial here.

:cool:
[Nexus 5 General] computerfox79:
windows will not recognized nexus 5 during adb sideload screen.

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 and type the command: 'adb reboot recovery'

4) When in recovery, you’ll see an android laying down. 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.

I got all the way to number 4. When I am on the recovery screen my windows 7 64bit cant recognized my nexus. The windows 7 will be able to recognized my phone under normal operation. Some how when it at step 5. It is not visible to the windows any more. Does anyone have any idea how to fix it?

Thanks ahead.
[Nexus 5 General] El Daddy:
Adb won't work until you select "apply update from adb" If the command 'adb reboot recovery' worked in android, adb should work there as well.
[Nexus 5 General] computerfox79:
help

when I am at the recovery mode on nexus 5. Some how windows can not see nexus phone. I tried adb devices to check. It come back as empty. What else can I do to fix it? Thanks ahead
[Nexus 5 General] El Daddy:
You are typing 'adb devices' after you select 'apply update from adb' on your phone, correct?
[Nexus 5 General] tonypanduru:
I have the same issue got all the way up to step 4 "apply update from adb" but when i go back to adb and enter "adb sideload update.zip"

the error appears that there is no device.

Crazy thing is that I installed the Google USB Driver because before I couldn't get the device to enter recovery trough adb so I checked device manager and saw that the device driver has reverted back to unknown devices after reboot in recovery.

I tried re-installing the driver but it wont work anymore.

Is there another usb driver for recovery needed?
[Nexus 5 General] LMSilva69:
I didn't receive the OTA yet. Is this normal? In the last update (4.4.2) it took two days to take him. This time, i dont receive any nothification about found the update...
[Nexus 5 General] ConorCX:
Same problem here. Adb works in normal, so adb reboot recovery works fine, then when you actually get in to recovery adb doesn't pick up the device (adb devices returns nothing).

I'm guessing dodgy driver install. Will keep trying later.

Sent from my Nexus 5
[Nexus 5 General] MrKaon:
Your problem is devise is not recognizing by PC in adb mode.

[YOUTUBE]maLWScgXflk[/YOUTUBE]

---------- Post added at 11:04 AM ---------- Previous post was at 10:25 AM ----------

Once you are in recovery go to you Device Manager in your computer and you will find unrecognized device AOSP-Hammerhead

right click on it choose update driver software, then Browse my computer for software driver, then Let me pick from list of devices then choose Android Devices.
[Nexus 5 General] ConorCX:
So, I ended up getting it working. I used a path somewhat similar to yours. I had already been on the Android SDK to install the Google USB driver. Here's what I did to fix adb not able to find device while device is in recovery:

Plug Nexus 5 in to PC, run adb reboot recovery to boot in to recovery, volume up, select option to apply update from adb.

Go to Device Manager. Right click on Nexus 5, click Uninstall.

After that's done, in Device Manager use 'Action' > 'Scan for Hardware Changes'. The N5 should pop back up again.

Right click on the Nexus 5, click 'Update Driver Software'.

Click 'Browse my computer for driver software'.

Click 'Let me pick from a list of device drivers on my computer'.

In the lists, browse to manufacturer 'Google' and select 'Android ADB Interface'.

Windows will give you a warning regarding system or device stability. Click on Install/Ok.

While your Nexus 5 is still in recovery, try and go over to a command prompt and use adb devices.

If your Nexus 5 is there, you can now proceed to use the adb sideload command as per the OP.

This is how I ended up getting the adb drivers installed on Windows 8.1 while in recovery. I hope it helps.

[MENTION=4992654]tonypanduru[/MENTION] try this.
[Nexus 5 General] Cminus7:
Are the radios for d820 and 821 the same? I cant seem to find any zip file for the d821 radio.
[Nexus 5 General] jacknicholson:
They're the same.
[Nexus 5 General] Frankie73:
Folks, is it possible that I won't get the OTA because I'm in austria and the N5 isn't officially sold in austria?
[Nexus 5 General] MrKaon:
No that wouldn't make any problem.
[Nexus 5 General] sucro:
Don't warry ;), i live in country too where N5 not sold officially, and i upgraded to 4.4.3 update ;), so feel free to update it, and enjoy bug-fixes release :). N5 can be used worldwide, and no problems, not locked. I purchased mine in USA, but i'm in Europe :), and it's unlocked, there can be only problem about USA model using in EU, for LTE, if different frequencies in some of european countries.

Just check which scenario is appropriate for your phone, and follow OP, in my case was Scenario 1 - Section A, and everything worked well, thanks to El Daddy great instructions!

I had only one problem with irittating notification for new update, even i updated 4.4.3 by ADB, but i solved it by myself, killing that service 2-3x and restarting phone after killing backround service, it stoped with notifications :).
[Nexus 5 General] yes.comment:
Hello guys!

Is it possible that I didn't got the update since the release??? I am on full stock, no root (at least I think it's full stock, because I bought it second hand...)

Edit: living in Hungary
[Nexus 5 General] georgios73:
Anyone living in Cyprus got the ota yet? Still waiting here

Sent from my Nexus 5
[Nexus 5 General] Spitspit:
It's notre a localisation problem... Just wait...like me ;')

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 General] wormbaby11:
I'm getting an error flashing via custom recovery, I'm getting an error on googlecamera.odex. I did flash a mod camera months ago, and I thought I reverted back to stock. Well apparently not. I even try to reflash the stock camera apk, and it's still not working. Any help would be appreciated. Thanks.
[Nexus 5 General] Foxxy74:
Issues with corrupt zip file?

Is anyone having issues with the downloaded OTA zip file mentioned in post 1 being corrupt?

I have downloaded it 3 times and cannot install it. Cannot open it with winzip, 7zip, windows commpressed folder tool. MD5 checksums also do not match?

Currently in South Africa so wondering if it is just an issue with the slow internet speeds.

Cheers
[Nexus 5 General] ConorCX:
Downloaded it one or two days ago. Worked and sideloaded fine for me mate.

Sent from my Nexus 5
[Nexus 5 General] yes.comment:
well thank you, i will try to be patient... :D

but you know its a bit diapointing that Google "makes" you buy their devices to get the updates at once and still not geting them... :S
[Nexus 5 General] Dr0idgroove:
I rooted my Nexus 5 with CF-autoroot, stock recovery, Super SU (moved to /system but could undo this right?), only modification is patched hosts file via AdAway. What scenario should I follow?
[Nexus 5 General] gs111:
Just a quick reply with my experience...

- Started with Nexus 5, 4.4.2. Rooted with CF-Autoroot.

- OTA would not install directly because I had deleted some unneeded system apps

- I messed around a bit trying to put back the apps I had deleted. Gave up, too annoying.

- backed up all with Titanium backup

- downloaded full stock 4.4.3 image. Wiped and flashed device

- restored apps

- reconfigured what was required

Lesson learned. Don't mess with the system apps unless you REALLY need to. I prefer to have root, but will run the ROM as close to stock as I can for now.... especially with 4.5 on the horizon. I don't mind wiping and re-installing, but I'd prefer to not do it for awhile!

Note: all the tools mentioned in this and other posts work great. No issues...
[Nexus 5 General] mundane24:
thank you very much crazycaveman! your zip file fixed my 'debuggerd unexpected contents' fail problem.

fwiw, mine was stock rooted w/ twrp. OTA wouldn't go through. used crazycaveman's zip and it 'fixed the contents' and i was able to flash OTA zip. i then just rerooted + install custom recovery (twrp) using wugsfresh nexus root toolkit. now im updated to 4.4.3 with no data loss/wipe. :)
[Nexus 5 General] crazycaveman:
[MENTION=5883479]Zjwiewafjuh[/MENTION] Sorry I didn't respond sooner, but yes, that will work. In fact, any zip you can flash through recovery can be flashed with an adb sideload.

You can flash the zip file I posted earlier to fix any missing/changed system files back to stock KOT49H

Glad it helped!
[Nexus 5 General] deziking:
I received the update it installed and reboot but said Error! I'm on 4.4.2 rooted but no cwm. What do I need to do install? Thanks
[Nexus 5 General] jd1639:
You probably have some modified system files. See the post right above yours by crazycaveman. His zip can probably help
[Nexus 5 General] Mindspin_311:
My phone just received the OTA notification.

But, since Im unlocked, rooted with TWRP and have Xposed installed, I need to use Method C, correct?
[Nexus 5 General] Mindspin_311:
Thanks!

---------- Post added at 05:35 PM ---------- Previous post was at 04:46 PM ----------

Where does the OTA download to? Since Im updating via TWRP, Id like to get that 92mb back on my "sdcard" and delete it.
[Nexus 5 General] jj14:
- B -

Why are you trying to open it? Once you verify the MD5, just flash it as it is (don't unzip). if MD5 doesn't match, it is a bad download. Retry
[Nexus 5 General] crazycaveman:
It should be in /cache
[Nexus 5 General] ShoeVan:
Hi there, I'm getting an error for:

"EMMC: /dev/block/platform/msm_sdcc. 1/by-name/boot:8835072:21095d6f3675a00248692ada237aa3bf11659588:8908800: a3bd726fbabaa1dbc2a31e8baf6cb44508177d43" has unexpected contents

Then i get an error executing updater binary in the zip file, then an error flashing zip. Ive used the zip file that checks system and that gives me the same error as well. I have no idea what its referring to. I've uninstalled xposed using the uninstall framework thing, gone back to stock kernel and uninstalled root, and still getting the same error. Anyone have any idea?
[Nexus 5 General] crazycaveman:
That is the boot partition, where the kernel is stored. You'll need to flash the 4.4.2 stock kernel and then you'll be able to flash the OTA. Follow section D1
[Nexus 5 General] biosfear:
Me too /system/bin/app_process" has unexpected contents

E:Error in /tmp/update.zip (status 7)
[Nexus 5 General] nsxla:
Does that involve removing of languages within the stock keyboard? And removing google play books?
[Nexus 5 General] Axis_Drummer:
Instructions worked like a charm! Thanks :)

Was able to regain root by simply flashing the SuperSU-v1.80.zip after flashing the update. Also kept custom recovery. :thumbup:
[Nexus 5 General] Nvious1:
Sorry if this is a repeat request as I didn't make it through all the threads, but could the OP add some info about re-acquiring root after the OTA if you had it previously. I think some users might find that helpful.
[Nexus 5 General] gogol:
Anyone can help my problem?

Running build KRT16M:

- Stock ROM

- Rooted

- Franco Kernel

I restored the kernel and back to stock-kernel.

adb sideload gave me "status 7" error on /system/bin/thermal_engine_hh

I don't modify anything except the kernel, which I restored using the franco kernel updater app.

Thanks.
[Nexus 5 General] Dodolom:
I am pretty sure I am under scenario 2, stock, rooted, no modification except for Xposed framework and getting the following error when I go with section 2.

Any suggestions?
[Nexus 5 General] zallaaa:
So, I am completely stock but for CF-Auto-Root (in between Scenario #1 and #2). If I got it well, I can either:

- wait for the OTA (in Italy) and lose root which I can re-apply later with CF again. No info nor data will be harmed in the process.

- sideload the upgrade. Would I lose root in this case? Can I use CF to apply it in that case? Will I cause pain and suffering to my data?

Lots of thanks!
[Nexus 5 General] milanmania2004:
great! was spent more than an hour to reinstate the root until come across this tips.
[Nexus 5 General] rubber guard:
scenario A, 100% stock.

ADB will not detect my device... my win 8.1 recognizes the device I think, but i'm not seeing (or remembering) how to get it to recognize. debug is on.

edit, had to toggle the connection to get it to 'authenticate' the comp to phone debug connection. I knew my drivers were update to date as I flashed the 4.4 image for the 2012 N7 3g. went off withotu a hitch.

thanks OP
[Nexus 5 General] tklr:
Worked perfectly fine for me. Flashed the files with TWRP.

Thank you for this thread.

T.

- via Android -
[Nexus 5 General] LGSilva:
Read post #148
[Nexus 5 General] punticci:
I have the franco kernel :( how can i do it?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] pinoymutt:
The answer is one post above.

You need to rename two files and go back to stock kernel.
[Nexus 5 General] zanhzanh:
Thanks for this thread
[Nexus 5 General] X-Jonte-X:
[MENTION=962867]El Daddy[/MENTION] maybe you can update OT with this scenario as may people have the as this me included and may people asking the for this scenario.

Thanks to [MENTION=1330793]pinoymutt[/MENTION]:good:
[Nexus 5 General] rodeo2:
Flashed the update without any issues. I was rooted but rest everything untouched.

I used Wug's NRT to flash the zip, absolutely no issues. Phone remained unlocked after update but root was gone. Rooted again using NRT.

Ask me if you need any help.
[Nexus 5 General] punticci:
Is possibile rename the files manually and not via adb? I mean:

1) Flash stock kernel

2) Reboot phone

3) Use root Explorer and go in system folder

4) Rename 2 files:

/system/lib/hw/power.msm8974.so.bak ---> /system/lib/hw/power.msm8974.so

/system/bin/thermal-engine-hh-bak ---> /system/bin/thermal-engine-hh

Is it possibile?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] thegr8anand:
Can anyone please provide me stock 'libart.so'? I used the whatsapp ART fix for it and now can't update to 4.4.1 because of modified libart.so.
[Nexus 5 General] punticci:
I flashed the stock kernel, i renamed the files and then i tried to flash the update.zip and i get an error "system/bin/mpdecision has unexpected contents" what the hell is this?? How can I solve?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] zallaaa:
I believe I am in your (old) situation: unlocked and full stock but for the root (CF-auto-root). You didn't lose your data, did you?
[Nexus 5 General] Mindspin_311:
Do I need to do any wipes, factory reset, etc via TWRP before flashing the zip?

Sent from my Nexus 5
[Nexus 5 General] Dunge2:
Root

Thanks for the guide, I updated successfully (from xposed root with no custom recovery using sideload).

Sorry for the noob question, but now xposed don't want to re-install, and SuperSU say it's missing the binaries and I need to re-root.

When I first rooted, I used CF-Auto-Root. Now, this wiped the data, I don't want my data wiped again. What should I do instead? Thanks
[Nexus 5 General] jd1639:
Download super su from the play store
[Nexus 5 General] Haul:
The first step is to copy a superuser installer in .zip format (either Superuser or SuperSU) to the fake SD card. Next, install a custom recovery (either CWM or TWRP) from fastboot. After that, you can install the superuser .zip using the custom recovery.
[Nexus 5 General] woadiestyle:
I'm wondering the same
[Nexus 5 General] GunninZombiesdown:
Quick question- could I just reboot into recovery for step #8 and then skip to step #16?
[Nexus 5 General] Lettuce!:
As far as I remember, flashing system and boot images ensures the phone is back to stock so that the OTA won't fail. I've been out the Android loop for a while so can't fully remember
[Nexus 5 General] tonyafc:
Just looked at my kitkat easter egg and it showing 4.4.3 starts with spinning K but shows jelly bean after anybody else have this?

Nexus 5 xposed + gravitybox
[Nexus 5 General] myfifth:
I'm on rooted N5, CWM Recovery installed, Xposed uninstalled, then I reboot into recovery and installed the zip, the installation aborted at "dalvikvm has unexpected contents 4.4.3", status 7, how could I get out of this issue?
[Nexus 5 General] jd1639:
Flash the 4.4.3 factory image with the exception of userdata.img.
[Nexus 5 General] fooboo:
Finally I got ota and upgraded stock device to 4.4.3.

So far I found 3g faster and with no problems I en-

countered before. Phone app is different and I am

not sure if I like the color scheme. Still no time to

say a word on battery life. On 4.4.2 it was amazing.

Hope nothing changed.

If someone has questions regarding my observa-

tions, feel free to ask.

Best to all.
[Nexus 5 General] El Daddy:
No.
[Nexus 5 General] 2Pints:
Got the OTA update, but it failed.

Nexus 5, Rooted only everything else still stock.

Update icon appeared, and then the update was downloaded over 3G. followed through with the update, phone re-booted then after a short while android on its side with Error underneath.

then another re-boot, phone started up but still on 4.2.2, tap on system updates and get the Your system is up to date ( android 4.4.2 )
[Nexus 5 General] jd1639:
You're rooted do who knows what system file may be modified or deleted. Flash the factory image, except userdata.img.