View Full Version : Signing update.zip in linux
corp769
18th June 2009, 09:26 PM
What is the proper way to sign the update.zip in linux? I searched high and low for this, and I have stumbled across windows utilities and such, and also I came across keytool, which I know about, but that is used for signing APK's. I am wondering if I can still use keytool for the update.zip, and if not, how do I do so? Thanks,
Josh
savethechicken
18th June 2009, 09:35 PM
What is the proper way to sign the update.zip in linux? I searched high and low for this, and I have stumbled across windows utilities and such, and also I came across keytool, which I know about, but that is used for signing APK's. I am wondering if I can still use keytool for the update.zip, and if not, how do I do so? Thanks,
Josh
should probably post questions like this in the general Dream Section not development but There is a post on it, I found it about 1 month ago or so. I will try to find it for you. If I remember correctly it is in the theme section. And yes it the same keys for the update.zip files also.
Quick advanced search...
I got this has the files that you need to download and the commands to use
http://forum.xda-developers.com/showthread.php?p=3859280#post3859280
corp769
18th June 2009, 10:04 PM
This was more a development question I thought. Oops.
Anyway, thanks man. This can be closed.
shafty023
18th June 2009, 11:43 PM
Unfortunately the link you supplied leads to a page that posts a dead link to the tool needed. Does anyone have a linux version of that tool? I have a windows one but I do all development on linux so it makes it hard to switch back n forth. I package everything in Linux then I have to transfer to windows to sign.
TheDudeOfLife
19th June 2009, 12:26 AM
I got this script a while ago from a thread in themes.
#!/bin/bash
#
#use as nautilus script
##########################################
#change to the dir where u have the "signapk.jar", "testkey.x509.pem" and t"estkey.pk8"
##########################################
androidModDir=//home/foo/.gnome2/nautilus-scripts
java -jar $androidModDir/signapk.jar $androidModDir/testkey.x509.pem $androidModDir/testkey.pk8 "$*" "$*".signed
exit 0
Upload the files and create AndroidResign.sh using the code above in ~/.gnome2/nautilus-scripts/
I use this daily.
corp769
19th June 2009, 12:38 AM
Hey man i never used scripts in nautilus.... will this allow me to just right click the file and sign, or how does that work?
shafty023
19th June 2009, 04:31 AM
I got this script a while ago from a thread in themes.
#!/bin/bash
#
#use as nautilus script
##########################################
#change to the dir where u have the "signapk.jar", "testkey.x509.pem" and t"estkey.pk8"
##########################################
androidModDir=//home/foo/.gnome2/nautilus-scripts
java -jar $androidModDir/signapk.jar $androidModDir/testkey.x509.pem $androidModDir/testkey.pk8 "$*" "$*".signed
exit 0
Upload the files and create AndroidResign.sh using the code above in ~/.gnome2/nautilus-scripts/
I use this daily.
Awesome thanks
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.