Now Let's Get Started.
Part One - How to Unbrick any Xiaomi Device with Locked Bootloader
At first download all the files mentioned up, Now remove your device's back shell and Find EDL Pins. It should be there somewhere upside battery. Check the picture so that you will understand what is EDL Pins.
Now disconnect your battery from the motherboard.We don't need the battery connected in EDL Mode. Then short that two EDL Pins with forceps and connect USB Cable with Phone at the same time (make sure the cable is connected with pc and pc is turned on). Check the picture
Now open Device Manager and you'll see something like this
Now open Mi Flash Tool and refresh it, you'll see your device
Now Download Fastboot ROM for your Device from here.
For Downloading Fastboot Rom you've to check these things that if your device is Global Variant then you've to download Latest Global Beta Rom, if your device is Chinese Variant then you've to download Latest China Beta ROM. If you flash Global Rom in Chinese variant it won't boot with a locked bootloader (Read More). So make sure your device variant and then download ROM.
Now extract the Rom (check if the ROM file suffix is '.tgz'. If it is '.gz', please rename it to '.tgz'). Select the Rom Folder in Mi Flash Tool (Make sure there is no space in the rom address if there rename all folders with an under space (_). The address should like this, C:\Users\Akib\Desktop\whyred_global_images_8.7.12_20180712.0000.00_8.1_global
After doing this check the option 'clean all' at the bottom of the tool. Then Flash it. When it will successfully be flashed, connect your battery, cover the back shell and power on the device. It should boot up. :)
Part Two - How to get rid of Fake Global Rom/Custom MIUI Rom, Fake Unlock
How to check if your device has fake global rom? Go to About Phone Rom Version. If you see the version is something like this xx.xx.xx.xx.xx.xx then your device has fake global rom. Official Rom should like this xx.xx.xx.xx That means in official rom version there is only four sections of numbers and three dots. Also, do a search in Google and check that the version is official or fake! In Fake Rom you will not receive any OTA Updates. Or even you cannot unlock your bootloader, because there is a fake unlock installed. To check to go to Developer Options of your device and see Mi Unlock Status, it will see Unlocked, but if you check through fastboot command 'fastboot oem device-info'. it will say locked.
Risks of unlocking Mi Devices?
So how to get rid of it? Do what is said in Part One carefully. Now you have an official rom installed. You can receive OTA updates and also unlock your bootloader now!
Part Three - How to Unlock Bootloader
Wanna unlock bootloader? Do at your own risk
Note: The unlocking process will erase all your data on the device. So don't forget to take backup.
Hola! Your Bootloader is unlocked!
Part Four - How to Flash Fastboot Rom with Unlocked bootloader
NOTE: You can use any (China/Global:Beta/Stable) Fastboot Rom when your bootloader is unlocked.
Part Five - How to Install TWRP Recovery and Root Your Device
fastboot flash recovery twrp.img
fastboot boot recovery twrp.img
Part Six - How to install Google Play Store into China MIUI ROM
If you are on China Rom and Can't Find Google Play Store then don't Panic. Google is restricted in China. So there is no Google services. But You can install it manually. (Internet Connection Required, Around 100mb)
Simply download this
If you want to see the hidden content, please reply. Install it. Open it. Tap on Chinese words at bottom. Now the download process will run. It will ask for installing Google some apps. Allow them, Install them. After All Done, Reboot Your Device. Enjoy Google Play Store in China Rom.
Part Seven - Anti-RollBack Issue
Don't afraid of Anti-RollBack issue. It is nothing but a simple issue. It means that, you cannot flash older roms on your device.
Suppose, If you are on MIUI 8.7.6, if you flash 8.7.5 it will hard-brick but if you flash 8.7.7 it will flash succesfully. So please make sure what rom version are you using and what version you are going to install.
If you want to go to China Rom from Global Rom. Don't afraid, you can do it. Just Remember the ROM VERSION MUST BE SAME or LATEST.If you are on Global beta 8.7.16 then Flash China beta 8.7.16 or latest.
Be aware! If your device got bricked for Anti-RollBack issue, We have no solution. Go to nearest Mi Service Center!
By the way, You can do almost everything with Anti-RollBack.
If you want to see the hidden content, please reply
If there is any other problem you are facing with flashing Roms. You can reply in comments or pm me. I am also available at Facebook and Telegram. You can knock me there also.
Special Thanks to our admin @mnnahid for supporting me.
Is this Guide Helpful? Share your views in comment section.
In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .