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
- Go 1.9
go build
You'll need APK that you want to decompile
brew install apktool
apktool d ./<your_apk>
You'll get a directory, which contains among the others directory called 'smali'
Now you can run Smali2Java on it:
smali2java -path_to_smali=<smali_directory>
MIT