[Q] Error executing updater binary in zip - G2 Q&A, Help & Troubleshooting

Error executing updater binary in zip
I recently flashed a rom that caused my phone to stop working so I had to do a full stock reset using the 30A kdz file. However every time I install TWRP 2.8.6.1 and try and flash a new rom (Tried with a few) I get the error 'Error executing updater binary in zip'.
I have restored it to full stock many times but this problem still persists. Does anyone have a solution for me? I would be ever so grateful as I have spent about 12 hours total trying to rectify this.
Thanks in advance
Alastair

Related

[Q] Nexus 4 OTA Update failed with error

Yesterday i got a notification that my KitKat update is ready. I downloaded it restarted the phone as required but the process failed with the below error
/system/lib/hw/power.msm8960.so has unexpected contents
Downloaded the zip file and tried to flash it via TWRP and again got the same error.
Could anybody please let me know the fix. I am rooted with franco kernel r#193
Is the file modified?
Suman_Auddy said:
Yesterday i got a notification that my KitKat update is ready. I downloaded it restarted the phone as required but the process failed with the below error
/system/lib/hw/power.msm8960.so has unexpected contents
Downloaded the zip file and tried to flash it via TWRP and again got the same error.
Could anybody please let me know the fix. I am rooted with franco kernel r#193
Click to expand...
Click to collapse
Just make sure that you have not modified that file.
Also some people had the same issue and it turned out that they had the file renamed to power.msm8960.so.bak, if so
use a file explorer to rename it back to the original (without .bak), and if that still fails, download the file from the factory image and replace it, then try to flash the zip file.
Suman_Auddy said:
Yesterday i got a notification that my KitKat update is ready. I downloaded it restarted the phone as required but the process failed with the below error
/system/lib/hw/power.msm8960.so has unexpected contents
Downloaded the zip file and tried to flash it via TWRP and again got the same error.
Could anybody please let me know the fix. I am rooted with franco kernel r#193
Click to expand...
Click to collapse
same here but i have "framework-res.apk" has unexpected contents.
In order to use OTA, your system files should be stock and unmodified and it looks like you modified that file, my suggestion, is to download the factory image of your current build of 4.3 from here
https://developers.google.com/android/nexus/images#occam
check what version you have, mine was JWR66Y when I upgraded.
then extract the factory image on your desktop and copy and replace "any" file that you have modded (with TWRPs file manager + ADB), before flashing Kitkat OTA zip, (note: when replacing files make sure that system files you replace have the right permissions e.g. chmod 755)
OR you could flash the Kitkat factory image directly instead of the OTA, ONLY IF you know how to do so without wiping your device's data, remember that this can cause you problems later.
Be careful, I hope you had a nandriod backup, before this happened.
Thanks for all your sugeestions, renaming the file worked for me. Flashing the zip file now via TWRP.
Flashing the zip file failed with error error executing updater binary in zip....any suggestion
Suman_Auddy said:
Flashing the zip file failed with error error executing updater binary in zip....any suggestion
Click to expand...
Click to collapse
Please post the whole error message.

Error executing updater binary in zip (TWRP)

I'm getting this error when trying to flash lollipop roms. I can flash Kitkat roms fine as I'm currently running xdabbeb VS982.5 1.0.0 (G3 rom), but it won't let me flash any lollipop rom. I installed twrp via the autorec program which installs 2.7.0.0 then I updated twrp within twrp with the flashable zip.
Please help
Thank you
Anyone?
Seriously no one knows? What is everyone else using that is flashing the latest 5.0.2 roms?
What am I getting this error?
Please help
Possible Fix
I've also had this problem. The only way I can seem to fix it is to also download the .md5 along with the rom itself. Just make sure its in the same folder as the rom. Everytime I have that problem with TWRP this seems to fix it. Let me know if it works for you!
Edit: Also I forgot to mention, if one isn't available to download I can help with that.
Thanks for the suggestion. I'll give it a try. If there is no. Md5 what do I do then?
All you need to do if it comes to that is download an md5 checker on your computer. Just curious, what rom are you trying to flash?
I tried resurrection remix and liquid lollipop roms. I had no issues with the initial 5.0 lollipop roms so I'm not sure what changed with 5.0.2.
So the md5 checker generates the .Md5 then you just put that on the SD card with the rom?
Resurrection remix should have an md5 on the download page right below the rom itself.
derekmt95 said:
All you need to do if it comes to that is download an md5 checker on your computer. Just curious, what rom are you trying to flash?
Click to expand...
Click to collapse
Can you point me to the program to use on my computer? Do I just load the .zip file in the program to generate the .md5sum file then put both the zip and the .md5sum file on the sdcard before flashing?
Thanks
derekmt95 said:
I've also had this problem. The only way I can seem to fix it is to also download the .md5 along with the rom itself. Just make sure its in the same folder as the rom. Everytime I have that problem with TWRP this seems to fix it. Let me know if it works for you!
Edit: Also I forgot to mention, if one isn't available to download I can help with that.
Click to expand...
Click to collapse
Nope, I downloaded the md5 file along with the zip and I'm still getting the same "error executing updater binary in zip".
Any other suggestion? How is no one else having this same issue? I'm using the latest version of TWRP 2.8.3.1 probably like most people. I don't understand.
xxNiradxx said:
Nope, I downloaded the md5 file along with the zip and I'm still getting the same "error executing updater binary in zip".
Any other suggestion? How is no one else having this same issue? I'm using the latest version of TWRP 2.8.3.1 probably like most people. I don't understand.
Click to expand...
Click to collapse
Try to reflash the TWRP.. or maybe is something wrong with the zip file
Use the TWRP compiled by blastagator
Nope, still getting same error with latest twrp.
Finally got it working. I downgraded TWRP to 2.7.0.0 and the lollipop roms are flashing fine now.
Thanks everyone for your help.
xxNiradxx said:
Finally got it working. I downgraded TWRP to 2.7.0.0 and the lollipop roms are flashing fine now.
Thanks everyone for your help.
Click to expand...
Click to collapse
How did you downgrade because I cannot seem to find a way to do it.
TheAnonymousButler said:
How did you downgrade because I cannot seem to find a way to do it.
Click to expand...
Click to collapse
just run AutoRec again and you are all set.
LG G2 cm-11 M12 : Error executing updater binary in zip (TWRP)
kashif87 said:
just run AutoRec again and you are all set.
Click to expand...
Click to collapse
Hi, I am having the same problem. Actually my LG G2 was stuck in boot loop with secure boot error. I used SRK tool to flash the partition files as well as TWRP recovery 2.8.6.1. I have wiped everything and there is no OS installed. I am stuck in TWRP recovery screen [cannot downgrade /upgrade]. I am using and OTG cable to flash the cm-11 custom ROM but it is giving me the same error. Can anyone help ?? It has been 10 days I am trying and my phone is dying please help...
Thanks in advance...
before flash 5.1.1 aosp lollipop rom u must to flash first lollipop bootstack
Hi,
I am assuming the reply was for me. Actually I am not installing lollipop. I am going for kitkat but nothing is working now. I have tried cm-10.2, cm-11 M12, cm-11 M7 but all are showing "error executing updater binary in zip". Please if someone can help me out....
Thanks is advance....
@[email protected] i think kk aosp room need jb bootleader
Hello everyone,
I am running a D802 on stock Lollipop and installed TWRP 2.8.6.0 via AutoRec. Now I booted into recovery, wiped System and Cache and got the Error message when installing CrDroid (Marshmallow 6.0.1). Now I tried installing TWRP 3.0.2.0, which succeeded and then downloaded the twrp 2.7.0.0 zip to try that as the ROM still wouldnt install. But it wont install the older TWRP. So I am asking for help to either
1) Install TWRP 2.7.0.0
or
2) Delete the getprop lines from updater-script (after I removed them I get an error 6 so i probably removed too much?)
Thank you in advance
(Guide for Error 7: http://forum.xda-developers.com/showthread.php?t=2522762)
EDIT: Someone said installing another Kernel might allow installation of the ROMs. Which Kernel could work for my phone?
EDIT 2: When flashing TWRP 2.7.0.0 it says "assert failed: run_program("/tmp/loki.sh")==0". So what exactly am I missing on my phone? Is Loki the MM Bootloader?
EDIT 3: Could it be that the build.prop was deleted when I wiped system? Would be weird if that was the cause, but I simply dont know..
Edit: Booted in Downloa Mode and flashed v30D KDZ with the 2014 LG Flashtool. Works with Stock ROM for now

[Q] [CM12] [D802] TWRP Error while Updating CM: ZIP File is corrupt!

Hello guys, since I've installed CM12 I've been getting errors from TWRP when flashing CM updates.
I had a Nexus 4 and when I installed CM updates it usually rebooted to recovery and then TWRP would install it automatically, but it's not happening on my G2 D802. I have TWRP 2.8.5, installed with Autorec before flashing CM12 for the first time.
Error log says shortly after I start to flash CM updates:
E: ZIP file is corrupt!
E: Error installing zip fie '/cache/recovery/block.map'
Then it goes on and finishes flashing and it says successful, in fact it always works, but should I be concerned? Am I doing something wrong or it has something to do with the bootloader? I've read somewhere that you had to downgrade the bootloader in order to flash, but also read somewhere that autorec does that for you. I've also read that it could have been that I was using an old recovery, but I'm using the latest, I don't know what it could be...
Thanks in advance
Rino7617 said:
Hello guys, since I've installed CM12 I've been getting errors from TWRP when flashing CM updates.
I had a Nexus 4 and when I installed CM updates it usually rebooted to recovery and then TWRP would install it automatically, but it's not happening on my G2 D802. I have TWRP 2.8.5, installed with Autorec before flashing CM12 for the first time.
Error log says shortly after I start to flash CM updates:
E: ZIP file is corrupt!
E: Error installing zip fie '/cache/recovery/block.map'
Then it goes on and finishes flashing and it says successful, in fact it always works, but should I be concerned? Am I doing something wrong or it has something to do with the bootloader? I've read somewhere that you had to downgrade the bootloader in order to flash, but also read somewhere that autorec does that for you. I've also read that it could have been that I was using an old recovery, but I'm using the latest, I don't know what it could be...
Thanks in advance
Click to expand...
Click to collapse
No, wait. I got the same issue with BUMPED TWRP, please install the classic OpenTWRP 2.5.0 (not bumped) and you will upgrade the system without any issue.
Buona giornata, stammi bene e buon modding!
I'm using normal TWRP, downloaded latest versione from its website, I'm not using the bumped one.
cm 12 corrupt update and wifi problems
I have the same problem as u do! And when I leave my home wifi, and later return to it, I have to reboot the phone in order for it to connect to the home wifi again... In the wifi settings it says either "Connecting" or "Saved".
I would be very grateful for any help!
Same happens here, it installs fine, I just have to do it manually. I'm on TWRP v2.8.5.0.
Same here,I have to flash the zip manually.

OnePLus two with NO OS and Oneplus recovery

Hey, yesterday i tried to clean flash RR ROm (already was using it) and when i flashed the rom zip file, it showed patching system image uncondtionally , and flashing file 1 of 1 for like 30 min then i turned off my device. And from then, i have been stuck with oneplus logo, sometime twrp sometime oneplus recovery https://forums.oneplus.net/threads/...ck-guide-for-a-hard-bricked-oneplus-2.347607/
Tried this method bcz i thought my device was bricked but the last step failed. No i again got back to twrp through fastboot method
https://forums.oneplus.net/threads/...-custom-recovery-root-efs-backup-more.345478/
And one more thing, when i am copyingthe rom files from pc to device, the progress bar goes well upto like 50% and then suddenly closes. But copied file size is same as of original. Is this the main problem?
file not getting copied properly?
Now i am in twrp and cant even start the flash proces as it now says E: error executing updater binary in zip ' ROM Name' error flashing zip.
What should i do now? Just want to turn on my phone, no matter if its RR ROM or OOS rom . Please help.
Also again went to oneplus recovery using that unbrick method and then tried to install OOS 2.2.1 using adb sideload method, but it stops at 47% everytime. What could be the reason? Should i go to service center tomorrow because from wednesday i will be having my exams and i want my phone up and running by tomorrow evening. Please help me . It's an emergency. Also asked for help at xda RR ROm forum but no such help yet .
And is my motherboard damaged ? No, right?

HELP : Error executing updater binary in zip : TWRP (SM-A500G)

Well, let me tell you, I DID see the other threads before posting this one about the topic, but believe me, none of the topics met my condition, and none solved my problem. :crying:
I have a Galaxy A5 (SM-A500G), and tried to flash CM12.1 unofficial TEMASEK version by @mygalaxya . I followed EVERY single step correctly, but when I tried to flash the ROM using TWRP, it said "Error executing updater binary in script."
I tried to rename 'a5lte' to 'a5ltedd' in updater-script in zip/META-INF/com/google/android
But, it didn't work.
Also, my stock firmware had stopped working a few days ago. The phone automatically switched off after running out of charge although I kept the charger connected throughout the night (if you understand what I'm saying ) And then, when I switched on the phone, it booted into TWRP. I chose Reboot and then System, but it just won't boot normally... It kept on rebooting into recovery mode..!! So, I finally gave up, and tried to flash CM12.1 into the phone. And, the above error came up.
What do I do? HELP...
Here's the link to the post by @mygalaxya ..
http://forum.xda-developers.com/sam...ev-help-to-create-cm12-rom-galaxy-a5-t3153129

Categories

Resources