Skip to content

Instantly share code, notes, and snippets.

@chayanforyou
Created June 30, 2026 04:19
Show Gist options
  • Select an option

  • Save chayanforyou/993df3ee2b8d2d092ac103a71d28a1fc to your computer and use it in GitHub Desktop.

Select an option

Save chayanforyou/993df3ee2b8d2d092ac103a71d28a1fc to your computer and use it in GitHub Desktop.
Bypassing Root Checkers on Android Emulators

Step 1: Root the Emulator (Using rootAVD)

  1. Clone or download rootAVD from the official repository:

    git clone https://gitlab.com/newbit/rootAVD.git
    cd rootAVD
  2. With your emulator running, find your specific image path:

    ./rootAVD.sh ListAllAVDs
  3. Run the patching command matching your API level and architecture (e.g., API 31, ARM64):

    ./rootAVD.sh system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.img
  4. After the emulator automatically reboots, verify root access:

    adb shell
    su
    whoami

    (Should return root).

Step 2: Enable Zygisk in Magisk

  1. Open the Magisk app inside your emulator. (If missing, click the stub icon injected by rootAVD).
  2. Tap the Settings gear icon (top right).
  3. Scroll down and toggle on Enable Zygisk.
  4. Reboot the emulator.

Step 3: Install the Vector Framework

Vector provides the modern Xposed environment required for the bypass module.

  1. Download the latest Vector .zip release: Vector Releases

  2. Push the file to your emulator:

    adb push Vector-release.zip /sdcard/Download/
  3. Open Magisk > Modules tab > Install from storage.

  4. Select the Vector .zip and let it flash.

  5. Reboot the emulator.

Step 4: Install BypassRootCheckPro

  1. Download the latest APK for BypassRootCheckPro: Releases

  2. Install the application via ADB:

    adb install app-release.apk

Step 5: Configure Vector & Activate the Module

  1. Open the Vector Manager app from your app drawer.
  2. Tap the Modules icon at the bottom.
  3. Tap BypassRootCheckPro and toggle Enable module to ON.
  4. In the application list below, check the boxes next to the specific apps you want to hide root from.
  5. Reboot the emulator one final time to secure the hooks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment