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

    • BASEBALL 9 v3.7.4 +1 Cheats for Jailed iDevices!
      Modded/Hacked App: BASEBALL 9 By playus soft
      Bundle ID: us.kr.baseballnine
      App Store Link: https://apps.apple.com/us/app/baseball-9/id1340866223?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Currencies

       

      Jailbroken Hack: https://iosgods.com/topic/136094-baseball-9-cheats-v371-1/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/82460-baseball-9-v371-1-cheats-for-jailed-idevices/
      • 1,536 replies
    • Heroes Tavern: Idle Pub Tycoon v2.5.7 [+3 Cheats]
      Modded/Hacked App: Heroes Tavern: Idle Pub Tycoon By MAD PIXEL GAMES LTD
      Bundle ID: fantasy.hero.cafe.empire.craft
      iTunes Store Link: https://apps.apple.com/us/app/heroes-tavern-idle-pub-tycoon/id6451189153?uo=4

       

      🤩 Hack Features

      - Add Currency (Toggle on/off gives you currency)
      - Level Up Heroes (Toggle on/off level up heroes)
      - Instant building (For Hero Place it works after level 1)
      • 2 replies
    • Heroes Tavern: Idle Pub Tycoon v2.5.7 [+3 Jailed Cheats]
      Modded/Hacked App: Heroes Tavern: Idle Pub Tycoon By MAD PIXEL GAMES LTD
      Bundle ID: fantasy.hero.cafe.empire.craft
      iTunes Store Link: https://apps.apple.com/us/app/heroes-tavern-idle-pub-tycoon/id6451189153?uo=4

       

      🤩 Hack Features

      - Add Currency (Toggle on/off gives you currency)
      - Level Up Heroes (Toggle on/off level up heroes)
      - Instant building (For Hero Place it works after level 1)
      • 3 replies
    • Knights of Pen and Paper 3 v1.5.1 [+5 Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 3 replies
    • Knights of Pen and Paper 3 v1.5.1 [+5 Jailed Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 6 replies
    • Seaside Escape®: Merge & Story v1.74.0 [+2 Jailed Cheats]
      Modded/Hacked App: Seaside Escape®: Merge & Story By Microfun Limited
      Bundle ID: com.mf.cupcake
      App Store Link: https://apps.apple.com/us/app/seaside-escape-merge-story/id6443755785?uo=4

       

      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency
      • 4 replies
    • Seaside Escape®: Merge & Story v1.74.0 [+2 Cheats]
      Modded/Hacked App: Seaside Escape®: Merge & Story By Microfun Limited
      Bundle ID: com.mf.cupcake
      App Store Link: https://apps.apple.com/us/app/seaside-escape-merge-story/id6443755785?uo=4



      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency
       
      • 5 replies
    • [Free] Asphalt 8: Airborne Hack v8.4.0 +4 Cheats
      Modded/Hacked App: Asphalt 8: Airborne by Gameloft
      Bundle ID: com.gameloft.asphalt8
      iTunes Store Link: https://apps.apple.com/us/app/asphalt-8-airborne/id610391947


      Hack Features:
      - Unlimited Nitro Use / Nitro Doesn't Decrease
      - No Car Crash / No Wrecks
      - Anti-Ban -> Does not mean you can abuse the hack.
      - No Rank Required to do Mastery Missions

      This hack only works on x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later. This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app.

      ViP version of this hack with more features: https://iosgods.com/topic/39095-vip-asphalt-8-airborne-v321-13-cheats/
      Non-Jailbroken version of this hack: https://iosgods.com/topic/38140-hack-asphalt-8-airborne-v310-4-cheats-for-jailed-idevices-ios-10/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 8,879 replies
    • Yu-Gi-Oh! Duel Links v9.9.0 - [ Always Best Tactics & More ]
      Modded/Hacked App: Yu-Gi-Oh! Duel Links By KONAMI
      Bundle ID: jp.konami.yugiohmobile
      iTunes Store Link: https://itunes.apple.com/us/app/yu-gi-oh-duel-links/id1068378177


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      -- Always The Best Tactics
      - Shows
      -- Enemies Hand Card Show
      - Show Monster And Status
      -- Enemies Deck Card Shows
      • 1,415 replies
    • [Hack] Asphalt 8: Airborne v8.4.0 +10 Cheats for Jailed iDevices! [ iOS 26 ]
      Modded/Hacked App: Asphalt 8: Airborne By Gameloft
      Bundle ID: com.gameloft.asphalt8
      iTunes Link: https://itunes.apple.com/us/app/asphalt-8-airborne/id610391947

      Hack Features:
      - Unlimited Nitro Use. Use Unlimited Nitro!
      - No Car Crash/Wreck
      - All Cars Unlocked
      - Unlimited Coins -> Coins will still decrease and go negative after buying and turning the hack off. Caused issues after uninstalling the hack. Removed.
      - Free Store - Buy any item for free which cost coins Patched. Removed.
      This hack only works on x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.

      Jailbroken version of this hack: https://iosgods.com/topic/23005-free-asphalt-8-airborne-hack-v321-4-cheats/
      • 767 replies
    • [ViP] Asphalt 8: Airborne v8.4.0 +13 Cheats!
      Modded/Hacked App: Asphalt 8: Airborne By Gameloft
      Bundle ID: com.gameloft.asphalt8
      iTunes Link: https://itunes.apple.com/us/app/asphalt-8-airborne/id610391947


      Hack Features:
      - Unlimited Nitro Use / Nitro Doesn't Decrease
      - 0 Coin Cost to buy Decals
      - All Seasons Unlocked
      - Tag Season Unlocked
      - Coins Hack (Enter your own amount in settings)
      - 0 Cost to Apply ProKits
      - Free Store (only works with coins. Blue tokens cost is server sided)
      - Mastery Unlocked at any Level (choose the amount of stars you want in settings to unlock early)
      - Anti-Ban -> Does not mean you can abuse the hack.
      - No Rank Required to do Mastery Missions
      - All Cars Unlocked
      - No Speed Limit
      - No Car Crash
       
      Free Version of this hack: https://iosgods.com/topic/23005-updated-asphalt-8-airborne-hack-v260-13-cheats/
      ViP No-Jailbreak Version of this Hack: https://iosgods.com/forum/78-vip-non-jailbroken-hacks-cheats/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 2,159 replies
    • Tap Titans 2 v7.11.1 +3 [ iOS 18 Supported ]
      Modded/Hacked App: Tap Titans 2 By Game Hive Corporation
      Bundle ID: com.gamehivecorp.taptitans2
      iTunes Store Link: https://itunes.apple.com/us/app/tap-titans-2/id1120294802

      Hack Features:
      - Freeze Gold -> Gold Won't Subtract
      - Freeze Mana -> Mana Won't Subtract
      - x10 Gold Drop -> Drop More Gold than Usual
      Only works on x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.


      Jailbroken version of this hack: https://iosgods.com/topic/58609-iosgods-vip-tap-titans-2-v210-6-cheats/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 2,042 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