FORUMS
Remove All Ads from XDA

Signing made easy.... [ Updated July/2009 ]

1,203 posts
Thanks Meter: 414
 
By Stericson, Retired Senior Mod / Retired Senior RecDev - Godfather of Android Theming on 20th January 2009, 06:26 PM
Post Reply Email Thread
Note, this will not work if your SDK or the path that you place this in has any spaces in the dir name!
An Example of this is c:\users\Nikki and Stephen\sdk\tools
Try to put the SDK and the contents of the zip in a dir where the names are all together and not like the one above.



Ok, so I have made a batch file that will automate the entire process of setting up to use the signing tool made by JF. This batch file will set the CLASSPATH, set the PATH, install the registries, let you sign the files manually, and let you push/pull files to the phone.

In order to use this you should have downloaded the sdk already. Simply extract all of the files into the tools dir of your sdk, and run autosign.bat follow the instructions and go through the options one by one, starting with 1 working through 4. You can however, put the contents of this zip anywhere on your computer and it will work. It is just better to put them into the tools dir of your SDK. Especially for the consideration of future versions.

Enjoy,
Stericson

Autosign .zip: http://www.DroidBin.com/Androidstuff/signing.zip
The Following 13 Users Say Thank You to Stericson For This Useful Post: [ View ] Gift Stericson Ad-Free
 
 
21st January 2009, 03:48 AM |#2  
missxoash's Avatar
Senior Member
DFW
Thanks Meter: 0
 
More
You are one hard working, man.
Thanks.
korndub
21st January 2009, 05:40 AM |#3  
Guest
Thanks Meter: 0
 
More
awesome sir! looking foward to using this great tool....in a virtual machine...with windows xp.....on my mac.....ha ha
21st January 2009, 05:46 AM |#4  
Stericson's Avatar
OP Retired Senior Mod / Retired Senior RecDev - Godfather of Android Theming
Thanks Meter: 414
 
More
Please let me know how it works. It works for me, but there are so many different computer configurations. This is also only tested and expected to work for xp and vista....I don't know if it will work for other o/s versions.

Stericson
The Following 2 Users Say Thank You to Stericson For This Useful Post: [ View ] Gift Stericson Ad-Free
korndub
21st January 2009, 05:49 AM |#5  
Guest
Thanks Meter: 0
 
More
will give it a whirl as soon as my cupcake is done baking.
21st January 2009, 05:57 AM |#6  
jdwme's Avatar
Senior Member
Houston
Thanks Meter: 0
 
More
Doesn't work for me on vista, running a 64bit machine, I think it has something to do with how my computer is set up though because of the error message I get
21st January 2009, 06:03 AM |#7  
Stericson's Avatar
OP Retired Senior Mod / Retired Senior RecDev - Godfather of Android Theming
Thanks Meter: 414
 
More
can you be specific as too the error message and what you are doing when it happens?

Stericson
The Following 2 Users Say Thank You to Stericson For This Useful Post: [ View ] Gift Stericson Ad-Free
21st January 2009, 06:33 PM |#8  
brandenk's Avatar
Senior Member
Flag San Diego
Thanks Meter: 81
 
More
This is badass! Ive been playing with it this morning and all I can say is........



Now no one has an excuse to not be able to create their own theme!
21st January 2009, 06:38 PM |#9  
jdwme's Avatar
Senior Member
Houston
Thanks Meter: 0
 
More
yeah, it's a great tool, thanks for the help in getting it all work stericson.
29th January 2009, 12:48 AM |#10  
Junior Member
Thanks Meter: 1
 
More
Thanks for the autosign batch. It seems like it would make things easier. Now if I could just get it to work....

Here is the error I am getting when running it. (Either via right click or manually through the bat file)

**************
Signing File!
**************

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I have it installed in my c:\and_sdk\tools\ folder

Any ideas?

EDIT: Updating Java to most recent version fixed the problem.

Thanks!
18th February 2009, 12:26 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by tinpusher1

Thanks for the autosign batch. It seems like it would make things easier. Now if I could just get it to work....

Here is the error I am getting when running it. (Either via right click or manually through the bat file)

**************
Signing File!
**************

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I have it installed in my c:\and_sdk\tools\ folder

Any ideas?

EDIT: Updating Java to most recent version fixed the problem.

Thanks!

I downloaded j2re-1_4_2_19-windows-i586-p.exe but still gives me error...

------------------------------
Exception in thread "main" java.lang.UnsupportedClassVersionError: testsign (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

File signed successfully if no Errors above.
-------------------------------

Anyone have any idea?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes