unlock bootloader for redmi note 9
Who?Here is the AIO guide from unlocking bootloader to flash custom rom.
Overview:
Step 1: Specify the device codename
Step 3: configure Developer options
Step 5 : download required files
Step 6 :Extract and installing drivers
Step 1: Specify the device codename
1. Install Device Info HW+ and open it
2. check if your device codename is "merlin" or "merlinx"

Step 2: create Mi account
1. Go to settings> mi account and create an account ( if you can get an old account it's will be very helpful and you can pass the "waiting time" for unlock)
It's better to sign up/in using Google.
Step 3: configure Developer options
1.Go to Settings > About phone > Miui version.
2.Tap on Miui version 7-8 times to see the pop-up saying: "you are now a developer!"
3.Now go to Settings > Additional settings> developer options.
4.Here enable, 2 options named "OEM unlocking" and "Usb debugging" .
5.When you still on developer options go to "Mi unlock status" and tap on "add account and device". Your device must be connected to the SIM card data,
When you Successfully add your account then go for next step.
if it doesn't work(couldn't verify try again in 2 minutes) then get a vpn for america and try again
Step 4: backup data
1.please backup your data( like messages and others) using mi backup [ settings> About phone> backup and restore]
2.Remember to copy the created local backup file , to pc .
3.Also copy your pictures and videos to pc , Don't trust Miui to backup it for you!
Step 5 : download required files
• Mi flash Unlock | site#2 | site#3
Step 6 :Extract and installing drivers
1.Check if your device can be detecting on adb mode, open cmd in platform tools folder and Type:
adb devices
( If pop-up showed in your device screen, tap on ok and give access)
• if your device not detecting refer here
Step 7: unlocking bootloader
1.Now open mi flash_unlock.exe
< Before continue please remove your Google account and only keep the mi account on your phone, also remember the name and password of both accounts>
2.Then connect your phone on fastboot mode ( hold power and vol- ) with cable to pc (Hint)
3.Then sign-in your account and follow on screen instruction ( On your first attempt, Mi Unlock will show the message "Couldn’t unlock. Please unlock 168 hours later." Follow the timer / waiting period to unlock successfully.
4.Once the waiting period is over, use Mi Unlock and click on Unlock, It will unlock the bootloader of your phone.)
5.After unlock finished your device should be rebooted itself ( you can force reboot by Holding power button)and you will able to see the "unlock icon " on top of screen when it's trun on .

Now you Successfully unlocked bootloader.
Then normally setup device and maybe you need to reEnter your mi account password for security measures.
Here is some additional workarounds for who have problems:
Problem with drivers:
you installed the drivers but the phone Not detected in adb/ fastboot mode
Solution 1: open device manager and find your phone then update it's drivers and install the proper one
Solution 2: download iobit driver booster pro and select the drivers to install
Problem with buttons:
Problem: my device buttons not working how can I get device to fastboot?
Solution: run cmd on platform tools(step 6) and type :
adb devices
adb reboot bootloader
how can I get out of fastboot mode ?
Solution: hold power button till device restart.
Problem: Error 86006
When you, link your phone in the Mi Unlock status (in the developer options).
Solution : update system (form the system updater).
Problem: Error 10008
When you, link your phone in the Mi Unlock status (in the developer options).
Solution : Problem with the router/provider/Chinese firewall. You can try using a VPN.
Problem: error code -1
When you, link your phone in the Mi Unlock status (in the developer options).
Solution: Log out of the mi-account on the phone, reboot the phone and log into the mi-account again.
Problem,: Mi Unlock, “Not connected to Mi Phone”
Solution: Fastboot Drivers are not installed, or broken . use the drivers that come with MiUnlock. Or search the Google for drivers
Problem: IP and exceeding the number of requests.
solution: clean up cookies, use VPN / GeoProxy
Problem:When unlocking, the program shows an error手机使用未达到指定时间,无法解锁
solution : Try other versions of the MiFlashUnlock program
Problem: message “connect to the network and try again.” in Mi unlock status, account link
Solution : Sometimes disabling phone location search helps.
Problem: When logging into your account it gives an error.
Solution : You can try entering not a phone number, but an account ID in the login field. You can try to log in using the QR code.
Problem: “press any key to shutdown” in Fatboot
Solution : Change USB ports.
look for another computer, or try a USB hub, preferably USB 2.0.
Problem: Error "cannot request parameter"
solution : check the IMEI/NVDATA/NVRAM if they are valid
Problem: “Verification error” in “MI unlock status”,
Solution: Disabling “Device search” in Xiaomi cloud helps. (Settings> MI account> Xiaomi cloud).
Solution 2: change the ISP.
Problem: "Please add your account in MIUI's settings" when try to unlock the bootloader
Solution: use the newer version of the mi Unlocker.
Problem: Error "Checking for security issues..."
Solution : Try logging in using a QR code
•••
Articles:
• Unlock bootloader ( you are here)