/decompile-apk

🔥 Decompile APK(反编译APK)

Primary LanguageShellApache License 2.0Apache-2.0

decompile-apk

The decompile-apk tool consists of some scripts and different tools, it can provider auto decompile function for produce Java source code and resources from Android Apk files that displayed on GUI.

  • jd-gui

jd-gui

  • jadx

jadx

  • classyshark

classyshark

  • bytecode-viewer

bytecode-viewer

Tools

Platforms

  • Mac
  • Linux / Unix

Download

decompile-apk

Usage

# using integrated tools to decompile apk (recommend)
sh decompile-apk.sh *.apk

# using apktool/dex2jar/jd-gui to decompile apk
sh jdgui-apk.sh *.apk

# using jadx to decompile apk
sh jadx-apk.sh *.apk

# using classyshark to decompile apk
sh classyshark-apk.sh *.apk

# using bytecode-viewer to decompile apk
sh bytecode-viewer.sh *.apk

Summary

  • Apktool

    • advantage
      • complete resource files
      • source code in detail
    • disadvantage
      • using more complex, need for a combination of multiple tools
      • cannot better view the APK architecture logic
  • classyshark

    • advantage
      • easy to use, just a command line
      • source directory structure is clear, view the entire APK architecture graphically
    • disadvantage
      • source code too simple
      • cannot get resource files
  • jadx

    • advantage
      • convenient and quick
      • more perfect GUI interface, with more practical functions
      • decompile code readability is high
    • disadvantage
      • resource files partially missing
  • bytecode-viewer

    • advantage
      • support apk, dex, jar, and so on
      • better visual feedback
    • disadvantage
      • analyse file slower

Todo

  • more decompile tools
  • support decompile dex/aar/jar files

About

venshine.cn@gmail.com

License

Apache 2.0