jadx/README.md

54 lines
1.4 KiB
Markdown
Raw Normal View History

2013-07-24 13:05:31 +00:00
## JADX
2013-03-18 17:04:23 +00:00
**jadx** - Dex to Java decompiler
2013-07-24 13:05:31 +00:00
Command line and GUI tools for produce Java source code from Android Dex files
Note: jadx-gui now in experimental stage
2013-05-26 12:21:38 +00:00
2013-03-24 12:05:28 +00:00
### Downloads
2013-03-26 17:48:08 +00:00
Latest version available at
2013-07-24 13:05:31 +00:00
[github](https://github.com/skylot/jadx/releases) or
2013-03-26 17:48:08 +00:00
[sourceforge](http://sourceforge.net/projects/jadx/files/)
2013-03-24 12:05:28 +00:00
2013-07-24 13:05:31 +00:00
2013-08-06 18:11:38 +00:00
### Build [![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx)
2013-03-18 17:04:23 +00:00
git clone https://github.com/skylot/jadx.git
cd jadx
2013-07-27 11:43:07 +00:00
./gradlew clean build
2013-03-18 17:04:23 +00:00
2013-05-26 12:21:38 +00:00
(on Windows, use `gradlew.bat` instead of `./gradlew`)
2013-03-18 17:04:23 +00:00
2013-07-24 13:05:31 +00:00
Scripts for run jadx will be placed in `build/jadx/bin`
and also packed to `build/jadx-<version>.zip`
2013-03-18 17:04:23 +00:00
### Run
Run **jadx** on itself:
2013-07-24 13:05:31 +00:00
cd build/jadx/
2013-07-27 11:43:07 +00:00
bin/jadx -d out lib/jadx-core-*.jar
#or
2013-07-24 13:05:31 +00:00
bin/jadx-gui lib/jadx-core-*.jar
2013-03-18 17:04:23 +00:00
### Usage
```
2013-07-27 11:43:07 +00:00
jadx[-gui] [options] <input file> (.dex, .apk or .jar)
2013-03-18 17:04:23 +00:00
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*