::: @aantik_mods
Dex2cxx is a powerful tool for converting Android DEX files into C++ code. It automates the process of JNI wrapper generation APK rebuilding and method filtering
Dex2cxx can be used on Termux for Android devices. Follow the steps below to set up and use the tool
Ensure the following are installed on your Termux environment: Java Runtime Environment JRE:
pkg install openjdk-17Git (optional, for cloning repositories):
pkg install gitStorage Permissions (if accessing files outside Termux):
termux-setup-storageThe filter.txt file specifies class filters
We welcome contributions! Please follow these steps: Fork the repository Create a new branch for your feature or bug fix Submit a pull request with a detailed description of your changes.
If you encounter any issues, please open an issue on the GitHub repository.
-
Run Dex2cxx with filters and report generation:
java -jar dex2cxx.jar -a .\aa.apk -o .\aa_p.apk --filter .\filter.txt --report .\RuruData_methods-report.txt
-
Auto-setup configuration:
java -jar dex2cxx.jar --auto
-
Run Dex2cxx with filters and report generation:
java -jar dex2cxx.jar -a ./aa.apk -o ./aa_p.apk --filter ./filter.txt --report ./RuruData_methods-report.txt
-
Auto-setup configuration:
java -jar dex2cxx.jar --auto

