[Q] Error when signing Zip file. - Android Q&A, Help & Troubleshooting

My device is Zte Axon 7.
I was trying to modify OTA zip package. I edit the updaterscript file. When resigning update.zip, I kept seeing the Error message: Invalid CEN header <bad signature>
Could someone please tell me how to overcome this? My update.zip is 2.3GB large.

Related

help with signing update.zip

Hi
I have mounted and modified some og the apk in a system.img and saved changes.I then re zipped the udate.zip folder with the new system.img.
When i try to install with update.zip i get the following error e:signature verification failed and i am guessing that i need to sign the new update.zip
but for this to work im guessing that the signing needs to be the same as the unmodded firmware is this right?
In the zip file there is META-INF , Cert.rsa cert.sf and mainfest.mf do i need to sign the actual zip with these or the modified system.img and how would i sign with original signature as every guide i have read about signing requre pk8 and pem files. Would i need to convert cert.rsa and cert.sf to pem file.
Any help with this would be apreshiated as i am only new here and in modding and still trying to get my head around it
thanks

Signing a update.zip for recovery flashing

So I have a zip that I would like to sign so I no longer have to uncheck the verify zip signature in TWRP.
I tried signing the zip with autosign and apk-zipsigner1.2 both using the "test key"
And I keep getting signature verification error.
Does anyone know how to sign a zip?
For reference the zip in question places a file in the : system\vendor\firmware\ aka this is a Ducati video firmware revert zip.

Help zipping a custom rom please

I have followed every step of this turtorial: http://forum.xda-developers.com/showthread.php?t=2746044
Not sure what is going on. When I try to flash i get this message: Skipping MD5 check: no MD5 file found (next line in red) Failed to map file '/externel_sd/Root Stuff/TestRom.zip (next line in red) Error installing zip file '/externel_sd/Root Stuff/TestRom.zip
Just out of curiosity I unzipped a known working ROM and rezipped it with winrar and get the same error with a known working rom. So it is something in the zipping process that is making it no work, I just dont know what. Any help is appreciated.
Note I have also tried Z-zip to zip my rom and get the same for my custom rom and also a known working rom that I extract and repack.
Josh

Flash ROM Error

I have a Z17 Phone and i trying to install new rom, Mokee 90.0. In twrp 3.3.1-0 installation operation error: "Invalid zip file format! Error installing zip file '/sdcar.....'
I deleted all "asserts" line into "Updater-script" file but don't function.
hould I update twrp or something else?

Invalid zip file format! when installing ROM with TWRP in X96 Mini

I tried to install atvExperience Rom and I got an error in half of installation then I reboot my X96 Mini and nothing happen just the start screen of atvExperience and when I reboot into recovery mod to install a new rom with zip file I got this error:
Code:
I:operation_start: 'Flashing'
Installing zip file '/external_sd/s905w9.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Invalid zip file format!
Error installing zip file '/external_sd/s905w9.zip'
Updating partition details...
Any solution please! I tried many Firmware images in zip file and same error :/ Heeeeeeelp please!
anasBn said:
I tried to install atvExperience Rom and I got an error in half of installation then I reboot my X96 Mini and nothing happen just the start screen of atvExperience and when I reboot into recovery mod to install a new rom with zip file I got this error:
Code:
I:operation_start: 'Flashing'
Installing zip file '/external_sd/s905w9.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Invalid zip file format!
Error installing zip file '/external_sd/s905w9.zip'
Updating partition details...
Any solution please! I tried many Firmware images in zip file and same error :/ Heeeeeeelp please!
Click to expand...
Click to collapse
[Resolved] I used this Zip file rom to flash with TWRP https://mega.nz/file/A8dGWCjI#5T7YRQuOeR6f__53KbJCh3qw0N-jol_9xIiz-XhTFBY ! I wish that helps anyone else here!

Categories

Resources