[Q] TWRP failed - Nexus 4 Q&A, Help & Troubleshooting

I get a failure when trying to flash a new ROM. I have three different zips (ROMs) on my phone. None of them will install for some reason and I get a failed error and it puts something about an error when updating binary script? How could I fix this on my nexus 4?
If I need to update twrp could I do so without using goomanager to do this? Goomanager won't download the recovery so I have to use another method

You probably need to update to the latest TWRP version. Use the TWRP link in my signature and get the latest version in the "mako" folder.
Use fastboot to flash it, use the command:
fastboot flash recovery twrp.img
(replacing twrp.img with actual file name)
If you don't know how to use fastboot, use the 3rd link for guide on installing custom recoveries.

dreammaster252 said:
I get a failure when trying to flash a new ROM. I have three different zips (ROMs) on my phone. None of them will install for some reason and I get a failed error and it puts something about an error when updating binary script? How could I fix this on my nexus 4?
If I need to update twrp could I do so without using goomanager to do this? Goomanager won't download the recovery so I have to use another method
Click to expand...
Click to collapse
had the same error and resolved it like this:
installed ROM Installer vom play store
installed cwm, and then twrp again from rom installer.. worked perfectly!
BUT WHATCH OUT! i think the error you get is called "error 9".. or something like that, it appears, when you try to install a zip, and the updater-skripts cancels the installation process, e.g., because it is not hte right zip for your phone!
so look at first, if you have the right zip downloaded

Related

Flashing Cyanogenmod Rom Error

Device: Nexus 7 (Wi-Fi) (Old one)
Android: 4.3
When i go to flash cyanogenmod 10.2.0-grouper.zip i get this error
Updating partition details...
Installing 'usb-otg/cm-10.2.0-grouper.zip'...
Checking for MD5 file...
Skipping MD5 Check: no MD5 file found.
assert failed: getprop("ro.product.device") == "grouper" | | getprop("ro.build.pr
E:Error executing updater binary in zip '/usb-otg/cm-10.2.0-grouper.zip'
Error flashing zip 'usb-otg/cm-10.2.0-grouper.zip'
Updating partition details...
Can anyone please help this has been going on forever now and its getting super annoying.
What recovery are you using? Last I heard TWRP over 2.6.3.0 had issues. Try that certain version or use CWM
Sent from my Nexus 5
Pirateghost said:
What recovery are you using? Last I heard TWRP over 2.6.3.0 had issues. Try that certain version or use CWM
Sent from my Nexus 5
Click to expand...
Click to collapse
Lol ok ill try that. I'm on 2.6.3.1 ill try the other version of TWRP first.
How Did You Solve This?
HVC FOG3Y34 said:
Lol ok ill try that. I'm on 2.6.3.1 ill try the other version of TWRP first.
Click to expand...
Click to collapse
So can you give me a little more detail on what you did? This is my first unlock, root, custom recovery, and custom ROM ever, so if I made a mistake, I'm not sure I could even identify it. I used wugfresh's Nexus Root Toolkit to reach this point.
I have TWRP 2.6.3.1. Is the solution to flash a previous version of TWRP? If so, can you direct me to instructions for that?
StarSphere said:
So can you give me a little more detail on what you did? This is my first unlock, root, custom recovery, and custom ROM ever, so if I made a mistake, I'm not sure I could even identify it. I used wugfresh's Nexus Root Toolkit to reach this point.
I have TWRP 2.6.3.1. Is the solution to flash a previous version of TWRP? If so, can you direct me to instructions for that?
Click to expand...
Click to collapse
Hey im sorry. i don't really remember what i did, it was a very annoying time for me. All i remember is googling most of the stuff. Just google how to flash custom recovery on nexus 7 jelly bean or something. sorry...
StarSphere said:
So can you give me a little more detail on what you did? This is my first unlock, root, custom recovery, and custom ROM ever, so if I made a mistake, I'm not sure I could even identify it. I used wugfresh's Nexus Root Toolkit to reach this point.
I have TWRP 2.6.3.1. Is the solution to flash a previous version of TWRP? If so, can you direct me to instructions for that?
Click to expand...
Click to collapse
Fastboot flash recovery nameofrecoveryimage.img
It's that simple
Sent from my Nexus 5
Complete Instructions
I'm a newbie, and this is what I did. I can't take responsibility for anything that happens to anyone's device, nor answer any questions, because I only half understand it myself. I am sorry I can't include links. I am too new, and the website won't trust me to do that. So, you will have to search for these things on your own.
Download Stuff to your PC Note: Some antivirus software may trigger false positives on these kinds of files and block them from downloading, so you may have to temporarily disable the website shielding portion of your program.
1) The fastboot.exe file. If you want a big download, you can get it in the Android SDK. However, I got it from the CyanogenMod Installer. The installer failed to work with my device, but conveniently downloaded the fastboot.exe file for me. I'm not sure I would recommend this route if you don't want CyanogenMod.
2) TWRP 2.6.3.0. You can get it from androidfilehost.
Safety Stuff
1) Compare the MD5 code on the website to the one in your downloaded TWRP image.
A Windows utility to do that is called MD5 SHA Checksum Utility.
An Android utility to do that is called MD5 Checker.
2) Completely back up your current Android ROM. Nexus Root Toolkit is great for this and many other things. It can be downloaded from wugfresh.
The Custom Recovery Flash
1) Make sure USB debugging is still enabled on your Android device. The video links on wugfresh's page can show you how to do that.
2) Make sure your Android device is connected to your PC via USB cable.
3) Boot your Android device into the bootloader. I used Nexus Root Toolkit -> Advanced Utilities Launch -> Reboot Bootloader to do this, but I think you can also do it by turning your device off, then holding down the Power and Volume Down buttons simultaneously (don't quote me on that).
2) Search for the location of fastboot.exe on your PC. Mine was in my user directory, where CyanogenMod's installer left it: C:\Users\{Username}\cminstaller\bundle\win32
3) On your PC, open a command line. Go into the directory where you found fastboot.exe above.
4) Type fastboot flash recovery {Complete directory location and file name of TWRP image}. If you would rather not be using the complete directory location, you can always copy the TWRP image into the same directory as the fastboot.exe file, before doing this step.
5) The command window should soon say "finished". Mine took under 2 seconds.
6) On your Android device, the bootloader should currently have a big green arrow that says "Start". Press the volume down button until the arrow says "Recovery". Then press the power button. Your device should now start TWRP 2.6.3.0.
Best of all, using TWRP 2.6.3.0 for custom recovery, instead of the newest version, really did solve the original problem. Yeah!
Unfortunately, the next time I used Nexus Root Toolkit, it insisted on updating back to TWRP 2.6.3.1. So, hopefully I won't have to flash another ROM in the near future and the next TWRP version will fix the problem more permanently.

