TWRP error: Zip file is corrupted! - Samsung Galaxy A20 Questions & Answers

Hello, so I've already installed 5 different TWRP and roms and i always get this error when flashing: "Zip file is corrupted!" Can someone help me? This way i can't install ANY rom.

Which zip are you trying to flash?

physwizz said:
Which zip are you trying to flash?
Click to expand...
Click to collapse
Dmverity, custom roms, gsi, custom kernel, nothing works......

AutoAstral said:
Dmverity, custom roms, gsi, custom kernel, nothing works......
Click to expand...
Click to collapse
What is your device?
Are you on Android 10?
You cannot flash Q zips if you're on Android 9
GSI should be unzipoped and installed as img
Format data then flash dmverity

Related

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

Status 7 Error for All Roms.

Whenever I am flashing Roms (Cm 14, AOSP, R.Remix) or any other rom, TWRP is showing STATUS 7 error for each and every rom. I tried modifying script file too but then TWRP fails to detect binary-script file and installation gets abort. What to do?
It means you have the wrong version of firmware package installed. For CM14 and all it's derivatives you must have OOS 3.0.2 installed before to get the compatible TZ.
Should I install This?
pitrus- said:
It means you have the wrong version of firmware package installed. For CM14 and all it's derivatives you must have OOS 3.0.2 installed before to get the compatible TZ.
Click to expand...
Click to collapse
Should I Install this one?
I am using OnePlus 2 (INDIA)
https://s3.amazonaws.com/oxygenos.o...4_OTA_019_all_1606041303_bd42fc5cc5cc4ab2.zip
Did you made a proper "Wipe" of the device before an installation of each rom?
piyushmodi01 said:
Whenever I am flashing Roms (Cm 14, AOSP, R.Remix) or any other rom, TWRP is showing STATUS 7 error for each and every rom. I tried modifying script file too but then TWRP fails to detect binary-script file and installation gets abort. What to do?
Click to expand...
Click to collapse
Use HybridRecovery v3.4
Same issue with Hybrid Recovery V. 3.4
Updater Process Ended with ERROR 7.
Weird.... I would use fastboot to return to stock
Sent from my ONE A2005 using Tapatalk
I can't
I can't install that ROM, have the same error with TRWP.. my OP is A2005

I get an error everytime I try to flash a ROM

Hi, I have this problem that it's driving me crazy, everytime I flash a ROM TWRP gives me this error:
Code:
Updater process ended with ERROR: 7
Error installing zip file: etc
My phone is a SM-J500FN with TWRP Recovery 3.1.0-0 by Zonik, so far I tried LineageOs (both 13.1 and 14.0) and Resurrection Remix, I get always the same error.
edit: also tried with AospExtended, no luck whatsoever.
Odin Eidolon said:
Hi, I have this problem that it's driving me crazy, everytime I flash a ROM TWRP gives me this error:
Code:
Updater process ended with ERROR: 7
Error installing zip file: etc
My phone is a SM-J500FN with TWRP Recovery 3.1.0-0 by Zonik, so far I tried LineageOs (both 13.1 and 14.0) and Resurrection Remix, I get always the same error.
edit: also tried with AospExtended, no luck whatsoever.
Click to expand...
Click to collapse
You need to be on Lollipop + TWRP 5.1.1 to flash the available Marshmallow/Nougat roms which are based on AOSP/Lineage (cm).
TWRP 5.1.1: https://forum.xda-developers.com/galaxy-j5/development/recovery-samsung-galaxy-j5-t3468844.
If you still have errors when flashing, then choose in TWRP "Copy log to sdcard" (something like that) and post the recovery.log .
#Henkate said:
You need to be on Lollipop + TWRP 5.1.1 to flash the available Marshmallow/Nougat roms which are based on AOSP/Lineage (cm).
TWRP 5.1.1: https://forum.xda-developers.com/galaxy-j5/development/recovery-samsung-galaxy-j5-t3468844.
If you still have errors when flashing, then choose in TWRP "Copy log to sdcard" (something like that) and post the recovery.log .
Click to expand...
Click to collapse
So first I need to downgrade my stock ROM then I can flash Lineage/whatsoever ROM?
Odin Eidolon said:
So first I need to downgrade my stock ROM then I can flash Lineage/whatsoever ROM?
Click to expand...
Click to collapse
Yes. Just like i told you in my previous post, you have to be on Lollipop + TWRP 5.1.1 to flash the available Marshmallow/Nougat roms based on AOSP/Lineage (cm).
#Henkate said:
Yes. Just like i told you in my previous post, you have to be on Lollipop + TWRP 5.1.1 to flash the available Marshmallow/Nougat roms based on AOSP/Lineage (cm).
Click to expand...
Click to collapse
Bad news, it doesn't work.
Downgraded to 5.1.1, installed the TWRP linked by you, but still error 7 when I try to flash a ROM.
edit: ok, this time I tried to flash LineageOS 13.1 and it worked. Now I have to figure out how to flash Lineage 14
Odin Eidolon said:
Bad news, it doesn't work.
Downgraded to 5.1.1, installed the TWRP linked by you, but still error 7 when I try to flash a ROM.
edit: ok, this time I tried to flash LineageOS 13.1 and it worked. Now I have to figure out how to flash Lineage 14
Click to expand...
Click to collapse
I've told you:
If you still have errors when flashing, then choose in TWRP "Copy log to sdcard" (something like that) and post the recovery.log.
Click to expand...
Click to collapse
In recovery.log you can see what's the problem.
#Henkate said:
I've told you:
In recovery.log you can see what's the problem.
Click to expand...
Click to collapse
Yeah, you're right, sorry.
But good news, flashed LOS 14 on the old 13.1, everything works fine.
Thanks for your help!

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.

