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

    • Boom! Zombies v1.1.0 [+3 Jailed Cheats]
      Modded/Hacked App: Boom! Zombies By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.tk
      App Store Link: https://apps.apple.com/us/app/boom-zombies/id6745877105?uo=4



      🤩 Hack Features

      - Never Die
      - High Damage
      - No Reload
      • 2 replies
    • Boom! Zombies v1.1.0 [+3 Cheats]
      Modded/Hacked App: Boom! Zombies By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.tk
      App Store Link: https://apps.apple.com/us/app/boom-zombies/id6745877105?uo=4



      🤩 Hack Features

      - Never Die
      - High Damage
      - No Reload
       
      • 7 replies
    • Joint Blitz v1.0.20 [+5 Jailed Cheats]
      Modded/Hacked App: Joint Blitz By Beijing Dasheng Digital Entertainment Technology Co., Ltd.
      Bundle ID: com.mojo.tuxi.ios
      App Store Link: https://apps.apple.com/us/app/joint-blitz/id6480042435?uo=4



      🤩 Hack Features

      - Add Diamonds
      - Add Money
      - Enemy Can't Attack
      - No Population Limit
      - Higher Energy Gain (From killing enemy)
      • 1 reply
    • Joint Blitz v1.0.20 [+5 Cheats]
      Modded/Hacked App: Joint Blitz By Beijing Dasheng Digital Entertainment Technology Co., Ltd.
      Bundle ID: com.mojo.tuxi.ios
      App Store Link: https://apps.apple.com/us/app/joint-blitz/id6480042435?uo=4



      🤩 Hack Features

      - Add Diamonds
      - Add Money
      - Enemy Can't Attack
      - No Population Limit
      - Higher Energy Gain (From killing enemy)
      • 3 replies
    • Super Stylist Fashion Makeover Cheats v3.6.6 +1
      Modded/Hacked App: Super Stylist Fashion Makeover By CRAZY STYLE LTD
      Bundle ID: com.babyeducationtoys.fashionstyle
      iTunes Store Link: https://apps.apple.com/us/app/super-stylist-fashion-makeover/id1441648201?uo=4


      Hack Features:
      - Free Store (not iAP)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/112404-super-stylist-fashion-makeover-v352-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/190368-super-stylist-fashion-makeover-cheats-v352-1/
      • 19 replies
    • AdVenture Capitalist Cheats v9.13.0 +1
      Modded/Hacked App: AdVenture Capitalist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecapitalist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-capitalist/id927006017?uo=4


      Hack Features:
      - Freeze Currencies

       
      Free Non-Jailbroken Hack:  https://iosgods.com/topic/82751-adventure-capitalist-v940-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/78370-adventure-capitalist-cheats-v940-1/
      • 1,192 replies
    • Monster Legends: Collect all Cheats v18.1.1 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
      • 348 replies
    • BitLife - Life Simulator Cheats v3.19.8 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 3,676 replies
    • [Global / KR] STARSEED: Asnia Trigger Cheats v7.6 +3
      Modded/Hacked App: STARSEED: Asnia Trigger By Com2uS Corp.
      Bundle ID: com.com2us.starseedgl.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/starseed-asnia-trigger/id6504904399?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skills


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/188338-starseed-asnia-trigger-cheats-v115-3/
        • Agree
      • 59 replies
    • Idle MoonRabbit: AFK RPG Cheats v1.124.0 +4
      Modded/Hacked App: Idle MoonRabbit: AFK RPG By Able Games Co. ,Ltd.
      Bundle ID: com.TheAbleGames.DalToKi
      iTunes Store Link: https://apps.apple.com/us/app/idle-moonrabbit-afk-rpg/id1599684924?uo=4

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Multiply Attack
      - Multiply Defense
      - Infinite Mana
      - Instant Skills


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/190116-idle-moonrabbit-afk-rpg-v11130-jailed-cheats-4/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/167497-idle-moonrabbit-afk-rpg-cheats-v11130-4/
      • 242 replies
    • Hollywood Story: Fashion Star Cheats v13.3 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?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

      - Infinite Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
        • Like
      • 808 replies
    • My Talking Angela 2 Cheats v25.2.3 +2
      Modded/Hacked App: My Talking Angela 2 By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingangela2
      iTunes Store Link: https://apps.apple.com/us/app/my-talking-angela-2/id1536584509?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/147072-my-talking-angela-2-v1013-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/147070-my-talking-angela-2-cheats-all-versions-2/
      • 112 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