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/cmd
if 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.sh
script runs succesfully, lib file will generated on your working directorylibs/arm64-v8a
the filename islibAkSoundEngine2.so
-
Open Zarchiver Copy that
libAkSoundEngine2.so
to mlbb folder:Android/data/com.mobile.legends/files/dragon2017/assets/comlibs/arm64-v8a
-
Rename original lib from mlbb
libAkSoundEngine.bytes
tolibTMH.bytes
-
Rename
libAkSoundEngine2.so
tolibAkSoundEngine.bytes
done TMH is installed succesfully! but before open MLBB you must have a key for login toTMH
modmenu. Generate key here
Warning: Your account is still not safe from banned. So before you open mlbb game make sure you follow this guide