Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pxb1988/dex2jar
Tools to work with android .dex and java .class files
https://github.com/pxb1988/dex2jar
Last synced: 5 days ago
JSON representation
Tools to work with android .dex and java .class files
- Host: GitHub
- URL: https://github.com/pxb1988/dex2jar
- Owner: pxb1988
- License: apache-2.0
- Created: 2015-03-16T09:13:07.000Z (almost 10 years ago)
- Default Branch: 2.x
- Last Pushed: 2024-07-21T06:08:25.000Z (6 months ago)
- Last Synced: 2025-01-13T19:08:50.063Z (12 days ago)
- Language: Java
- Homepage:
- Size: 8.32 MB
- Stars: 12,478
- Watchers: 442
- Forks: 2,127
- Open Issues: 380
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-hacking-tools - Dex2Jar - Dex to jar converter (Android Security / Reverse Engineering)
- awesome-hacking - dex2jar - Tools to work with Android .dex and Java .class files (Tools / Other)
- Awesome-Pentest - dex2jar - Tools to work with android .dex and java .class files. (Mobile Security / Android)
- MobileHackersWeapons - dex2jar
README
# dex2jar
**Project move to [GitHub](https://github.com/pxb1988/dex2jar)**
| _ | Mirror | Wiki | Downloads | Issues |
|--:|:-----|:----:|:---------:|:------:|
| gh | https://github.com/pxb1988/dex2jar | [Wiki](https://github.com/pxb1988/dex2jar/wiki) | [Releases](https://github.com/pxb1988/dex2jar/releases) | [Issues](https://github.com/pxb1988/dex2jar/issues) |
| sf | https://sourceforge.net/p/dex2jar | [old](https://sourceforge.net/p/dex2jar/wiki) | [old](https://sourceforge.net/projects/dex2jar/files/) | [old](https://sourceforge.net/p/dex2jar/tickets/) |
| bb | https://bitbucket.org/pxb1988/dex2jar | [old](https://bitbucket.org/pxb1988/dex2jar/wiki) | [old](https://bitbucket.org/pxb1988/dex2jar/downloads) | [old](https://bitbucket.org/pxb1988/dex2jar/issues) |
| gc | https://code.google.com/p/dex2jar | [old](http://code.google.com/p/dex2jar/w/list) | [old](http://code.google.com/p/dex2jar/downloads/list) | [old](http://code.google.com/p/dex2jar/issues/list)|Tools to work with android .dex and java .class files
1. dex-reader/writer:
Read/write the Dalvik Executable (.dex) file. It has a [light weight API similar with ASM](https://sourceforge.net/p/dex2jar/wiki/Faq#markdown-header-want-to-read-dex-file-using-dex2jar).
2. d2j-dex2jar:
Convert .dex file to .class files (zipped as jar)
3. smali/baksmali:
disassemble dex to smali files and assemble dex from smali files. different implementation to [smali/baksmali](http://code.google.com/p/smali), same syntax, but we support escape in type desc "Lcom/dex2jar\t\u1234;"
4. other tools:
[d2j-decrypt-string](https://sourceforge.net/p/dex2jar/wiki/DecryptStrings)## Usage
1. In the root directory run: ./gradlew distZip
2. cd dex-tools/build/distributions
3. Unzip the file dex-tools-2.1-SNAPSHOT.zip (file size should be ~5 MB)
4. Run d2j-dex2jar.sh from the unzipped directory### Example usage:
> sh d2j-dex2jar.sh -f ~/path/to/apk_to_decompile.apkAnd the output file will be `apk_to_decompile-dex2jar.jar`.
## Need help ?
post on issue trackers list above.## License
[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)