What is Dex2jar? Just lookout this nice diagram:
The
classes.jar
file is a commonly used file in Java development. It is a compressed archive file that contains compiled Java class files, which are the result of compiling Java source code. The classes.jar
file is typically generated as part of the build process for a Java project, and it contains all of the compiled classes for the project. We use jd-gui
to getting back Java codes from classes.jar
file.Download and Installing dex2jar
First, we have a problem. The original repository only supports
classes.dex
which is compiled for up until 8 android version. But we there is another version which is fixed by lanchon
. So we should download from this new repository. Here is the link:Ok. Now let’s download
jd-gui
tool from this link:Ok. We have everything we need. Lets start.
Extracting
classes.dex
.Convert it to
classes.jar
via dex2jar
Open it via
jd-gui
Searching in JD-GUI
You can search in JD-GUI with
ctr + shift + s
.Hierarchy Type
You can find all child class of a class with this option. To using it you should select
Navigation/Hierarchy Type
For example in upper picture we can see all child of
EntityProcessingSystem
class.Searching Index in JD-GUI
By default
JD-GUI
index up to 15 nested subdirectory. If an application use more than 15 nested subdirectory then we miss some searches. We can increase this option from Help/Preferences
.