/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-10-10

  • jadx=1.0.0

  • Storyyeller/enjarify(build by source)

  • dex2jar(build by source)

  • jdgui=1.6.3

  • apktool=2.4.0

  • cfr=0.146

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

run following commands:

git clone --depth=1 https://github.com/tp7309/TTDeDroid.git ~/Documents/TTDeroid
chmod a+x ~/Documents/TTDeroid/bin/showjar
echo 'export PATH=$PATH:~/Documents/TTDedroid/bin' >> ~/.bash_profile && source ~/.bash_profile

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)