Decompile an Android Application with Dex2jar and Jd-GUI

x32x01
  • by x32x01 ||
Decompile an Android Application with Dex2jar and Jd-GUI
Decompile an Android Application with Dex2jar and Jd-GUI
For decompiling an android application, the open source tool which we’ll use is “dex2jar“.
  • Download Link – Dex2jar.zip (Extract in any location)
  • Sample Application – yeahhub.apk (Download & Extract/Move into dex2jar folder)
About the yeahhub.apk Application – The application is asking for a secret number, so your task is to decompile it and find that secret number.

As we all knows java executables can be decompiled and to decompile an apk into jar, just type the following command in your cmd windows:
Code:
d2j-dex2jar.bat yeahhub.apk
android1.png
If everything goes OK, then you’ll get a yeahhub-dex2jar.jar file in same folder.

Now open “jd-GUI” tool which you can download from this link.

Open yeahhub-dex2jar.jar file in jd-GUI tool and you’ll see something like this.
android2.png
Now you can actually see the whole code behind that APK file. Furthermore the next step is to debug the application and extract the AndroidManifest file from the apk itself.

There are basically two ways through which you can extract this AndroidManifest file from the android application i.e. via Android Studio or via simply Winrar/Winzip Tool. Of course we’ll go with Winrar because its very easy to use.
android3.png
After some modifications, you can rebuild your app and install back into any android phone via ADB installer which we’ll discuss in future.
 
Similar Threads
x32x01
Replies
0
Views
231
x32x01
x32x01
x32x01
Replies
0
Views
234
x32x01
x32x01
x32x01
Replies
0
Views
367
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
339
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
408
x32x01
x32x01
TAGs: Tags
decompile an android application
Register & Login Faster
Forgot your password?
Forum Statistics
Threads
517
Messages
519
Members
50
Latest Member
Trydeco
Back
Top