-
-
Save GuyKh/d0d2c31c377f3fe27a5c69811d20d14f to your computer and use it in GitHub Desktop.
Decompiling .apk files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install decompiler | |
brew install dex2jar; brew install jadx; brew install apktool; brew cask install jd-gui | |
Forum:= https://groups.google.com/forum/#!forum/android-platform | |
Config:= java -Xmx512m | |
Download from:= https://bitbucket.org/mstrobel/procyon/downloads/ | |
USING apktool | |
1. apktool d sample_app.apk -o apktool_sample_app | |
USING jadx | |
Method 1 | |
1. unzip sample_app.apk -d sample_app (#extract .apk into a directory) | |
2. cd sample_app | |
3. jadx -d decompiled classes.dex | |
4. cd decompiled | |
Method 2 | |
1. unzip sample_app.apk -d sample_app (#extract .apk into a directory) | |
2. cd sample_app | |
3. jadx-gui (navigate to classes.dex) | |
USING jd-gui | |
1. d2j-dex2jar sample_app.apk -o sample_app.jar | |
2. Open jd-gui and locate the sample_app.jar | |
USING procyon-decompiler | |
1. d2j-dex2jar sample_app.apk -o sample_app.jar | |
2.java -jar ~/Downloads/procyon-decompiler-0.5.36.jar -o fiddle sample_app.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment