These include the likes of flashing a custom ROM, installing a custom recovery like TWRP or OrangeFox, or gaining administrative rights over your device. And it is the last one that seems to arouse curiosity in the minds of tech enthusiasts. Once you root your device, you not only gain access to the system partition but also opens the floodgates to the plethora of customizations. For example, you could now flash Substratum Themes, Xposed Framework, Magisk Modules, and the likes. With that said, there are two different methods through which you could carry out the rooting process. The first one is by flashing the Magisk ZIP via TWRP (Magisk ZIP is now part of the Magisk App). While it is no doubt an easier approach, but there’s a lot of complexities involved with TWRP, especially after the introduction of the A/B Partition. As a result, users flock towards the second method of patching the stock boot.img via Magisk and flashing it via Fastboot Commands. And in this guide, our focus will be on this method itself.  So without further ado, let’s start off with the guide to root your Realme X2 Pro device via Magisk without using TWRP Recovery.

How to Root Realme X2 Pro via Magisk without TWRP

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned below. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

Install Android SDK

To begin with, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform tools folder, which will be used throughout this guide.

Enable USB Debugging and OEM Unlocking

Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging and OEM Unlocking.

Unlock Bootloader on Realme X2 Pro

You will also have to unlock the bootloader on your Realme X2 Pro device if you wish to root it via Magisk without using TWRP. As opposed to other OEMs, Realme takes a different approach when it comes to this process.

It requires you to install the In-Depth Test APK file and proceed with the on-screen instructions to carry out the unlocking process. All the instructions are given here: How to Unlock Bootloader of Realme X2 Pro. Make sure to have a complete device backup beforehand before unlocking.

Extract Realme X2 Pro Stock Boot.img from OZIP Stock Firmware

Next up, you will have to download the stock firmware file for your device. This firmware file will then be extracted to get the stock boot.img file. However, as opposed to other OEMs, Realme again takes a different approach. Its firmware files are packed inside the payload.bin format, hence the normal extraction tools such as WinZip or WinRAR wouldn’t function.

So first off, download the stock firmware for your RealmeX2 Pro device from the official site. Make sure to download the same firmware that is currently installed onto your device (verify from About Phone/Build Number). After that, you will have to make use of a payload extraction tool based on Python for this process. Please refer to this guide to carry out the said process: How to Extract OZIP Realme Stock ROM (Firmware). As of now, I am using the RMX1931EX_11.C.36 firmware file so I already extracted the stock boot.img from the OZIP firmware. So if you are also on the same build number, then you may directly use my boot.img file. Download: realme_x2_pro_RMX1931EX_11.C.36_boot.img. Moving on, once you have got the stock boot.img file, transfer it to your device. We will now patch this file to root RealmeX2 Pro via Magisk without using TWRP Recovery.

Patch Realme X2 Pro Stock Boot.img via Magisk

Boot Realme X2 to Fastboot Mode

Flash Magisk Patched Boot.img and Root Realme X2 Pro

That’s it. These were the steps to root Realme X2 Pro via Magisk without using TWRP Recovery. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

About Chief Editor

How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 3How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 16How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 55How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 91How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 23How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 38How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 20How to Root Realme X2 Pro via Magisk without TWRP   DroidWin - 31