[TOOL][DEV][LINUX ONLY] Fast java src decompiler
I'm not a real developper but I manage to make a little tool FOR DEVS to accelerate java src decompile
I don't know if it can be useful, but I wanted to share it ...
I don't really create something, all the tools already exist, you know them all :
: Java decompiler
: useful tool to transform .dex in readable .jar to get java src
Why did I made this ?
I searched how to get java src, useful to build apk or even compile sources, but only found manual way.
Ok decompiling one or 2 files is not a big deal ... but when you need to decompile a whole rom ......
What can this tool do ?
How to use it ?
This tool only works on Linux
- getting the java src from an apk and / or a .jar (framework.jar for eg) dex2jar and jd-gui already allow it
- can decompile several files (.jar and or .apk)
- rename each file to is native name
.classes files need to be associated to JD-GUI use this programm. If you don't know if they already are or not, don't worry let the command do it ...
- Download attached zip or here
- Unzip the file in home folder The folder must be in home and musn't be renamed or it won't work properly
- launch the dex.sh (double click in graphic or use ./dex.sh commande in terminal)
- Follow the instructions
For more information, I included lines to make .jar files open by JD-GUI.
If you don't need / want these files to be associated after you use this tool type in terminal
sudo rm open-in-jd-gui.sh
This tool is not perfect ... firstly I made it for me ....but finally wanted to share it ...
if you like it just tell me and use it ... if you don't .... ok just tell me why I would improve it ...
Huge thanks to :
JD-GUI Developpers : http://java.decompiler.free.fr/?q=jdgui
DEX2JAR Developpers : http://code.google.com/p/dex2jar/
: for his wonderful Android Utility
and for the command lines that helped me more than a lot !!!
If you like my work, and want to help me click here to donate
Semc Debrand Engine
Member of Team XSonX10
My contributions on XDA
Achotjan's remplacement Stock- Light Version
Fast java sources decompiler