root realme xt

How to Root Realme XT without TWRP Recovery

In this tutorial, we will outline the steps to root your Realme XT device without the TWRP Recovery. First of all, we will be extracting the OZIP firmware and then making use of the stock boot.img file from that extracted OZIP firmware. After this, we will patch the stock boot.img file using the Magisk Manager app. Finally, this patched boot image will be flashed on to your Realme XT device via Fastboot Commands.

This device is among the many budget devices that Realme has to offer to the masses. The 6.4 inches Super AMOLED screen has a 1080 x 2340 pixel resolution and a 19.5:9 aspect ratio. Under the hood, you get an octa-core Qualcomm SDM712 Snapdragon 712 (10 nm) chipset. On the gaming front, you get an Adreno 616 GPU. There are three different variants of this device: 64GB 4GB RAM, 64GB 6GB RAM, 128GB 8GB RAM.

Coming to the camera department, you get a quad rear camera (64+8+2+2MP) setup. These could record videos all the way up to [email protected] Then there is a single 16MP camera that could record videos at [email protected] The under-display fingerprint device has a 4000mAh battery that supports 20W VOOC 3.0 fast charging as well. Out of the box, you get Android 9.0 (Pie) which has since been upgraded to Android 10, Realme UI.

While all these features are no doubt worth talking about, but this is just the starting phase. There is a plentitude of customizations and modifications that you could carry out onto your Realme XT. These include the ability to unlock the device’s bootloader, flash TWRP, Magisk Modules, Substratum Themes, Custom ROMs and Kernels, and the ability to gain administrative rights. The latter could be done by rooting your device, which will then help you to flash the ocean of mods. And in this guide, we will help you achieve just that.

Most of our readers might already be aware of the perks and risks of rooting, so we wouldn’t be discussing more on that. On the flip side, we would be discussing pone of the major reason why Realme has made the matter complicated and how you could simplify it quite easily. As mentioned before, the steps to root your Realme XT device will be done without using the TWRP Recovery. We would only use the Magisk Manager and a few Fastboot Commands. With that said, here are all the required instructions. Also, don’t forget to check out our detailed guide on How to Boot your Realme device to the EDL mode and Unbrick it.


TWRP GUIDES


Rooting Realme Devices: What’s the Major Hurdle?

There exist two different methods to root any Android device. The first one simply involves flashing the Magisk Installer ZIP via TWRP. However, not every device has a working custom recovery like TWRP. In that case, the second alternative stands rooting the device without TWRP, using Magisk. All that is needed is a stock boot.img file for your firmware which could then be patched via Magisk and flashed via Fastboot commands.

However, with Realme, things begin to get a little bit difficult in this. The thing is all the Realme stock firmware comes in OZIP extension. Hence you cannot extract the firmware contents ‘the normal way’. You will have to make use of Python and a Decrypt tool to extract this firmware and get the boot image file. Trust us all these sounds difficult only on paper but in practice, it is way too much easier to execute. And in this guide, we will be making use of just that.

On that note, here are the complete instructions to root the Realme XT device via Magisk without TWRP Recovery. here is the blueprint of this guide- we will first use Python and Decrypt tool to convert OZIP stock firmware to the ZIP package. Then we will extract that ZIP package via WinZIP or WinRAR. After this, the extracted stock boot.img file will be patched via Magisk. Finally, the magisk patched image fill be flashed via Fastboot on your Realme device. Follow ahead for the complete instructions.

How to Root Realme XT

To begin with, there are a few requirements that your device needs to qualify. Make sure to go through them before you proceed with the rooting steps. Droidwin or any of its members won’t be held responsible if anything happens to your device. Proceed ahead at your own risk.

Prerequisites

  • Download and install the Android SDK Platform Tools on your PC. This will give us the necessary ADB and fastboot binaries.
  • Next up, enable USB Debugging on your Realme device. It will help your PC in recognizing your device in ADB mode. We would be needing to access ADB mode to reboot your device to Fastboot Mode. To enable Debugging, head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.

    usb debug android 10
    USB Debugging on Android
  • Finally, download and install the Magisk Manager APK file onto your Realme device.

You may now proceed with the steps to root Realme XT via Magisk, without TWRP Recovery. Follow along.


Magisk Guides


STEP 1: Unlock Bootloader

To begin with, you will have to unlock the device’s bootloader. If you haven’t done so, refer to our detailed guide on How to Unlock Bootloader on Realme XT. For that, we would be making use of the Realme XT In-Depth Test Tool APK and one ADB and one Fastboot command. All the instructions are given in the linked guide. Do keep in mind that this process will wipe off all the data from your device and might also make the warranty null and void. Proceed ahead with caution.

STEP 2: Convert Realme XT Firmware from OZIP to ZIP

realme-extract-rom-ozip

You now have to covert the Convert Realme XT Firmware from OZIP to ZIP. We need to do this because then only we could extract the boot image file from ZIP. Extracting an OZIP file is just not possible using WinZIP or WinRAR. For that, a specific set of tools and instructions are needed. So head over to our comprehensive tutorial on How to Extract OZIP Realme Stock ROM (Firmware).

STEP 3: Extract Stock Boot Image File

realme-stock-boot-image-file

Once you have converted your device’s stock firmware from OZIP to ZIP, make use of the WinZIP or WinRAR tool to extract the stock boot.img file. No need to extract all the contents of stock firmware. Just the boot.img file will do. Once you have extracted the file, move to your device’s Internal Storage.

STEP 4: Patch Stock Boot Image via Magisk

STEP 4 & STEP 5 outlines the steps to patch stock boot.img file via Magisk and then flash it via Fastboot Commands. For detailed instructions on this topic, refer to our guide on how to Patch Stock Boot Image via Magisk and Flash it using Fastboot.

  1. Launch Magisk Manager APK on your device.
  2. Tap on Install next to the Magisk status (which would show Magisk is not Installed).
  3. Now install Magisk popup will appear, tap on Install.
    patch-stock-boot-image-realme-xt
  4. Under the Select method dialog box, tap on Select and Patch a file.
  5. Navigate to the stock boot.img file that you have transferred to your device in the earlier section and select it.
    patch-stock-boot-magisk-realme-xt
  6. Magisk will then patch this file and the entire process shall only take a few seconds.
  7. Once that is done, head over to Internal Storage > Downloads folder and you will find the magisk_patched.img file there.

A/B Partition Guides


STEP 5: Flash Magisk Patched Boot Image onto Realme XT

  1. Transfer the magisk_patched.img file from your device to the folder where Android SDK Platform Tools are installed. This should be the platform-tools folder on your PC.
  2. Now connect your device to PC via USB cable. Make sure USB debugging is enabled.
  3. Head over to that platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-adb
  4. Execute the following command in the CMD window to boot your Realme device to fastboot mode:
    adb reboot bootloader
  5. Finally, make use of the below command to flash the Magisk patched boot image file:
    fastboot flash boot magisk_patched.img
  6. Once the flashing is done, you may reboot your device. For that either use the hardware key or the below command:
    fastboot reboot

That’s it. We conclude the guide on how to root the Realme XT device without the TWRP Recovery. As mentioned before we only used Magisk and few Fastboot Commands. If you any doubts, do let us know in the comments section below.

About Chief Editor

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.