Error executing updater binary in zip (TWRP) - G2 Q&A, Help & Troubleshooting

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

Related

[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.

Back to AOSP (CM12) from Stock 30a/30b/30d/30e - flashable zip + Still have Recovery

Hi all,
it's days that i'm trying to install CM12 from "Stock 30a/30b/30d/30e - flashable zip + Still have Recovery [20150425]".
I downloaded last cm12 rom (20150430-d802), JB Baseband and JB Bootloader. Did every backup needed.
I went to recovery, wipe all, install CM12 then queued baseband and bootloader. When TWRP starts the process, it gives me error when it tries to run loki program and everything stops.
I don't know how to go on.
Someone can help me, please?
Tnx a lot
Use autorec app apk
coogh said:
Hi all,
it's days that i'm trying to install CM12 from "Stock 30a/30b/30d/30e - flashable zip + Still have Recovery [20150425]".
I downloaded last cm12 rom (20150430-d802), JB Baseband and JB Bootloader. Did every backup needed.
I went to recovery, wipe all, install CM12 then queued baseband and bootloader. When TWRP starts the process, it gives me error when it tries to run loki program and everything stops.
I don't know how to go on.
Someone can help me, please?
Tnx a lot
Click to expand...
Click to collapse
you must use autorec app apk to go back from bumped twrp version 2.8.6.1 to the old 2.7.0.0

error executing updater binary in zip

hi, i'm running cm 12, twrp 2.7.0.0, and when i wanted to flash cm 12.1 i got the following error:
"error executing updater binary in zip"
i tried:
1. wipe
2. updating to twrp 2.8.7 (and then came back to 2.7.0.0)
3. installing few cm nightlies
well, nothing worked. iv'e read a lot on line, and what i did came from there, the only thing i didnt try is to flash a different bootloader because i couldn't find a straight forward answer what to install (and i'm scared to brick the damn thing)
what should I do?
THANK YOU!!!!!!
Do not use 2.7.0.0, use at least version installed by Autorec v2.
Flash LP bootstack. Nemax bootloader changer or Daniel Stuart's or dgravy's for example. Bumped version except for Resurrection Remix.
MB525 said:
Do not use 2.7.0.0, use at least version installed by Autorec v2.
Flash LP bootstack. Nemax bootloader changer or Daniel Stuart's or dgravy's for example. Bumped version except for Resurrection Remix.
Click to expand...
Click to collapse
First of all, thank you so much!! now, ive looked at the nemax bootloader changer thread and it some posts there says that a KK bootloader is needed. so should i use contrary to the nemax thread?
Nearly all those stacks include the same kk bootloader. They are ZIPs, you can look into them with WinRAR for example and compare CRCs of the aboot.bins. Do you have a D802?
followup question - if i want to go back to cm 12 - can i undo the bootstack flash? if not, what should i do to go back?

Can't install this package on top of incompatible data. Please try another package or

Hey all, so I just came from fixing my Bricked G2 D800. I finally got it back up and running with D80020c. I really wanted to get the OTA updates but had no luck getting that to work, kept getting you are not registered error. Anyway, last night I rooted with towelroot and then installed TWRP with Autorec. I noticed though that the TWRP is 3.7 that was installed.
I decided to go with the resurection rom. I tried to flash and am getting "Can't install this package on top of incompatible data. Please try another package or run a factory reset." I am wondering if this is because of my version of TWRP or actually my underlying D80020c rom?
Sorry for a stupid question, I just do not want to mess my phone up again.
Thanks a ton!
Ithink that you have installed an outdated twrp. Install the latest 2.8.7.1 and try to download again the zip of resurrection rom. Remember to use the correct bootstack(for the resurrection choose the loki version)
android extreme said:
Ithink that you have installed an outdated twrp. Install the latest 2.8.7.1 and try to download again the zip of resurrection rom. Remember to use the correct bootstack(for the resurrection choose the loki version)
Click to expand...
Click to collapse
OK I was thinking it might have been the version of TWRP, its odd though. I used AUTOREC which people recommend and it only installs that version.
UGH, where am I worrying about the right bootstack? Sorry its been so long since I have been in the flashing scene and after just hard bricking this each step I want to verify like 5 times. I just wanted to get the OTA updates but that was a fail.
Where am I picking the bootstack? With the version of TWRP?
Thanks and sorry to sound dumb. I promise I am not.
Vector66 said:
OK I was thinking it might have been the version of TWRP, its odd though. I used AUTOREC which people recommend and it only installs that version.
UGH, where am I worrying about the right bootstack? Sorry its been so long since I have been in the flashing scene and after just hard bricking this each step I want to verify like 5 times. I just wanted to get the OTA updates but that was a fail.
Where am I picking the bootstack? With the version of TWRP?
Thanks and sorry to sound dumb. I promise I am not.
Click to expand...
Click to collapse
http://blastagator.ddns.net/twrp/2-8-7-1.php from here you can download the last twrp that can flash from your recovery(choose the right version for your phone ) http://forum.xda-developers.com/lg-g2/development/lg-g2-bootstacks-t3173715 choose from here the right bootstack(if you unistall the resurrection remix choose the loki version if you install any other caf rom use the bumped version)
Thanks I appreciate the help
android extreme said:
http://blastagator.ddns.net/twrp/2-8-7-1.php from here you can download the last twrp that can flash from your recovery(choose the right version for your phone ) http://forum.xda-developers.com/lg-g2/development/lg-g2-bootstacks-t3173715 choose from here the right bootstack(if you unistall the resurrection remix choose the loki version if you install any other caf rom use the bumped version)
Click to expand...
Click to collapse
OK So update TWRP
Install bootstack first before ROM? You recommended Loki, but it says something about jellybean on there. I am currently on KK.
Thanks
Loki is the exploit used to bypass the locked bootloader. The bootstack that use this exploit had a JB bootloader so don't worry. You must flash in this order: bootstack> ROM> gapps> reboot
Whelp, I think it is bricked again. UGH. I installed latest TWRP. Verified it was on there. Downloaded Bootstack. Went into TWRP, loaded the zips up to flash, saw it said again the error about Can't install this package on top of incompatible data. Please try another package or factory reset. Now it is just a black screen.
YEP, bricked again. I can get into the download mode at least this time and when I boot otherwise I get the QHSUSB_BULK issue. This is just wonderful, I have never had such issues with older phones as I am with this G2.
I feel I am back to square one again. I can go into download mode and install 20c again through the TOT but I have no idea what I did wrong. Obviously this time the bootstack is what seemed to destroy things, am I wrong?
Thanks
This's very strange. Nave you flashed the correct files for your model?
All the files I had downloaded were for the d800. Is it because I am on version d80020c vs latest 20y?
Could it be where I had the files located?
The error I am seeing is seeming like a version error.
A simple question: did you have this problem flashing any rom?
I havent tried any other ROMS yet with TWRP. Maybe I should Will try that.
Try a stock based rom (cloudly g2 2.2) that are the most stable and remember to flash a kk bootloader
I am already on KK with 4.4.2 I would still need another KK bootstrap to go to KK again? Sorry I just know this is where I am messing up. Could I not go to Cloudy 3.3?
Thanks so much for answering my dumb questions.

OnePlus5 - HELP! - TWRP Recovery: Invalid Zip File Format

Hi!
I'm trying to install an update of OxygenOS. I wanted to install this with a .zip folder via my TWRP custom recovery (TWRP 3.2.3-0). However, I'm still having an issue with every ROM that I'm trying to install: "Invalid zip file format!", following by: " Error installing zip file 'OxygenOS.zip' ".
I precise that I have this issue with every .zip ROM that I'm trying to install...
I actually don't have any ROM installed on my OP5, so I can't boot right now.
I'm only fighting with my TWRP recovery and my Bootloader !
The Android version I had before that was Android 7.1.1( old boy...)
I'd be pleased if someone could help me solving this issue...
Have a nice day & Thx !
SkyZFr said:
Hi!
I'm trying to install an update of OxygenOS. I wanted to install this with a .zip folder via my TWRP custom recovery (TWRP 3.2.3-0). However, I'm still having an issue with every ROM that I'm trying to install: "Invalid zip file format!", following by: " Error installing zip file 'OxygenOS.zip' ".
I precise that I have this issue with every .zip ROM that I'm trying to install...
I actually don't have any ROM installed on my OP5, so I can't boot right now.
I'm only fighting with my TWRP recovery and my Bootloader !
The Android version I had before that was Android 7.1.1( old boy...)
I'd be pleased if someone could help me solving this issue...
Have a nice day & Thx !
Click to expand...
Click to collapse
Hello, you need to clean flash 5.1.4, then ota update to 9.0.9 and then flash twrp from PC again with root.
See here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040 including last pages where it's been explained a lot
strongst said:
Hello, you need to clean flash 5.1.4, then ota update to 9.0.9 and then flash twrp from PC again with root.
See here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040 including last pages where it's been explained a lot
Click to expand...
Click to collapse
what do you mean by " clean flash 5.1.4 " ? Android 5.1.4 ? or Oxygen ?
thx
SkyZFr said:
what do you mean by " clean flash 5.1.4 " ? Android 5.1.4 ? or Oxygen ?
thx
Click to expand...
Click to collapse
I mean OxygenOS 5.1.4
strongst said:
I mean OxygenOS 5.1.4
Click to expand...
Click to collapse
I tried so much, but actually I really can't flash nothing...
I'm now having : "Updater process ended with ERROR: 4"
I also had ERRO 7 from TWRP, but I tried everything, like changing a part of the code of one script of the ROM, but nothing is working.

Resources