Jadx

From aldeid
Jump to: navigation, search

Description

jadx (Dex to Java decompiler) is a CLI/GUI tool to produce Java source code from Android Dex and APK files.

Installation

On Linux:

$ git clone https://github.com/skylot/jadx.git
$ cd jadx
$ ./gradlew dist

Usage

CLI

Syntax

usage: ./build/jadx/bin/jadx [options] <input file> (.dex, .apk, .jar or .class)

Options

-d, --output-dir
output directory
-j, --threads-count
processing threads count
-r, --no-res
do not decode resources
-s, --no-src
do not decompile source code
-e, --export-gradle
save as android gradle project
--show-bad-code
show inconsistent code (incorrectly decompiled)
--no-replace-consts
don't replace constant value with matching constant field
--escape-unicode
escape non latin characters in strings (with \u)
--deobf
activate deobfuscation
--deobf-min
min length of name
--deobf-max
max length of name
--deobf-rewrite-cfg
force to save deobfuscation map
--deobf-use-sourcename
use source file name as class name alias
--cfg
save methods control flow graph to dot file
--raw-cfg
save methods control flow graph (use raw instructions)
-f, --fallback
make simple dump (using goto instead of 'if', 'for', etc)
-v, --verbose
verbose output
-h, --help
print this help

GUI

Start the GUI as follows:

$ ./build/jadx/bin/jadx-gui

Jadx-gui-open-apk.png

Examples

Incomplete.png
INCOMPLETE SECTION OR ARTICLE
This section/article is being written and is therefore not complete.
Thank you for your comprehension.