Tutorial Substrate Hooking Template for Android

SecretMyAss

Platinian
Original poster
Skilled
Jul 16, 2018
18
32
13
19
Netherlands
Hi,

I know most of you just patch offsets directly with creating hacks, which is fine.
However, sometimes hooking a function can be very useful, for example when you're trying to unlink a feature.

Some time ago I made a simple template, so I thought I'd share it here.

The Github link is: joeyjurjens/Android-Hooking-Template
The instructions will be there too, if you've any message you can either message me here or on discord.

I'll include KittyMemory with it soon, so offsets can be patched from the library.
You might want to use this, so people can't just compare your modded binary with a clean binary.

Have fun! :)
 
Last edited:

BMD4E

Approved Modder
Approved Modder
Apr 4, 2017
355
37,287
1,193
29
United Kingdom
Is it possible to hook multiple libs armv7 + arm64 + x86?
and can you make a template of pthread hooking method? I have heard someone recommended pthread
 

SecretMyAss

Platinian
Original poster
Skilled
Jul 16, 2018
18
32
13
19
Netherlands
Is it possible to hook multiple libs armv7 + arm64 + x86?
and can you make a template of pthread hooking method? I have heard someone recommended pthread
The names of those libs are the same, it will hook the one the user has.
& I've never heard of it, so no.
 

Mr Ikso

Solid & Active Platinian
Dec 6, 2017
62
79
18
Ukraine
Is it possible to hook multiple libs armv7 + arm64 + x86?
and can you make a template of pthread hooking method? I have heard someone recommended pthread
for ideas for each architecture to write one more lib and throw in the right folder
 
  • Like
Reactions: HizroMxDz

Mr Ikso

Solid & Active Platinian
Dec 6, 2017
62
79
18
Ukraine
It’s better to have only one lib in your modded apk. No one has a device that runs x86 anymore. arm64 can run armv7, aka keep armv7 & remove others.
I know that armeabi-v7a is a universal platform, but x86 emulators work better, arm64 is relevant in the modern world.
 
  • Like
Reactions: Lorax3D
Thread starter Similar threads Forum Replies Date
busmanl30 Tutorial (Source code) Pixel Combat Hooking Source TUTORIALS 1
G Shared [Tested] Hook And Smash 2-Destroy The City v1.3 MOD APK Tested Shared Android MODs 3
Qnzboi102 PMT FREE MOD Hooked Inc: Fisher Tycoon Ver. 2.12.2 MOD APK | Frozen Gems | High Experience | Frozen Money EXCLUSIVE ANDROID MODS BY PMT 19
G Shared [Tested] Fishing Hook v2.3.5 MOD APK Tested Shared Android MODs 6
Qnzboi102 iPMT [nonJB] [iOS 13 ✔] Hooked Inc: Fisher Tycoon Ver. 2.12.1 MOD IPA | Frozen Gems | High Experience | Frozen Money | FREE IAP MODs FOR NON-JAILBROKEN iOS DEVICES 10
Qnzboi102 iPMT [JB] [JB iOS 13 ✔] Hooked Inc: Fisher Tycoon Ver. 2.12.1 MOD Menu | FREE IAP | Frozen Gems | High Experience | Frozen Money MODs FOR JAILBROKEN iOS DEVICES 11
Djangø Tutorial [Android] Template for Hooking and runtime code patching TUTORIALS 21
G Shared [Tested] Hook and Smash v1.0.0 MOD APK Tested Shared Android MODs 3
B PMT FREE MOD Real Fishing - Ace Fishing Hook game Ver. 1.1.1 MOD APK | High Damage | Unlimited Currency | Unlimited Hooks EXCLUSIVE ANDROID MODS BY PMT 18
G Shared [Tested] Neon Hook v1 MOD APK Tested Shared Android MODs 2
Arsenal Shared [Tested] Hook Drift: Car Sling v1.0 MOD APK Tested Shared Android MODs 0
G Shared [Tested] Fishing Hook : Bass Tournament v1.2.8 MOD APK Tested Shared Android MODs 5
youssefvisto AOS APP [Tested] Logo Maker - Free Graphic Design & Logo Templates v30.9 (Pro) Tested Android Apps 10
youssefvisto AOS APP [Tested] Resume Builder App Free CV Maker & PDF Templates v7.3 (Full Unlocked) Tested Android Apps 2
V Tutorial Template Menu [Free] for Mod Menu Il2cpp and other Native Games TUTORIALS 65
G-Bo ッ iOS 12 Mod Menu Theos NIC Template - Full Guide To Create Own MM for iOS! EXCLUSIVE iOS MODS BY iPMT 103
AndnixSH Tutorial Draggable Flat MOD Menu Template [FREE] (Unity DLL/mono backend only) TUTORIALS 70
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
30,309
Messages
520,449
Members
1,087,493
Latest member
Jabran Gujjar