How to Modify or Hack android APK files using APKTOOLS [No Root] [Tutorial]

66 comments
Want to change the car driver of Hill climb racing game to yours? Or want to change the Jetpack style in Jetpack Joyride? I guarantee that after fully reading this post, you will be able to customize any game or App, if you have a little brain, an idea and some patience. Just read below.






Tools Required


  • APKTool to decompile and compile APK files
  • SignApk to sign the recompiled APK files
I have uploaded the above files into a ZIP file. You can download it from HERE
Thanks to those guys who made APKTool and SignAPK. Actually I referred to Xda forum for the above tools. After downloading the files, follow the steps below.


Instructions




  1. Extract the files and open command prompt in the extracted folder. There will be four folders.
    files , compiled, decompiled, and signed.
    Files  > Place your working APKs here
    Decompiled  > The files after Decompiling your APK will go here. You can edit the files after      decompiling.
    Compiled  > After editing and recompiling, the unsigned APK file goes here. You cant use it before signing.
    Signed  > Finished APK, after signing goes here. You can install the APK after signing.
  2. Place the working APK into the Files folder and type the following command in the command prompt:
    (Here I'm taking hill climb racing as an example. You can take any game)
    apktool d files/hill.apk decompiled/hill



     The command is very simple. It says apktool to decompile the file which is situated in files/hill.apk and save the decompiled files to decompiled/hill folder (d is the command for decompile)
  3. Now, just go through the files in the decompiled folder. It is very easy to mod. Here,I want to change the driver head of Hill Climb racing. So, in the assets folder., there is an driver-head.png file. It is obvious that this is the driver head image file. Now, edit the image using Photoshop (or anything similar) and change the head. Here, I have downloaded a photo from Google (dont know whose head is that! maybe an actress!!) replaced the head with this one and that's enough!. Be careful, when doing this, the photo should be in correct position. I mean, The Head should be above the neck and not should be in the AIR! I'm just doing this for this tutorial. If you want, you can change cars, tires etc. Also try editing the manifest file and other folders. In manifest file, you can edit the App name, version, etc.


    Now time to recompile.

  4. For recompiling, open command prompt and type the following command


    apktool b decompiled/hill compiled/hill.apk



     I think there is no need of an explanation here. Command b is for Binding, I think.
  5. Now the final step. To sign the APK file, you can use the SignApk (Provided in the Zip file). Type the following command

    java -jar signapk.jar certificate.pem key.pk8 compiled/hill.apk signed/hill.apk


  6. Now transfer it to the Phone and Test it. Enjoyyy!
AAfter decompiling, you get the java files as .smali files. It is very difficult to edit it. If you try, you can do much more.

Here is the screenshot of what I have done



If you want, you can download the APK which I have modified (as in the screenshot) below

Download

In games like Temple Run, they uses some applications like Unity3D to design such 3D games. I dont actually know how to edit those. If anybody know it, please leave a comment below and share your knowledge...

If you have any doubts or suggestions, comment below.

66 comments :

  1. Leave comments if there is any doubts, suggestions or anything

    ReplyDelete
    Replies
    1. Hi,I found a way to edit/modify games made with unity 3D,
      The tool required is UnityAsset Editor(UAE) which can be available on google,after downloading,just in the asset folder find out a file with .unity3d format and edit it in UAE.Thats it.
      If anyone have a problem or query then reply.....

      Delete
  2. Please help me to hack teen patti

    ReplyDelete
  3. can you help me hacking digimon unlimited on android ?

    ReplyDelete
  4. InternetTalksBullshitMarch 26, 2014 at 8:33 AM

    So whats the password ???

    ReplyDelete
  5. wat abt ANDROID ??????

    ReplyDelete
  6. file is not found on the link

    ReplyDelete
  7. please someone help!! every search i do it shows 0 items found! i tryed in different games but still 0 items found, i tryed to hack Pou, i had 402 coins then i enter 402 and click search and i selected Auto indentify and i get 0 items found! can someone help me??

    ReplyDelete
  8. please help. error is occurred as image below...

    ReplyDelete
  9. Replies
    1. No, I have not installed JRE. Tell me all the requirements and download liks if you have. Sorry for late response. Thanks in advance.

      Delete
    2. Its better you install jdk itself. You can download it from oracle official site
      http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=otnjp

      Delete
  10. how to hack kings empire plz help

    ReplyDelete
  11. teen patti is flash game so it cant be hacked or may be but it will be very tough to hack

    ReplyDelete
  12. Error "Apk INSTALLATION failed : INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES"

    what happen there can you please tell me ?

    ReplyDelete
  13. great job yaar .....

    ReplyDelete
  14. can we hack money of any game using apktool

    ReplyDelete
  15. please..please...please. ...CAN YOU HACK CLASH OF CLANS??? PLZ PLZ PLZ tell me how to hack it.....thanx in advance. ...:-)

    ReplyDelete
    Replies
    1. Clash of clans has the strongest of security of the apk go get a modded libg.so and root and sb game hacker or modded server but you can't transfer progress in modded server good bye and fuck you

      Delete
    2. Clash of clans has the strongest of security of the apk go get a modded libg.so and root and sb game hacker or modded server but you can't transfer progress in modded server good bye and fuck you

      Delete
    3. Go google for Clash of Clans Mod/cracked apk.

      Delete
  16. Please plz plz can you hack CLASH OF CLANS??? PLz ....tell me if you can hack. .....:-)

    ReplyDelete
  17. Gets a ton of errors when I tried

    ReplyDelete
  18. i am getting 'java' is not recognized as an internal or external command operable program or batch file in my command prompt plzzz help me

    ReplyDelete
  19. Tried this, doesnt work. When i double click the command prompt as per your instructions a window flashes up for a milli-second and vanishes, no doubt just installed a virus....... time to format my hard drive.

    ReplyDelete
  20. This is what i get when trying the first step...

    'Java' is not recognized as an internal or external command

    ReplyDelete
  21. The app can't run it says 'Unfortunately --app name-- it stopped'

    ReplyDelete
  22. plzz hlp me it is giving the error that java is not recognised as internal or external command

    ReplyDelete
  23. eeerm... I want to try this on jet pack joy ride, can I use it to make unlimited coins.?

    <a href="http://www.legitstuffs.com/2014/07/how-to-download-free-android-apps-from.html>how to download from google play with your pc</a>

    ReplyDelete
  24. it says 'java' is not recognized as an internal or external commend ,operable program or batch file
    what do i do?

    ReplyDelete
  25. How can u you modify values? Such as in game currency (I.E. Donuts in Tapped out, gold coin in puzzle quest etc.)

    ReplyDelete
  26. you can use notepad++ for editing smali formats :)

    ReplyDelete
  27. Would it work on Marvel puzzle quest?

    ReplyDelete
  28. hey tell me how to modify games data like coin gold etc
    and how to setup massage on startup

    ReplyDelete
  29. hay please give me brother in arms 3 apk version1.2.1b mod ( unlimited madels enargy) apk

    ReplyDelete
  30. hay please give me brother in arms 3 apk version1.2.1b mod ( unlimited madels enargy) apk

    ReplyDelete
  31. hay please give me brother in arms 3 apk version1.2.1b mod ( unlimited madels enargy) apk

    ReplyDelete
  32. hay please give me brother in arms 3 apk version1.2.1b mod ( unlimited madels enargy) apk

    ReplyDelete
  33. I do exactly like you did but it always say "java is not recognized as an internal or external command, operable program or batch file" pls help me

    ReplyDelete
  34. hey ..can you me in hacking/modding Clash of clan

    ReplyDelete
  35. some apks are easily decompiling but some shows error dude " could not decode arsc file ...at brut.androidlib.res.decoder.ARSDecoder.decode

    ReplyDelete
  36. Having issues trying to mod PIMD.apk, would greatly appreciate some help in understanding how everything works!

    ReplyDelete
  37. PIMD.apk, for some reason it either does not find file or will not decompress the files.....would greatly appreciate help!

    ReplyDelete
  38. Error in decoding string block dats all i got

    ReplyDelete
  39. I create a mod and signed and all but when I open the game it say that I need to reinstall the game

    ReplyDelete
  40. I create a mod and signed but when I try to open the game it's say to me that I need to reinstall the game what I need to do

    ReplyDelete
  41. Plx somone help me to get coins and tokens free on TOP ELEVEN FOOTBALL MANAGER. Email: wyzdom92@gmail.com

    ReplyDelete
  42. After step 2 (command apktool d files/hill.apk decompiled/hill) I have:


    Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
    at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
    at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
    at brut.androlib.Androlib.getResTable(Androlib.java:50)
    at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
    at brut.apktool.Main.cmdDecode(Main.java:146)
    at brut.apktool.Main.main(Main.java:77)
    Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
    at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
    at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
    ... 8 more

    what do I do wrong?

    ReplyDelete
  43. how to cheat clash of clans ? please help me

    ReplyDelete
  44. Pls help me to hack world chef apk

    ReplyDelete
  45. C:\Users\ByAlcatraz\Desktop\APktool>apktool d xxxxx.apk
    I: Baksmaling...
    I: Loading resource table...
    I: Loaded.
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\ByAlcatraz\apktool\framework\1.apk

    I: Loaded.
    I: Renamed manifest package found! Fixing...
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Done.
    I: Copying assets and libs...

    C:\Users\ByAlcatraz\Desktop\APktool>apktool b xxxxx.apk
    Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
    otExist: apktool.yml
    at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
    at brut.androlib.Androlib.build(Androlib.java:183)
    at brut.androlib.Androlib.build(Androlib.java:176)
    at brut.apktool.Main.cmdBuild(Main.java:228)
    at brut.apktool.Main.main(Main.java:79)
    Caused by: brut.directory.PathNotExist: apktool.yml
    at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
    103)
    at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
    ... 4 more

    C:\Users\ByAlcatraz\Desktop\APktool>


    How fix it?

    ReplyDelete
  46. hello bro I patched the gamekiller by lucky patcher and at last it says you have been registered and I started typeing game value 3 time and one string come but it does not works please tell me the reson

    ReplyDelete
  47. Hi,I know that's post is a little old but plz I wana to know how to hack games using provided apps above to as example increase mony or keys in the game to unlock some features?!

    ReplyDelete