Skip to content

Instantly share code, notes, and snippets.

@readytopark
Created May 7, 2014 02:46
Show Gist options
  • Save readytopark/4c0d12820c5855ca5820 to your computer and use it in GitHub Desktop.
Save readytopark/4c0d12820c5855ca5820 to your computer and use it in GitHub Desktop.
Decompling APK
1. List all packages on Android
> adb shell pm list packages -f
2. Pulling the APK
> adb pull {PATH}
3. Decoding resource files
> apktool d {APK_NAME}
4. Decompilng classes.dex
> dex2jar.sh classes.dex
then, this outputs classes_dex2jar.jar
@readytopark
Copy link
Author

Running Apps on Adb

adb shell am start -n com.package.name/com.package.name.ActivityName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment