(Official Flashing Guide) - How To Unlock The Bootloader and Flash Xiaomi Phones Using Fastboot Mode - MIUI Tips & Tricks - Mi Community - Xiaomi

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode

oot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 
Mi Community Bangladesh   Mi.com APP Download

MIUI Tips & Tricks

[] [Official Flashing Guide] - How to Unlock the Bootloader Alessan


Mi Comm t
and flash Xiaomi Phones using Fastboot Mode
2019-02-07 09:32:51  132197  49 Followers Threads
942 234

Follow

 Reply A
OFFICIAL FLASHING GUIDE
HOW TO UNLOCK THE BOOTLOADER AND FLASH XIAOMI PHONES  New T
USING FASTBOOT MODE
Mi Comm
Dear Mi Fans, Stay update
and MIUI

I decided to come up with an Official Flashing Guide that can be helpful to anyone wondering on
how to flash Xiaomi Phones using Fastboot Mode, and therefore a Fastboot Rom (.tgz). Download on

First of all, let me share with you some useful information related to Bootloader and Fastboot.
Featured

BOOTLOADER
ROM Download Bu

Redmi Note 9 Pro Re


The bootloader is the component in the operating system of a smartphone (or a computer, for that
matter) that is, in general terms, instructs the operating system (Android, iOS, Linux, Windows, etc) MIUI 12 Re
kernel to boot normally.

As you may know, all the latest Xiaomi smartphones now come with a locked bootloader.
But, what does it mean?

If you are able to modify the bootloader of your device, then you are able to load whatever
(supported) operating system you want. That means “unlocked bootloader”.

A “locked bootloader”, which is intentionally LOCKED by the manufacturer or the cell phone
operator, would not allow you to modify that bootloader. Android devices come with locked
bootloaders for a reason. It’s not just that carriers and manufacturers want to own your hardware

https://c.mi.com/thread-1815303-1-0.html 1/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

and prevent you from installing custom ROMS on it – although they do – there are good security
HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 
reasons.

A device with a locked bootloader will only boot the operating system currently on it. You can’t
install a custom operating system – the bootloader will refuse to load it.

FASTBOOT MODE

Fastboot is a tool/protocol for writing data directly to your phone's flash memory. In practical use, it
is used to flash images such as recoveries, bootloaders, and kernels to your Android device.
On Xiaomi devices, you can access to Fastboot mode following these steps:
Turn OFF your Xiaomi Phone.
Press and hold the Volume Down and Power button.
The phone will now boot into Fastboot mode.
Once you see your Fastboot screen, you can now connect your phone to your PC and access it
via the Fastboot tool.

XiaoMiFlash

To unlock the bootloader on Xiaomi devices and flash Fastboot ROMS via Fastboot Mode, you will
need to use Xiaomi Official flashing tool "XiaoMiFlash". This tool works only on unlocked
bootloader devices.

I have divided this thread into two guides, one is for unlocking the bootloader and flashing a
Fastboot ROM, the other one is for flashing a Fastboot ROM on already unlocked devices.

GUIDE 1 - Flashing Guide for Locked Bootloader

Note: A Windows PC/laptop will be needed for the following steps. Make sure
that your device is fully charged or has enough power (70% Battery) for this
process. This guide will help you update your device to the latest MIUI ROM
version. All user data will be purged in this process. Please back up your data
and think twice before proceeding. Follow these procedures at your own risk.

1) BOOTLOADER UNLOCK PERMISSION

The first thing to do is to unlock the Fastboot of your device. In order to do that, you will need
permissions. Click here to apply to unlock your device. Remember, after you unlock the device, it
will become less secure. Your personal data might be leaked or lost.

https://c.mi.com/thread-1815303-1-0.html 2/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Fill the application form with your forum nickname. You will get an SMS notification when you got
the permission to unlock.
You will then be able to download the Mi Unlock app on your PC.
Please note, time to get permission to unlock may vary.

2) NECESSARY FILES:

https://c.mi.com/thread-1815303-1-0.html 3/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND


Once you received the unlock permission you will need to download 3 files:
ROM MORE 

Xiaomi Flashing Tool Miflash v2018.5.28.0 -  Link


Mi Unlock to unlock your device Bootloader - Link
Fastboot ROM (.tgz) for your device - Link

3) ROM File:

Make sure to download the right Fastboot ROM (.tgz). Once you downloaded it, decompress it and
move its content into C: folder on your computer.

4) DEVICE IN FASTBOOT MODE:

