You are on page 1of 10

11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing

- Flashing Guide - Mi Comm…

HOME FORUM MIUI CHILL ZONE RESOURCES PRODUCT REGION DOWNLOADS MORE 
Mi Community Global   Mi.com APP Download

Flashing Guide

[Guide] [All in One] MIUI Flashing Guide: Unbrick, EDL aalakib0


Moderator
Method / Locked Bootloader, Unlock Bootloader, More
2018-08-02 04:24:42  208606  1413 Followers Threads R
6404 137

Follow

Hello MIUIers, Today I will share the guides for,


How to Unbrick any Xiaomi Device with Locked Bootloader
How to get rid of Fake Global Rom/Custom MIUI Rom, Fake Unlock
How to Unlock Bootloader
How to Flash Fastboot ROM with an unlocked bootloader
How to Install TWRP Recovery and Root Any Xioami device
How to Install Google Play in China MIUI ROM
Anti Roll Back Issue

✪ Requirements:
A Working Brain
Patience
A Working PC
USB Cable for Connecting Phone with PC
Internet Connection

✪Necessary Files:

If you want to see the hidden content, please reply

 Reply A

Now Let's Get Started.


 New T
Part One - How to Unbrick any Xiaomi Device with Locked Bootloader

https://c.mi.com/thread-1479882-1-0.html 1/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

Mi Comm
HOME FORUM MIUI CHILL ZONE RESOURCES PRODUCT REGION DOWNLOADS MORE 
Stay update
UPDATE: EDL Method needs an authorized Xiaomi account. Those who have no
and MIUI
Download on
authorized accounts cannot use this method.

Featured

At first download all the files mentioned up, Now remove your device's back shell and Find EDL MIUI General Te
Pins. It should be there somewhere upside battery. Check the picture so that you will understand
Global Fans Ch
what is EDL Pins.
Tips and Tricks Ph

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

https://c.mi.com/thread-1479882-1-0.html 2/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

  
HOME FORUM MIUI CHILL ZONE RESOURCES PRODUCT REGION DOWNLOADS MORE 

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

https://c.mi.com/thread-1479882-1-0.html 3/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

After doing this check the option 'clean all' at the bottom of the tool. Then Flash it. When it will
HOME FORUM MIUI CHILL ZONE RESOURCES PRODUCT REGION DOWNLOADS MORE 
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.

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

Important: The risks stated above do not fully cover changes which may be
brought about by Mi Unlock.We will keep improving Mi Unlock in order to
prevent the cases when unauthorised vendors unlock Mi devices to install third
party apps which worsen MIUI user experience and cannot to be deleted.
Locked devices also provide you with high-quality security features, such as
Find device, and other added-value services. We're sorry for any
inconveniences our policies may cause. Please think twice before unlocking if
you are not familiar with ROM flashing.

Risks of unlocking Mi Devices?


By unlocking the device you agree that this may bring changes to some parts of the system.
These changes may damage the device.
After the device is unlocked, it becomes less secure and more vulnerable to malware attacks,
which may lead to the disclosure and loss of your private data.
Some features which require high-security level (e.g., Find device, banking apps, added-value
services, etc.) will no longer be available.

Note: The unlocking process will erase all your data on the device. So don't forget to take
backup.
Now,
Go to Settings -- About Phone -- Tap on MIUI Version 5-7 times to enable the developer option).
Then, go to Settings -- Additional settings -- Developer option and bind your Mi account under
Mi Unlock Status.
Log into the Mi account which has acquired unlocking permission on your device
Go to Settings -- Mi Account -- Account security -- Devices -- Other devices and remove all
other devices associated with your Mi Account.
Go to Settings -- Additional settings -- Developer options -- Enable USB debugging and OEM
unlocking.
Also, Turn on Internet connection, Bind Your Mi Account. Go to Settings -- Additional settings --
Developer options -- Mi Unlock Status --Tap Add Account and Device.

https://c.mi.com/thread-1479882-1-0.html 4/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

HOME FORUM MIUI CHILL ZONE RESOURCES PRODUCT REGION DOWNLOADS MORE 
Now,
On-device go to bootloader mode (press the Power button and Volume - button at the same
time to enter bootloader mode).
Connect the phone with PC using USB Cable.
Open Mi Unlock Tool. Login into your account (the same account should be logged in on your
device)
It will say Device Connected. Tap Unlock.
If you see 360/720/1440 hours bind error, then you have to wait for 360/720/1440 hours and
then try again.

