Jump to content

[TUTORIAL] How To Hack Using a Hex Editor


96 posts in this topic

Recommended Posts

Updated (edited)

✻ Requirements

File browser

Hex Editor

Decimal to Hex Converter: http://www.binaryhexconverter.com/decimal-to-hex-converter

Hex to Decimal Converter: http://www.binaryhexconverter.com/hex-to-decimal-converter

 

✻ Gathering Data

For this tutorial I’m going to use Candy Crush Saga. I’ll be changing lives, score, and stars. Hex editing requires you to play the game’s first few levels so actual data shows up in the .dat file, unlike .plist editing which usually already has the parameters setup whether you’ve played or not.

 

So the first thing I’m going to do is play the first 3 levels of the game. My sav.dat file looks like this (sadly my hex editor doesn’t allow copy-paste, so I’ll be using screenshots):

iRLXexG.png

 

In the case of Candy Crush, the FFs and 00s are placeholders. If you want to enter new data, you would do so in between and not overwrite the placeholders. Some apps are different and require you to write over the 00s. It’s a toss-up which system apps use, so make sure you backup your .dat file, as picking the wrong one usually results in a crash and/or data wipe. Alternatively you could play the game a bit further until you figure out which is correct.

 

Here are my stats from playing the first 3 levels:

4 lives

Level 1 score: 3000 (3 stars)

Level 2 score: 8220 (3 stars)

Level 3 score: 12980 (3 stars)

 

✻ Procedure

Taking the data above and converting it to hex yields:

04 lives

Level 1 score: 0BB8 (03 stars)

Level 2 score: 201C (03 stars)

Level 3 score: 32B4 (03 stars)

 

Compare that with the screenshot of the sav.dat file. There is a single 04 toward the top, next to all the FFs. That must be our lives. We can change it to FF to make it 255.

 

Toward the bottom there are a few 03s. Those must be our stars, and it’s only logical our score is nearby. Candy Crush is a good example of an app that uses reverse hex! As you can see, the level scores are listed as B80B, 1C20, and B432. Some apps use regular hex and others use reverse - it’s another toss-up which app uses which, so write down both variants so you can search for both.

 

Hex can only be broken down into bytes, which is 2 digits (called bits). This is why “reversed” hex isn’t completely reversed. Here’s an example:

 

 

 

 

Normal: 12 34
Reversed (incorrect): 43 21
Reversed (correct): 34 12
/* It helps to break the hex into chunks of 2-digits to see the pattern better */
Now that it’s confirmed the reversed values are truly the scores, we can edit them to, say, FF FF FF (16,777,215). Remember that Candy Crush wants us to write in between the placeholders. In other words, there should always be two sets of 00 between the score and stars:

Old score: B8 0B 00 00 03
New score (incorrect): FF FF FF 00 03
New score (correct): FF FF FF 00 00 03
/* Remember that other apps have these outcomes flipped,
so remember to try both and backup your .dat file */
Updated by EvillyG00d
  • Like 15
  • Winner 5
  • Thanks 6
  • Informative 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Ice Age Adventures Cheats v2.0.1 +1
      Modded/Hacked App: Ice Age Adventures By Gameloft
      Bundle ID: com.gameloft.iceageadventures
      App Store Link: https://apps.apple.com/us/app/ice-age-adventures/id632437966?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Free Store (not Free iAP)



      Free Non-Jailbroken Hack: https://iosgods.com/topic/147897-ice-age-adventures-v201-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147809-ice-age-adventures-cheats-v201-1/
      • 34 replies
    • Ice Age Village Cheats v3.6.4 +1
      Modded/Hacked App: Ice Age Village By Gameloft
      Bundle ID: com.gameloft.IceAge
      App Store Link: https://apps.apple.com/us/app/ice-age-village/id467577200?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Free Store (not Free iAP)

       

      Free Non-Jailbroken Hack: https://iosgods.com/topic/147806-ice-age-village-v364-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147802-ice-age-village-cheats-v364-1/
        • Winner
        • Like
      • 46 replies
    • Mr Autofire Cheats v4.0.1 +3 [ God Mode & More ]
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode 
      - One Hit Kill
      - Free Store

       

      Non-Jailbroken Hack: https://iosgods.com/topic/134805-mr-autofire-v380-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134788-mr-autofire-cheats-v380-3-god-mode-more/
        • Like
      • 635 replies
    • Grim Soul: Survival v7.3.3 +19 Cheats [Unlimited Currencies + More]
      Modded/Hacked App: Grim Soul: Survival By Andrey Pryakhin
      Bundle ID: fantasy.survival.game.rpg
      iTunes Store Link: https://itunes.apple.com/us/app/grim-soul-survival/id1366215798


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Thalers/Coins & Crafting Points - Once enabled, purchase something using coins & use a craft point so the currencies stick, then disable this feature.
      - Unlimited Storage Items - Taking storage items will increase them.
      - Unlimited Energy / Instant Energy Refills - Will refill your energy once you run to another location.
      - Godmode - Unlinked. Health will still decrease but you won't die.
      - One-Hit Kill - Linked to the enemy. Would recommend enabling 'Godmode'.
      - Increased Attack Range - Allows you to kill enemies from some distance away.
      - Free Crafting - Will allow you to craft items without the required materials.
      - No Crafting Level Requirement
      - Free Construction
      - Items Duplicate When Split
      - Unlimited Item Durability
      - x2 Player Speed
      - x3 Player Speed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 5,054 replies
    • Hero Z: Idle defense v0.0.7 [+2 Cheats]
      Modded/Hacked App: Hero Z: Idle defense By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.heroz
      App Store Link: https://apps.apple.com/us/app/hero-z-idle-defense/id6478379131?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Priv Pass (You can't claim diamonds but all the features enabled. Skip ads, More stamina cap etc.)
       
        • Informative
      • 2 replies
    • Hero Z: Idle defense v0.0.7 [+2 Jailed Cheats]
      Modded/Hacked App: Hero Z: Idle defense By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.heroz
      App Store Link: https://apps.apple.com/us/app/hero-z-idle-defense/id6478379131?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Priv Pass (You can't claim diamonds but all the features enabled. Skip ads, More stamina cap etc.)
      • 1 reply
    • Jolly Match 3 - Puzzle Game v1.0.1884 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 1 reply
    • Jolly Match 3 - Puzzle Game v1.0.1884 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 1 reply
    • Cannon Heroes X v1.2.19 [+3 Jailed Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
      • 1 reply
    • Cannon Heroes X v1.2.19 [+3 Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
       
      • 1 reply
    • Archero Cheats v6.14.0 +5 [ God Mode & More ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4



      Hack Features:
      - Multiply Defense to
      - Multiply Damage to
      - God Mode
      - OHK (Must use with God Mode)
      - Freeze Enemies

      NOTE: If you want to use god mode and ohk turn off multiply damage and defense first. I added multiply damage and defense there to avoid ban


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/100710-archero-v210-enemies-dont-attack-x30-attack/


      Hack Download Link: https://iosgods.com/topic/96783-arm64-archero-cheats-v220-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 15,861 replies
    • Galaxy Defense: Fortress TD v0.9.2 [+2 Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
       
        • Winner
      • 29 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines