In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Flashing Guide

[Guide] How to Re-Lock Xiaomi Device Bootloader

2019-01-17 16:23:40
195268 128

Assalamu Alaikum,
Greeting from Mi Community Bangladesh. What's up Xiaomian? I hope you are well.

Occasionally, due to some of our work, bootloader unlock is needed which I said in my unlock tutorial. However, in many cases, the unlocked bootloader should be locked or locked when necessary. If you have been with you then think, "How can the bootloader be locked?"
Today I want to show you, How to Re-Lock your Xiaomi device bootloader.

❒ What is Bootloader?
Basically, Bootloader is a code that exists in every operating system in order to run or start. It is a set of instructions packages to launch the operating system after the device powered on. Every gadget powered by an operating system contains a bootloader. Android is an open-source operating system developed by Google, the bootloader for Android device is changed by a manufacturer to manufacturer.

The main reason is the manufacturing companies make devices with different types of hardware. For example, you can see the Nexus series, the device hardware is upgraded whenever the new version of the phone is launched. For Apple devices, the difference between the iOS versions makes bootloaders is negotiable.

❒ Why Xiaomi and other company locked their device Bootloader?
Manufacturers lock the bootloader of their devices so that only the operating system installed on the device can be used. Not all brand acts in the same way either: some manufacturers release their smartphones with the bootloader already unlocked (to the delight of most computer geeks). Unlocking the bootloader allows you to install unauthorized software it can be void your device warranty.

❒ 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.
● Anyone can flash your device easily with Custom ROM.

❒ Uses of Bootloader unlock on Android:
The main advantage of unlocking the bootloader on Android is rooting. If you want your Android is rooted or if you want a custom ROM to install the unlocking bootloader is an initial step. However it has advantages, you must be ready to prepare for disadvantages too. Bootloader unlocks can cause a loss of warranty. But some smartphone companies provide warranty after unlocking Bootloader and Rooting. However, it is always advisable to use the device in factory settings. Unlocking bootloader is an end customer choice.

❒ How I can check my Xiaomi device bootloader is a lock or unlock?
Go to Settings - About phone - MIUI Version (Tap 7 Times) You can see a message "Now you are a developer" - Additional Settings - Developer Options - Mi Unlock Status.
❒ Requirements:
● SDK Platform Tools
● Computer
● USB Cable

❒ Notes: Do anything at your own risk. Before locking your device bootloader, backup your all data. Because your device can be reset/wipe. If you are using China ROM on your Global device or using Global ROM on your China device then don't lock your device bootloader. If you can try to lock your device bootloader it can be bricked. Then you need to unlock it again or need an authorized account for flashing in EDL mode.

● Download 'SDK Platform Tools' and extract it. Now type "cmd" in the address bar and press "Enter". You must stay on the extracted SDK Platform Tool folder.
Turn off your phone and boot into fastboot mode by pressing the Volume Down and Power button at the same time.
Connect your device with your Computer.
Type "fastboot devices" for checking your device is connected with your computer or not.

If your device isn't detected on your computer then don't worry. Install Mi USB Driver or update it!
Now type "fastboot oem device-info" this command isn't a nursery. I used this command because some times Mi unlock status showings fake lock. So, you can check to unlock status from here.

Type "fastboot oem lock" and press enter. This is the main command. After locking your device bootloader it automatically wiped and reboot.

If your device isn't automatically rebooted then again type "fastboot reboot".

You can also lock your device Bootloader from the XiaoMiFlash tool. Just flash your device ROM in a normal way. Only select "clean all and lock".
Tutorial: HERE

❒ Source: 1, 2

❒ Read Master Thread:

Is this thread was helpful for you? Tell me in the comment section below.
Thanks to our admin mnnahid bhai and all mod, smod for their continuous help and support,

❒ Our Social Network:

❒ Popular Columns across Mi Community:


Number of participants 9 Experience +88 Pack Reason

View Rating Log

2019-01-17 16:23:40
Favorites96 RateRate

Wizard Bunny

MH Imran | from Redmi Note 4


Awesome thread, keep it up
2019-01-17 17:12:21

Master Bunny

M. Ahsan Ullah | from Redmi Note 5


