How to Root Realme X2 & Install TWRP Recovery [Guide]

Realme X2 the base variant of Realme X2 Pro dons with impressive features in its price range. It is a 64MP beast with a quad-camera setup at back along with a 32MP front camera. In India, it is available with the name Realme XT. If you own the Realme X2 and looking forward to increasing the device performance then this guide is for you. Here you get to know how to root Realme X2 and how to unlock bootloader on Realme X2.

There are various ways to increase Realme X2 performance but for that, you need to root your Realme X2. And also there are many ways to root Realme X2 and here we will share effective methods only. Rooting provides root customization options to the user so that they can have full control over their phones. With root, you can remove bloatware, create system backup, run apps that need root access and many more things you can do.

After rooting you can also use manual cameras like Google Camera on Realme X2 without any restrictions. Realme is becoming a popular brand like Xiaomi among developers. Like for example Realme C2, Realme 3/3 Pro, Realme X2 pro have amazing custom development records and still going on. And also TWRP Recovery for Realme X2 is now available and it is working like charm. Below you get to know about the rooting method and link to download TWRP Recovery.

How to Root Realme X2

If you got here while searching for the root guide, then you must be aware of the root and its capabilities. If not then you should know that with root you can do whatever you on your phone like applying custom fonts, changing boot animation, adding custom modules and much more. But root also comes with few sacrifices like the warranty will be void and some Apps may not work (banking). There is more than one way to root Realme X2 and we will start with the TWRP Recovery method. For the first method, you need TWRP Recovery or any other custom recovery.

Note: If you want to root your Realme X2 without installing the TWRP Recovery then check out the last method given in this guide.

Download TWRP Recovery for Realme X2

TWRP Recovery is a custom recovery that is available for many Android devices. It is the most popular recovery which comes with a lot of amazing features like creating a full backup, the capability to install custom ROMs, ADB Sideload, and more. And all thanks to mauronofrio for the early release of TWRP for the Realme X2 device. Mauronofrio is a popular developer and he has developed/ported TWRP for many Android phones. From the below link you can download available TWRP Recovery.

  • TWRP Recovery for Realme X2 – (Download)

After downloading the twrp recovery image, follow the below guide. If you already know the installation procedure or already installed the TWRP then jump to the root section.


How to Install TWRP Recovery on Realme X2

  1. Transfer the download TWRP Recovery image to your phone storage.
  2. Make sure the bootloader is unlocked and OEM unlocking is enabled. How to Root Realme X2
  3. Power off your Realme X2.
  4. Press & hold Volume Up + Power button together to boot Realme X2 into Fastboot Mode.
  5. Release the buttons when you see the Fastboot mode screen.
  6. Once the Realme X2 in Fastboot mode, connect it to your computer.
  7. Copy the TWRP Recovery image file to the computer (C:\adb). And rename the twrp recovery image file to twrp.img.
  8. In C:\adb folder, press Shift + Right click on an empty area and select ‘Open PowerShell window here’ or ‘Open Command window here’. How to Root Realme X2
  9. In the Command/PowerShell window enter the below command
    • fastboot flash recovery twrp.img
  10. After the above command you can reboot your phone to TWRP (Press & hold Volume Down + Power button).

Once the TWRP Recovery is installed you can use all of its amazing features. It also helps in case the phone goes into bootloop. So for TWRP Recovery, there is no negative point except you need to unlock the bootloader. You can root Realme X2 in two different ways. In the first method, we will be using the TWRP Recovery while in the second method we will guide you to root Realme X2 with a patched boot image.

Root Realme X2 with TWRP Recovery

This method is for those users who have installed TWRP Recovery on your phone. So if you want to root Realme X2 without installing the TWRP Recovery then skip this and follow the next method.

  1. Download Magisk zip and Magisk Manager APK on your phone.
  2. Take a full backup before proceeding further so that you can restore data in case of any issue.
  3. Now turn off your device.
  4. Press & hold Volume Down + Power button together to boot Realme X2 in Recovery mode.
  5. Release the buttons once you see the TWRP logo.
  6. In TWRP Recovery, click on Install and locate the Magisk Zip. How to Root Realme X2
  7. Now Swipe the slider to flash Magisk and root Realme X2. How to Root Realme X2
  8. After flashing Magisk go to Reboot > System to boot the device into the system. How to Root Realme X2
  9. Install the Magisk Manager App and enjoy root on Realme X2.

This is one way to root Realme X2 which needs TWRP or another custom recovery. Let’s now talk about the second method which doesn’t require TWRP Recovery.

Root Realme X2 with Magisk Patched Boot Image

Now here’s the guide for those users who don’t want to install a custom recovery on their phones. Collect all the requirements that are necessary to root the Realme X2.



  1. Extract the boot.img from the downloaded Firmware.
  2. Install Magisk Manager App on your Realme X2.
  3. Now create a boot patch file from Magisk Manager (Guide here).
  4. The patched file will be stored in the Download folder with name magisk_patched.img.
  5. Copy the magisk_patched.img to the computer (C:\adb).
  6. Rename it to boot.img (magisk_patched.img to boot.img).
  7. In C:\adb folder, press Shift + Right click on an empty area and select ‘Open PowerShell window here’ or ‘Open Command window here’. How to Root Realme X2
  8. Now power off your phone. Press & hold Volume Up + Power button together to boot Realme X2 into Fastboot Mode. Once you see the Fastboot screen release both buttons.
  9. Connect your phone to the computer and enter the below command in the Command/PowerShell window
    • fastboot flash boot boot.img
  10. Now enter the below command to reboot the phone into the system.
    • fastboot reboot
  11. Once the phone boot into the system, install the Magisk Manager App and open it.
  12. Follow the in-app instructions which will reboot your device once.
  13. That’s all now you have successfully rooted your Realme X2.

Magisk is the best available tool to root any Android phone systemless and it works as users want. Yes, you have control to give root features to the apps of your choice. After rooting your Realme X2 you can apply custom fonts, third party themes, custom boot animations and more.

So there you have it the complete guide on how to root Realme X2. I hope you have successfully rooted your phone. If you encounter an error during the rooting procedure then let us know in the comment section.

Also Read:

Explore Stories


Photo of author

Ashutosh singh

Computer Science graduate and tech enthusiast. Love testing new tech gadgets ever since my first windows phone from Samsung. Working as a technical writer for more than five years, and I believe I have also developed good SEO skills. In my spare time, I like watching movies, and playing games.

4 thoughts on “How to Root Realme X2 & Install TWRP Recovery [Guide]”

  1. I tried both method to root. But after instaling Magisk. I am not able to switch on phone. It say that ‘The currrent Image has broken’. Please tell another method.


Leave a Comment