3. disclaimer
This presentation is intented only for educational puropose . Any actions and/or activities
related to the information contained in the presentation is solely your responsiblity. The
misuse of the information in this presentation/file may result in criminal charges brought
against the person in question. THE AUTHOR AND ANY AUTHORITY(IES) RELATED WITH THIS
PRESENTATION WILL NOT HOLD ANY RESPONSIBILITY IN ANYCASE FOR YOUR ACTIONS. Do not encourage
to use this information to hack/crack any applications.
15. Step 7
now our playground, myapp dir must look something like this.
16. the application files are extracted now but they are hexcodes,
just machine readable, manifest.xml just reads like this.
17. Step 8
Open the windows command prompt. WinKey + R type ‘cmd’
inside the dialogue box, press Enter.
18. Step 9
Navigate cmd to the folder that you are working on.
‘cd’ <dir name> changes directory
‘cd ..’ navigate to the top level (back)
‘dir /w’ list the files by just names
here I’ve used
cd downloadstestmyapp
as my ‘myapp’ folder inside the directory
named ‘test’ inside the ‘downloads’ dir.
19. Step 10
type the command "dex2jar classes.dex" and press enter. This
will generate "classes.dex.dex2jar" file in the same folder.
20. Step 11
double click to open the java decompiler (jd-gui.exe)
shows the file ‘jd-gui.exe’
and the ‘classes_dex.jar.jar’
created by the
previouscommand
21. Step 12
Open the jar file, browse for ‘classes_dex.jar.jar’ click open.
22. Step 13
Select save all sources, make a folder ‘sources’ in myapp then
click save. Extract the Zip file in sources to get souce files
24. Step 14
Now lets extract the xml files
on the command line type ‘apktool if framework-res.apk’ press enter.
//this should result in ‘Framework installed’
25. Step 15
on the command prompt type ‘apktool d myapp.apk’ (where
myapp should be replaced with the apk name).
26. This creates a folder named myapp inside our working folder
which contains all the xml files of the app.