How to Decompile with APK Tool [Easy Method]

1 Flares Twitter 0 Facebook 0 Google+ 0 Reddit 0 StumbleUpon 1 Pin It Share 0 LinkedIn 0 Email -- Buffer 0 Filament.io 1 Flares ×

Many guides are available to explain how to decompile with Apk tool, but none are noob friendly. But am sure, this guide will definitely help them. I don’t want to waste your time. So, let’s directly go to the procedure without the unnecessary introduction.

Requirements:

  • Apktool
  • Java JDK/JRE 32 bit
  • Super Basic Cmd/terminal knowledge

DISCLAIMER : Best Android Blog would not be held responsible/liable for any damages that takes place to your device by following this procedure. So, do everything at your own risk.

Procedure:

  • First download the Apk tool from here. Once downloaded extract that zip folder to anywhere you choose, preferably on root of C/drive.

E.g: C:/android/apktool extracting the files to ‘apktool’ folder.

apk tool folder

  • Now copy the apk you would like to mod into your Apk tool folder.

Command Prompt:

  • After that open your command prompt by going to Start -> run -> type : Cmd

Code:

Your cmd will probly look like this..

C:\users\yourname>

so type in

cd.. (Include the ‘..’ and press enter after you type each command).

this will get you to back directory so now you will see

C:\users>

so type again

cd..

you should now see this:

C:\>

now type in:

cd ‘apktoo’l/’directory’

for me it looks like:

cd android/apktool

now you should see:

C:/android/apktool and you are in the apktool directory

Installing Framework:

  • Once you have done that now you are in directory we need to install the device’s framework to your system for it to compile correctly so type this:apktool if framework-res.apk.

Installing Framework

  • This will install the devices framework to your system

Decompiling:

  • Now to decompile the apk you want to edit, type this:

Decompiling

  • apktool d framework-res.apk framework1 (or) apktool d music.apk music. (Music.apk is the apk you are decompiling, music is the folder you are creating for the decompiled apk)

Recompiling/Finished Product:

  • Now to recompile your new apk type this:

Recompiling

  • apktool b music music-new.apk (or) apktool b framework1 framework-res-new.apk. (framework1 is the folder with your edited files framework-res-new.apk is your new apk file).
  • We are not done yet, we cannot use the new apk’s. We have to take what we did and add it back to the original apk file t keep proper signature. Use something like 7zip, take the ‘resources.arcs’ file and any other xml files you edited out of the “-new” apk and copy them into Original apk.
  • Your new modded APK is now ready. Congrats!!!!
About Sarvesh Darak

Sarvesh Darak is a blogger, an online marketer, a social media specialist and an Android Lover. At Best Android Blog, he writes Android news & tutorials for Android Rooting. He is the tech head and ensures that the blog keeps running at good pace. He also looks after all the SEO and promotion work. He’s from Surat, India and keep contributing regularly at the blog.

Speak Your Mind

*

1 Flares Twitter 0 Facebook 0 Google+ 0 Reddit 0 StumbleUpon 1 Pin It Share 0 LinkedIn 0 Email -- Buffer 0 Filament.io 1 Flares ×