Jump to content

How to make mods on your device without using a PC


Sterling0x1

4 posts in this topic

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Idle Ninja Online v2312 Cheats +17
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?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:
      - fast farm (attack full map & hide some shuriken) 
      - no cool skill
      - no need mana
      - speed
      - wall hack
      - increase damage 
      - increase damage v2 
      - Always ultimate skill???? (not test, need tester) 
      - fast shot
      - penetration
      - multi shot
      - far FOV (in setting)
      - can move while attack 
      - reduce animation 
      - skin dame (need show damege skin in setting, from 1 to 23)
      - antiban (not sure 100%) 
      • 96 replies
    • Idle Ninja Online v2312 Cheats +17
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?uo=4


      Hack Features:
      - no cool skill
      - no need mana
      - speed
      - max level
      - fast shot
      - penetration
      - multi shot
      - far FOV (in setting)
      - can move 
      - reduce animation
      - skin dame (need show damege skin in setting, from 1 to 23)
      - antiban (not sure 100%) 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 679 replies
    • Pocket Champs PVP Racing Games Cheats v5.2.1 +2
      Modded/Hacked App: Pocket Champs: 3D Racing Games By MADBOX
      Bundle ID: com.pocketchamps.game
      iTunes Store Link: https://apps.apple.com/us/app/pocket-champs-3d-racing-games/id1542776143?uo=4


      Hack Features:
      - Free Store (not Free iAP) -- Negative value will reset to 0 on launch
      - Infinite Coins & Gems

      iOS Hack Download Link: https://iosgods.com/topic/165006-pocket-champs-3d-racing-games-cheats-v318-2/
      • 161 replies
    • Idle Theme Park - Tycoon Game Cheats v6.1.1 +1
      Modded/Hacked App: Idle Theme Park - Tycoon Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.theme.park.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-theme-park-tycoon-game/id1460772578?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash


      iOS Hack Download Link: https://iosgods.com/topic/116320-arm64-idle-theme-park-tycoon-game-cheats-v210-1/
      • 531 replies
    • Gran Saga Idle:KNIGHTSxKNIGHTS Cheats v1.18.0 +2
      Modded/Hacked App: Gran Saga Idle:KNIGHTSxKNIGHTS By Kakao Games Corp.
      Bundle ID: com.piedpixels.gransagaidle
      iTunes Store Link: https://apps.apple.com/us/app/gran-saga-idle-knightsxknights/id6482985104?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense


      iOS Hack Download Link: https://iosgods.com/topic/182761-gran-saga-idleknightsxknights-cheats-v101-2/
      • 225 replies
    • Toram Online v4.0.51 - [ Custom Move Speed & More ]
      Modded/Hacked App: Toram Online By ASOBIMO,Inc.
      Bundle ID: com.asobimo.toramonline
      iTunes Store Link: https://itunes.apple.com/us/app/toram-online/id988683886?mt=8&uo=4&at=1010lce4
       

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


      Hack Features:
      - Custom Move Speed
      - God Mode 
      - Fast Attack Speed
      - Fast Cast Speed
      - Always Critical Chance
      - Never Miss Hit 
      - Mobs/Bosses Can't Avoid & Guard 
      - Quick Draw
      - Armor Break
      - Magic Wall - Stun + Full Map Hack 
        • Agree
        • Winner
        • Like
      • 2,511 replies
    • Operate Now: Hospital Cheats v1.58.5 +1
      Modded/Hacked App: Operate Now: Hospital by SPIL Games
      Bundle ID: com.spilgames.OperateNow2
      iTunes Store Link: https://itunes.apple.com/us/app/operate-now-hospital/id1136678102?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Heart Reward Instead of Cash


      Hack Download Link: https://iosgods.com/topic/97086-arm64-operate-now-hospital-cheats-v1312-1/
      • 279 replies
    • Slayer Legend Cheats v600.0.0 +3
      Modded/Hacked App: Slayer Legend By GEAR2
      Bundle ID: com.gear2.growslayer
      iTunes Store Link: https://apps.apple.com/us/app/slayer-legend/id1635712706?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Freeze Currencies


      iOS Hack Download Link: https://iosgods.com/topic/186299-slayer-legend-cheats-v50084-3/
      • 55 replies
    • Immortal Rising Cheats v2.4.7 +4
      Modded/Hacked App: Immortal Rising By MOBIRIX
      Bundle ID: com.badbeans.DarkIdle
      iTunes Store Link: https://apps.apple.com/us/app/immortal-rising/id1588863558?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill
      - PREMIUM
      - Freeze Currencies*

      *Abuse = Ban


      iOS Hack Download Link: https://iosgods.com/topic/178921-immortal-rising-cheats-v222-4/
      • 159 replies
    • Demon Squad: Idle RPG Cheats v1.60 +2
      Modded/Hacked App: Demon Squad: Idle RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.demonsquad
      iTunes Store Link: https://apps.apple.com/us/app/demon-squad-idle-rpg/id6504470907?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense


      iOS Hack Download Link: https://iosgods.com/topic/185576-demon-squad-idle-rpg-cheats-v139-2/
      • 67 replies
    • Delusion: Tactical Idle RPG Cheats v2.0.4 +3
      Modded/Hacked App: Delusion: Tactical Idle RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.delusion
      iTunes Store Link: https://apps.apple.com/us/app/delusion-tactical-idle-rpg/id6496342351?uo=4


      Hack Features:
      - Multiply Attack
      - God Mode
      - Freeze Currencies

      NOTE: Do not abuse or buy ViP just for this cheats


      iOS Hack Download Link: https://iosgods.com/topic/183614-delusion-tactical-idle-rpg-cheats-v1027-3/
      • 53 replies
    • Candy Crush Saga Cheats v1.291.0 +2
      Modded/Hacked App: Candy Crush Saga By King
      Bundle ID: com.midasplayer.apps.candycrushsaga
      iTunes Store Link: https://itunes.apple.com/us/app/candy-crush-saga/id553834731?mt=8&uo=4&at=1010lce4




      Hack Features:
      - Infinite Life (Turn on when you running out of life)
      - Infinite Booster (Won't subtract when use)
       

      Hack Download Link: https://iosgods.com/topic/72296-arm64-candy-crush-saga-cheats-v11330-2-iosgods-exclusive/


      Credits:
      - @Laxus
        • Thanks
        • Winner
        • Like
      • 4,749 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