thanks for sharing
2019-01-17 19:31:13

Grand Master Bunny

Mahmud Af Nahin | from Redmi Note 5


amazing thread.... thanks for sharing
2019-01-17 20:04:56

Grand Master Bunny

$huvo | from app


Thanks for the information
2019-01-17 20:32:49
such great thread dear. your all threads are amazing. keep it up.
2019-01-18 01:31:16
Rayhan Hasan
Super Moderator, Mi Community Bangladesh.


Mainul Hasan Rohan Author | from Redmi Note 5


such great thread dear. your all threads are amazing. keep it up.

Thanks dear brother for your support
2019-01-18 02:07:02
Mainul Hasan
Moderator, Mi Community Bangladesh

I ❤️ Mi


Mainul Hasan Rohan Author | from Redmi Note 5


MH Imran
Awesome thread, keep it up

Thank you bro
2019-01-19 01:33:27
Mainul Hasan
Moderator, Mi Community Bangladesh

I ❤️ Mi


Mainul Hasan Rohan Author | from Redmi Note 5


M. Ahsan Ullah
thanks for sharing

welcome brother
2019-01-19 01:33:44
Mainul Hasan
Moderator, Mi Community Bangladesh

I ❤️ Mi


Mainul Hasan Rohan Author | from Redmi Note 5


Mahmud Af Nahin
amazing thread.... thanks for sharing

welcome bro
2019-01-19 01:35:33
Mainul Hasan
Moderator, Mi Community Bangladesh

I ❤️ Mi


Mainul Hasan Rohan Author | from Redmi Note 5


Thanks for the information

welcome brother
2019-01-19 01:35:59
Mainul Hasan
Moderator, Mi Community Bangladesh

I ❤️ Mi
please sign in to reply.
Sign In Sign Up
  • Followers


  • Threads


  • Replies


  • Points


3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
1 Year Check-In
Newbie Member
Mi A2
Eid Mubarak
Master of Speed
MIUI Beta Tester
10K Members Celebration
10000 użytkowników na Społeczności Mi!
Mi Explorers Challenger
Święta z Mi!
Throw Back with Mi 2018
Xiaomi Number One In Ukraine
20K Registered Users
Mi Community App Review
9th Birthday of Xiaomi
Redmi Note 7
বাংলা নববর্ষ
Suited and Booted
New Home
10k Mi Fans
Cast Away
20K Mi Fans
20k użytkowników!
30K Members
Redmi Note 7 Into Space
Mi Love U & I
Redmi Note 7 Unboxing
Limited Edition Space Medal
Bunny Winner
70K Fans
Challenge Photographer
Challenge Photographer
Android Q
2 años
Tebak Nama Android Q
Android Q
Mother's Day
Guess The Name
Mothers day
Xiaomi Band
Día de las Madres
Mi Band Series
Redmi Note 7 Space
Mi Band Series
هاتف  Redmi Note 7 في الفضاء
تحدي جديد للتصوير الفوتوغرافي
توقع اسم Android Q
Best Mi
Happy Mother's Day
Android Q
50K Mi Fans
Złoty Mi Band
Mi band 3
Świętujemy dzień X-Men!
Mi Band History
قصتك مع السوار الذكي Mi Band
Mi Band Story
X-Men Character
Medalla X-Men: Cíclope
Medalla X-Men: Magneto
70K Mi Fans
40K Registered Users
Eid Mubarak
Redmi Questionnaire
Ngày của Mẹ
Xmen dark phoenix
MiBand Story
Android Q
70k celebrate
X-Men: Tormenta
X-Men: Profesor Xavier
أمنياتكم في عيد الفطر
أجمل لحظات عيد الفطر
Którym bohaterem jesteś?
 اختبار شخصيات X-MEN Dark Phoenix
