Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,477 Members 41,560 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][DEV][LINUX ONLY] Fast java src decompiler

Tip us?
(Last edited by Tof37; 12th November 2012 at 02:47 PM.)
Tof37's Avatar
Senior Member - OP
Thanks Meter 2,610
Posts: 607
Join Date: Oct 2009
Location: Tours

Default [TOOL][DEV][LINUX ONLY] Fast java src decompiler

Hello !!!

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 :

JD-GUI : Java decompiler

Dex2jar : 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 ?
  • 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

How to use it ?

This tool only works on Linux
  • 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 (double click in graphic or use ./ commande in terminal)
  • Follow the instructions

.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 ...

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

PHP Code:
cd ~/.gnome2/nautilus-scripts
sudo rm open 

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 :

DEX2JAR Developpers :

tommytomatoe : for his wonderful Android Utility and for the command lines that helped me more than a lot !!!
Attached Files
File Type: zip - [Click for QR Code] (2.56 MB, 53 views)
If you like my work, and want to help me click here to donate

Semc Debrand Engine Contributor

Member of Team XSonX10
My contributions on XDA

Achotjan's remplacement Stock- Light Version

X10s Rom

Fast java sources decompiler
The Following 8 Users Say Thank You to Tof37 For This Useful Post: [ Click to Expand ]
championswimmer's Avatar
Recognized Developer
Thanks Meter 7,573
Posts: 4,901
Join Date: Oct 2011
Location: Delhi College of Engineering (Delhi Technological University)

this is really useful
especially to decompile stock sony jar/apk to port some java classes from their frameworks
If you like my work, you can donate or buy some of my apps on Play Store

AOKP | Kernel Kitchen| Xperia X10
PhilzTouchRecovery-Xperia | TWRPXperia | TWRP Xperia (Legacy)

My sources on github
List of donators
My download mirrors :
files.cs || Basketbuild || AndroidFileHost ||

Xperia :: tipo . X10 . J . S . V . SP . ZR . Z . Z1compact . Z1 . Z2 . Z Ultra . Tablet Z
The Following User Says Thank You to championswimmer For This Useful Post: [ Click to Expand ]
(Last edited by FeraVolt; 15th September 2014 at 04:16 PM.)
FeraVolt's Avatar
Senior Member
Thanks Meter 13,018
Posts: 1,752
Join Date: Dec 2011


Bro, please reupload file, link is down

sorry, i am dumb. THX a lot!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes