Yup, a GUI for that would be much useful, how about it Bobo?
Take an APK file, list the contents, allow you to modify, and then rebuild and resign the APK
If not, then I might take a stab at it. I could do with a rest from updata.app hacking.
Sure, I'll write a GUI for that
Actually AnDE does something similar, except of editing AXML files.
Speckles, maybe you could help me with the only problem that I have with writing my own singing application:
As you know, there are 3 files that are used to sign an APK.
The first one is the MANIFEST.MF.
It contains path and SHA1-Digest of every file (I already managed to create this file on my own).
Second, there's a file called CERT.SF, which is used to create the CERT.RSA file.
The CERT.SF file is just a copy of the MANIFEST.MF file.
However, the CERT.RSA file is 2kb large, but only the last 512 bytes seem to be the signature.
The rest of the file (from the begging until [length-of-file-in-bytes] - 512) stays the same (it says something like "Android" and "San Francisco" all the time
To create this 512 bytes of signature, the testsign application uses a .X509 certificate containing the public key and a .pk8 private key, which I converted into a XML formatted private key.
So I have now the public and private key for the RSA encryption, but I don't know what I shall do with them.
My theory is that those 512 bytes are a checksum of the CERT.SF / MANIFEST.MF file that is singed using a RSA algorithm, but I'm not sure =/
Maybe you know what I have to do ...
Edit: I think its some kind of certificate, as the file's name is "CERT.RSA".