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:
- Download Android NDK, Revision 16b from: https://developer.android.com/ndk/downloads/older_releases
- Download this github files somewhere to your PC.
- 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
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)
- https://guidedhacking.com/threads/android-mod-menu-tutorial-very-hard-works-on-il2cpp-and-native-games-too.13795/
- Read this tutorial carefully
This is how the menu looks like when you simply build and run it
This template should support x64 hooking now thanks to this repo: https://github.com/Rprop/And64InlineHook