Skip to content

Latest commit

 

History

History
62 lines (54 loc) · 2.34 KB

README.md

File metadata and controls

62 lines (54 loc) · 2.34 KB

TTDeDroid

Build Status DeepSource

README i18n: 中文说明

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

  • update at 2023-09-24

  • jadx=1.4.7

  • Storyyeller/enjarify(build by source)

  • dex2jar(build by source)

  • fernflower=232.9921.47(IntelliJ IDEA official decompiler)

  • apktool=2.8.1

Requirements

No need to install python environment.

Quick Start

Windows

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

Mac/Linux

run following commands:

git clone --depth=1 https://github.com/tp7309/TTDeDroid.git ~/Documents/TTDeDroid
chmod a+x ~/Documents/TTDeDroid/bin/showjar
showjardir='export PATH=$PATH:'$HOME/Documents/TTDeDroid/bin
# Mac
echo $showjardir >> ~/.bash_profile && source ~/.bash_profile
# Linux
echo $showjardir >> ~/.bashrc && source ~/.bashrc

then you can execute command for decompile *.apk/*.aar/*.dex/*.jar anywhere, GUI will be opened automatically.

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, fernflower, enjarify] (default:
                        jadx)