Now we need to boot your device in Fastboot Mode, as already explained above, follow these
steps:
Turn OFF your Xiaomi Phone.
Press and hold the Volume Down and Power button.
The phone will now boot into Fastboot mode.
Once you see your Fastboot screen, you can now connect your phone to your PC and access it
via the Fastboot tool.

5) Mi Unlock:

Now that we are in Fastboot Mode we can unlock the bootloader of the device. To do so we will
need Mi Unlock, that you downloaded in Step 2. Remember?
Open and run it.

https://c.mi.com/thread-1815303-1-0.html 4/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Agree to the disclaimer if you intend to proceed.

Log in with your Mi Account and Password

https://c.mi.com/thread-1815303-1-0.html 5/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Let Mi Unlock check if you Mi Account has permissions.

Phone Connected and ready to unlock. Click "Unlock".

https://c.mi.com/thread-1815303-1-0.html 6/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Click "Unlock anyway"

https://c.mi.com/thread-1815303-1-0.html 7/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

You just successfully unlocked your device.

6) FLASHING:

You don’t need to reboot your device after the unlock. However, if you reboot your device, make
sure you then follow Step 4 again to go into Fastboot Mode.

Decompress Xiaomi Flashing Tool Miflash v2018.5.28.0 downloaded in Step 2, and double click on
it to install it (if there is security warning, select 'Run').
After the installation is completed, open MiFlash.exe

This is how the app looks like:

https://c.mi.com/thread-1815303-1-0.html 8/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Now you need to copy the directory of the Fastboot ROM from Step 3 and paste it in the top
address bar as in the picture below. Alternatively, you can click select and browse the Fastboot
ROM, make sure you select all images.

As your device should be in Fastboot Mode and connected to the computer already, click Refresh
to refresh the app and detect the device.
If your device is correctly set in Fastboot Mode, with bootloader unlocked and connected to the
computer, MiFlash should automatically recognise the device as in the image below.
If this doesn’t happen, go back and make sure you followed all the steps correctly.

https://c.mi.com/thread-1815303-1-0.html 9/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

At the bottom of the window, select the type of flash option that you prefer.

Clean all will erase all the data present in your phone leaving your bootloader unlocked.

Save user data will erase all the data present in your phone without wiping the data partition,
leaving your bootloader unlocked.

Clean all and lock will erase all the data present in your phone and lock your bootloader.

Now click “Flash” to Flash the ROM file into the device.

https://c.mi.com/thread-1815303-1-0.html 10/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Your device will now automatically reboot running the new ROM.

GUIDE 2 - Flashing Guide for Unlocked Bootloader

Note: A Windows PC/laptop will be needed for the following steps. Make sure that your
device is fully charged or has enough power (70% Battery) for this process. This guide
will help you update your device to the latest MIUI ROM version. All user data will be
purged in this process. Please back up your data and think twice before proceeding.
Follow these procedures at your own risk.

1) NECESSARY FILES

You will need to download 2 files only:

Xiaomi Flashing Tool Miflash v2018.5.28.0 -  Link


Fastboot ROM (.tgz) for your device - Link

https://c.mi.com/thread-1815303-1-0.html 11/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT
2) ROM File
PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Make sure to download the right Fastboot ROM (.tgz). Once you downloaded it, decompress it and
move its content into C: folder on your computer.

3) DEVICE IN FASTBOOT MODE

Now we need to boot your device in Fastboot Mode, as already explained above, follow these
steps:
Turn OFF your Xiaomi Phone.
Press and hold the Volume Down and Power button.
The phone will now boot into Fastboot mode.
Once you see your Fastboot screen, you can now connect your phone to your PC and access to
it via the Fastboot tool.

4) FLASHING

Decompress Xiaomi Flashing Tool Miflash v2018.5.28.0 downloaded in Step1, and double click on
it to install it (if there is security warning, select 'Run').
After the installation is completed, open MiFlash.exe

This is how the app looks like:

https://c.mi.com/thread-1815303-1-0.html 12/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM


Now you need to copy the directory of the Fastboot ROM from Step 2 and paste it in the top
MORE 
address bar as in the picture below. Alternatively, you can click select and browse the Fastboot
ROM, make sure you select all images.

As your device should be in Fastboot Mode and connected to the computer already, click Refresh
to refresh the app and detect the device.
If your device is correctly set in Fastboot Mode, with bootloader unlocked and connected to the
computer, MiFlash should automatically recognise the device as in the image below.
If this doesn’t happen, go back and make sure you followed all the steps correctly.

