Zen, A mod menu for Growtopia (Android)
Building Zen is straightforward, and the following steps will guide you through the process. You can use Termux or any Linux command line.
Ensure the following are installed on your system:
- Clang
- Termux-NDK (for Android development)
-
Clone the repo: Clone the repository:
git clone https://github.com/Zaenalos/Zen
-
Important: After cloning the repo, don't forget to set the location of your Termux-NDK toolchain in this line.
-
Set up the Build Directory: Create the build directory where the project files will be compiled:
cd out/build -
Generate the Build Files: Inside the
out/builddirectory, generate the build files by running:cmake ../..
-
Build the Project: Use the following command to build the project with multiple threads.
cmake --build . --parallel -
Locate the Output: After a successful build, the shared library
libZen.sowill be generated in this directory (Feel free to modify the output location.). -
Injecting to Growtopia: Injecting in Growtopia is super easy:
- Download and install Growtopia then decompile the app.
- After decompiling the main app, decompile the base.apk.
- Decompile the classes3.dex, go to com/rtsoft.growtopia/Main.
- Inject this dalvik code in this location:
const-string v0, "Zen" invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V - Recompile the base.apk
- Decompile the split_config.arm64_v8a.apk, goto lib/arm64-v8a.
- Add the libZen.so, then recompile the split_config.arm64_v8a.apk.
- Install the modded apk and have fun!
Injecting:
https://github.com/Zaenalos/Zen/blob/main/Tutorial.mp4
Zen wouldn't be possible without the help of these amazing open-source projects:
-
ShadowHook: A fast and dynamic Android inline hook library, used in Zen for hooking system functions.
-
ImGui: A powerful and flexible graphical user interface library, used for creating Zen's mod menu.
-
Termux-NDK: A toolchain for developing Android native code in Termux, used for building Zen on Android devices.
Contributions are welcome! If you have ideas for new features or improvements, feel free to fork the repository and submit a pull request. I have no time to improve and continue this project so it's up to you guys!