[All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader,
More
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.

Download Fastboot Rom from here


On device go to bootloader/fastboot mode (press the Power button and Volume - button at the
same time to enter bootloader mode).
Connect device with PC using USB Cable
Open Xiaomi Flash Tool, Extract downloaded Rom. Select Rom folder. Make sure there is no
space in the rom address if there rename all folders with an underspace (_). The address should
like this,  C:\Users\Akib\Desktop\whyred_global_images_8.7.12_20180712.0000.00_8.1_global
Refresh, You'll see your device. Select 'Clean all' at bottom then flash. If you select 'Clean all and
lock' then your bootloader will be locked again.

Part Five - How to Install TWRP Recovery and Root Your Device

Download Latest TWRP Recovery for your device from here. Rename the img file to twrp.img
On device go to developer options and enable USB Debugging. Then go to bootloader/fastboot
mode (press the Power button and Volume - button at the same time to enter bootloader
mode).
Connect device with PC using USB Cable.
Open NoNameTool Folder (mentioned up)
Copy the twrp.img into that folder.
Now Press Shift and Right Click Open Command Prompt/ Powershell.
Enter following codes

fastboot devices

It will show that your device is connected.


Now Enter following codes

https://c.mi.com/thread-1479882-1-0.html 5/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

HOME fastbootMIUI
FORUM flash recovery twrp.img RESOURCES
CHILL ZONE PRODUCT REGION DOWNLOADS MORE 

fastboot boot recovery twrp.img

The device will boot into TWRP recovery.


If you want to Root your device. Download Latest Magisk from here.
Copy Magisk.zip into your phone.
Boot into TWRP Recovery. Go to Install and Flash Magisk.zip. Then Reboot!
Enjoy! Your Device is now rooted.

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.


You can flash TWRP again
You can Root Anti ROMs with Magisk or Disable Encryption
You can switch from CN builds to Global builds or vise versa
You can switch between all anti 4 builds just fine, like from 8.7.12 to 9.5.19.0 or anything with
anti 4
You can flash any AOSP/LOS based ROM
You can flash anti 4 fastboot ROMs

*NEW*

If you want to see the hidden content, please reply

https://c.mi.com/thread-1479882-1-0.html 6/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

HOME FORUM MIUI CHILL ZONE RESOURCES PRODUCT REGION DOWNLOADS MORE 
-----x-----

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.

Rate

Number of participants 15 Experience +107 Reason Pack

View Rating Log

2018-08-02 04:24:42 Reply

 Favorites 135  Shares Rate

mnnahid |  #1

Admin Bunch of thanks for the excellent thread. Keep rocking with Mi Community.

2018-08-02 06:27:30 Reply Report Rate

Akram Rahim |  from Redmi Note 4 #2

Master very helpful


Bunny

2018-08-02 06:46:27 Reply Report Rate

Mi Big Fan

NayeemOfficial |  from MI 5X #3

Super thanks for sharing this guide.


moderator

https://c.mi.com/thread-1479882-1-0.html 7/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

HOME FORUM MIUI


2018-08-02 CHILL
11:28:10 ZONE RESOURCES PRODUCT REGION
Reply
DOWNLOADS
ReportRate
MORE 

Yousuf (ইউসুফ) |  from Redmi 5 Plus #4

Semi Pro difficult with easy prosidure


Bunny

2018-08-02 12:49:29 Reply Report Rate

Yousuf (ইউসুফ) |  from Redmi 5 Plus #5

Semi Pro so much hard


Bunny

2018-08-02 12:53:52 Reply Report Rate

Yousuf (ইউসুফ) |  from Redmi 5 Plus #6

Semi Pro flashing guide something hard


Bunny

2018-08-02 13:13:48 Reply Report Rate

aalakib07 Author |  from Redmi Note 5 #7

Moderator
Yousuf (ইউসুফ)
flashing guide something hard

What r u facing?

2018-08-02 14:45:10 Reply Report Rate

https://c.mi.com/thread-1479882-1-0.html 8/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

HOME FORUM MIUI


One day orCHILL ZONE
Day One; RESOURCES
It's your decision. PRODUCT REGION DOWNLOADS MORE 

Please use Reply button to notify!

aalakib07 Author |  from Redmi Note 5 #8

Moderator
mnnahid
Bunch of thanks for the excellent thread. Keep rocking with Mi
Community.

Most Welcome Vi :)

2018-08-02 14:45:40 Reply Report Rate

One day or Day One; It's your decision.

Please use Reply button to notify!

aalakib07 Author |  from Redmi Note 5 #9

Moderator
NayeemOfficial
thanks for sharing this guide.

Welcome :)

2018-08-02 14:45:58 Reply Report Rate

One day or Day One; It's your decision.

Please use Reply button to notify!

aalakib07 Author |  from Redmi Note 5 #10

Moderator
Akram Rahim
very helpful

https://c.mi.com/thread-1479882-1-0.html 9/10
11/07/2020 [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader, More - Flashing Guide - Mi Comm…

HOME FORUM MIUI CHILL ZONE


Thanks....  :)
RESOURCES PRODUCT REGION DOWNLOADS MORE 
2018-08-02 14:46:42 Reply Report Rate

One day or Day One; It's your decision.

Please use Reply button to notify!

Next 

1 2 3 4 5 6 7 8 9 10 ...142 Go to page 1

RE: [All in One] MIUI Flashing Guide: Unbrick, EDL Method / Locked Bootloader, Unlock Bootloader,
More

Advanced Mode

please sign in to reply.

Sign In Sign Up

Copyright©2010-2020 Xiaomi.com, All Rights Reserved

https://c.mi.com/thread-1479882-1-0.html 10/10

You might also like