A tool to make it easier to change the SMALI of an APK
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
a2scomp
.gitignore
LICENSE
README.md
requirements.txt
setup.py

README.md

a2scomp

A commandline tool to make it easier to change the SMALI of an APK and automate the process of recompiling and signing APKs

Requirements

Make sure the following tools are in your path:

This tool is python 3 only.

Install

Clone the repo:

git clone https://github.com/voider1/a2scomp

Install the tool:

cd a2scomp
pip3 install .

##Guide To view all options of the tool do:

a2scomp --help

Decode an APK to smali:

a2scomp --apk the_apk.apk decode

Build smali back to an APK:

a2scomp --smali smali-folder build

Zipalign an APK:

a2scomp --apk the_apk.apk zipalign

Sign an APK:

a2scomp --apk the_aligned_apk.apk sign

Building and zipaligning an APK:

a2scomp --smali smali-folder build --zipalign

Building, zipaligning and signing an APK:

a2scomp --smali smali-folder build --zipalign --sign

Zipaligning and signing an APK:

a2scomp --apk the_apk.apk zipalign --sign