Substrate-Template-With-Mod-Menu
This is a simple template for the usage of Cydia Substrate with a Mod Menu written in Java.
If you wanna use NDK as the build system follow this:
Installation:
- Download Android NDK, Revision 16b from: https://developer.android.com/ndk/downloads/older_releases
- Download this github files somewhere to your PC.
Android Studio
- You need to configure Android Studio so it uses the old ndk
- File -> Project Structure -> SDK Location set the NDK Location path to the path whereever you downloaded the android-ndk 16b too
- change the build_method in the build.gradle file to build_ndk
CMake
If you are going to use the CMake build system leave it as it is and under File -> Project Structure -> SDK Location you set the location to C:\Users\anon\AppData\Local\Android\Sdk\ndk\21.0.6113669 (should be available when you click the arrow button)
How to implement this mod menu
- https://guidedhacking.com/threads/android-mod-menu-tutorial-very-hard-works-on-il2cpp-and-native-games-too.13795/
- Read this tutorial carefully
Tutorial on how to use this mod menu
Layout
This is how the menu looks like when you simply build and run it
AARCH64
This template should support x64 hooking now thanks to this repo: https://github.com/Rprop/And64InlineHook