[Realme 6 Pro Guides, News, & Discussion] debdeep98:
This guide is for those who are on unlocked bootloader/custom roms and want to go back to realme UI 1.0 and relock

Needless to say, me, and the makers of realme flash-tool and TWRP/other recoveries wouldn't be responsible for any damage caused to your device. Having said that, this method has been tested and should be fine for realme UI 1.0.

First things first, if you are on custom rom or on rooted stock rom you need to revert to unmodified stock rom.

*Warning :-Make absolutely sure that you are not relocking by flashing an older version, always flash the current or newer i:e If you unlocked while being on version A.19 make sure to flash A.19 and/or newer versions and not A.17. While I'm not sure if this will result in a brick or not and have no intentions of trying, this may result in a hardbrick.*

Links to firmware (RMX2061/EUxxxxxxx.ozip). Search for realme 6pro from the list.

IN.- https://www.realme.com/in/support/software-update

EU.- https://www.realme.com/eu/support/software-update

*Do not lock bootloader while on custom rom.*

*Do not lock bootloader if you're rooted.*

*Do not lock bootloader with any custom partitions even vbmeta with disabled verity and verification.*

IF YOU DO SO YOU'LL END UP WITH A BRICK WHICH CAN ONLY BE FIXED AT A SERVICE CENTER. YOUR PHONE WILL DISPLAY AN ERROR MESSAGE SAYING PARTITONS ARE CORRUPT/DAMAGED.

Backup your stuff before proceeding.

There are three ways to revert to stock:

1. Using RFT (Realme Flashtool) by [MENTION=9730301]sayaoks[/MENTION] :-

Instructions provided on the thread.

https://xdaforums.com/realme-6-pro/development/tool-rtf-realme-flash-tool-to-flash-t4144969

2. Using TWRP (use the latest from the recovery section).

*Wipe>Format Data> type yes> format

*Reboot>reboot to recovery

*Install > Select .ozip> Swipe to flash

*Reboot

Do not select disable-vbmeta or avb_patcher or anything of that sort.

Recommended-

https://xdaforums.com/realme-6-pro/development/recovery-twrp-recovery-t4171759

3. Using stock recovery.

From system:- To flash using stock recovery, download and put the .ozip in the root of storage and from realme file manager tap on it. It will start Flashing in the stock recovery.

From recovery:- Download and put the .ozip in the root of storage, then reboot to recovery.

Your Language> Install from storage> enter password(only if you have one)> Phone/SDcard and then select the .ozip.

Any custom recovery.img/boot.img should now be replaced with stock.

After flashing is successful and the device has booted to stock rom reboot to the bootloader.

If you want to be extra careful, and used RFT or TWRP/Custom Recovery to flash stock rom, you can flash the fw again using stock recovery after the phone has booted up(steps mentioned above).

Connect the phone to PC and enter command

fastboot flashing lock

Now on the phone select lock bootloader with the help of volume up and power buttons.

[IMG="Relock Prompt"]https://i.imgur.com/EwswV1X.png[/IMG]

Wait for it to complete... and you will boot into the OS with a locked bootloader.

Thanks to [MENTION=9266319]Satham spot[/MENTION] & [MENTION=9730301]sayaoks[/MENTION]