Tutorial [Android] Template for Hooking and runtime code patching

Djangø

Approved Modder
Original poster
Approved Modder
Feb 20, 2020
59
1,790
183
France
Salut la mif,
I've done stuff that could be useful for some of you.

I found out that there's a lots of mod menus template out there for native games supporting both Hooking and Memory Patching,
although sometimes you don't need a mod menu and you're left with only hooking template.
And so I did a basic and simple to use template with Substrate and KittyMemory that does not use a mod menu.
I'm a bit new to all of this hooking stuff but I made this template worked on a few games so far, still if there's an issue just tell me i'll do my best to fix it.
You got all the instructions in the readme file, if you want some help ask on this thread and pls give some clear explanation with logs if possible.

Hidden content
** You must be signed up and reply to the thread or click 'Like' under this post before you can see the hidden links contained here. **
Have a nice day and keep on modding 👍

Credits:
It is based on an already made hooking template by @SecretMyAss here joeyjurjens/Android-Hooking-Template
And the KittyMemory repo by MJx0 here
https://github.com/MJx0/KittyMemory
 
Last edited:

Djangø

Approved Modder
Original poster
Approved Modder
Feb 20, 2020
59
1,790
183
France
I updated it, now you don't have a shit tons of warnings when you build and the .bat file dosn't close itself so you can fix your code issues easily.
Also since Mshook doesn't support aarch64 I might add an alternative for it. Have fun.
 
  • Like
Reactions: JokerArt

Djangø

Approved Modder
Original poster
Approved Modder
Feb 20, 2020
59
1,790
183
France
Added arm64 hooking alternative. I've put an example but it's better if you check the readme file as I changed the whole structure and compiling process.
 

mamoas

Platinian
Nov 27, 2019
9
11
3
53
None
this is really cool stuff, is it possible to add a toast directly in the lib you created to prevent leeching?
 

rk264

Rookie
Apr 14, 2020
1
0
1
51
IN
This is really cool. I did not have any experience with hooking and kitty memory stuff but the tutorial was really good.
I implemented it in my latest mod and it works perfectly.

One thing I would like you to implement:
Kittymemory was updated with the support of a new method: createWithHex()

Is it possible for you to update your template with support for this method?
 

DayGirl

Platinian
Feb 25, 2020
6
0
3
30
brazil
'ndk-build' não é reconhecido como um comando interno ou externo,
programa operável ou arquivo em lote.
Falha na construção.
 

DayGirl

Platinian
Feb 25, 2020
6
0
3
30
brazil
'ndk-build' is not recognized as an internal or external command,
operable program or batch file.
Build failed.
 
Thread starter Similar threads Forum Replies Date
SecretMyAss Tutorial Substrate Hooking Template for Android TUTORIALS 19
TryRoom AOS APP Android Paid Apps Daily Pack [13/07/2020] Untested Android Apps 0
Aqualax AOS APP [Tested] Emby for Android TV v1.8.10g [Unlocked] Tested Android Apps 2
TryRoom AOS APP [Tested] Android Paid Apps Daily Pack [11/07/2020] Tested Android Apps 4
Kaustuv 90 Tutorial Modifying Android APKs which does self certificate checking TUTORIALS 0
P Open Request Lezhin Comics Plus Android Mod Request (Unlimited Coins) ANDROID REQUEST SECTION 1
TryRoom AOS APP [Tested] Android Paid Apps Daily Pack [09/07/2020] Tested Android Apps 4
Aqualax AOS APP [Tested] WaveEditor for Android™ Audio Recorder & Editor v1.86 [Pro][Modded] Tested Android Apps 3
TryRoom AOS APP [Tested] Android Paid Apps Daily Pack [07/07/2020] Tested Android Apps 5
Aqualax AOS APP [Tested] Aptoide - Android App Store v9.15.1.0 Final [Mod AdFree] [ML] Tested Android Apps 6
Aqualax AOS APP [Tested] Plex for Android v8.3.0.18912 [Final] [Unlocked] Tested Android Apps 2
Aqualax AOS APP [Tested] Blokada - AD Blocker for Android v4.7 [Beta] [No Root] Tested Android Apps 2
Amistr Private Server Clash of Clans v13.369.9 MOD for Android & iOS | Unlimited Resources | All Commands | Coc Stable Server [Private Server] ANDROID PRIVATE SERVERS 46
Aqualax AOS APP [Tested] WaveEditor for Android™ Audio Recorder & Editor v1.85 [Pro][Modded] Tested Android Apps 1
Aqualax AOS APP [Tested] RAR for Android v5.91 build 89 [Final] [Mod Lite] Tested Android Apps 3
Aqualax AOS APP [Tested] RAR for Android v5.91 build 89 [Final] [Dark Mod] Tested Android Apps 2
Aqualax AOS APP [Tested] Aptoide - Android App Store v9.15.0.0 Final [Mod AdFree] Tested Android Apps 2
J Open Request Graffiti Smash (塗鴉英雄) Android ANDROID REQUEST SECTION 0
Aqualax AOS APP [Tested] RAR for Android v5.91 build 89 [Final] [Premium] [Mod] Tested Android Apps 6
вяфκзη FREE MOD Gunner Diary v1.0.0.1001 MOD MENU Apk | One Hit | God Mode | Unlimited Gold ANDROID MODS BY APPROVED MODDERS 3
вяфκзη FREE MOD Merge Cannon BallBlast v1.55 MOD MENU APK | God Mode | VIP | Huge Diamond Reward | No Ads ANDROID MODS BY APPROVED MODDERS 2
Aqualax AOS APP [Tested] Plex for Android v8.2.1.18363 [Final] [Unlocked] Tested Android Apps 2
Aqualax AOS APP [Tested] TVTAP Pro Android Phone & Tablet v2.5 [Mod] Tested Android Apps 5
T AOS APP [Tested] TVTAP Pro Android Phone & Tablet v2.5 [Ad-Free] Tested Android Apps 3
вяфκзη FREE MOD Elfins: Magic Heroes 2 v1.1.4 MOD Menu Apk | Unlimited Coins | Unlimited Gems | Gain Revive Cost | No Ads ANDROID MODS BY APPROVED MODDERS 2
Aqualax AOS APP [Tested] Super P Launcher for Android P 9.0 launcher, theme v6.5 [Premium] Tested Android Apps 1
T AOS APP [Tested] Headunit Reloaded Emulator for Android Auto v5.2 Beta [Paid] Tested Android Apps 2
T AOS APP [Tested] Sleep as Android: Sleep cycle tracker, smart alarm v20200606 build 22033 [Final] [Unlocked] Tested Android Apps 2
вяфκзη FREE MOD Super Sniper! v1.7.4 MOD APK | Upgrade Cost 0 | Instant Upgrade | No Ads ANDROID MODS BY APPROVED MODDERS 7
B Open Request Rush Racing 2 mod Android ANDROID REQUEST SECTION 1
U Open Request マジカミDX for Android(Magic Kami)MGCM-Magic am I ANDROID REQUEST SECTION 4
вяфκзη FREE MOD Crafty Lands - Craft, Build and Explore Worlds v2.5.2 MOD APK | Unlimited Fly Booster | Unlocked Characters | Unlocked Weapons | Unlocked Packs | VIP ANDROID MODS BY APPROVED MODDERS 9
TryRoom AOS APP [Tested] Android Hidden Settings v1.7.1 [Mod] Tested Android Apps 9
Aqualax AOS APP [Tested] Samsung Music v1.31 [Mod] [Works on any Android device] Tested Android Apps 11
Aqualax AOS APP [Tested] Blokada - AD Blocker for Android v4.6.4 [No Root] Tested Android Apps 12
вяфκзη FREE MOD Tiny Pixel Farm - Simple Farm Game v1.4.10 MOD MENU APK | Huge Coin Reward | Huge XP Reward ANDROID MODS BY APPROVED MODDERS 11
вяфκзη FREE MOD Hungry Dragon v2.10.10 MOD APK | Unlimited Coins | Unlimited Gems | God Mode | Infinite Boost | Owned All Skins | No Ads ANDROID MODS BY APPROVED MODDERS 38
вяфκзη FREE MOD Spinning Blades - Blade Blade in io games v1.1.7 MOD APK | A lot of Level Reward | Unlimited Energy ANDROID MODS BY APPROVED MODDERS 22
rkrmsg Open Request LUDO CLUB Android ANDROID REQUEST SECTION 2
вяфκзη FREE MOD Run Sausage Run! v1.22.0 MOD APK | Unlimited Coins | Race Unlocked | Disabled All Ads ANDROID MODS BY APPROVED MODDERS 0
вяфκзη FREE MOD Survival Island: EVO – Survivor building home v3,251 MOD APK | Unlimited Coins ANDROID MODS BY APPROVED MODDERS 5
вяфκзη FREE MOD Darkest Winter: Last survivor v1.0.6 MOD APK | Super Speed Move ANDROID MODS BY APPROVED MODDERS 4
вяфκзη FREE MOD STELLAR FOX - drawing puzzle v1.37 MOD APK | Unlimited Diamonds | Unlocked All Levels | Unlocked All Chapters | Every Day Reward Claimable | No Ads ANDROID MODS BY APPROVED MODDERS 0
вяфκзη FREE MOD Pirate Fight - Sword and Rogue v1.20 MOD MENU APK | Unlimited Gold | God Mode | One Hit Kill | Always Crit ANDROID MODS BY APPROVED MODDERS 17
вяфκзη FREE MOD Stickman Archer Hero: Super Bow Legend Fight v1.19 MOD APK | Unlimited Gold | Unlimited Booster | No Ads ANDROID MODS BY APPROVED MODDERS 1
вяфκзη FREE MOD Super Idol v1.0.0 MOD APK | Unlimited Gold | Unlimited Diamonds | Max Level | No Ads ANDROID MODS BY APPROVED MODDERS 0
вяфκзη FREE MOD Hole.io v1.8.0 MOD APK | All Skins Unlocked | No Pop-Up Ads | No Ad Banner ANDROID MODS BY APPROVED MODDERS 1
Aqualax AOS APP [Tested] Assistant Pro for Android - Cleaner & Booster v23.78 [Paid] Tested Android Apps 3
вяфκзη FREE MOD Bow Land v1.4.0 MOD Menu Apk | One Hit Kill | Unlimited Coins | Unlimited Diamonds | No Ads ANDROID MODS BY APPROVED MODDERS 72
вяфκзη FREE MOD The Bonfire: Forsaken Lands v1.3 MOD APK | Unlocked Full Game | Craft All Items | Craft All Buildings ANDROID MODS BY APPROVED MODDERS 27
Similar threads


















































About us

  • Welcome to platinmods.com! We are proud to present you the place which let's dreams come true! Focusing on quality and trust we have spend much time to build a gaming community fitting to your wishes and needs. Actually we offer you the finest MODs and Games of the Android section and we slowly expand to the iOS section as well. But games, Android MODs & iOS MODs are not the only things we can offer you. We have tutorials, tools, a very friendly, active and solid community which will help you with any problem you have =) Your happiness is our goal. We hope you enjoy!

Forum statistics

Threads
28,165
Messages
471,920
Members
1,041,788
Latest member
Seal_ManYT