Procedure to decoding .apk files <--step wise method-->

Procedure to decoding .apk files
<--step wise method-->

Step 1:

Make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to and save you get classes.dex files this stage you are able to see drawable but not xml and java continue...

Step 2:

  1. Extract this zip apk file in the same folder(in this eg or case NEW FOLDER).
  2. Download dex2jar from this link and extract it to the same folder (in this case NEW FOLDER).....
  3. Open command prompt and reach to that folder (in this case NEW FOLDER)....after reaching write "dex2jar classes.dex" and press enter.....
  4. Now you get classes.dex.dex2jar file in the same folder......
  5. Download java decompiler from and double click on jd-gui and click on open file then open classes.dex.dex2jar file from that you get class all these class file (click on file then click "save all sources" in jd-gui) src this stage you get source...but xml files are still continue...

Step 3:

Now open another new folder and put these files

  1. put .apk file which you want to decode
  2. download apktool v1.x AND apktool install window using google and put in the same folder
  3. download framework-res.apk file using google and put in the same folder
  4. Open a command window
  5. Navigate to the root directory of APKtool and type the following command: apktool if framework-res.apk and hit enter button.
  6. type the following command: apktool d "fname".apk ("fname" denotes filename which you want to decode) and hit enter button.

Now you get a file folder in that folder and now you can easily read xml files also.

Step 4:

It's not any step just copy contents of both folder(in this case both new folder)to the single one

and Now enjoy with source code...


Post a Comment

Popular Posts