-
Notifications
You must be signed in to change notification settings - Fork 0
Decompile Android App
- Retrieve app from the device
- Run apktool to decompile the application
- load APK within JADX to look at Java source code
- Run dex2Jar to convert an APK into a JAR file and load this in JD-GUI
https://ibotpeaches.github.io/Apktool
Decode an APK:
apktool d -f app.apk
Build an APK:
apktool b app.jar.out
Make debuggable :
-d or --debug when rebuilding will add debuggable="true" to the manifest file
Once apktool has been run you can view the contents of resources such as AndroidManifest.xml etc
https://github.com/JesusFreke/smali
This is an assembler/dissasembler for the dex format
baksmali classes.dex -o smaliclasses
baksmali smaliclasses -o classes.dex
https://github.com/b-mueller/apkx
This is a python wrapper which extracts the java source code from the APK.
apkx app.apk
https://github.com/pxb1988/dex2jar
This converts .dex file to .class files zipped as a jar.
d2j-dex2jar.sh -f app.apk
https://github.com/skylot/jadx
Dex to Java Decompiler
jadx -d out classes.dex