Skip to content

HemanthJabalpuri/signapk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

signapk

SignAPK for working in Android without any dependencies. (Only testkey)

Another simple signapk mod!

I have modified SignApk.java from https://android.googlesource.com/platform/build/+/badd2ca451ee7a408f55632025cbe69649b426b5/tools/signapk/ for running in android too.

Description:

This is for who want to sign their RECOVERY flashable zip files for successful signature verification.
It will successfully verify if the recovery is testkey supported (most recoveries support this).
I have removed all the code related to signing APK files from SignApk.java. Because of this I renamed it to MinSignApk.

Downloads:

Download MinSignApk.jar from releases.

Usage:

In PC
java -jar MinSignApk.jar in.zip out.zip

In Android
dalvikvm -cp MinSignApk.jar com.android.signapk.SignApk in.zip out.zip

Note: If you want to use Shell script, then see README.md in shell folder of this repo