Tutorial Substrate Hooking Template for Android

SecretMyAss

Platinian
Skilled
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:
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
 
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.
 
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.
 
Tags Tags
android code injection hook substrate
Back
Top Bottom