I'm currently in the proccess of repacking a stock rom for our device, however, I can't sign the archive.
here's the command i use.
signapk.jar -w testkey.x509.pem testkey.pk8 "update.zip" "signed.zip"
One is, the command isn't giving the output archive, the signed.zip file.
Second is, when i remove the -w in the command, the signed.zip will be generated but when i flash it on the recovery, it always give the signature verification error.
Here's more info to help anyone who's willing to answer to my problem. I tried different signer to sign my rom, (ofcourse I use my keys that should work) but it still gives me the error when flashing, I even tried to use android kitchen to sign it but still no luck. I also tried to sign my smaller archive I've mentoned above to other signer (just to test it) and it gave me the signature verification error too. It seems I can only sign my archives the old fashion way, through cmd.
Please help. Thanks.
PS. I use windows.