47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
## JADX [](https://buildhive.cloudbees.com/job/skylot/job/jadx/)
|
|
**jadx** - Dex to Java decompiler
|
|
|
|
Command line tool for produce Java sources from Android Dex and Jar files
|
|
|
|
### Downloads
|
|
Latest version available at
|
|
[sourceforge](http://sourceforge.net/projects/jadx/files/)
|
|
or
|
|
[bintray](http://bintray.com/pkg/show/general/skylot/jadx/jadx-cli)
|
|
|
|
### Build
|
|
|
|
git clone https://github.com/skylot/jadx.git
|
|
cd jadx
|
|
./gradlew build
|
|
|
|
(on Windows, use `gradlew.bat` instead of `./gradlew`)
|
|
|
|
Scripts for run jadx will be placed in `build/install/jadx/bin`
|
|
and also packed to `build/distributions/jadx-<version>.zip`
|
|
|
|
### Run
|
|
Run **jadx** on itself:
|
|
|
|
cd build/install/jadx/
|
|
bin/jadx -d out lib/jadx-*.jar
|
|
|
|
### Usage
|
|
```
|
|
jadx [options] <input files> (.dex, .apk or .jar)
|
|
options:
|
|
-d, --output-dir - output directory
|
|
-j, --threads-count - processing threads count
|
|
-f, --fallback - make simple dump (using goto instead of 'if', 'for', etc)
|
|
--cfg - save methods control flow graph
|
|
--raw-cfg - save methods control flow graph (use raw instructions)
|
|
-v, --verbose - verbose output
|
|
-h, --help - print this help
|
|
Example:
|
|
jadx -d out classes.dex
|
|
```
|
|
|
|
*Licensed under the Apache 2.0 License*
|
|
|
|
*Copyright 2013 by Skylot*
|