# smali2java
**Repository Path**: lustghost/smali2java
## Basic Information
- **Project Name**: smali2java
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-15
- **Last Updated**: 2024-11-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Smali2Java
[](https://travis-ci.org/AlexeySoshin/smali2java)
[](https://codecov.io/gh/AlexeySoshin/smali2java)
This project attempts to create a valid Java source code from disassembled code used by Dalvik
Read the specification here: https://source.android.com/devices/tech/dalvik/dalvik-bytecode.html
Why would you need it if there are tools like https://bytecodeviewer.com/?
* It's command line
* Allows you to use tools like `grep` on the output
## Prerequisites
* Go 1.13+
## Building
```
go build
```
## Usage
You'll need APK that you want to decompile
```
brew install apktool
apktool d ./
```
You'll get a directory, which contains among the others directory called 'smali'
Now you can run Smali2Java on it:
```
smali2java -path_to_smali=
```
## License
MIT