Monday, June 23, 2014

Decompile Android apk to original Java source code

Dex2jar:
Dex2jar converts the DEX (Dalvik Executable) files to the Java source. Download and extract dex2jar from the link.
https://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.zip

use dex2jar to generate .jar file. dex2jar will generate a file named someApk-dex2jar.jar in the working folder
    linux sh /home/panxiaobo/dex2jar-version/d2j-dex2jar.sh /home/panxiaobo/someApk.apk 
    windows C:\dex2jar-version\d2j-dex2jar.bat someApk.apk


JD-GUI:
JD-GUI is used to see the soure Java Class files from the converted jar files.
Download and extract JD-GUI from the link.
https://innlab.googlecode.com/files/jd-gui-0.3.3.windows.zip

0 comments:

Post a Comment