yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Mnstrdmzz:
Error executing updater binary in zip

Nexus 5 4.4.4 KTU84P

NOT all modules versions match the stock versions listed here: bootloader -- HHZ11n (not HHZ11k). This is only mismatch.

I didn't flash any custom ROMs. Only updated GPU drivers.

Got root using CF-autoroot. Flashed TWRP 2.8.1.0

Didn't remove any system apps.

The few things that can make me out of serving scenario:

1) A lot of patches with Lucky Patcher. May it cause problems?

2) I flashed updated drivers for GPU (took it from somewhere here). May it cause problems?

And the problem is:

Trying to flash OTA for KTU84P using TWRP, and getting Error executing updater binary in zip. All of the time. I didn't modify downloaded zip, just put it into the phone and tried to flash.

Can i get update, and if yes why do i get error every time, if no, how do i can get update, except going back to pure stock (maybe there are easier way). Tried revert stock drivers for GPU (why not?) -- it didn't help.
[Nexus 5 General] gialakias:
The best you can do is to flash recovery.img system.img and boot.img from the factory image of 4.4.4 and then sideload the ota.
[Nexus 5 General] s3lh:
anyone can help

stock 4.4.4, clockworkMod recovery 6.0.4.5

got OTA today tried twice but couldn't succeeded

then tried update in recovery, got Status 7 error msg:

Package expects build fingerprint of google/hammerhead/hammerhead:4.4/KTU84P/1227136:user/release-keys

this device has google/hammerhead/hammerhead:4.4/KRT16M/893803:user/release-keys

I checked the about phone, the build number in my phone is KTU84P, not sure why different here

thanks
[Nexus 5 General] gialakias:
The OP says clearly that for the 5.0 ota you need the stock recovery from the 4.4.4. Use it and you will be OK.
[Nexus 5 General] Wh1t3Rose:
[MENTION=4951921]s3lh[/MENTION] What the guy above said. Also I don't recommend anybody use CWR any more. It's no longer being maintained. Hasn't been updated. When you try to flash 5.0 custom ROMs CWR most likely corrupt your partitions. But do not worry TWRP, is better and has more features. Also is constantly updated. If you must have CWR (Don't know why as CWR is so outdated) then you can try Phil-z recovery which is an upgraded CWR. Though he might not have updated for 5.0 yet either.
[Nexus 5 General] Finnegans:
Please help! I'm having trouble with this OPA. I was rooted with stock kernel and Xposed Framework. I read the instructions above, uninstalled Xposed and tried OTA but it showed an error message halfway through the installation. I tried a couple of times and it did the same thing. I did a factory reset, even though I'd lose root and I'm still getting the same error message. Can someone please help a desperate man here.
[Nexus 5 General] NCguy:
I'm a TWRP fan myself but now I'm wondering about the stock CM11s rom that ships with my Oneplus one. It uses a slimmed down CWM recovery as the stock recovery?
[Nexus 5 General] Wh1t3Rose:
Are you on the stock recovery? If not "fastboot flash recovery recovery.img" from a PC. Try again. If that doesn't work then download the factory image and extract it. Then run "fastboot flash boot boot.img" and "fastboot flash system system.img". Then OTA
[Nexus 5 General] ohad123454:
Hey guys can someone please answer my questions?
[Nexus 5 General] Wh1t3Rose:
I don't see where you posted. Quote it.
[Nexus 5 General] ohad123454:
here there is what i asked.. can you please answer?
[Nexus 5 General] Wh1t3Rose:
No do not Nandroid restore ever unless the backup matches the same ROM you are installing. Doing a Nandroid restore across Android Versions (KitKat to Lollipop) will break your partitions likely. Big no no. BTW doing what you describe is worse then a dirty flash :)

Oh and as far as pics and what not, your SD card isn't touched in an OTA. Only unlocking the bootloader or flashing a factory image wipes your SD.
[Nexus 5 General] ohad123454:
That's why i didn't do it i knew that it could screw something up.

well i saw someone in here that told someone else that all he need to do is to download the regular [not costume] recovery and then he could update to lolipop via OTA should i do it too? i only have root and costume recovery

btw if i would do it, when ill have lolipop all of my data will be there too? i mean the lolipop update will wipe everything or it will save everything even though its updated to lolipop

btw 2: how do you suggest to back up all of my data? [i mean everything including whatapp and photos because this is the most important stuff i need]
[Nexus 5 General] Wh1t3Rose:
Yes all an OTA is, is a patch. So it only touches the system files it needs and that's it. It won't touch apps or any sort of data.

With that said you should backup your stuff on a PC or Cloud storage just in case the OTA goes wrong and you have to flash the factory image.
[Nexus 5 General] gialakias:
The ota is used to save your data. You will have the same phone with the new operating system. If you want to backup whatsapp copy its folder to your computer and your pictures also. Restore them before you download the whatsapp again(in case you erased everything) and when you do it, whatsapp will find it when you set it up.

Edit : Sorry Sandman-007 it took me years to write the answer at work with customers!
[Nexus 5 General] ohad123454:
oh ok so everything on the phone will be saved [in case i'm updating via ota]?

i tried to back up whatsapp before but everytime i flashed rom/replaced phone etc the data isn't restoring itself.

how do i restore the whatsapp after i'm updating to lolipop? just drag the whatsapp folder to the main folder's phone and then download whatsapp from google play again?

ok so backup everything just in case but updating via ota?

wait, if im updating to lolipop and everything will stay so i don't need to download whatsapp again right? everything will still be there..
[Nexus 5 General] gialakias:
Yes, everything there, otherwise the process you described for backup restore of whatsapp is correct. WARNING, it keeps only the messages not pictures and files.
[Nexus 5 General] ohad123454:
sorry i didn't see your answer because i you didn't qoute me

ok so i'll backup everything just in case and then flash the old recovery back and then installing the L update via OTA? this is it?

---------- Post added at 03:21 PM ---------- Previous post was at 03:17 PM ----------

i need it to save only the massages, i back up the photos manually on my computer.

so just to get it straight.

im updating via OTA then reboot the phone and searching for whatsapp [btw i'll copy the whatapp folder to the computer]

then if i don't have the im not downloading it until i'm putting the whatsapp folder in the main folder's phone.

after that im downloading the whatsapp and the phone will find it and restore everything?
[Nexus 5 General] gialakias:
Yes apply the ota and everything will be there as you left it. Do the restore of the folder if you set it up again as new.
[Nexus 5 General] ohad123454:
if im setting up my old account [i mean after the phone boot itslef up and its asking you to open account and all] so everything [including whatsapp and photos] will be there also?
[Nexus 5 General] gialakias:
When the phone boots it will optimize your apps and you don't have to set up anything. Everything will be there. It just change the os not your data and your settings.
[Nexus 5 General] ohad123454:
ok thank you very much, and one last thing: i can root the device and download the costume recovery again on L?

edit: i download the stock recovery so i don't have a costume recovery but i still have root

im downloading the OTA update right now, i have a root so when its update itself it is going to cause some issues?
[Nexus 5 General] gialakias:
No, proceed with no fear.
[Nexus 5 General] ohad123454:
well i updated but out of the sudden its now shows me the android icon with red triangle and under it it says error

what to do?

Edit: i rebooted the device and now it's say that my system is up to date [altough i still have the 4.4.4]
[Nexus 5 General] gialakias:
That is because you are not completely stock. Something from your system or kernel or baseband or bootloader does not match the stock 4.4.4 image.
[Nexus 5 General] ohad123454:
oh damn it, well how can i stock my device without backup/erase something?

and it does'nt send me the OTA update again.. what do you suggest to do?
[Nexus 5 General] jd1639:
Flash the system, boot, and recovery images from 4.4.4 in fastboot. It won't wipe anything off your device. But it's always good practice to back everything up off your device in case something goes wrong.
[Nexus 5 General] ohad123454:
hey can you send me those files please? im not at home and i can't find it anywhere, by the way can i flash those images from flashify?
[Nexus 5 General] Wh1t3Rose:
Google "Nexus 5 Factory Image". Download the 4.4.4 image. Extract the archive. You will the get like 5 files. Do NOT run the flashall.bat file. It will wipe your device. You want to boot your phone in fastboot and fastboot flash the files JD mentioned. Then try OTA again. No you can not use flashify for this. A PC is needed
[Nexus 5 General] ohad123454:
ok so i need to download from here : https://developers.google.com/android/nexus/images

the 4.4.4 (KTU84P) tgz file and then extract only the files JD mentioned and then move them to my phone and flash them in fastboot?

btw i don't have the TWRP recovery now so how ill flash the files without a recovery?

Edit: nevermind i forgot that i dont need recovery to enter fastboot mode [im just used to flash everything from my recovery] well i need some commands in order to flash those file right?

can you please give me the commands?
[Nexus 5 General] gialakias:
He told you only with a pc. Not from your phone.
[Nexus 5 General] ohad123454:
i know i'll be at home in 10 mins and i'll do it from there

Edit: i did everything you said guys and now i'm sotck [i don't have root] i did restart my device but i don't get the OTA again, i did check now but it's still does'nt show me the update
[Nexus 5 General] Wh1t3Rose:
I have it posted in the OP. Just sideload it. Its the same thing. You wont lose any data. Backup WhatsApp stuff though.
[Nexus 5 General] Wh1t3Rose:
[MENTION=5571947]ohad123454[/MENTION] also they post out OTAs only twice a day so you should get the notification late tonight or tomorrow morning.
[Nexus 5 General] jssingh:
Alright I apologize for beating a dead horse here, but want to get the green signal from [MENTION=4828464]Sandman-007[/MENTION] or [MENTION=4858937]jd1639[/MENTION] or anyone else please:

My phone is stock, rooted, TWRP, Unlocked bootloader and custom kernel (not that it will matter).

After reading through a few pages, this is the process I gather (rather simple I must say):

1. Fastboot stock recovery from 4.4.4 KUT...P images.

2. Get into stock recovery and sideload the OTA. The phone will get Lollipop, lose root, retain apps and data, and will continue to have an unlocked bootloader.

3. Optional (but recommended) - Fastboot new bootloader and radio from Lollipop images ("fastboot flash boot boot.img" and "fastboot flash radio radio.img"). This will not lock an existing unlocked bootloader. OR, would Step 2 render this step needless since it may install the new bootloader and radio?

Sounds about right or am I missing something?

:good:
[Nexus 5 General] ohad123454:
Dude i got the OTA again now, you think i should backup my whatsapp and photos though? its gonna take like 1-2 hours now.

this is really necessary?
[Nexus 5 General] jd1639:
It should work as long as you have the stock kernel and have not modified or deleted any system files. If that's not the case then you should flash the boot and system images from 4.4.4 too.
[Nexus 5 General] jssingh:
Ah, but I do have a custom kernel (ElementalX), which I am assuming could have tampered with system files.

Well then, I will go ahead and fastboot boot.img and system.img also before I sideload the OTA. Will report back results later tonight. Thanks [MENTION=4858937]jd1639[/MENTION].
[Nexus 5 General] Wh1t3Rose:
I just want to clearify what JD has said. Just so you don't get mixed up :)

1. Yup

2. YUP

3. This step is only necessary if and ONLY if the OTA fails. It usually fails because you have a modified system partition. IF it fails

A. Fastboot Boot, System, and Recovery Images

B. OTA again

C. Root using CF Auto-Root. The flash Latest SuperSU (2.24 I believe)
[Nexus 5 General] jssingh:
BAM! Thanks guys :good:
[Nexus 5 General] nokes31:
I'm on stock, rooted with CF-Auto root. Did the volume mod by editing the mixer_paths.xml but I revert back to stock values.

Got this error when I did the adb sideload.

"/system/etc/mixer_paths.xml"has unexpected contents

E:Error in /tmp/update.zip

(status 7)

Anyway I can get a default copy of mixer_paths.xml?
[Nexus 5 General] El Daddy:
Flash the system.img with fastboot,
[Nexus 5 General] aavvaallooss:
I think yo need to follow "Section C Option #1: Flash Boot and System" to revert volume mod
[Nexus 5 General] stbxxl:
Just did the update to 4.4.1 following scenario #1. All worked very smoothly! Thank you!
[Nexus 5 General] The Gingerbread Man:
I tried downloading it multiple times and converting it to system app or data app doesnt make any difference. When I'm back home I'll see if I can extract the apk from factory image and try that way. Been pushed for time working crazy hours this weekend. Thanks for your answer
[Nexus 5 General] El Daddy:
You need the exact version that shipped with the ROM. So yes, the apk from the the factory image will work.
[Nexus 5 General] 0b095:
Apparently I'm scenario 1, but I'm kind of unfamiliar with these stuff, so I guess I'll just wait for the OTA to show up on my phone by itself. Thanks a lot anyways.
[Nexus 5 General] assasin34:
why i have to wait for ota updates.?why google can't roll out ota updates like apple?
[Nexus 5 General] El Daddy:
The answer to your question is in the OP. Apparently you missed it...
[Nexus 5 General] assasin34:
i have already read about that in first page.so sorry but i havent seen bull **** ota update process like that ever before:).i think i will be back to my iPhone because of that.
[Nexus 5 General] nokes31:
Thanks guys, got it fixed.

Download the stock 4.4 image from google

Extracted system.img and flash it via fastboot.

adb 4.4.1 update from stock recovery

flash CF Autoroot image (just the img, not the bat file) to get root access

Re-install Supersu from playstore.

All working now.. :D
[Nexus 5 General] redcheese:
I've reposted my issue under the Q&A subforum in case if it's too technical to be addressed here.
[Nexus 5 General] efrant:
If you've updated a system app from the Play Store, and then "converted" it to a "system" app using something like Titanium Backup, OTA updates will always fail. You cannot do that.

As mentioned before, you cannot mess around with ANY system files (and that includes updating them using a root app like TB) that were originally included with the ROM.
[Nexus 5 General] QWIKSTRIKE:
Rofl...this statement is a joke in my opinion....I remember reading about bugs with your iPhone 5s**** happens. You won't be missed.lmao
[Nexus 5 General] El Daddy:
Cool. See ya.
[Nexus 5 General] fugn:
You haven't lost hope. Download the factory image of 4.4 and extract the .tgz to your desktop. Then run the flash-all script depending what OS you are using and go from there. Refer to "how to return to stock" thread.

It sounds like you're using custom recovery to reset your phone. The recovery reset doesn't necessarily wipe it clean. It wipes sys, cache, boot. Other memory is allocated other places, like data which is probably why your settings remain the same on boot.