Зустрічайте Mi 9T!
Perfil Personalizado
80K Mi Fans
Tech Talent
100K Mi Fans
Selfie Day
50K Users
Medalla Mi Community
Fortune 500
Fortune 500
Happy July
Global Fans
App Maniac
شجع مصر مع شاومي
Redmi 7A
Fortune Global 500
60K Registered Users
Off Topic Guru
Check in
Eid Al-Adha Mubarak
MIUI 9th Birthday
Global Community
Global Community
Mi A3
MIUI 9º Aniversario
Global Community
90k Mi Fans en México
Mejor Contenido Agosto
100 Mil Mi Fans
Mi A3
MIUI Weekly Poll
wallpaper votes
better together slogan
Global Community
better together with friends
Super Saturday
Puzzle Master
Super Tuesday
90K Registered Users
Día de los Muertos
Mrrrroczne Halloween
30K UK
Super Monday
200K Mi Fans
¡Medalla de 200K!
Super Friday
UK Community 100K
Yeni Yıl Madalyası
Feliz Navidad
2020 Medal
400K Mi Fans
300K Mi Fans
Happy New Year 2020!
Super Sunday
Mi POP 2020
Médaille concours de Noël 2019
Médaille des 50K
Line & Xiaomi
All-Star Battle
Scheduled Message
100K abo
Mi2U Feb 2020
আন্তর্জাতিক মাতৃভাষা দিবস
House of Power
All-Star Battle
Best Photo
Redmi Note
Redmi Note
Redmi Note Series
150K Registered Users
110,000,000+ Redmi Note
10th Anniversary of Xiaomi
Super Wednesday
Window View
বাংলা নববর্ষ ১৪২৭
Android One
Indoor Game
Mobile Game
App Star
Redmi 8
Ramadan Kareem
Meetings from Home
Lefty Star
Favorite Author
Streaming Geek
Favorite Actor
Favourite Football Team
Redmi Note 8
Mail Lover
Super Thursday
Redmi Note 8 Pro
Corona Awareness
Redmi 8A
First Smartphone
Phone Finder
Eid Mubarak
TV Series Freak
Eid Day Photo
MIUI Boot Animation
Favorite Singer
Favorite YouTube Channel
Redmi Note 9S
Redmi Note 9
Cloud Storage
Redmi Note 9 Pro
30 Million Redmi Note 8 Series
Redmi Note 9 Pro Feature
Smart TV
Answer Mi #4
Redmi 9 Colors
200K Registered Users
2nd Anniversary
Redmi Note 9S Feature
Redmi Note 9 Feature
Navigation System
New emoji
Redmi Note 9
Favorite Bangladeshi Food
Internet Speed
Eid Mubarak 2020
Redmi 9A
Redmi Note 9 Pro Camera
Football Manager
The UI Mode
Material Expert
Redmi 9A Feature
MIUI 12 Dark Mode
Redmi 9C
Battery Survey
Display Expert
Favorite Radio Station
I Love Xiaomi
Keluarga Xiaomi
Mi Challenge
Mi Note 10 Lite Feature
সেরা নিদর্শন
Codename Finder
Music Player
Favorite Cartoon Series
Workshop POCOX3
Rally Creativo
Mi Fan Mission
Mi to You November medal
Mi Posada 2020
Mi Challenge Day#19
MIUI Gallery
Mi Friday
2020 Best Moment
El mejor momento 2020
Navidad 2020
Mi to You December Medal
Kado Natal dan Tahun Baru 2021
Selamat Hari Ibu
HNY 2021
UK Quiz #1
POCO M2 Color
POCO C3 Color
POCO X3 NFC feature
POCO M2 Feature
Zoomed In Challenge
¿Qué es Mi Community?
2021's Wish Medal
Mi to You January 21
Mi Fan de 2021
Valentine's Day Medal
Mi Bunny - Natale2
Mi Bunny - Natale 3
Mi Bunny - Natale 4
Mi Bunny - Natale 5
Mi Bunny - Natale 6
মহান বিজয় দিবস - ২০২০
Update to MIUI12
শীতের খাবার
Christmas Medal
শীতের পিঠা
Winter is Here
New Year 2021
Mi Lover
Valentine 2021
Happy Year of the Ox
Workshop 1 : Medal Maker by Yoga P R
2 Juta Member Mi Community
Redmi Love Story Challenge
Refresh Rate Expert
Valentine's Day
Display Expert
Music Streaming 2021
Navigation Master
Phone Finder
POCO M3 Feature
POCO M3 Color
UI Finder

Read moreGet new

Mi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2021, All Rights Reserved
Quick Reply To Top Return to the list