TWRP Error executing updater binary in zip - Moto G Q&A, Help & Troubleshooting

Tried to flash Sailfish OS on my moto g 1st gen using TWRP but i keep getting this error. E:Error executing updater binary in zip '/sdcard/sailfishos-falcon-release-1.1.7.28-my4.zip'
Error flashing zip '/sdcard/sailfishos-falcon-release-1.1.7.28-my4.zip'

Prymston said:
Tried to flash Sailfish OS on my moto g 1st gen using TWRP but i keep getting this error. E:Error executing updater binary in zip '/sdcard/sailfishos-falcon-release-1.1.7.28-my4.zip'
Error flashing zip '/sdcard/sailfishos-falcon-release-1.1.7.28-my4.zip'
Click to expand...
Click to collapse
No other error messages before these? Try "adb pull /tmp/recovery.log" and post the file.

_that said:
No other error messages before these? Try "adb pull /tmp/recovery.log" and post the file.
Click to expand...
Click to collapse
Sorry for the noobie question but do i post the whole log here or do i upload the file? :silly:

Known issue:
When flashing, I get the following: "E:Error executing updater binary in zip"
This is a custom recovery bug. Try restarting recovery and flashing again. Alternatively you may need to format /data (userdata) in Custom Recovery. Note: This will delete anything on internal storage - photos, music, videos etc.​

Prymston said:
Sorry for the noobie question but do i post the whole log here or do i upload the file? :silly:
Click to expand...
Click to collapse
I don't know if Junior members are allowed to attach files to posts. If not, upload it to some paste site and post the link (you'll need to remove things like "http://" to be allowed to post it).
lost101 said:
Known issue:
When flashing, I get the following: "E:Error executing updater binary in zip"
This is a custom recovery bug.
Click to expand...
Click to collapse
Unlikely - if the recovery could not run update binaries at all, someone would have noticed. Why should restarting recovery change anything? What exactly is the bug?

lost101 said:
Known issue:
When flashing, I get the following: "E:Error executing updater binary in zip"
This is a custom recovery bug. Try restarting recovery and flashing again. Alternatively you may need to format /data (userdata) in Custom Recovery. Note: This will delete anything on internal storage - photos, music, videos etc.​
Click to expand...
Click to collapse
I tried that didn't work

Prymston said:
I tried that didn't work
Click to expand...
Click to collapse
Make sure to use the following option: TWRP > Wipe > Format Data > Yes

can't post log? probably to much text?

where can i post the log? I can't post it here.

i posted the recovery.log on google drive

Prymston said:
i posted the recovery.log on google drive
Click to expand...
Click to collapse
The script expects the device name to be "falcon":
Code:
script aborted: assert failed: getprop("ro.product.device") == "falcon" || getprop("ro.build.product") == "falcon" || getprop("ro.cm.device") == "falcon"
But your TWRP version calls it "xt1032":
Code:
ro.product.name=XT1032
ro.build.product=xt1032
ro.cm.device=xt1032
Workaround: replace "falcon" with "xt1032" in updater-script inside the zip file.

New Log.

Prymston said:
New Log.
Click to expand...
Click to collapse
Looks fine. The mount error is probably because /data is already mounted, which it must be to read the zip from the emulated sdcard.

_that said:
Looks fine. The mount error is probably because /data is already mounted, which it must be to read the zip from the emulated sdcard.
Click to expand...
Click to collapse
but i get a black screen when booting sailfish os, somethings not right.

Prymston said:
but i get a black screen when booting sailfish os, somethings not right.
Click to expand...
Click to collapse
Did you get it to flash properly now?
If yes, you should try another CM12.1 nightly. I posted a working one in the Sailfish thread

k-kuchen said:
Did you get it to flash properly now?
If yes, you should try another CM12.1 nightly. I posted a working one in the Sailfish thread
Click to expand...
Click to collapse
It worked! Thank you

Related

[Q] HELP Can't update to 4.4.2

