A simple tool for bypassing easy root detection mechanisms. The tool will patch the APK and try to disable root detection checks.
If the app still flags your device as rooted, then Frida FTW.
- Python 3 and pip
- Docker
The root_bypass.py
script is just a CLI with a docker image with the necessary tools as a backend.
pip install -r requirements.txt
sudo ./root_bypass.py -i full_path_of_your_apk -o full_path_of_output_folder # Will generate an APK with the name generated.apk in output_folder
sudo ./root_bypass.py -i full_path_of_your_apk # Will create a folder named output with the generated APK in it
# Build the image
docker build -t root_detection_bypass .
# Run
docker run -v full_path_to_your_apk:/home/input.apk -v full_path_of_output_folder:/app/output/ aymanrb/root_detection_bypass
# Or run the image from Docker Hub
docker run -v full_path_to_your_apk:/home/input.apk -v full_path_of_output_folder:/app/output/ aymanrb/root_detection_bypass
This tool was only tested on Linux, but it should work on Windows too.