At the bottom of the window, select the type of flash option that you prefer.

Clean all will erase all the data present in your phone leaving your bootloader unlocked.

Save user data will erase all the data present in your phone without wiping the data partition,
leaving your bootloader unlocked.

https://c.mi.com/thread-1815303-1-0.html 13/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 
Clean all and lock will erase all the data present in your phone and lock your bootloader.

Now click “Flash” to Flash the ROM file into the device.

https://c.mi.com/thread-1815303-1-0.html 14/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

Your device will now automatically reboot running the new ROM.

I hope you will find this guide useful.

Source:
All credits go to msalauddins, en.miui BD Community Moderator who wrote this fantastic guide.

Rate

Number of participants 2 Experience +2 Reason Pack

View Rating Log

2019-02-07 09:32:51 Reply

 Favorites 85  Shares Rate

GunplaMad |  from app #1

Moderator Fantastic! Thank Alessandro.. Gives me something to do tonight..

2019-02-07 12:46:32 Reply Report Rate

https://c.mi.com/thread-1815303-1-0.html 15/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

BillyMay |  #2

Advanced I'd be super interested to see if people replace the OS on the Mi Tab 4 with a straight Android
OS of some sort, rather than MIUI - I'm dying to play Fortnite on it even though the specs are
there hardware-wise, it won't work.. at least yet.

2019-02-07 13:21:16
Reply Report Rate

Billy May - Instagram & Social Links

tomachas |  from app #3

Pro Unreal! Many thanks for this step by step guide.

2019-02-07 13:25:04
Reply Report Rate

spud77 |  from app #4

News I was advised to check 'clean all 'and NOT 'clean all and lock' because if something goes
Reporter wrong you might not be able to unlock it again and if you can't unlock it you have upgraded
your phone to a brick

2019-02-08 11:01:26
Reply Report Rate

https://gph.is/1Sc7mu8

Alessandro_ Author |  #5

Mi Comm
team spud77 replied at 2019-02-08 13:01:26
I was advised to check 'clean all 'and NOT 'clean all and lock' because if
something goes wrong you  ...

https://c.mi.com/thread-1815303-1-0.html 16/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM


Hey Spud, you're right. It is suggested to lock the bootloader afterwards for security reasons
MORE 
and I never had problems with that option but people may want to leave it unlocked if unsure.

I added a description of the 3 options, thank you!

2019-02-08 11:25:42
Reply Report Rate

Cartwheelbob |  from app #6

Pro I'm stuck at the 1st hurdle. in developer options on the phone it won't associate. keep getting
the message on this screenshot. any advice?

2019-02-08 12:06:02
Reply Report Rate

spud77 |  from app #7

News
Reporter Cartwheelbob
I'm stuck at the 1st hurdle. in developer options on the phone it won't
associate. keep getting the  ...

https://c.mi.com/thread-1815303-1-0.html 17/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

on your phone log out of your mi account and log back in ,that happened to me too

https://c.mi.com/thread-1815303-1-0.html 18/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND ROM MORE 

https://c.mi.com/thread-1815303-1-0.html 19/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT 2019-02-08


PHONES12:53:31
ECOSYSTEM MIUI MI FAN CLUB PLAYGROUND
Reply Report ROM
Rate MORE 

https://gph.is/1Sc7mu8

Zethazed |  from app #8

Pro i needed something like this few years ago!!! good to have it now. Xiaomi made so many
steps forward, I am so proud of it!!!

2019-02-08 21:16:53
Reply Report Rate

5160736632 |  from app #9

Rookie Not Able to Use Volte in Phone So plz click on this link
https://youtu.be/f-ndh1ZMsYs

2019-02-19 23:45:43
Reply Report Rate

drgunlove |  from app #10

Semi Pro Great in depth thread! Thanks for taking the time to compile it.

2019-02-21 12:02:56 Reply Report Rate

Next 

1 2 3 4 5 Go to page 1

RE: [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using
Fastboot Mode

Advanced Mode

please sign in to reply.

https://c.mi.com/thread-1815303-1-0.html 20/21
11/07/2020 [Official Flashing Guide] - How to Unlock the Bootloader and flash Xiaomi Phones using Fastboot Mode - MIUI Tips & Tricks - Mi C…

HOME RECENT PHONES Sign In MIUI


ECOSYSTEM Sign
MI Up
FAN CLUB PLAYGROUND ROM MORE 

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

https://c.mi.com/thread-1815303-1-0.html 21/21

You might also like