Wednesday, 11 June 2014

How to break an apk file

Breaking Apk:

1.Change the exension of apk to zip and extract it.
2.Copy all the dex2jar files and paste within the extracted apk folder.
3.Hold shift and right click and select “open command prompt here”.
4.Type in dex2jar classes.dex
5.After classes file is created close the command window.
6.Go to the folder and copy the newly created jar file. Its all we need right now.
7.Open jd-gui and drag the jar file within the software.
8.Go to file-> save all sources and save it .
9.Extract that file now.
10.Copy all the files within the extracted folder and put them in anew folder.
11.Move the framework-res.apk file into the Apk tool folder (so as now the folder must have aapt.exe,apktool.bat,apktool.jar and the framework-res.apk files.
12.Go back and shift press and right click the apk tool folder and open cmd as we did before.
13.In the command prompt type in “ apktool if framework-res.apk “.
14.Don’t close cmd now.. Copy the application apk file to the Apk tool folder and now in the command prompt type in “ apktool d “ and drag the apk file to the prompt window for the exact file path.Now press enter. Now it does backsmaling.
15.Now open the newly created folder and delete the smali folder.
16.Now Copy all the files and paste it in the newfolder mentioned in point 10.

17.This is the folder which we need! Heres all the source!

No comments:

Post a Comment