How to Unlock and Root the Realme X2 and X2 Pro

The Realme X2 is one of the best mid-level gaming phones, along with its higher-spec variant, the Realme X2 Pro. The X2 Pro comes with a 6.5” AMOLED screen, Qualcomm SM8150 Snapdragon 855+ (7 nm) chipset with Adreno 640 (700 MHz) GPU, and 6GB/8GB/12GB RAM variants.

Rooting either of these phones is rather easy, but one thing you need to be aware of for rooting the Realme X2 Pro. It was launched in Android 9 and later updated to Android 10, so the steps and required files are a little different depending which Android version you are running. Pay attention carefully to our steps given and comment if you experience any difficulty.

Method for Realme X2

Requirements:

  1. Extract the vgmeta.img file from the vbmeta.zip you downloaded, and transfer it to your phone’s storage. Also transfer Magisk.zip to your device storage.
  2. Install the Deeptesting APK on your phone.
  3. Launch it and tap “Start Applying”, then go through the process.
  4. You may need to wait a given amount of time for your application to be approved (1 hour up to 1 week).
  5. After it is approved, you can tap “Start the in-depth test”, and hold the power button to boot into Fastboot Mode. If holding the power button doesn’t automatically bring you to Fastboot Mode, try manually entering Fastboot Mode using ADB.
  6. Once you’re in fastboot mode, connect your phone to your PC, launch an ADB terminal and type these commands:
    fastboot flash recovery twrp.img
    fastboot flash --disable-verification vbmeta vbmeta.img
  7. Now hold the volume buttons and power button together to reboot directly into recovery mode.
  8. Once in recovery mode, flash the Magisk.zip, and reboot into Android system.

(Optional) In order to have Magisk out of Core Only Mode (not needed with ColorOS 7/Android 10):

Boot into TWRP, mount SYSTEM in RW mode and use these ADB commands on your PC:

adb shell "cat /system/build_19771.prop >> /system/build.prop"
adb reboot

Method for Realme X2 Pro

Requirements:

  1. Install the Deeptesting APK file depending on which Android version your Realme X2 Pro is running.
  2. Launch the app and tap “Start applying”. At the end of the application, you can minimize the app and check back in an hour or so to see if your unlock request is approved.
  3. After approval is given, tap “Start the in-depth test”.
  4. Connect your phone to your PC via USB, and launch an ADB command window.
  5. If your phone doesn’t automatically reboot to a screen with a green “START” message, type in ADB: adb reboot bootloader
  6. Unlock the bootloader with: fastboot flashing unlock
  7. Confirm the bootloader unlock option using the volume buttons (volume up for Android 9, volume down for Android 10).
  8. In your ADB terminal on your PC, type: fastboot reboot
  9. Your Realme X2 Pro will now reboot and perform a factory reset, then boot into the Android setup wizard.

If you plan to root your phone, transfer the Magisk.zip to your phone’s storage.

Flashing OrangeFox Recovery

OrangeFox is a themed version of TWRP that seems to work a bit better on Realme devices.

From our requirements section, download both OrangeFox and Vbmeta.img, and place them in the main ADB folder on your PC.

Turn off your Realme X2 Pro, and boot into fastboot mode with Volume Down and the Power button.

If you will root the device:

  1. Connect your phone to your PC, launch an ADB terminal on your PC, and type:
    fastboot flash recovery OrangeFox-R10.1_1.img
  2. Now tap Install>choose the OrangeFox.zip and swipe to flash it.
  3. Tap “Reboot Recovery”, and flash the Magisk.zip the same way.
  4. Reboot recovery again, then flash the Vbmeta.img.
  5. Clean caches and reboot to system.
  6. Verify root with the Magisk Manager app.

If you only want OrangeFox recovery without root:

fastboot flash recovery OrangeFox-R10.1_1.img
fastboot flash vbmeta vbmeta.img

Now hold volume down until you see Volume Down until you see “Recovery Mode” in the top, and press the Power button.

ABOUT THE AUTHOR

Tony Celentano


Tony Celentano is a traveling freelancer originally from New York, and currently resides in the Philippines. While passionate about writing, his other hobbies including tinkering with gadgets, painting, playing guitar, and being a stay-at-home dad.