Run dalvik bytecode based on dex-vm to protect dex
Below are the steps to modify and enhance the DexVMP:
Combine the VM library.
Apply random string encryption to obfuscate the code.
Specify a custom class name for the VM.
Define a custom name for the VM library.
Set a custom registration name for the VM.
Enable protection for synthetic methods.
Termux command Install NDK r25c:
cd && pkg upgrade && pkg install wget && wget https://github.com/Party233/dexvmp/raw/master/termux-ndk.sh --no-verbose --show-progress -N && chmod +x termux-ndk.sh && bash termux-ndk.sh
export SDK_PATH=/data/user/0/com.termux/files/home/android-sdk
export NDK_PATH=/data/user/0/com.termux/files/home/android-sdk/ndk/25.2.9519653
export CMAKE_PATH=/data/user/0/com.termux/files/home/android-sdk/cmake/3.22.1
bash start-vm.sh
java -jar vm-protect.jar apk input.apk convertRules.txt mapping.txt
This project is forked from nmmp