Hey guys,
My nexus 5 is rooted has xposed framework and twrp. I unrooted my device using supersu and also made sure I cleaned xposed framework. But I still get this error...
Installing '/data/media/0/sideload.zip'... Checking for MD5 file... I:Cannot find file /data/media/0/sideload.zip.md5 Skipping MD5 check: no MD5 file found. I:Zip does not contain SELinux file_contexts file in its root. Verifying current system... failed to stat "/system/bin/thermal-engine-hh": No such file or directory file "/system/bin/thermal-engine-hh" doesn't have any of expected sha1 sums; checking cache failed to stat "/cache/saved.file": No such file or directory failed to load cache file script aborted: "/system/bin/thermal-engine-hh" has unexpected contents. "/system/bin/thermal-engine-hh" has unexpected contents. E:Error executing updater binary in zip '/data/media/0/sideload.zip'
add12364 said:
Hey guys,
My nexus 5 is rooted has xposed framework and twrp. I unrooted my device using supersu and also made sure I cleaned xposed framework. But I still get this error...
Installing '/data/media/0/sideload.zip'... Checking for MD5 file... I:Cannot find file /data/media/0/sideload.zip.md5 Skipping MD5 check: no MD5 file found. I:Zip does not contain SELinux file_contexts file in its root. Verifying current system... failed to stat "/system/bin/thermal-engine-hh": No such file or directory file "/system/bin/thermal-engine-hh" doesn't have any of expected sha1 sums; checking cache failed to stat "/cache/saved.file": No such file or directory failed to load cache file script aborted: "/system/bin/thermal-engine-hh" has unexpected contents. "/system/bin/thermal-engine-hh" has unexpected contents. E:Error executing updater binary in zip '/data/media/0/sideload.zip'
Click to expand...
Click to collapse
Fastboot flash system and boot image files from the 4.4 rom. Then try again.
jd1639 said:
Fastboot flash system and boot image files from the 4.4 rom. Then try again.
Click to expand...
Click to collapse
Could you maybe explain to me how to fast boot flash system and boot image files? I only know how to use the .zip... Thanks
jd1639 said:
Fastboot flash system and boot image files from the 4.4 rom. Then try again.
Click to expand...
Click to collapse
You'll want to follow method #2 of this but only flash the system and boot images. http://forum.xda-developers.com/showthread.php?p=47156064
jd1639 said:
You'll want to follow method #2 of this but only flash the system and boot images. http://forum.xda-developers.com/showthread.php?p=47156064
Click to expand...
Click to collapse
Just to clarify... Will I lose data?
add12364 said:
Just to clarify... Will I lose data?
Click to expand...
Click to collapse
No you will not
jd1639 said:
no you will not
Click to expand...
Click to collapse
omg i love you. It finally worked.
add12364 said:
omg i love you. It finally worked.
Click to expand...
Click to collapse
Glad it worked for you
jd1639 said:
You'll want to follow method #2 of this but only flash the system and boot images. http://forum.xda-developers.com/showthread.php?p=47156064
Click to expand...
Click to collapse
Thanks!
Works great for my Nexus 4 also!

[Newbie] Cannot flash [cm-12.1-20151022-NIGHTLY-taoshan.zip]

