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.
root_bypass.py script is just a CLI with a docker image with the necessary tools as a backend.
pip install -r requirements.txt ./root_bypass.py -i full_path_of_your_apk -o output_folder # Will generate an APK with the name generated.apk in output_folder ./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 output_folder:/app/output/ root_detection_bypass:latest # Or run the image from Docker Hub docker run -v full_path_to_your_apk:/home/input.apk -v output_folder:/app/output/ aymanrb/root_detection_bypass
This tool was only tested on Linux, but it should work on Windows too.