Nexus 4 Stock rom deleted

Hi everyone!
I have come to a slight problem, trying to flash an android L preview port for my N4. I rooted properly, but when CWM asked me if I wanted to fix boot, I unfortunately replied with Yes. After I lost my root, I tried rerooting, when I accidently selected a wipe all function. So, now I have no rom Just a CWM recovery.
I have downloaded a tar.gz factory image file for N4 (4.4.4) and tried adb pushing to the device. The transfer is successful, but when I try to install it from the sdcard (cwm), it reports failure. I googled and read a lot, but not much seems to be helping.
I am using a Mac, btw.
Thanks in advance!!
You cant install a .tgz via recovery. Instead you should download a flashable .zip of your rom. Try this.
CCody said:
You cant install a .tgz via recovery. Instead you should download a flashable .zip of your rom. Try this.
Click to expand...
Click to collapse
Yes, I keep trying to do that but without success.
O tried factory kitkat zip and I tried an L android I downloaded.
Could you provide me witha link to a flashable zip?
Then tell me what you want. A factory image or a custom rom. I would recommand you cyanogenmod. Downloaf the zip for your device. http://www.cyanogenmod.org/
To install stock do this:
Extract .tar.gz (using 7Zip) until you come up with folder named "occam-xxxxx"
Copy the files within it to your fastboot.exe folder
Reboot into boot-loader
Hit flash-all.bat
But you may download latest CM from https://download.cyanogenmod.org/?device=mako and install it via flash .zip in CWM (however I recommend Philz Touch Recovery)
I'd like to flash Nexus 4 port for Android L. I had downloaded android l zip file but when I try to flash it, installation aborted keeps popping up.
And once again, people keep mentioning fastboot.EXE and run a batch file, but again... I am on a Mac. It would mean a great lot if the instructions given were for a mac.
Thanks!
Here's what I did:
1. Install Wugfresh's NRT (search online for it)
2. Download the factory image from the Google website
3. Connect your phone in Recovery mode
4. Open NRT and let it update if it has to
5. Hit "Flash stock + Unroot"
6. The usage is clearly explained at every stage. You should ideally have no problems restoring your phone to a working state. Your data however is most likely lost. Sorry.
(PS: I don't usually recommend toolkits because they take away the fun in messing with the phone manually, but sometimes it becomes necessary to use them. This is one of those times )
I tried flashing CM 11 snapshot M8 release, but it gave me status 7, install failed. I tried to fix it by removing asserts and rezipping, and failed again, without a status.
I am trying to revert back to stock now, nothing else works, and neither will this, so it seems.
EDIT:
I flashed new bootloader and new radio, but when I tried to flash a stock rom, it failed again.
I don't know what to do anymore, I feel like throwing a phone against the wall and just getting a Nexus 5.
to flash the n4 L port, download the zip in the port thread and flash it in recovery. that's all. wipe before you flash.
there was no official L preview for the n4, so you can't flash it from the factory IMG, that's for the nexus 5.
simms22 said:
to flash the n4 L port, download the zip in the port thread and flash it in recovery. that's all. wipe before you flash.
there was no official L preview for the n4, so you can't flash it from the factory IMG, that's for the nexus 5.
Click to expand...
Click to collapse
Cwm reports unable to mount... i updated to 6.0.5.0 cwm, changed to twrp even using fastboot... But nothing is helping.

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.

need stock recovery for a2017g european Zte Axon 7

Hello
I have formatted the system in twrp and I can't do nothing except going into twrp. I want to flash the stock system but it says:
Updater process ended with ERROR: 8
Error installing zip file 'external_sd/update.zip'
So where I can find the stock recovery to be able to flash the original system recovery.
Thank you.
roucoups said:
Hello
I have formatted the system in twrp and I can't do nothing except going into twrp. I want to flash the stock system but it says:
Updater process ended with ERROR: 8
Error installing zip file 'external_sd/update.zip'
So where I can find the stock recovery to be able to flash the original system recovery.
Thank you.
Click to expand...
Click to collapse
Just FYI , Next time you create a thread asking for things , you NEED to use the SEARCH feature of this forum.
http://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Those files are TWRP flashable zips.
DrakenFX said:
Just FYI , Next time you create a thread asking for things , you NEED to use the SEARCH feature of this forum.
http://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Those files are TWRP flashable zips.
Click to expand...
Click to collapse
I already tried several times and each time I start flashing zte_a2017.b03_bootstack_by_drakenfx.zip it says:
Updater process ended with ERROR: 6
Error installing zip file 'external_sd/ZTE_A2017G.B03_BootStack_by_DrakenFX.zip'
So what do I do now????

Categories

Resources