help with signing update.zip - Android Q&A, Help & Troubleshooting

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

Related

[HELP]Dsixdas Kitchen and Galaxy Mini

PS: I managed to extract the system.rfs file and the boot.img to the Working folder in the Kitchen.But i dont know about this,if i repack the room it wont boot and i think i know where is the problem but i need some expert point of view.When you tap: 1 and S in the kitchens menu it shows the format for each ROM.I didnt find system.rfs and boot.img as an allowed format so i decided to rename my system.rfs in system.img...when i done that the kitchen loaded my ROM.Then i made a backup copy of my system.rfs extract it with magic iso and clicked the next step on the kitchen extracting progress.Then i restarted the application and clicked the option 99 for repacking...i selected the 1 option then,i taped NO at zipaligning,i signed and renamed my ROM.The rom was created,then i copyed it on my SD.In CWD i selected install zip from SD,the process failed it gave me an error similar to : your updater script is...bla bla.I reentered the kitchen,i selected YES to convert my updated script the rest of the options were like above,copyed the ROM to my SD when i clicked yes to install id gave me an error about the boot.img.Now im thinking that by renameing my system.rfs into .img made a corruption on system folder tree and META-INF , because system.img is specific to HTC.your advice guys?what i did wrong?
Use Magic ISO to open and extract the files.
私のEVO 3Dから送信される。
dastin1015 said:
Use Magic ISO to open and extract the files.
私のEVO 3Dから送信される。
Click to expand...
Click to collapse
magic ISO?...i tryed but it wont open
PS: i managed to extract the MD5 file ,now what i will do with all of them?
see first post again pls
Or power ISO.
Sent from my GT-S5570 using xda premium

Converting img files to clockworkmod zips

Hi,
The company Ainol release their latest updates as img files which we than have to flash using a program called livesuit. Does anyone know the process (or have any tips) on converting these img files to clockworkmod zip files?
I can extract the system and kernel files using something similar to this tutorial: http://www.techknow.t0xic.nl/forum/index.php?topic=1679.0
That tutorial explains how to modify the img file and then repack as img. I tried moving the system directory and the kernel & ramdisk over into a clockworkmod zip that i know works and overwrote the files in that with the one i had extracted.
when i try to install it, i get the e: cant open cwmzip.zip
(bad)
any ideas? Maybe i need to get the updater binary from the extracted files somehow?
Trugglepunts said:
Hi,
The company Ainol release their latest updates as img files which we than have to flash using a program called livesuit. Does anyone know the process (or have any tips) on converting these img files to clockworkmod zip files?
I can extract the system and kernel files using something similar to this tutorial: http://www.techknow.t0xic.nl/forum/index.php?topic=1679.0
That tutorial explains how to modify the img file and then repack as img. I tried moving the system directory and the kernel & ramdisk over into a clockworkmod zip that i know works and overwrote the files in that with the one i had extracted.
when i try to install it, i get the e: cant open cwmzip.zip
(bad)
any ideas? Maybe i need to get the updater binary from the extracted files somehow?
Click to expand...
Click to collapse
It really all depends, how many images? What are the images called? What are in each of the images if there is more then one?
thanks for replying, i think i have it right. I ran a log and saw that there was an invalid filename in my zip and sure enough, i looked in the app folder and saw a file with a lot of chinese characters. Deleting this file has sorted this problem
Thanks for replying anyways!

[Q] Signing ROM - What am I doing wrong?

I have a cheap Chinese tablet (Ainol Novo 7 Tornado). It comes from the factory rooted but with the 3e system recovery.
Here is the scenario (simplied to avoid complications):
Using update.zip from manufacturer, I can update the ROM (no signature failure)
I unzip the update.zip file and delete the CERT.RSA, CERT.SF, and MANIFEST.MF files and rezip (exact same structure just minus these files)
I sign the zip using any one of about 10 different tools including SignAPKtic and Zip Signer 2 (on device) (all state success with no errors)
I try to install the "new" update.zip, I get a failure verifying the signature in 3e
It seems as if is locked and requires the manufacturers signature. However, when I use 'jarsigner' to look at the signature, it is signed using the same google certs that all of the signers use. When comparing the output of 'jarsigner' on the original and the resigned version, they appear the same with the exception of the order in which contents are listed.
Does anyone have any idea what could be happening here? I have been struggling with this for over a week.
Thanks,
Jonathan

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.

[Q] Error when signing Zip file.

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.

Categories

Resources