Jump to content

4 posts in this topic

Recommended Posts

Updated (edited)

I've been playing around with android in the past few days, and worked out a way to be able to make mods on my device without using a computer.

For iOS moddders it's not something new, but on android it can be a little more tricky and complex, but not impossible, so I'm sharing it with you guys.

This tutorial is not for beginners, be familiar with Linux system, you need to have basic modding skills, understanding how memory hacking,  debuggers (LLDB in my case) and ARM64 work.

 

First I had to create a modding environment on my device, the following tools were essential:
 

- Rooted device

- Kali NetHunter installed with CHROOT (this is essential I will go into details later, modded kernel not necessary)

- GameGuardian

- LLDB (installed in kali system)

- MT FIle Manager

- Arm to Hex Converter

- apktool (optional, in case you don't have MT, install it via kali system)

- Hex Editor (optional in case you don't have MT)

- Something to sign the APK with (optional, MT does that too)

 

Kali NetHunter:

Kali is well known in hacking community. Pentesters favourite platform. Nethunter is Kali's mobile version for several network analysis and hacking, but in my case the most important part is, it creates a fully working Linux Subsystem on the device with terminal. Most  CLI tools I would use on a Linux system work on android this way.

The Linux Subsystem is running on the top of the Android system, it has full access to android filesystem and processes. Don't need a modified kernel, CHROOT all that's needed for the Linux Subsystem.

 

GameGuardian: 

Lets call it GG from now on, it is the best existing memory hack tool for android. Need no further explanation. (Shout out to @NoFearGG, helped me big time figuring out some GG features)

 

LLDB:

My favourite debugger. I've tried to run it from Termux, it wouldn't attach to process, but Kali's LLDB worked just fine. Install it via apt from Kali terminal.

 

MT File Manager:

The most powerful tool for android modders. It contains Hex editor, Dex Editor (yes browse and rewrite small code without decompiling the apk, it works like a charm), Sign APK, and much more. Some features require VIP subscription, however there is v2.5 cracked on XDA developers (Current version is 2.9). I strongly recommend using this, but there are ways around it.

 

The rest is quite obvious, no need further explanation.

 

 

So modding environment is ready, lets hack.

I downloaded a simple game (Tiny Towers) for demonstration. I start the game, run GG. Open Nethunter terminal in Kali mode. Run LLDB. attach the game (GG displays the game's PID).

After I attached LLDB to the process I had to pass some signals to the process without lldb stopping every time. This is very important as it causes the game crash most of the times as there are way too many signal stops (e.g. SIGPWR) .

I could achieve this by using the "process handle" command. See what SIGXXX you're getting and pass them all to the process,

(lldb) pro hand -p true -s false SIGPWR
NAME        PASS   STOP   NOTIFY
==========  =====  =====  ======
SIGPWR      true   false  true 

When done I just continued the process.

 

With GG I found the value I wanted to hack. I set a watchpoint on that memory address and when the value changed I got a hit. This is basic debugging, you know what to do here, not going into more details.

Now this part is very important and again I have NoFear to thank for this. When i had a watchpoint hit, i got a memory address, but i needed to figure out the actual offset in lib.so. To do this I copy the watch hit address to GG. Hit goto in options (top right corner), paste the address then save it. Hit goto option again and hit the "XA" button under the address line. Here either find the relevant lib.so or in my case it didn't display it, so had to find that memory range where my watchpoint hit was. Save it, go to saved tab, select both address, and from options select "Calculate Offset, XOR" then select offset. the result will be the actual offset in lib.so.

If its not clear I'm sure if you ask NoFear nicely, he will post a video.

I loaded the lib.so in MT's HEX editor, made my hex patches and tested the apk. Worked fine. I opened classes.dex in the apk with MT's hex editor (MT automatically decompiles and recompiles the dex on the go), added my toast message, saved it, MT recompiled dex and signed the apk automatically so I was good to go. 

 

Thats pretty much it, if you have modding experience this won't be too hard, for newbies it will take some studying.

 

Here is the mod I made, nothing fancy, just a simple game:

 

Credits:

@Sterling0x1

@NoFearGG

@Antiklor (sorting out my armhexconverter script)

Updated by Sterling0x1
  • Like 3
  • Winner 2
  • Thanks 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

    • Arcane Adventure v0.1.1 [ +4 Cheats ] Never Die
      Modded/Hacked App: Arcane Adventure By Keystorm Holdings Limited
      Bundle ID: com.game.arcane.adventure
      App Store Link: https://apps.apple.com/gb/app/arcane-adventure/id6753942710?uo=4 

      🤩 Hack Features

      - Never Die
      - DMG
      - Crit Chance
      - Crit Factor
      • 0 replies
    • Arcane Adventure v0.1.1 [ +4 Jailed ] Never Die
      Modded/Hacked App: Arcane Adventure By Keystorm Holdings Limited
      Bundle ID: com.game.arcane.adventure
      App Store Link: https://apps.apple.com/gb/app/arcane-adventure/id6753942710?uo=4

      🤩 Hack Features

      - Never Die
      - DMG
      - Crit Chance
      - Crit Factor
      • 0 replies
    • Pines Peak: Merge Travel Games v12512.0 +6 Jailed Cheats [ Unlimited Cash ]
      Modded/Hacked App: Pines Peak: Merge Travel Games By VIZOR APPS LTD
      Bundle ID: com.vizor-apps.Road-Trip2
      App Store Link: https://apps.apple.com/ph/app/pines-peak-merge-travel-games/id6743472188?uo=4

       


      🤩 Hack Features

      - Freeze Merge Energy
      - Freeze Energy
      - Freeze Cash

      VIP
      - Unlimited Merge Energy -> Spend some then restart the game.
      - Unlimited Energy -> Spend some then restart the game.
      - Unlimited Cash -> Spend some then restart the game.
      • 3 replies
    • Disney Magic Match 3D v7.0.1 +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Disney Magic Match 3D By Jam City, Inc.
      Bundle ID: com.jamcity.pdt
      App Store Link: https://apps.apple.com/us/app/disney-magic-match-3d/id6468690398?uo=4

       


      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Lives
      - Unlimited Pre-Game Boosters
      - Unlimited In-Game Boosters
      • 5 replies
    • Unromantic Demon Queen: Otome v1.0.11 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Unromantic Demon Queen : Otome By Storytaco.inc
      Bundle ID: com.storytaco.c7client
      iTunes Store Link: https://apps.apple.com/us/app/unromantic-demon-queen-otome/id6446239496?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Unromantic Demon Queen: Otome v1.0.8 +1 Cheat [ Free Premium Choices ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 9 replies
    • Dragoneer Squad: Idle v1.0.26 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dragoneer Squad: Idle By DAERI SOFT
      Bundle ID: com.daerigame.dragon
      App Store Link: https://apps.apple.com/us/app/dragoneer-squad-idle/id6746182414?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 25 replies
    • Avalar: Raid of Shadow v03.85.10 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Raid of Shadow By Enigma Publishing Limited
      Bundle ID: com.vtwo.atwo.epl.as
      App Store Link: https://apps.apple.com/us/app/avalar-raid-of-shadow/id6745590551?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 36 replies
    • Octopus Feast v2.15.8 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Octopus Feast By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.twodestudios.octopusfeast
      iTunes Store Link: https://apps.apple.com/us/app/octopus-feast/id6499421924?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Octopus Feast v1.2.4 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 55 replies
    • Tile Family®:Match Puzzle Game v1.92.1 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tile Family®:Match Puzzle Game By Jump Plaid GmbH
      Bundle ID: com.tile.match.blockpuzzle
      iTunes Store Link: https://apps.apple.com/us/app/tile-family-match-puzzle-game/id6444056676?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Lives -> Use coins.
      - Unlimited Stars -> Earn or spend some.
      - Unlimited Boosters -> Earn or spend some.
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Tile Family®:Match Puzzle Game v1.54.1 +5 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 33 replies
    • Smoq Games 26 v2.11 +1 Jailed Cheat [ Unlimited Coins ]
      Modded/Hacked App: Smoq Games 26 By Edyta Smoktunowicz
      Bundle ID: com.fivedragonsgames.smoqgames26
      iTunes Store Link: https://apps.apple.com/us/app/smoq-games-26/id6751264404

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
      • 27 replies
    • Rapid Reload v4.10.4 +100 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Rapid Reload By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.gibygames.rapidreload
      iTunes Store Link: https://apps.apple.com/us/app/rapid-reload/id6474667725?uo=4


      Hack Features:
      - Debug Menu -> Head into Settings and toggle the Sound button.

      -> Add Cash
      -> Add Diamond
      -> Add Energy
      -> Teleport Settings
      -> Skip Levels
      -> Camera Settings
      -> Skill Modifers
      -> Gear Modifiers

      + More!


      Jailbreak required hack(s): [Mod Menu Hack] Rapid Reload v2.7.3 +100 Cheats [ Debug Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 10 replies
    • Merge Camp - Cute Animal Fun v1.31.172 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge Camp - Cute Animal Fun By HIGHSCORE GAMES Inc
      Bundle ID: puzzle.merge.camp.high
      iTunes Store Link: https://apps.apple.com/us/app/merge-camp-cute-animal-fun/id6447937393?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      • 10 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