[Redmi Note 9 Guides, News, & Discussion] c.whoopee:
WARNING: We are not responsible to any damage you might have done to your device. Always follow the instructions CAREFULLY.

This thread is about flashing custom roms properly on your Redmi Note 9, specifically Redmi 10x 4g (Merlin). Make sure you've backup everything (Files, Apps etc) since it includes wiping your entire internal storage.

PRE-REQUISITE:

1. MIFLASH TOOL:

Download Xiaomi Flash Tool - Official Xiaomi Mi Flash Tool Download

Download Xiaomi Flash tool is for Xiaomi smartphone and tablet device users that runs on Windows PC platforms to flash fastboot firmware files on Xiaomi smartphones. All versions of Xiaomi Mi Flash Tool download is available here

xiaomiflash.com

2. XIAOMI UNSIGNED DRIVERS (HIGHLY RECOMMENDED):

xiaomi_usb_driver.rar

drive.google.com

Check this site first for more info about it:​

https://c.mi.com/thread-3312019-1-0.html

​

3. SP FLASH TOOL (FOR BACKING UP THE IMEI):

SP Flash Tool for Windows (all versions)

SP Flash Tool for Windows enables users to flash Stock Firmware (ROMs), unbrick bricked devices, upgrade or downgrade their operating system, and perform advanced tasks like memory testing and parameter editing.

spflashtools.com

For a clear instructions on backing up the IMEI:​

​

4. ADB and Fastboot drivers:

[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3

15 seconds ADB Installer v1.4.3 ADB, Fastboot and Drivers What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in...

xdaforums.com

5. MTK Drivers (Recommended)

MTK_driver

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com

6. Xiaomi Fastboot Rom (Indonesia version)

NOTE: Choose wisely since it requires one of the given fastboot roms to be installed for a specific reason:

a. Xiaomi Redmi note 9 Indonesia (ID) Fastboot ROM MIUI V12.0.1.0.QJOIDXM (Required for installing Custom Roms such as Pixel Experience, LIneageOS etc)​

Download Redmi 10X 4G / Note 9 (merlin) V12.0.1.0.QJOIDXM MIUI 12 Stable Full Rom | XiaomiROM.com

The Stable update V12.0.1.0.QJOIDXM has been officially released for Redmi 10X 4G / Note 9 (codename is merlin). Before updating, please make sure you …

xiaomirom.com

​

b. Xiaomi Redmi note 9 Indonesia (ID) Fastboot ROM MIUI V11.0.2.0.QJOIDXM (For installing ports by Communos such as ShapeshiftOS, Bliss etc.)​

Download Redmi 10X 4G / Note 9 (merlin) V11.0.2.0.QJOIDXM MIUI 11 Stable Full Rom | XiaomiROM.com

The Stable update V11.0.2.0.QJOIDXM has been officially released for Redmi 10X 4G / Note 9 (codename is merlin). Before updating, please make sure you …

xiaomirom.com

​

INSTRUCTIONS:

Flash Indonesian fastboot rom on a Global Variant via ADB and Miflash

Turn off phone and reboot to fastboot. Connect the said device to PC.

In PC, run cmd-here.exe in the adb directory and enter:

fastboot reboot fastboot

//.(this will take you to fastbootD where you can access the "super" partition consisting of:

system.img

vendor.img

product.img ).//

fastboot erase system

fastboot erase vendor

fastboot reboot bootloader to enter bootloader

Make sure you backup the IMEI to ensure safety before flashing via SP Tools.

Download an Indonesian fastboot rom from source then flash it to phone via MIFlash. (Recommend: 12.0.1 or lower)

After flashing, reboot the device and viola, you've got an Indonesian version of the MIUI to your Global Variant Device.

Flashing TWRP on a Redmi Note 9

Download the said recovery from this link below

"https://drive.google.com/uc?id=1TPdi1UGf_kUxFOdTl3u8xY5h-aQUDz9h&export=download"

Reboot device to bootloader and connect to PC.

In PC, run adb and type

"fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" (vbmeta from the indonesian fastboot rom, NOT from the Global fastboot rom)

"fastboot flash recovery recovery.img"

"fastboot reboot recovery"

After that, the recovery should be working.

FLASHING CUSTOM ROM (for 12.0.1.0) OR PORT (11.0.2.0)

Flashing a Custom Port.

Download a Custom Port from a telegram or the links provided below (made by Communos)

Bliss port

https://drive.google.com/uc?id=1wLAJkQvqS0A8EtNbOpGUdmo4oO0XZnl3&export=download

Lineage port

https://tdrive.elytra8.workers.dev/LineageOS%2017.1%20Port%20Merlin.zip

crDroid Port

Google Drive - Quota exceeded

drive.google.com

ShapeshiftOS port

https://drive.google.com/uc?id=1zQNHf67S8UQfgQT5qE0jtVIN2pDzjZnw&export=download

Then, connect phone to PC and copy your preferred rom to SDCard (Memory card is recommended).

Reboot your phone to recovery.

In TWRP, you have to wipe data, dalvik, cache and internal storage.

Select install and choose the rom from SDcard. Then, flash it.

Reboot your device.

Viola, you just installed a custom port or rom to your device.

Note: I will add more detail in the future but right now, if you have questions, please ask in this thread.

Special Thanks to:

@Communos

@VD171