zip failing to sign correctly

jdcnosse

Well-known member
May 11, 2011
512
44
0
I grabbed the signapk.jar and keys from here: I Created Auto-Sign app for update.zip and Launcher.apk! :Possibly abandoned! - xda-developers

used the syntax: "java -jar signapk.jar testkey.x509.pem testkey.pk8 oldfilename.zip newfilename.zip"

I've also tried with testsign.jar from here: xda-developers - View Single Post - Signing update.zip in Linux

used the syntax: "java -classpath testsign.jar testsign update.zip update_signed.zip"

I'm running Linux Mint 11 64-bit, and every time I sign the zip file, no errors come up but then when I copy the file over to my SD card and try and flash it, my phone says "signature verification failed, Installation aborted."

It installs fine if I toggle signature verification off...
 
Try zip2signer on the Market. You may have to play with the signing methods in the options. But it works on apps. You do all the signing on the phone.
 
Try zip2signer on the Market. You may have to play with the signing methods in the options. But it works on apps. You do all the signing on the phone.

I might try that. because I'm trying to sign a ROM zip. But I think it's the zip file, because I had copied the zip file into my Windows virtual box installation, signing it there and then copying back to Linux (I'm still figuring out how to get virtual box to share my usb devices) and then trying that way, but it still failed.
 
I've not gotten anything signed with zipsigner or testsign.jar to flash in most recoveries myself... xionia cwma doesn't complain about test signatures if I remember right, but maybe not.
the stuff signed by the aosp/CAF/or cyanogenmod build systems flash ok, though, so maybe the signing tools from that would work.
 
I've got an Linux auto signer at home hadn't failed me yet I'll upload late tonight or tomorrow may already have not 100% sure so I'll upload it cuz i'm to lazy to search
 
  • Like
Reactions: jdcnosse
I've got an Linux auto signer at home hadn't failed me yet I'll upload late tonight or tomorrow may already have not 100% sure so I'll upload it cuz i'm to lazy to search

Thanks! maybe that'll fix it. Was wierd that it didn't work after signing it in windows, that used to always work lol
 
I've not gotten anything signed with zipsigner or testsign.jar to flash in most recoveries myself... xionia cwma doesn't complain about test signatures if I remember right, but maybe not.
the stuff signed by the aosp/CAF/or cyanogenmod build systems flash ok, though, so maybe the signing tools from that would work.

It's worth a shot
 

Latest posts

Trending Posts

Forum statistics

Threads
957,078
Messages
6,971,376
Members
3,163,708
Latest member
Ariwenni15