jadx/README.md

55 lines
1.5 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-12-06 20:16:37 +00:00
Command line and GUI tools for produce Java source code from Android Dex and Apk files
2013-07-24 13:05:31 +00:00
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-12-06 20:16:37 +00:00
- [unstable](https://drone.io/github.com/skylot/jadx/files)
[![Build Status](https://drone.io/github.com/skylot/jadx/status.png)](https://drone.io/github.com/skylot/jadx/latest)
[![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx)
- from [github](https://github.com/skylot/jadx/releases)
- from [sourceforge](http://sourceforge.net/projects/jadx/files/)
2013-03-24 12:05:28 +00:00
2013-07-24 13:05:31 +00:00
2013-12-06 20:16:37 +00:00
### Building from source
2013-03-18 17:04:23 +00:00
git clone https://github.com/skylot/jadx.git
cd jadx
2013-09-28 11:50:17 +00:00
./gradlew dist
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:
2013-09-28 11:50:17 +00:00
-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 to dot file
--raw-cfg - save methods control flow graph (use raw instructions)
-v, --verbose - verbose output
-h, --help - print this help
2013-03-18 17:04:23 +00:00
Example:
jadx -d out classes.dex
```
*Licensed under the Apache 2.0 License*
*Copyright 2013 by Skylot*