De-Compile the .apk

Reverse Engineering the .apk file -

1. Create a folder and place your .apk within that folder.
2. change the file format to .zip and extract it a folder
3. Now you can get the folders res, classes.dex etc..
4. Download dex2jar-2.0 file and extract it to the folder in which where your existing files extracted
5. go the folder where you extracted both .zip and dex2jar-2.0 folder and open the command prompt.
6. give the command d2j-dex2jar classes.dex or dex2jar classes.jar (This is based on your filename in the dex2jar extracted folder) and press enter.
7. Now you got the jar file called 'classes-dex2jar' in the same folder, now download the 'jd-gui-1.4.0'(java decompiler).
8. Open the jd-gui-1.4.0 and select the jar file classes-dex2jar and select save the folder, you will be asking the path to save the folder and once you select the path your comlete Java files will be saved there.

Reference Link: http://stackoverflow.com/questions/12732882/reverse-engineering-from-an-apk-file-to-a-project

This is upto the part to get the java files back but still there is some procedure to get the xml files back

1. Download the apktool from the web and put this apktool with in the folder where your .apk was placed, open the command prompt and give this command - apktool d yourappname.apk
2. after processed the above command give the following one - apktool b yourappname(Now you got the resource files in the res named folder)

Reference Link: https://ibotpeaches.github.io/Apktool/

Comments

Popular posts from this blog

Creating a .ssh key in window and Mac machines

Apigility Project Setup

Git Solutions