I get an error everytime I try to flash a ROM - Samsung Galaxy J5 Questions & Answers

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!

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

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?

VertexOS 1.9 [UNOFFICIAL][2017/2/11] [KIPPER] [AOSP+LOS]

HI ALL! With new Rom
VertexOS aims to provide a simple but enhanced near-stock AOSP experience with carefully selected features and an emphasis on stability and smoothness.​
what doesn't work ?
everything is working perfectly.
Coming from another ROM, OR if a CLEAN FLASH is required
1) Download the Vertex... .zip file.
2) Download a 7.1 GApps package.
3) Boot into recovery (TWRP)
4) Full wipe (Dalvik Cache, Cache, System, Factory Data Reset)
5) Flash the Vertex... .zip file
6) Flash Nougat-compatible GApps : http://opengapps.org/ / ARM64,7.1,pico
7) Reboot
Download:https://www.androidfilehost.com/?fid=745425885120707303
enjoy!
Credits:
- LineageOS
- AOSPA
- Citrus-CAF
- DU
- PureNexus
- Zephyr-OS
IF YOU LIKE MY WORK PLEASE HIT THANKS .
-IMPORTANT- : To install this rom you must have installed TWRP-3.0.3.0 , download from here https://www.androidfilehost.com/?fid=529152257862697990
To easy install from TWRP recovery :
1- open "install" section.
2- SELECT "install img" in the bottom .
4- Chose the place of TWRP-3.0.3.0.
5- install as RECOVERY , then reboot to recovery.
XDA:DevDB Information
ROM [AOSP + LOS], ROM for the Wileyfox Storm
Contributors
PS-DEV
Source Code: https://github.com/VertexOS
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: AOSP + LOS
Version Information
Status: Stable
Created 2017-02-11
Last Updated 2017-02-20
Received
Received !
Firstly, thanks loads for producing these ROMs it is much appreciated. :good:
I am unfortunately having issues getting both this and your CypherOS rom to work.
After full wipes of everything both roms get stuck on the "Wileyfox powered by Android" boot screen.
I get the same result sideloading via adb and from the internal memory.
I have tried TWRP 3.0.2.0 and older versions, I have also tried old and new Cyanogen recoveries.
I have successfully got the Slimrom 7.1 rom working and the LineageOS 14.1 rom which also works but with many random reboots.
Any thoughts on what I might be missing when flashing your ROMs?
Again many thanks for the work.
Any chance of grabbing your recipe for building this from source? Own personal use only. I have the VertexOS repo cloned. A copy of your roomservice and local manifest would help enormously.
This seems much more stable than Lineage at the moment. Please note you *MUST* use TWRP 3.0.2-1, the non-test version, to install Vertex and a fastboot -w also can't hurt.
Cannot inatall gapps (Wrong Architecture)
Hi,
I installed VortexOS 1.9... but when I tried to install ARM64 7.1 pico Open gapps package then following Error occurs:
"ERROR 64: Wrong architecture to set-up Open GApps pre-bundled busybox"
I use TWRT 3.0.3-0 (kipper)
Any ideas what I made wrong?
best regards, Chuck
Vertex appears to be built as ARMv7, which means 32 bit. Try the 32 bit pico.
I installed fine with the nano apps and 64 bit, no issues
miSAKe said:
Firstly, thanks loads for producing these ROMs it is much appreciated. :good:
I am unfortunately having issues getting both this and your CypherOS rom to work.
After full wipes of everything both roms get stuck on the "Wileyfox powered by Android" boot screen.
I get the same result sideloading via adb and from the internal memory.
I have tried TWRP 3.0.2.0 and older versions, I have also tried old and new Cyanogen recoveries.
I have successfully got the Slimrom 7.1 rom working and the LineageOS 14.1 rom which also works but with many random reboots.
Any thoughts on what I might be missing when flashing your ROMs?
Again many thanks for the work.
Click to expand...
Click to collapse
Check the first post . i have been edit.
Chron0s said:
Any chance of grabbing your recipe for building this from source? Own personal use only. I have the VertexOS repo cloned. A copy of your roomservice and local manifest would help enormously.
This seems much more stable than Lineage at the moment. Please note you *MUST* use TWRP 3.0.2-1, the non-test version, to install Vertex and a fastboot -w also can't hurt.
Click to expand...
Click to collapse
show your PM.
Chron0s said:
Vertex appears to be built as ARMv7, which means 32 bit. Try the 32 bit pico.
Click to expand...
Click to collapse
NO NO
ARM64 ARMv8 .
ChuckeCheese said:
Hi,
I installed VortexOS 1.9... but when I tried to install ARM64 7.1 pico Open gapps package then following Error occurs:
"ERROR 64: Wrong architecture to set-up Open GApps pre-bundled busybox"
I use TWRT 3.0.3-0 (kipper)
Any ideas what I made wrong?
best regards, Chuck
Click to expand...
Click to collapse
1- check to wipe this partitions :
- SYSTEM
- CACHE
- Dalvick-cache.
- DATA
and dont forget to factory reset .
2- first install rom then Gapps. download from here http://bit.ly/2kQf3Le
PS-DEV said:
Check the first post . i have been edit.
Click to expand...
Click to collapse
Thanks again,
Unfortunately I could not get that recovery to work via TWRP 3.0.2.1 or fastboot.
I can flash it but not boot to recovery.
If booting the image directly I get
Code:
FAILED (remote: dtb not found)
I will try building it myself when I get some time.
miSAKe said:
Thanks again,
Unfortunately I could not get that recovery to work via TWRP 3.0.2.1 or fastboot.
I can flash it but not boot to recovery.
If booting the image directly I get
Code:
FAILED (remote: dtb not found)
I will try building it myself when I get some time.
Click to expand...
Click to collapse
You flash via TWRP or fastboot ??
And looking for the method to install TWRP 3.0.3.0 ?
And after chose recovery , you install in "boot" or "reocvery" section ?
PS-DEV said:
You flash via TWRP or fastboot ??
And looking for the method to install TWRP 3.0.3.0 ?
And after chose recovery , you install in "boot" or "reocvery" section ?
Click to expand...
Click to collapse
Both, from TWRP i selected recovery, this flashes but results in recovery not loading.
from fastboot the flash fails, as does booting the image via fastboot.
miSAKe said:
Both, from TWRP i selected recovery, this flashes but results in recovery not loading.
from fastboot the flash fails, as does booting the image via fastboot.
Click to expand...
Click to collapse
The phone boot to rom or not ??
PS-DEV said:
The phone boot to rom or not ??
Click to expand...
Click to collapse
Yes can still boot to Slimrom 7.1 with or without working recovery.
I have reverted to TWRP 3.0.2.1 though.
Thanks for your help.
miSAKe said:
Yes can still boot to Slimrom 7.1 with or without working recovery.
I have reverted to TWRP 3.0.2.1 though.
Thanks for your help.
Click to expand...
Click to collapse
Can you check your bootloader version ?
Because TWRP 3.0.3.0 Needs to kipper-13-.... bootloader
See the photo .
PS-DEV said:
Can you check your bootloader version ?
Because TWRP 3.0.3.0 Needs to kipper-13-.... bootloader
See the photo .
Click to expand...
Click to collapse
Got it kipper-12.1
I reverted to stock recently.
Solved the issue, thank you very much.
miSAKe said:
Got it kipper-12.1
I reverted to stock recently.
Solved the issue, thank you very much.
Click to expand...
Click to collapse
Stock firmware or what? ,, to install version 13 Bootloader , just install any nightly cm13 then back to recovery and install TWRP 3.0.3.0 ??.

'E:2001 Failed to update vendor' Error:7 while flashing ROMs using TWRP

How to fix this error. I can only flash AOSiP ROM.
I have tried by clearing assert lines using notepad++.
I am using TWRP 3.2.1
Please help me ASAP
Anuraj KR said:
How to fix this error. I can only flash AOSiP ROM.
I have tried by clearing assert lines using notepad++.
I am using TWRP 3.2.1
Please help me ASAP
Click to expand...
Click to collapse
Download new recovery for latest roms. Else you wlll face problems. You should be on latest firmware before flashing custom roms
sk.vyshak said:
Download new recovery for latest roms. Else you wlll face problems. You should be on latest firmware before flashing custom roms
Click to expand...
Click to collapse
Thanks for reply?
Still getting error 7.
I have deleted "assert" command. I'm using twrp 3.2.I hope it's the latest for k6 power.But evert time I flash AICP oreo and DOT oreo roms,I'm getting "Failed to update vandor image" and "Error:7".
Why guys??I've tried somany times.Please help me.

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.

Categories

Resources