Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Your Version vs Android Version? #12

Open
0pLuS0 opened this issue Dec 13, 2018 · 1 comment
Open

Question: Your Version vs Android Version? #12

0pLuS0 opened this issue Dec 13, 2018 · 1 comment

Comments

@0pLuS0
Copy link

0pLuS0 commented Dec 13, 2018

Hello

Sorry for any ignorance on my part, but could you please explain what differences there are between your version of signapk.jar and the Android version?

https://android.googlesource.com/platform/prebuilts/sdk/+/master/tools/lib?autodive=0%2F/

This links downloads it;

https://android.googlesource.com/platform/prebuilts/sdk/+archive/master/tools/lib.tar.gz

I noticed that Google signapk.apk is 2MB in size, quite a difference, and I opened it up, of course a lot more going on, but can't I understand the difference still between them, if just to sign an apk?

Also I'm assuming to sign a apk all I need is signapk.jar, and then this command?

java -jar signapk.jar certificate.pem key.pk8 framework-res.apk test.apk

I used your signapk.jar to test this on framework-res.apk, which wasn't booting up, and then someone told me I might need to sign it, and so I did, and now it boots...

Thanks

@HemanthJabalpuri
Copy link

@0pLuS0
Android signapk is updated and uses bouncycastle instead of sun classes, that's why it big.

another thing is this uses testkeys that are embedded in jar file itself, so you dont need them.

Third thing is that it can be used to sign with ONLY testkeys, no option to specify PRIVATE keys or other google keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants