How to flash custom recovery on redmi note 9
Who?Prerequirements:
Overview:
Step 1: Specify the Miui(rom) version
Step 2 : download required files
Step 3 : Extract and copy files
Step 5 : make recovery permanent
Step 1: Specify the Miui(rom) version
1.For Miui with android 10 you must use Q_Vendor custom recovery
2.For Miui with android 11 you must use R_Vendor custom recovery
3.For Miui with android 12 you must use S_Vendor custom recovery

Step 2 : download required files
Select one of this 3 below according (to this)
• SHRP recovery for Q_vendor
• Ofox recovery for R_vendor
•SHRP recovery for S_Vendor
Step 3 : Extract and copy files
1.Download and extract platform tools to get folder on pc
2.Copy recovery file into that folder (if recovery.img was inside the zip file just extract it and proceed)
3. Rename the recovery to shorter name like ofox.img
4. Copy "disable replace recovery" and "IMEI backup" to SD card or internal storage
Step 4 : start flash
1. connect device in fastboot mode to pc ( hold power and vol-)
2.Open cmd in platform tools folder
and type following commands:
fastboot devices
(check & showing your device serial number)
fastboot flash recovery recovery_name.img
recovery_name.img : must be replaced with the name of custom recovery and format, or drag and drop the file.
fastboot reboot recovery
(Automatically reboot's to recovery) or hold power and vol+ key
Step 5 : make recovery permanent
1.for Prevent replacement recovery , flash disable replace recovery ( can be found also on tweaks section if you use SHRP recovery),
2.Or flash the Magisk file it's also do the same.
Step 6: IMEI backup
1.highly recommended to backup imei and store it in safe place (e.g pc)
If the script doesn't work just backup the nvram.img & nvdata.img manually
I already have a recovery
if you have a recovery and want to install another one ,if it's on .zip extension, just flash it from the recovery mode.
if it on .img extension, after you tap on it the custom recovery will ask on which partition you want to install it? You will select the "recovery" partition.
Here is some additional workarounds for who have problems:
Problem: bootloop
Solution 1: If you got bootloop after flashing custom recovery, go again to fastboot mode and flash custom recovery then the vbmeta using this command:
fastboot flash vbmeta vbmeta.img
The vbmeta you can find it in the rom images files you have ( or download it)
Solution 2: flash another recovery ( SHRP / ofox / twrp)
•••
Articles:
• Flash custom recovery ( you are here)