/TTDeDroid

一键反编译工具One key for quickly decompile apk/aar/dex/jar, support by jadx/dex2jar/enjarify/cfr.

Primary LanguagePythonApache License 2.0Apache-2.0

TTDeDroid

Build Status Codacy Badge

README i18n: 中文说明

The tool for quickly decompile apk/aar/dex/jar, will be updated depending on the update of libs.

  • update at 2019-04-17

  • jadx=0.9.0

  • Storyyeller/enjarify(build by source)

  • dex2jar(build by source)

  • jdgui=1.4.2

  • apktool=2.4.0

  • cfr=0.143

Requirements

Python 2 (version 2.7 or later), or Python 3 (version 3.5 or later).

Quick Start

Windows

  1. add TTDedroid\bin directory absolute path to PATH system variable.
  2. then you can execute command for decompile *.apk/*.aar/*.dex/*.jar anywhere, GUI will be automatically opened.
showjar test.apk

Mac/Linux

  1. add TTDedroid/bin directory absolute path to ~/.bash_profile. Be careful do not wrap "PATH" in quotes, example:
export PATH=$PATH:~/Documents/TTDedroid/bin
  1. reload env
source ~/.bash_profile
  1. then you can execute command for decompile *.apk/*.aar/*.dex/*.jar anywhere, GUI will be automatically opened.
showjar test.apk

Usage

usage: showjar.py [-h] [-o [OUTPUT]] [-r [RES]] [-e [ENGINE]] file

android decompile tool

positional arguments:
  file                  input file path, *.apk/*.aar/*.dex/*.jar

optional arguments:
  -h, --help            show this help message and exit
  -o [OUTPUT], --output [OUTPUT]
                        output directory, optional (default: None)
  -r [RES], --res [RES]
                        decode resources, 0:disable, 1:enable (default: 0)
  -e [ENGINE], --engine [ENGINE]
                        decompiler engine, [jadx, dex2jar, enjarify, cfr] (default:
                        jadx)