[UnBrick] Flashing Latest Stable ROM using Fastboot Mode

Darklouis

Senior Member
Jun 17, 2017
381
122
0
Davao City
Bricked Device but has unlocked bootloader and having access to Fastboot Mode​

Before doing the process, make sure you have to remove your SdCard and having sufficient battery power to ensure that the process won't be interrupted and to prevent higher chances to hard bricked your device (Dead)

Requirements:


NOTE: FASTBOOT MUST BE ACCESSIBLE, IF NOT, THIS TUTORIAL IS NOT FOR YOU
Code:
While Turned off, Hold POWER + VOL DOWN for a few seconds
1. Install the drivers needed (Qualcomm, Microsoft Redist 2015, 2017 & 2019)
2. Reboot your Laptop/PC to make sure all drivers are working
3. Using 7-Zip, extract the Fastboot ROM (beryllium_global_images...da212305c9.tgz) to any designated directory/folder
4. Open Mi Flasher
5. Click "Browse" and navigate to your extracted folder of Fastboot ROM
6. Select the folder that contains the extracted Fastboot ROM
7. On the bottom right, select "Clean All"
8. Now, reboot your phone to Fastboot Mode
Vol Down + Power Button
9. Connect your phone to your Laptop/PC
Mi Flasher should recognize your phone. If not, check your Laptop's/PC's USB Port, it might be broken. Try another port, from USB 3.0 to USB 2.0 If the problem still exists, try reinstalling your drivers. Some users faced problems on AMD system, try it on INTEL based system for more stability.
10. After all that, click Flash
The process should take about 5-10 minutes depends on what kind of Laptop/PC you have
11. If you see on the results tab "Success", then the flashing is completed
12. Now, try rebooting your device
The booting might take about 5-15 minutes, just be patient
Bricked Device but has locked bootloader, you applied for unlocking, and have access to Fastboot Mode

There might be a chance. If you applied for unlocking the bootloader, you can still unlock the bootloader by downloading the Mi Unlock Tool on their website https://en.miui.com/unlock/ and boot to fastboot mode and follow the steps provided on their website.

Bricked Device but has locked bootloader, you didn't apply for unlocking, and having access to Fastboot Mode

Your Device is HARD BRICKED. You cannot Flash your phone with a locked bootloader, if you cannot reboot or your device has bootloop after an OTA update, sideload, etc. you should bring your device via the nearest Xiaomi Service Center for further analysis.
You could do the flashing by using EDL Cable (Deep Flash Cable). Or by Testpoints to access EDL with locked bootloader. Find a guide anywhere in XDA or in YouTube.
 
Last edited:

anvesh583

Senior Member
Jul 5, 2015
96
20
0
Edl flashing means using a edl flash cable or hardware test points. It allows to unbrick a corrupted bootloader .
 
Last edited:

Darklouis

Senior Member
Jun 17, 2017
381
122
0
Davao City
Edl flashing via this method doesn't require permissions or what since I heard edl flashing is locked and requires authentication .
Going to edit my post since that someone confuses about EDL and Fastboot.

And yes, only Xiaomi has access to EDL Mode (Emergency Download Mode) to force flash system images or firmware because they are the OEM of the device. Only Fastboot that can user be accessed but it requires an unlocked bootloader.
Theoretically as an user, you can access EDL Mode but it requires such tools and knowledge.
 
Last edited:

pipyakas

Senior Member
Apr 22, 2013
1,164
280
103
Oh no.. You downloaded Mi Unlocker, not Mi Flasher.
Please search in a MIUI Forum or Google "Mi Flash Tool"
Ya I figured. The problem though, is that your post is linking to miflash unlock tool while you say you need to download the Flasher
I ended up just googled it and got my flash back to miui successful
 

Nexus5-32GB

Senior Member
Nov 2, 2013
440
137
0
Wanna thank you for this post first. However I was unable to run the latest MiFlash due the error as seen on screenshot. (Windows 10)
No matter what I was trying to do, MiFlash was still asking to install drivers (including Nvidia drivers, wtf?)
USB drivers were installed correctly as I could see connected device with installed drivers and fastboot devices have also worked fine. I have done several reboots, windows test mode, but without success...

If anybody else is having same issue, I was able to use probably very old version of MiFlash to successfully flash fastboot MIUI image.

Poco F1 again operational :)
 

Attachments

Darklouis

Senior Member
Jun 17, 2017
381
122
0
Davao City
Wanna thank you for this post first. However I was unable to run the latest MiFlash due the error as seen on screenshot. (Windows 10)
No matter what I was trying to do, MiFlash was still asking to install drivers (including Nvidia drivers, wtf?)
USB drivers were installed correctly as I could see connected device with installed drivers and fastboot devices have also worked fine. I have done several reboots, windows test mode, but without success...

If anybody else is having same issue, I was able to use probably very old version of MiFlash to successfully flash fastboot MIUI image.

Poco F1 again operational :)
New and updated Mi Flash Tools needs new drivers (including Visual C++ 2015 or the 2017/2018 one, Microsoft Framework, etc. e.g. just like installing a game, it needs drivers to work)
 

Nexus5-32GB

Senior Member
Nov 2, 2013
440
137
0
New and updated Mi Flash Tools needs new drivers (including Visual C++ 2015 or the 2017/2018 one, Microsoft Framework, etc. e.g. just like installing a game, it needs drivers to work)
That is correct and I have all of them installed, but still unable to run latest MiFlash properly.
 

Attachments

pederzen

Senior Member
Jul 18, 2010
99
9
28
Budapest
The attachment went wrong. Maybe now

Edit:
Maybe you can see my attachment, ican't i dont get why.
Anyways Miflash sends an error message saying ' can not found file flash_all.bat '
When i open the tar file the flash_all.bat file is there.
 
Last edited:

pederzen

Senior Member
Jul 18, 2010
99
9
28
Budapest
The attachment went wrong. Maybe now

Edit:
Maybe you can see my attachment, ican't i dont get why.
Anyways Miflash sends an error message saying ' can not found file flash_all.bat '
When i open the tar file the flash_all.bat file is there.
Bootloader is open but USB debugging was off when the bootloop accured. ADB does not recognise device, older MiFlash does but gives error written above. Any idea how to proceed? Your help is much appreciated
 

Darklouis

Senior Member
Jun 17, 2017
381
122
0
Davao City
Bootloader is open but USB debugging was off when the bootloop accured. ADB does not recognise device, older MiFlash does but gives error written above. Any idea how to proceed? Your help is much appreciated
Make sure you have the drivers installed.

Check it on "Device Manager" while the device is connected with fastboot mode on.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone