As more people begin to get their hands on the Redmi Note 7 we are going to see people installing various mods incorrectly. That, or we will find people experimenting with certain mods and/or custom ROMs and want a way to get back to stock MIUI. So you can follow these steps to unbrick the smartphone and start over.
I actually wanted today’s article to be about how to install TWRP as the custom recovery on the smartphone but that didn’t work out. You can hear about the issue I ran into by watching the beginning of the embedded video down below. Nevertheless, even restoring the stock recovery.img and boot.img file helped me get back to a working device.
This is going to happen to a lot of people so knowing how to “unbrick” the Redmi Note 7 is going to be very useful.
Not only that, but this tutorial will also help teach people how to return to stock MIUI. See, when you install TWRP (or most other mods), then you can no longer install OTA updates through traditional means. You’ll either need to manually find them online and flash them in TWRP or you’ll have to go without.
This tutorial will also be helpful for those who are wanting to experiment with custom ROMs. I will always recommend that you create a Nandroid backup of your stock ROM ahead of time. But so few people actually do that. So if you’re wanting to switch back from a custom ROM to MIUI then this guide will help.
Lastly, this is likely something you will want to do if you plan on selling the Redmi Note 7 to someone else. Just make sure you disconnect your Mi Account ahead of time.
In order to complete the tutorial below, you're going to need some things set up ahead of time. Please follow the how to install ADB and Fastboot tools guide if you haven't done so already. Then you will need to follow this guide: How to Enable Developer Mode, as well as this one which shows you How to Enable USB Debugging Mode.
You will then need to open a command prompt within the same folder as your ADB and Fastboot tools and execute the "adb devices" command (without quotes) to start the ADB service. From here, you can connect the device to the PC with a USB cable. If everything has been done properly then you'll be asked if you want to grant USB Debugging Mode access from the PC the phone is connected to.
Once granted, you can then test this by running the command "adb devices" again (without quotes) in a Command Prompt, Terminal, or Windows PowerShell to make sure the computer recognizes the device.
Warning – Completing the tutorial listed below will wipe all of the data from your smartphone. This includes SMS text messages, photos, videos, apps, games, contacts and anything else. Make sure you manually back up your data to your PC or in the cloud.
Time needed: 10 minutes.
How to Unbrick the Redmi Note 7 and Return to Stock MIUI
- Download the Fastboot MIUI 10 Fastboot ROM for the Redmi Note 7
- Power off the smartphone
- Boot the Redmi Note 7 into Fastboot Mode
- Connect the device to the PC with the USB Cable
- Extract the contents of the Fastboot ROM downloaded in Step #1
- Move or copy the files inside the extracted folder to your ADB/Fastboot folder and then double click on the flast_all.bat file
Yours may just say flash_all if you aren’t showing extensions (.BAT file is for Windows, .SH file is for Linux/macOS).
- Wait for the Command Prompt to open and watch as a lot of text begins scrolling down the window
- When the script is finished, the Redmi Note 7 will reboot on its own and you’ll see a message at the bottom of the Command Prompt saying to press any key.
- Wait for the Redmi Note 7 to boot back up and then activate MIUI again
This boot cycle will take a long time as we have erased everything on the smartphone and are starting over from scratch.
In previous unbrick/return to stock tutorials that I have done I recommended using the Mi Flash program. If you’re familiar with that tool and know how to use it then you can use it for this guide if you want. The end result is the same with your smartphone booting back into a clean install of MIUI.
The thing is, I started seeing people having trouble with that program. I believe the root cause of those issues were a space in the folder path of the MIUI Fastboot ROM. For example, if the folder path was something like E:\Redmi Note 7\ and you copied and pasted that into Mi Flash then it would give you an error.
The program expects there to not be any spaces in the folder path so it would need to be something like E:\Redmi-Note-7 or whatever. Which is find if you put the firmware in the base of a drive but it makes things overly complex if you extracted the Fastboot ROM in some place like E:\Android ROMs\Xiaomi\Redmi Note 7\ or something.
I hope you get my point because not using the Mi Flash tool is actually easier in my opinion.
Returning the Redmi Note 7 to Stock MIUI Android
All the program did was look for the various script files that are included in the Fastboot ROM for MIUI. If you extract the contents of the download in Step #1 then you’re going to file ‘script’ files like flash_all, flash_all_except_data_storage, and flash_all_lock. And the program s
It did make sure that your computer detected the phone’s USB drivers and it did make sure you are in Fastboot Mode. But I think anyone who need to unbrick their Redmi Note 7 or return the Redmi Note 7 Pro back to stock MIUI Android then you will have that situated already.
In fact, if you look in the tutorial above (or watch the video) then you see that I show you how to boot into Fastboot Mode.
As of writing this, the only Fastboot ROM that is currently available is for the regular Chinese version of the Redmi Note 7. I imagine they will be releasing this phone globally so in the future I will add a link for the Global version. I also know that a lot of people are looking forward to the Redmi Note 7 Pro.
So once Xiaomi launches that phone then I will include a link to the Chinese Fastboot ROM for the Redmi Note 7 Pro and then I will include a link to the Global Fastboot ROM when that phone gets released internationally.
If this tutorial helped you in any way, please consider donating via PayPal, Patreon, Cryptocurrency, or GoFundMe. If you can't afford to donate then sharing this on social networks such as Facebook, Twitter, XDA, forums, etc. will also help a lot. I would also appreciate suggestions for Android tips and tutorials that you would like to see in the future.