Thursday, 31 March 2016

Error executing updater binary in zip [fix]










Error executing updater binary in zip


Many of us have their hobbies to flash different Rom(s) available one by one depending on the mood, same as I do. But recently while flashing Miui v6 on Xiaomi Redmi 1s, it gave me this
"Error executing updater binary in zip" error in the recovery while flashing as shown in the given image. Now after this error you can't boot back obviously as you wiped everything before the flashing.
Lots of people misinterprets thinking that it is encountered because of the Rom they had downloaded & flashed on their devices might be the wrong one, but its not like that. I've seen this error mostly with the Team Win Recoveries(TWRPs) , so let me help you with this thing step by step that how you can avoid this error and get your device flashed properly.
So lets begin,

What all we need before flashing any Rom?


1. A complete nandroid backup of the Rom that was running on the device.


2. You can backup your Rom in the recovery under the 'backup' option. It will create a backup of your whole system on your external SD card.

3. If you failed to create the backup of the Rom or you don't have the backup and the error occurred, then at least you should have the zip file of any working custom Rom of your device in the storage (external/internal).

Now lets suppose 'Rom1' as the stock Rom(or any working custom Rom of your device) and 'Rom2' will be the Rom that you flashed and got the error.

Our common steps for flashing any custom Rom(s) are,

Step 1:- Go to recovery.

Step 2:- Go to Wipe>>Advanced wipe.

Step 3:- Check data, system, cache & dalvik cache and then swipe to wipe all.

Step 4:- Then go to install zip from SD card and browse the Rom and install it.

Step 5:- Reboot the device.

Same as the above steps I flashed the Rom on the device and encountered the error in the recovery. So what I did to flash the Rom2 correctly after the error was,

Step 1:- I flashed the Rom1 again by the same methods followed above.

Step 2:- Then  without following Step 2 & Step 3 (that is not wiping the data & system from the Advanced wipe).

Step 3:- I just only did the factory reset & the dalvik cache wipe instead, from the Wipe menu.

Step 4:- After that flashed the Rom2 which gave me the updater binary error before and it got flashed completely without the error.

Step 5:- Then I rebooted the device and it booted on the system successfully.

Update: You can just only hit the "Factory Reset" before flashing the ROM to pass the error instead.
Also make sure that you are using the latest version of TWRP recovery available for your respective devices.

That's it, if still the error stays then maybe the issue will be of the ROM only what you are flashing, but this method worked for me. As complete system wipe sometimes leads to the flashing error. Still you are getting the error again and again then stay relaxed and comment below I will work for you and find the solution for your device asap when I'll get time.

No comments:

Post a Comment