You can also de-obfuscate your apk using any of the available tools
from google. What we demonstrate or work with is dex2jar. Please
download this tool from http://code.google.com/p/dex2jar/.
1.In command prompt navigate to dex2jar directory: Now type the following command. See the screen shot . This will change your apk file to .jar.
.Jar will be generated in your path where dex2jar software will be present
In this case (D:\sample\D-final\soft\dex2jar-0.0.9.15\dex2jar-0.0.9.15)
2. Once you have the .jar file, you need jd-gui tool to view .jar . jd-gui is a graphical utility for viewing java source files. First download jd-gui here.
Open jd-gui.exe file-> click on open files. Now choose .jar file that you received from dex2jar tool. You are done, you can see following screen and browse through your java classes
In Command Prompt type the following
D:\Sample\D-final\soft\dex2jar-0.0.9.15\dex2jar-0.0.9.15>d2j-dex2jar.bat C:\Us
ers\sample\Desktop\All\BatteryUsage.apk
Automatically generates once you type enter
dex2jar C:\Users\KRN4BMH\Desktop\All\BatteryUsage.apk -> BatteryUsage-dex2jar.ja
r
1.In command prompt navigate to dex2jar directory: Now type the following command. See the screen shot . This will change your apk file to .jar.
.Jar will be generated in your path where dex2jar software will be present
In this case (D:\sample\D-final\soft\dex2jar-0.0.9.15\dex2jar-0.0.9.15)
2. Once you have the .jar file, you need jd-gui tool to view .jar . jd-gui is a graphical utility for viewing java source files. First download jd-gui here.
Open jd-gui.exe file-> click on open files. Now choose .jar file that you received from dex2jar tool. You are done, you can see following screen and browse through your java classes
In Command Prompt type the following
D:\Sample\D-final\soft\dex2jar-0.0.9.15\dex2jar-0.0.9.15>d2j-dex2jar.bat C:\Us
ers\sample\Desktop\All\BatteryUsage.apk
Automatically generates once you type enter
dex2jar C:\Users\KRN4BMH\Desktop\All\BatteryUsage.apk -> BatteryUsage-dex2jar.ja
r
No comments:
Post a Comment