Where to find the recovery stock

Hello,
I would like to upgrade my Redmi Note 7 lavender.
The MIUI 12.1 by Xiaomi.eu 20.7.9 beta version is currently installed.
The smartphone mounts the OrangeFox R10.1_3.
I should restore the stock recovery, but I don't know how and where to find the recovery.img file.
Expanding the ROM I found only the boot.img file.
Can someone help me?
Thank you.
nigol
nigol said:
Hello,
I would like to upgrade my Redmi Note 7 lavender.
The MIUI 12.1 by Xiaomi.eu 20.7.9 beta version is currently installed.
The smartphone mounts the OrangeFox R10.1_3.
I should restore the stock recovery, but I don't know how and where to find the recovery.img file.
Expanding the ROM I found only the boot.img file.
Can someone help me?
Thank you.
nigol
Click to expand...
Click to collapse
If you install stock MIUI and reboot to system, MIUI overwrites the custom recovery with the stock one.
darhma said:
If you install stock MIUI and reboot to system, MIUI overwrites the custom recovery with the stock one.
Click to expand...
Click to collapse
Thanks for the reply.
But I don't want to reinstall MIUI because I would lose many current configurations that have already cost me a lot of time, I just wanted to know how to recover the recovery.img file relating to the MIUI version currently installed in order to use the command
"fastboot flash recovery recovery.img"
without having to reinstall anything.
Thanks anyway, but the problem remains.
nigol
nigol said:
Thanks for the reply.
But I don't want to reinstall MIUI because I would lose many current configurations that have already cost me a lot of time, I just wanted to know how to recover the recovery.img file relating to the MIUI version currently installed in order to use the command
"fastboot flash recovery recovery.img"
without having to reinstall anything.
Thanks anyway, but the problem remains.
nigol
Click to expand...
Click to collapse
I think that you need a custom recovery to update xiaomi.eu, why do you need the stock recovery? I found this (is about redmi note 9 but should be valid also for rn7) https://xiaomi.eu/community/threads/recovery-in-xiaomi-eu-fastboot-rom.56358/
nigol said:
... I should restore the stock recovery, but I don't know how and where to find the recovery.img file ...
Click to expand...
Click to collapse
Download a MIUI fastboot ROM, and extract it. You should find a recovery.img in it.
DarthJabba9 said:
Download a MIUI fastboot ROM, and extract it. You should find a recovery.img in it.
Click to expand...
Click to collapse
Thanks, everything OK!
Update successfully installed!
nigol
Links to Official MIUI Roms & Flash Tool
Latest MIUI Official ROMs
Xiaomi Flash Tool

Categories

Resources