Tinkering with Android software can sometimes cause a smartphone to bootloop. There are some who may want to experiment with Magisk and TWRP but only temporarily. Thankfully, there’s a fix for both of these situations. You will want to follow this tutorial to unbrick the Xiaomi Redmi 7, or if you want to return it to stock MIUI software.
Lately, I have been breaking this tutorial into two different ones because they end up answering different issues. Instead of doing that with the Redmi 7 I have decided to combine them because we’re doing the same thing to fix both of these situations. So it doesn’t matter if your smartphone is bricked or you just want to go back to stock MIUI.
So, I wanted to get the big requirement out of the way first. In order to complete this tutorial below, you must have previously unlocked the bootloader of the smartphone. This isn’t an issue for those who have installed Magisk on the Redmi 7 or those who have installed TWRP on the Redmi 7.
That’s because those people have already unlocked the bootloader. The only time this is really going to be an issue is for those who have somehow “bricked” their smartphone. This is technically (usually) referred to as a soft-brick or even just a simple bootloop issue.
Either way, in this situation you can’t boot into Android to complete the bootloader unlock process.
Dozens of premium Android apps go on sale every single day. Check out the latest over at PlayStoreSales.com.
This method will fix those who are having a bootloop issue and have already unlocked the bootloader. However, if you haven’t done this already then you will need to find a way to do it with a locked bootloader. This usually involves booting into EDL mode, which normally requires opening up the smartphone’s casing.
Time needed: 15 minutes.
How to Unbrick the Xiaomi Redmi 7 and Return it to Stock MIUI
- Download and extract the Fastboot ROM for your device
- Download and extract Android’s ADB and Fastboot tools
- Copy all of the ADB & Fastboot files into the Redmi 7 Fastboot ROM folder
Watch the embedded video below if you need help with this step.
- Boot the Redmi 7 into Fastboot Mode
- Connect the smartphone to the PC with a USB cable
- Then double-click on the flash_all.bat file
The .BAT file is for Windows and the .SH file is for macOS and Linux.
- Wait for the script to complete and you see the message “press any key to continue”
And then press any key close out the Command Prompt/Terminal
- Now wait for the Redmi 7 to reboot (which it does on its own) and then activate Android again when it boots back up
Now, there are multiple ways of using the Fastboot ROM to reset the software you have on the Xiaomi Redmi 7. Some tutorials will recommend that you use the Mi Flash tool. You’re perfectly welcome to use that tool if you want to complete this guide but I feel it is unneeded and can add confusion to the process.
There are just some errors that Mi Flash can display if even the slightest thing isn’t set up properly. With the method I talk about in the step by step tutorial above, you shouldn’t see those errors. If you do go the Mi Flash tool route though, just know that you’re doing the same thing and the program is simply taking the place of ADB/Fastboot.
So, it doesn’t matter if your Redmi 7 is stuck in a bootloop or you are tired of experimenting with Magisk and/or TWRP.
This tutorial will get your bootlooping smartphone back to normal. It will also undo any changes you have made to the MIUI operating system. This is especially important for those of us who tinker with things such as Magisk and TWRP because this will return those changes back to Xiaomi’s stock software.
This means that if you are wanting to be able to install OTA updates directly from Xiaomi’s notification system then you need to return your Redmi 7 back to stock MIUI. This includes unrooting the device and changing it back to the stock recovery too. Both are achieved by following this step by step guide.