Hello Guys,
This is my first post in xda-developers. I have tried to read and understood the forum rules and will try to follow them.
I have wiped out my system partition and have installed ThunderZap ROM with TWRP recovery. With TWRP I am trying to install cm-12.1-20151022-NIGHTLY-taoshan.zip, I got the following errors:
updating partition details...
...done
Full SELinux support is present.
MTP Enabled.
Installing '/external_sd/cm-12.1.20151022-NIGHTLY-taoshan.zip'...
Checking for MD5 file...
Skipping MD5 check; no MD5 file found
This package is for device: C2105,C2104,c2105,c2104,taoshan; this device is .
E: Error executing updater binary in zip '/external_sd/cm-12.1-20151022-NIGHTLY-taoshan.zip'
Error flashing zip 'external_sd/cm-12.1-20151022-NIGHTLY-taoshan.zip'
Updating partition details...
...done
I guess this error is because I wiped out /system partition, the installer is not able to read ro.product.device correctly, so I removed the assert() that checks for the device type in META-INF\com\google\android\updater-script. This time when I recompress the cm-12.1-20151022-NIGHTLY-taoshan folder contents to cm-12.1-20151022-NIGHTLY-taoshan.zip, and try to install using TWRP installer, it throws up an error like this:
Installing '/external_sd/cm-12.1.-20151022-NIGHTLY-taoshan.1.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/external_sd/cm-12.1-20151022-NIGHTLY-taoshan.1.zip'
Updating partition details...
...done
Any help on what could be going wrong? Is there any settings that I need to follow when compressing folder contents to a zip file?
Advance Thanks,
teejbee
you are on twrp recovery? (i guess the old one 2.8.4 ? )
go to Advanced -> Terminal command -> select
there enter:
setprop ro.product.device taoshan
setprop ro.build.product taoshan
then try to flash again
SdtBarbarossa said:
you are on twrp recovery? (i guess the old one 2.8.4 ? )
go to Advanced -> Terminal command -> select
there enter:
setprop ro.product.device taoshan
setprop ro.build.product taoshan
then try to flash again
Click to expand...
Click to collapse
Thank you! It worked. I am able to flash the original unmodified cm-12.1-20151022-NIGHTLY-taoshan.zip.
Regards,
teejbee
I have a question though. I installed playstore from here http://forum.xda-developers.com/showthread.php?t=1996995
I tried with version 5.10.30 and 5.9.12, it seems to open up and close immediately.
Is there anything I am missing for getting playstore? I am new to CM.
Thanks,
teejbee
teejbee said:
I have a question though. I installed playstore from here http://forum.xda-developers.com/showthread.php?t=1996995
I tried with version 5.10.30 and 5.9.12, it seems to open up and close immediately.
Is there anything I am missing for getting playstore? I am new to CM.
Thanks,
teejbee
Click to expand...
Click to collapse
yea you need to flash it manually in recovery....
http://opengapps.org/
arm -> 5.1 -> pico is what you need to select and then download and flash it
SdtBarbarossa said:
yea you need to flash it manually in recovery....
arm -> 5.1 -> pico is what you need to select and then download and flash it
Click to expand...
Click to collapse
Thanks a lot SdtBarbarossa. My problem with flashing cm-12.1-20151022-NIGHTLY-taoshan is solved now.
Feel delighted to have entered CM arena ?
No problem and Welcome

Promblem flashing LineageOS 16

I ran into a problem trying flashing LineageOS 16 into my one
I flashed newest twrp 3.3.0 successfully
But when I tried to use adb sideload to flash LineageOS a problem happened
The flashing process just ended immediatly
In the command prompt it says:
serving: 'lineage-16.0-20190422-nightly-bacon-signed.zip' (~0%) adb: failed to read command: No error
On my phone it says:
Starting ADB sideload feature...
Installing zip file '/sideload/package.zip'
Waring: No file_contexts
Comparing TZ version TZ.BF.2.0-2.0.0109 to TZ.BF.2.0-2.0.0096
Comparing TZ version TZ.BF.2.0-2.0.0123 to TZ.BF.2.0-2.0.0096
Comparing TZ version TZ.BF.2.0-2.0.0134 to TZ.BF.2.0-2.0.0096
assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0109","TZ.BF.2.0-2.0.0123","TZ.BF.2.0-2.0.0134") == "1"
Updater process ended with ERROR: 7
I don't know what to do now, I googled, no one seems to have the same problem, I tried on a different computer, didn't work, I pushed the install package into my phone's storage and install from there, didn't work
Can anyone help?
I don't think you should be trying to adb sideload, just wipe Data, System, Dalvik, Cache (without internal storage) and flash the zip.
Be warned, lineage 16 currently has an issue where the wifi is unstable if used with gapps (https://gitlab.com/LineageOS/issues/android/issues/392).
You mean flash the zip from internal storage? I tried that, didn't work, same problem
Does it work with an older version of TWRP?
SethGeckoXDA said:
Does it work with an older version of TWRP?
Click to expand...
Click to collapse
Tried that, didn't work, same problem
tkgrand said:
Tried that, didn't work, same problem
Click to expand...
Click to collapse
I think this is because the modem needs to be updated before flashing.
Try flashing this modem zip before flashing rom. ---> https://androidfilehost.com/?fid=24052804347825946
Steps:
1.Open twrp
2.Flash modem
3.Flash lineage
3.Flash gapps
4.Restart
vicky2131 said:
I think this is because the modem needs to be updated before flashing.
Try flashing this modem zip before flashing rom. ---> https://androidfilehost.com/?fid=24052804347825946
Steps:
1.Open twrp
2.Flash modem
3.Flash lineage
3.Flash gapps
4.Restart
Click to expand...
Click to collapse
Yes! It works! Thank You!
twrp-3.6.2_9-0-bacon.img 14.9M 2022-05-30 00:09:30 UTC works as well. Thank you.

git stuck with twrp after removing partitions

Hi,
I powered up my old TF300T while I want to install ubuntu on it to use it as a laptop or install a custom ROM with android 7 or so. I remember vague that I tried to install another ROM in the past and that I deleted one partition which I should have kept.
I once had this before on another device but couldn't find this thread and cannot login with that account. hence a new topic.
I have a working TWRP (version 2.5.0.0 ) and when I install for instance KitKiss-7.1 I got the following error:
ApplyParsedPerms: lsetfilecon of /system/lost_found to ubject_r:system_file:s0 failed: Operation not supported on transpo
set_metadata_recursive: some changes failed
can someone point me into the right directions?
leoncorn2 said:
Hi, can someone point me into the right directions?
Click to expand...
Click to collapse
Yes I can!
Please go carefully through this Guide/Tutorial: https://forum.xda-developers.com/tr...de-asus-transformer-pad-tf300t-stock-t3554744

Question Problem updating arrowOS

I get an error when I install the system update.
I want to update manually via recorvery but I get an error: E: recvmsg failed (No buffer space available) do you have any ideas for this? System arrowOS
and assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list")) E:Error in /sideload/package.zip (status 1)
MAybe your downloaded file is corrupted?
No, I have that with every update. It only works when you reload the system. I reset the settings and everything and the same
It seems you are updating via sideload, maybe damaged data cable?
I changed the cable and the same
Why not just use OTA update?
TWRP latest beta and arrow recovery support that.
Never had any issue like that even when I manually updated in TWRP.
I just tried via OTA but an error pops up
Installation via TWRP: Updater process ended with ERROR: 1, Error installing zip file '/external_sd/Arrow-v12.1-vayu-Official-20220821-VANILLA.zip, Failed to mount '/system_root' (No such file or directory)
Jason355 said:
Installation via TWRP: Updater process ended with ERROR: 1, Error installing zip file '/external_sd/Arrow-v12.1-vayu-Official-20220821-VANILLA.zip, Failed to mount '/system_root' (No such file or directory)
Click to expand...
Click to collapse
Yup you're download is corrupt
I tried variously it does not work
Jason355 said:
Installation via TWRP: Updater process ended with ERROR: 1, Error installing zip file '/external_sd/Arrow-v12.1-vayu-Official-20220821-VANILLA.zip, Failed to mount '/system_root' (No such file or directory)
Click to expand...
Click to collapse
Flash MIUI Fastboot-Image, then ArrowOS. /system_root' (No such file or directory) <= not good.
If you are fast enough, you can boot directly into fastboot after successfully flashing MIUI and flash TWRP and ArrowOS. I did this on another phone a few months ago and it worked
Tried different ways to restore and nothing has helped. I downloaded Crdroid and solved the problem. Thanks to everyone for the answers <3
Jason355 said:
Tried different ways to restore and nothing has helped. I downloaded Crdroid and solved the problem. Thanks to everyone for the answers <3
Click to expand...
Click to collapse
That just means your download was 100% corrupted.

Categories

Resources