[Realme XT Guides, News, & Discussion] pjgowtham:
Realme XT Wiki

For convenience : https://www.androidfilehost.com/?w=files&flid=304989

First things first.

DISCLAIMER : Use this guide at your own risk. I won't be responsible for you bricking your device due to following this guide. It's also necessary to back up your data before you attempt anything.

Realme XT is not really a developer friendly device as they claim to be for the following reasons.

- Bootloader restricts flashing critical partitions and certain fastboot options are disabled like

fastboot boot recovery.img

- The flash tool is only available to service centres.

- Kernel sources are not actively updated by realme.

- Nil response to developer's queries.

[B][U]Table of contents :[/U][/B]

- Unlocking the bootloader
- Unbrick guide
- TWRP guide
- Upgrade guide
- Downgrade guide
- Project Treble for Realme XT
- Links

For

unlocking the bootloade

r, follow the official instrutions from here :

https://c.realme.com/in/post-details/1184740422732218368

As of 28/03/20, you can unlock the bootloader in Realme UI. The official guide for XT is still not updated by realme, but the bootloader unlock app tool that was released for realme3pro works for XT.

UNBRICK GUIDE FOR REALME XT : (FASTBOOT)

Most bricks that happen with devices are softbricks. This means you can boot into stock recovery using key combination or you can access fastboot.

Hardbricks are where your device basically does nothing no matter what you do.

If you are on Color OS 6 or realme UI on locked bootloader :

- Switch off your device

- Press volume up + power button hold it until it finishes starting up.

- You will see the recovery menu now

- Press online update and connect it to wifi and follow instructions

If you are on color os 6 on unlocked bootloader :

Prerequisite:

1. You need to have unlocked bootloader

2. Platform tools setup and added to system environmental variables under windows

OR

Just install this : https://xdaforums.com/showthread.php?t=2317790

Since custom ROMS don't deal with critical partitions, there is very less chance that the critical partitions are messed up. Majority of the times you would be fine with just flashing the boot image, system image, vendor image, vbmeta.

Instructions for color os 6 (Android pie firmware) :

Download the stock pie A16 fastboot image from the links section and extract it :

Just flash by executing the following commands :-

fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash vbmeta vbmeta.img
fastboot flash dtbo dtbo.img
fastboot flash oppo_sec oppo_sec.img
fastboot flash modem modem.img
fastboot flash splash splash.img
fastboot flash DRIVER DRIVER.img
fastboot reboot

If you are on Realme UI on unlocked bootloader :

Prerequisite :

Download the stock Realme UI fastboot image from the links section and extract it :

Note : The zip file has other partitions too. Hopefully, you shouldn't need them.

Just flash the boot,system,vendor and vbmeta by executing the following commands

fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash vbmeta vbmeta.img
fastboot flash dtbo dtbo.img
fastboot flash oppo_sec oppo_sec.img
fastboot flash modem modem.img
fastboot flash splash splash.img
fastboot flash DRIVER DRIVER.img
fastboot reboot

Guide to Custom Recovery:

Prerequisite:

1. You need to have unlocked bootloader

2. Platform tools setup and added to system environmental variables under windows

OR

Just install this : https://xdaforums.com/showthread.php?t=2317790

TWRP Recovery

Orangefox Recovery

Instructions to install TWRP recovery:

Run this command

fastboot flash recovery TWRP.img

You can install orangefox recovery by flashing it via TWRP recovery or by extracting the recovery.img from orangefox recovery.zip file.

Upgrade guide :

You can always find the latest update from here : https://www.realme.com/in/support/software-update

Upgrading from android pie to android 10 carries the risk of bricking your device. Be it locked or unlocked. Thus proceed with caution and ONLY use stock recovery to update from android pie to android 10.

If you are on locked bootloader,

Step 1 :Simply download the update of your choice from the Links section and try to open it in stock file manager.

Note : If it doesn't show the update option in stock file manager, just rename the file from *.zip to *.ozip and try again

Step 2 : Press reboot immediately after the flashing is done

Step 3 (Very important) : Pray that everything works. Bricks can happen to anyone.

If you are on unlocked bootloader,

Step 1:In case you already have TWRP working on pie, simply flash the official stock android pie A16 through twrp and let it boot.

Step 2:Now, let it fully boot into the system

Step 3: Go to stock file manager and follow similar instructions as is for locked bootloader that's written above.

Downgrade guide :

Prerequisite:

In case you are in realme UI (Android 10) and want to roll back to android pie for any reason, you need to backup your data and flash stock pie A16 via TWRP

Step 0 : Back up your data and download stock A16 firmware from the links section below

Step 1 : Go to TWRP and flash stock pie

Step 2 : Flash stock pie again

Step 3 : Format data and reboot

Project Treble for Realme XT :-

You could refer here for what works and what doesn't

https://github.com/phhusson/treble_experimentations/wiki/realme-XT

Prerequisite :

1. You need to have unlocked bootloader

2. Platform tools setup and added to system environmental variables under windows

OR

Just install this : https://xdaforums.com/showthread.php?t=2317790

3. You need to be on realme UI (Android 10)

Typically, you could install GSI without even using TWRP.

Step 1: Download any A/B arm64 GSI of your choice

Step 2: Erase userdata using the command

fastboot -w

Step 3: Flash system.img using fastboot command

fastboot erase system && flash system system.img

Step 4: Flash RUI vbmeta with flags

fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img

Optional : Flashing TWRP helps with installing magisk and device specific treble fixes and is highly recommended.

USEFUL LINKS :

Recovery (Both stock and TWRP), Fastboot images and Official Updates

https://www.androidfilehost.com/?w=files&flid=304989

Realme XT Android 10 C01 (Realme UI)

https://download.c.realme.com/osupdate/RMX1921EX_11_OTA_1010_all_yuEH87qmmZhw.ozip

Realme XT Android pie A16

https://download.c.realme.com/osupdate/RMX1921EX_11_OTA_0160_all_CcmkxwAnmByA.ozip

Realme XT stock vbmeta Android 10 C01 (Realme UI)