[Realme X2 Pro Guides, News, & Discussion] Requaza:
Definitive Guide to Unlocking Bootloader & Flashing Recovery+CustomROM on Realme X2 Pro (Samurai) 2024

View attachment 6122821

Good news! Realme X2 Pro users! If your fastboot screen only appears for 1-2 seconds before rebooting, follow these steps to unlock your bootloader, this also works if you have never tried to unlock the BOOTLOADER and want to now; for all the benefits CUSTOM ROMs bring! ​

​

This guide is for the INDIAN/GLOBAL VARIANT of the device primarily, CHINESE users MAY have to download DIFFERENT FILES for the rom, I've provided only the Chinese firmware.​

​

P.S. This is my first XDA post. I will be hyperlinking downloads of all files to my Google Drive; just incase if they expire from the official places in the future, If I am doing something wrong, kindly advise and I shall make it right.

PART A:

1. Rollback to Android 9:

Download and rollback to Android 9 (no error will occur).

You just gotta click the ozip file from your file manager or go into stock recovery and install it from there.

2. Install Android 11:

Install the RUI1 C.35 update from your file manager or go into stock recovery and get it done.

After installation, format your device before rebooting.

3. Setup ADB Platform Tools on PC & OEM Unlock, USB Debugging:

For Windows:

Download the [ADB and Fastboot tools].

Extract the downloaded ZIP file to C drive.

Open a Command Prompt/ PowerShell in the platform tools folder by holding SHIFT and right click anywhere in the empty space of the folder.

For Linux:

Open a terminal and install the necessary packages:

sudo apt update
sudo apt install adb
sudo apt install google-android-platform-tools-installer

On your phone do the following:

Enable Developer Options (found in About phone by tapping build number 7 times)

Go to developer options and enable OEM unlocking and USB debugging

4. Unlock the Bootloader:

Download and install the in-depth testing APK.

Open the app, apply for in-depth testing, and wait for approval.

Once approved, click on Start In-depth Test to reboot your phone into fastboot mode.

Connect your phone to the PC using a USB cable.

On your PC, open the Command Prompt (Windows) or terminal (Linux) and navigate to the platform-tools directory.

Run the following command:

fastboot flashing unlock

Eureka! Your bootloader is now unlocked.

I Highly recommend getting an OTG CABLE and a USB PENDRIVE (or a 2-in-1 USB pendrive) for storing all files to flash, ADB PUSH (check Google how to use it) is an alternative and the one I primarily use but it may not always work for everyone.

PART B:

5. Install Custom Recovery:

Download this TWRP for Realme X2 Pro, it's the latest one on TWRP official site.

Place the recovery image file in the platform-tools directory on your PC.

In the terminal or Command Prompt, navigate to the platform-tools directory and run:

fastboot flash recovery [name-of-recovery-image].img

(in this case the command is - fastboot flash recovery twrp-3.7.0_9-0-RMX1931.img)

Once the recovery is flashed, download this vbmeta and place it in platform tools folder and run:

fastboot flash vbmeta [name-of-vbmeta-image].img

(in this case the command is - fastboot flash vbmeta vbmeta.img)

Next, reboot into recovery mode by navigating to Recovery from the fastboot menu using bolume keys and click power to enter the selected mode.

Next, download this Global RUI2 firmware file / Chinese RUI2 firmware file into a USB Pendrive, and connect it to your phone using OTG (or just use ADB Push, and flash that file from TWRP recovery.

Keep in mind incase your OTG does not get selected, reboot to recovery once and it should work (it has a slight load delay when you click on OTG from select storage)

Once that's done flash RUI2 supported TWRP recovery and put it in your USB device (since it is a .img file it wont show in your TWRP recovery by default, you will see a show image button on bottom right, click on that to toggle visibility of .img files!)

Now reboot to recovery again it should boot into the newly flashed TWRP.

Wipe everything except usb-otg and then reboot to recovery again.

6. Install Custom ROM:

Download the custom ROM zip file of your choice in this case I'm using Android 14 CR Droid 10.6 Unofficial by Karthick Chandran and transfer it to USB device, and then flash it using the TWRP recovery that you just installed.

Swipe to confirm the installation and wait for the process to complete.

After installation, reboot your phone to recovery and format data, then flash gapps (reccomended: mindthegapps)

Then reboot to recovery one last time and format device then reboot to your system.

You may see errors along the way, ignore them, you should not if you followed everything but it may happen nonethless, they are of no consequence.

Your bootloader is unlocked, and you have successfully installed a Custom Recovery and ROM!

Credits:@Karthick Chandran (OG ROM dev of Samurai) for the motivation.

for any queries you may ping me on Telegram @Requaza or join https://t.me/realmex2prodev for support

KANPAI x Cheers xD

Nissaram allae ellam ;)