Remember to delete any recovery.IMG and boot.IMG from your platform tools folder, the flash all script will get confused.
[Nexus 5 General] Kobayashi_SRK:
I had already installed a custom kernel and recovery by the time KOT49E came out.

Followed the steps here to download original ROM,

fastboot flash system system.img
fastboot flash boot boot.img

and everything worked perfectly. Thanks!
[Nexus 5 General] assasin34:
when i type this adb sideload update.zip doesnt work..file name must be update.zip or just update.?
[Nexus 5 General] Android The Greek:
It depends on what you named the update file. If it is named update then its update.zip. if you named it update.zip it could be update.zip.zip check properties of the file
[Nexus 5 General] monkeymynd:
So, I got the update directly from the google servers, and when running it using adb sideload I get an error "set_metadata_recursive: some changes failed. E:Error in /tmp/update.zip. (Status 7) Installation aborted."

When I try to reboot it just goes back into recovery mode.

I have an unlocked bootloader and am rooted. No other changes. Running stock.

Any help would be greatly appreciated.

[Edit] I switched to ART. Would this cause a problem?
[Nexus 5 General] dashrendar:
Hi all,

I have a couple of questions that were not addressed in the OP and I haven't seen as I was browsing through the thread.

After sideloading the OTA via adb while using stock recovery and it is successful, can I flash the latest CWM custom recovery again? Will it be compatible with 5.0?

Will there be an updated CWM/TWRP that will handle this OTA? Is it just a matter of waiting or is the stock recovery the ultimate solution to this OTA flashing problem?

Thanks in advance!
[Nexus 5 General] jd1639:
1. I would not use cwm, use twrp

2. Twrp 2.8.2.0 is out. Use that version for 5.0

Edit, cwm is poorly if at all supported. I doubt you'll see anything for 5.0

Edit,edit. I should have read your post more closely. You still need the stock recovery to flash the ota
[Nexus 5 General] dashrendar:
Thanks for the info! TWRP 2.8.2.0 was just released today. Is there a changelog? Do we know if it fixes the OTA problem?
[Nexus 5 General] jd1639:
It doesn't fix the ota problem. It just supports 5.0's encryption
[Nexus 5 General] Wh1t3Rose:
We may never see a "fix". Its not a problem with TWRP. Its the OTA's verification process. The stock recovery has to be on the phone or it complains. The reason is because the OTA does not contain an entire Stock recovery image. Only the files it needs to replace. So if you do not have a stock recovery installed it doesn't find the files it wants to replace and aborts.The only way to fix this is if somebody modified the OTA and stripped out the recovery bits.
[Nexus 5 General] Moonheart:
So I was completely stock before. Then I rooted via the towel root method. I then edited a system file for volume boost and also installed a few Xposed modules (still on stock kernel and recovery). Recently, I got the OTA and I am not sure if it will work. Should I proceed with the update? I read somewhere you need to be completely stock. I understand I need to uninstall Xposed but what other things do I need to do? If I sideload, will it be the same (i.e will it verify that all system files are stock) ?
[Nexus 5 General] jd1639:
If you edited some system files it will fail. Since you rooted with towelroot is your bootloader unlocked? If not you got a problem

Edit, actually if your bootloader is locked get bootunlocker from the play store
[Nexus 5 General] kweso:
just wanted to let you know: i was on stock 4.4.4, unlocked, rooted, cwm, xposed with gravitybox. i uninstalled the framework, downloaded the zip from post#1 and got status 7 while flashing it with cwm. had to re-install stock recovery (with "load zip" in cwm). after that my pc did not have drivers for my phone when in sideload-mode (had usb-debugging on, pc was permitted, all worked when android was running, but not in recovery mode). when in side-load-mode i had to manually install the usb-drivers again. but not the ones that come with the sdk, but rather the generic one from the driver list. after that i finally could install teh lollipop-image by sideload. tried to wipe cache after that and got stuck. used nrt to flash cwm again. wiped cache in cwm. and made a nandroid. -> finally lollipop.

and after all this hazzle i think i'll go back to kitkat and my beloved gravitybox! ;) espezially the extra swipe to get to the unlock-pattern is a pita!

just for your information. maybe it helps someone...

laters
[Nexus 5 General] Moonheart:
I just edited one for the volume boost and I know how to undo the changes. And no towelroot does not require an unlocked bootloader and like I mentioned in the previous post, it is locked.

Edit: What would I have to do after unlocking my bootloader via the bootunlocker app?
[Nexus 5 General] gialakias:
Nothing, just flash the ota. But you will have the option to flash system if it fails. Also to remind you there is a zip that locks unlocks the bootloader through custom recovery without loss of data http://xdaforums.com/showthread.php?t=2239421
[Nexus 5 General] evertjr:
A friend of mine flashed the lollipop developer preview and now wants to update to final build but don't wanna lose app data and reconfigure everything.

There is any way to flash the image without wiping user data? Can someone provide me a tested method? Cause if I lose her data she will probably kill me.

I appreciate any help.

Enviado do meu iPhone usando Tapatalk
[Nexus 5 General] hashlikeageek:
Finally got the damn update lol
[Nexus 5 General] Wh1t3Rose:
For starters you shouldn't take up this Responsibility if she'll get mad at you. Just my opinion :). Backup her stuff. Use Tibu and backup SD card to a PC.

But unfortunately you can't OTA from the developer preview. Go grab the 5.0 Factory Image. Backup her stuff. Then fastboot the image.
[Nexus 5 General] evertjr:
I kinda have some knowledge but I left android on 4.4 and don't have experience on lollipop yet. I just wanna know if I don't flash userdata file from the factory image the system will boot normally with her stuff. Or do you know any working method to do backup without root?

Enviado do meu iPhone usando Tapatalk
[Nexus 5 General] Wh1t3Rose:
Userdata wipes SD Card AND Apps. You can use ADB to backup Apps (and App Data too I believe)

Lollipop has a new restore feature. When you are setting up Lollipop for the 1st time and you go through the wizard it will restore her apps (you can even pick which ones specifically) and wifi passwords and Home Screen layouts. But for App Data and SD Card you will need ADB for. Their are apps on that play store that will walk you through the backup process using ADB. OR check out the ADB thread in my Signature.
[Nexus 5 General] gialakias:
You can also use helium.
[Nexus 5 General] evertjr:
Thank you! I'll have a look at ADB thread.

Enviado do meu iPhone usando Tapatalk

---------- Post added at 04:19 PM ---------- Previous post was at 04:18 PM ----------

Helium works with lollipop? Have you tested it? Thanks in advance

Enviado do meu iPhone usando Tapatalk
[Nexus 5 General] gialakias:
Well, haven't tested it but I think it does. He updated recently 2-3 times as far as I can remember. I don't swear though...
[Nexus 5 General] Moonheart:
Flash OTA? How would I do that on stock recovery? Or do you mean apply the automatic OTA update? Can I in anyway flash the OTA update from sideload so that it does not have to verify that everything's stock? Or is sideloading just the same as automatic OTA? Can I install a custom recovery then upgrade to lollipop via a zip or something? Also, thanks for the link.
[Nexus 5 General] gialakias:
Well I meant sideload. This OTA can't be flashed through a custom recovery as we said. You can't trick it!
[Nexus 5 General] jd1639:
You need to have the stock recovery on your device. Then you can either take the ota from your device or sideload the ota zip file in the stock recovery using adb.
[Nexus 5 General] Moonheart:
Sorry for being a pain in the ass. Just to make it clear.Right now> I should sideload the zip via adb ( I am already on stock recovery, locked bootloader). Or should I unlock the bootloader should something go wrong?
[Nexus 5 General] jd1639:
Sideload it in adb. If you're not rooted you can't unlock the bootloader without wiping the device
[Nexus 5 General] ohad123454:
guys thank you very much everything worked out and i have all of my data and android L thank you :laugh: