An extensive tutorial for building Themaphack using ndk-build within Termux terminal emulator.
Prepare
We have set up custom ndk-build to work on this project or you can download Android ndk at its official website
- Download our custom ndk-build tools
- Install Termux on your Android devices or just use your
terminal/cmdif you build on PC
# Update repository Termux
$ pkg update && pkg upgrade -y
# Install required tools
$ pkg install git openssh wget
# Change to Termux $HOME directory
$ cd ~/
# Download ndk-build system
$ wget https://github.com/anggorodhanumurti/themaphack/releases/download/ndk_aide_latest/ndk-build.tar.gz
# Extract ndk-build
$ tar -xvzf ndk-build.tar.gz
# Clone themaphack repository
$ git clone https://github.com/anggorodhanumurti/themaphack.git && cd themaphack
# Run compile script
$ ./compile.sh
Note: Ensure you select the appropriate library based on your device’s architecture. If you’re not sure you can check your device architecture using 64bit checker and download our compiled mod so you dont need to build from source.
- libs/arm64-v8a for 64bit
- libs/armeabi-v7a for 32bit
Install
I assume you’re using 64bit Android
-
After
compile.shscript runs succesfully, lib file will generated on your working directorylibs/arm64-v8athe filename islibAkSoundEngine2.so -
Open Zarchiver Copy that
libAkSoundEngine2.soto mlbb folder:Android/data/com.mobile.legends/files/dragon2017/assets/comlibs/arm64-v8a -
Rename original lib from mlbb
libAkSoundEngine.bytestolibTMH.bytes -
Rename
libAkSoundEngine2.sotolibAkSoundEngine.bytesdone TMH is installed succesfully! but before open MLBB you must have a key for login toTMHmodmenu. Generate key here
Warning: Your account is still not safe from banned. So before you open mlbb game make sure you follow this guide