Xiaomi MIUI Official Forum

Moderator

Mods are not Xiaomi employees

Rank: 7Rank: 7Rank: 7

Credits
24573
Device
Mi 5
MIUI Version
7.4.20
Online time
871 Hours
Send PM

Mi HomeMi VR HeadsetMi BandMi KeyMi Power StripMi Power BankMi  BunnyUnlock MedalMi Band 2Xiaomi 7th AnniversaryMIUI 2015Fantastic!MIUI 6FlashholicMIUI 8MIUI 2016Awesome!I Love MIUIMi 5Xiaomi Mi 4Mi NoteMi 3Hilal Ramadan UEFA EURO Medal1300K Forum Members300K Forum Members2014 ChristmasSuper Tuesday5 Million Forum Posts1 Million Forum MembersMIUI 5th Anniversary500K Forum Members700K Forum MembersXiaomi 5th Anniversary600K Forum MembersHappy Valentine's Day800K Forum MembersMerry ChristmasFan Of MIUI IndiaMIUI 100 Million UsersMIUI Fan from MalaysiaThanksgiving DayXiaomi 6th AnniversaryMIUI Fan from IndiaHappy New YearSurge S1Women's Day MedalSuper WednesdayMIUI Drawing TalentMIUI 2017Rocket to FutureMIUI 6th Anniversary1 Million Forum App Installs10 Million Forum Posts3 Million Forum MembersHappy Holi MedalSuper SaturdaySuper Sunday5 Million Forum App InstallsSuper FridaySuper MondaySuper ThursdayMIUI Happy MedalMIUI 4th AnniversaryRooster Year of 20171500K Forum Members1400K Forum Members1800K Forum Members1700K Forum MembersMIUI Forum AppMIUI 300 WeeksMid-Autumn FestivalPokemon Master MedalDiwali I Love 20162100K Forum Members1900K Forum MembersHappy DiwaliI Love Mi BunnyAlpaca Mi Bunny Summer Mi BunnyGamer Mi BunnyMiPopMIUI Beta TeamMIUI FB FollowerDie-hard MIUI FanOTA FeedbackMIUI Global Forum 2014Forum Contest LoverMIUI G+ FollowerMi Lover MedalMIUI SuperstarYouth PledgeMIUI Twitter FollowerWallpaper ExpertMr. DependableTechnology GuruApp TalentApp TalentMi Story TellerMIUI Android 4.4 KitKatOff-Topic TalentMi Bunny Game Master MIUI Resources TeamHumor MasterMi TalentMIUI Medals CollectorScroll Of WisdomPioneer of MIUI English Forum Debate MasterUpdates LoverMIUI FollowerAndroid GuruInbox ZeroAndroid Elf

[Tools, Tips & Tutorials] How To Check Boot loader Lock Status & Relock

  [ Promote]
120667 270 |
02:08, May-11-2016
| |
|
Go to reply no.
This post was edited by yougotmehere at 19:07, Nov-07-2016

Hello MIUIer's,

Offlately, i have seen lot of posts on the forum about how to check whether the device bootloader is locked or unlocked and to some extent they were always confusing till the time i came across a simple tip of checking the status as easy as you would have ever imagined. Further to my frustration, i learnt that you would have to go through the whole process of flashing a fastboot pckg through MiFlash while manually selecting the Flash_All_Lock bat file afresh incase the bootloader needed to be locked again. I am a vivid user of technology and love to tinker a lot.

Here are the simple steps incase you need to check the status of bootloader and re-lock it again w/o much hassles and having to go through the whole process of re-flash.

Pre-Requisite:
ADB, Fastboot and Device Drivers.

1. Enter Your Device in the Fastboot Mode (Shut Down The Device. Hold Volume (-) along with the Power Button to enter into the fastboot mode or use ADB commands if you're an advanced user.

2. Once in fastboot mode, open an elevated command from the folder that you just extracted.


3. Type fastboot devices to check if your device is being recognised  by your PC.Refer to the below pic

1.jpg


4. So far so good. Type fastboot oem device-info and you should be greeted with the device status.

3.jpg

5. Incase your Device Bootloder is unlocked, you'll get the following status as below in pic.

2.jpg

6. Looking to lock the bootloader again? Simply type fastboot oem lock

4.jpg


7. Type fastboot oem device-info to check the status followed by fastboot reboot to reboot back to normal.

5.jpg

I truely appreciate the policy of Xiaomi of locking the bootloader which has been thoroughly researched to keep their consumers safe and sound from any suspicious attacks and i personally don't recommend unlocking bootloaders until it is higly desireable and you don't mind compromising on your device security.

Warning: Pls don't attempt to lock your bootloaders with TWRP or any custom recovery's installed. It might just result in an unrecovereable hard brick. Bootloaders should always be locked with stock recoveries.



Favorite156 Share

Rated by 69 people   Experience Prestige Reason  

jcunltd + 2 Thanks!
tokko2 + 1 Awesome, easy and to the point!
rockyrodger + 1 Fantastic!
cassedy + 1 Fantastic!
trojanvirus0101 + 1 Thanks!
nikhilpatil5354 + 2 Thanks!
trahin + 2 Great!
fangmi5 + 1 Awesome! followed your guide just now a
H4RDCORE44 + 1 Awesome!
halewi + 1 Thanks!
1622898367 + 1 Thanks!
SofiaSam4 + 1 Thanks!
mikesepul + 1 Great!
Rodolfo79 + 1 Fantas<span id="transmark"
vivek97 + 1 Thanks!
Zipfelmuetze + 1 Thanks!
Hermanto6331 + 1 Fantastic!
vavev + 1 Fantastic!
buch70 + 1 Great!
SerjKo8 + 1 Great!
nicolasfh + 1 Great!
Nokia1983 + 1 Thanks!
clavecin + 1 Thanks!
idfei + 1 Thanks!
jlct77 + 1 Great!
Deepugadu + 1 Awesome!
sammisss + 1 Thanks!

Experience +109  Prestige +4  View Rating Log

Here to help
Moderators Are Not Xiaomi Employees

Senior Member

Rank: 2

Credits
156
Device
Mi 5 Pro
MIUI Version
V8.2.1.0.NAACNEB
Online time
21 Hours
Send PM

MIUI 2017

23:09, May-13-2016
|
Can Encryption reactivated if you lock the bootloader via this command? What about an existing TWRP flash?

I guess most people will have installed TWRP after unlocking the bootloader which basically requires removal of encryption.

Comment

yougotmehere Don't ever attempt to lock a bootloader while having a custom recovery. It may result in a damage more than just a bootloop. Encryption needs a locked bootloader thus not possible in this case.  11:49, May-14-2016

Senior Member

Rank: 2

Credits
92
Device
Mi 5
MIUI Version
V8.2.2.0.NAAMIEB
Online time
30 Hours
Send PM

Xiaomi 7th AnniversaryMi 5

01:23, Dec-06-2016 Via mobile
|
I got permission to unlock my device  few days ago.then i have tried several times to unlock my device with mi unlockflash tool.but everytimes it showed "couldn't verify your device "at  50 %.but today i have checked adb fastboot command prompt and this result is shown..how it could be happen?
IMG_20161205_185035.jpg

Moderator

Mods are not Xiaomi employees

Rank: 7Rank: 7Rank: 7

Credits
24573
Device
Mi 5
MIUI Version
7.4.20
Online time
871 Hours
Send PM

Mi HomeMi VR HeadsetMi BandMi KeyMi Power StripMi Power BankMi  BunnyUnlock MedalMi Band 2Xiaomi 7th AnniversaryMIUI 2015Fantastic!MIUI 6FlashholicMIUI 8MIUI 2016Awesome!I Love MIUIMi 5Xiaomi Mi 4Mi NoteMi 3Hilal Ramadan UEFA EURO Medal1300K Forum Members300K Forum Members2014 ChristmasSuper Tuesday5 Million Forum Posts1 Million Forum MembersMIUI 5th Anniversary500K Forum Members700K Forum MembersXiaomi 5th Anniversary600K Forum MembersHappy Valentine's Day800K Forum MembersMerry ChristmasFan Of MIUI IndiaMIUI 100 Million UsersMIUI Fan from MalaysiaThanksgiving DayXiaomi 6th AnniversaryMIUI Fan from IndiaHappy New YearSurge S1Women's Day MedalSuper WednesdayMIUI Drawing TalentMIUI 2017Rocket to FutureMIUI 6th Anniversary1 Million Forum App Installs10 Million Forum Posts3 Million Forum MembersHappy Holi MedalSuper SaturdaySuper Sunday5 Million Forum App InstallsSuper FridaySuper MondaySuper ThursdayMIUI Happy MedalMIUI 4th AnniversaryRooster Year of 20171500K Forum Members1400K Forum Members1800K Forum Members1700K Forum MembersMIUI Forum AppMIUI 300 WeeksMid-Autumn FestivalPokemon Master MedalDiwali I Love 20162100K Forum Members1900K Forum MembersHappy DiwaliI Love Mi BunnyAlpaca Mi Bunny Summer Mi BunnyGamer Mi BunnyMiPopMIUI Beta TeamMIUI FB FollowerDie-hard MIUI FanOTA FeedbackMIUI Global Forum 2014Forum Contest LoverMIUI G+ FollowerMi Lover MedalMIUI SuperstarYouth PledgeMIUI Twitter FollowerWallpaper ExpertMr. DependableTechnology GuruApp TalentApp TalentMi Story TellerMIUI Android 4.4 KitKatOff-Topic TalentMi Bunny Game Master MIUI Resources TeamHumor MasterMi TalentMIUI Medals CollectorScroll Of WisdomPioneer of MIUI English Forum Debate MasterUpdates LoverMIUI FollowerAndroid GuruInbox ZeroAndroid Elf

 Author| 13:36, Jul-13-2016
|
apurvapatel replied at 2016-7-12 15:49
Thanks for the info @yougotmehere
I want to know 2 more things.
1. If I want to lock my bootloader  ...

1. No
2. I have done the lock-unlock process more than 5 times by now. Every time i used the unlocking tool, it said that i already had the unlocking approval so i guess you won't have to request again. Use at your own risk !

Rated by 1 person   Experience Reason  

apurvapatel + 1 Thanks!

Experience +1  View Rating Log

Here to help
Moderators Are Not Xiaomi Employees

Senior Member

Rank: 2

Credits
116
Device
Mi 5 Pro
MIUI Version
V8.2.2.0.NAAMIEB
Online time
5 Hours
Send PM
17:48, Jan-03-2017
|
cresfang replied at 2017-1-3 12:55
If I relock my bootloader, do I need to request the unlock code again to re-unlock it in the future?

Nope, no need. To re-unlock the bootloader, just re-unlock the bootloader with the MiUnlock http://miuirom.xiaomi.com/rom/u265827351/1.1.1111.1123/miflash_unlock-1.1.1111.1123.zip

Moderator

Mods are not Xiaomi employees

Rank: 7Rank: 7Rank: 7

Credits
24573
Device
Mi 5
MIUI Version
7.4.20
Online time
871 Hours
Send PM

Mi HomeMi VR HeadsetMi BandMi KeyMi Power StripMi Power BankMi  BunnyUnlock MedalMi Band 2Xiaomi 7th AnniversaryMIUI 2015Fantastic!MIUI 6FlashholicMIUI 8MIUI 2016Awesome!I Love MIUIMi 5Xiaomi Mi 4Mi NoteMi 3Hilal Ramadan UEFA EURO Medal1300K Forum Members300K Forum Members2014 ChristmasSuper Tuesday5 Million Forum Posts1 Million Forum MembersMIUI 5th Anniversary500K Forum Members700K Forum MembersXiaomi 5th Anniversary600K Forum MembersHappy Valentine's Day800K Forum MembersMerry ChristmasFan Of MIUI IndiaMIUI 100 Million UsersMIUI Fan from MalaysiaThanksgiving DayXiaomi 6th AnniversaryMIUI Fan from IndiaHappy New YearSurge S1Women's Day MedalSuper WednesdayMIUI Drawing TalentMIUI 2017Rocket to FutureMIUI 6th Anniversary1 Million Forum App Installs10 Million Forum Posts3 Million Forum MembersHappy Holi MedalSuper SaturdaySuper Sunday5 Million Forum App InstallsSuper FridaySuper MondaySuper ThursdayMIUI Happy MedalMIUI 4th AnniversaryRooster Year of 20171500K Forum Members1400K Forum Members1800K Forum Members1700K Forum MembersMIUI Forum AppMIUI 300 WeeksMid-Autumn FestivalPokemon Master MedalDiwali I Love 20162100K Forum Members1900K Forum MembersHappy DiwaliI Love Mi BunnyAlpaca Mi Bunny Summer Mi BunnyGamer Mi BunnyMiPopMIUI Beta TeamMIUI FB FollowerDie-hard MIUI FanOTA FeedbackMIUI Global Forum 2014Forum Contest LoverMIUI G+ FollowerMi Lover MedalMIUI SuperstarYouth PledgeMIUI Twitter FollowerWallpaper ExpertMr. DependableTechnology GuruApp TalentApp TalentMi Story TellerMIUI Android 4.4 KitKatOff-Topic TalentMi Bunny Game Master MIUI Resources TeamHumor MasterMi TalentMIUI Medals CollectorScroll Of WisdomPioneer of MIUI English Forum Debate MasterUpdates LoverMIUI FollowerAndroid GuruInbox ZeroAndroid Elf

 Author| 18:31, Sep-03-2016
|
Dinasoft replied at 2016-9-3 15:27
@yougotmehere

By using this we can lock again.

Only lock through adb. Unlock would have to be done through the Mi Unlock tool. Once unlocking permission is granted, you don't have to request again for unlock. Just hook your phone to the tool and follow the steps to unlock.

Rated by 1 person   Experience Reason  

Dinasoft + 2 Thanks Mate.....!!!

Experience +2  View Rating Log

Here to help
Moderators Are Not Xiaomi Employees

Supreme Member

Positive anything is better

Rank: 7Rank: 7Rank: 7

Credits
50906
Device
Redmi Note 3
MIUI Version
7.1.19
Online time
697 Hours
Send PM

Mi BandMi WiFi RouterMi Power BankMi T-ShirtMi In-Ear HeadphonesMi Bluetooth SpeakerMIUI 2015MIUI 7Awesome!MIUI 2016MIUI 8I Love MIUIFantastic!FlashholicRedmi Note 3Mi TVMi 4cRedmi 2Redmi Note 2Mi PadRedmi NoteThanksgiving DayHappy Valentine's DayMIUI Fan from India1400K Forum MembersMIUI Fan From Indonesia900K Forum Members800K Forum MembersMIUI Fan From SingaporeFan Of MIUI IndiaMIUI HalloweenDiwali 1 Million Forum Members1300K Forum Members5 Million Forum PostsXiaomi 6th AnniversaryHappy New YearMIUI Fan from TurkeyMerry ChristmasUEFA EURO MedalSummer Mi BunnyGamer Mi BunnyAlpaca Mi Bunny I Love Mi BunnyMIUI FB FollowerDie-hard MIUI FanMi Lover MedalMIUI Twitter FollowerWallpaper TalentStar Of IconsMIUI Wallpaper ContestMi TalentMi Bunny Game Master MIUI G+ FollowerTechnology GuruScroll Of WisdomForum Contest LoverHumor MasterRingtone Star Pioneer of MIUI English Forum Debate MasterAndroid GuruInbox ZeroOTA FeedbackMIUI Medals CollectorMIUI FollowerMIUI Resources TeamAndroid ElfRingtone MasterMIUI Photography GuruYouth PledgeWallpaper Expert

02:48, May-11-2016
|
Thnx For Sharing it

MIUI Beta Team - Global

Rank: 6Rank: 6

Credits
2067
Device
Mi 5
MIUI Version
7.4.20
Online time
80 Hours
Send PM

Mi HeadphonesMi In-Ear HeadphonesMi Power BankMIUI 8I Love MIUIFantastic!Awesome!MIUI 2016MarshmallowMIUI Devices ContestMi 4cMi 5Rocket to FutureXiaomi 6th AnniversaryMIUI 20171300K Forum Members5 Million Forum PostsHilal Ramadan MIUI Lucky FridayPokemon Master MedalMIUI 300 WeeksMIUI Forum AppMIUI 6th AnniversaryOlympics MedalMIUI Beta TeamMi Lover MedalDie-hard MIUI FanRingtone Star Scroll Of WisdomAndroid ElfDebate MasterHumor MasterTechnology Guru

02:50, May-11-2016
|
come in handy.. thank you for the info..
and i got the result.. locked bootloader.. yay..

Gold Member

Rank: 3Rank: 3

Credits
356
Device
Mi 5
MIUI Version
7.3.30
Online time
34 Hours
Send PM

Awesome!1400K Forum MembersDebate MasterDie-hard MIUI Fan

02:57, May-11-2016
|
That helps a lot!!! Thanks

MIUI Beta Team - China

❤❤❤ MIUI ❤❤❤

Rank: 6Rank: 6

Credits
23393
Device
Mi Max 32GB
MIUI Version
7.4.18
Online time
938 Hours
Send PM

Mi Bluetooth SpeakerMi T-ShirtMijia Story TellerMi TV 70Mi WiFi RouterMi USB FanMi Bluetooth Canon SpeakerUnlock MedalMi Band 2Mi HomeYeelight Bedside LampMi  BunnyMi Power Bank 10000MAH Mi VR HeadsetMi KeyMi Power BankMi BoxMi In-Ear HeadphonesMi Power StripMi BandXiaomi 7th AnniversaryMarshmallowI Love MIUIMIUI 6FlashholicMIUI 7MIUI 2015Awesome!MIUI 8Fantastic!MIUI 2016Mi TVMi Max Mi 1Redmi 2RedmiMi PadRedmi 1SMi 3Mi NoteMi 4SMi Pad 2Mi 4iMi 5Xiaomi Mi 4Redmi 3SMi 5 ProRedmi ProMi 4cMi Note ProRedmi Note 2Mi 2Redmi Note 4Redmi 3Redmi Note 3Redmi NoteMIUI Marathon Medal900K Forum MembersHilal Ramadan Happy DiwaliSuper Thursday700K Forum MembersMIUI 5th Anniversary2100K Forum Members300K Forum Members800K Forum Members1800K Forum MembersSuper SaturdayFan Of  MIUI Azerbaijan10 Million Forum Posts3 Million Forum Members1 Million Forum App InstallsThanksgiving DayMIUI HalloweenHappy Singles' DaySuper WednesdayAtaturk MourningWomen's Day MedalMIUI Fan from Turkey2014 ChristmasHappy Valentine's DayMIUI 100 Million Users500K Forum MembersXiaomi 5th AnniversaryFan Of MIUI IndiaMIUI Fan From PhilippinesFan Of MIUI BangladeshMIUI Fan From SingaporeI Love 2016Diwali 1 Million Forum MembersMIUI Fan From BrazilMIUI 6th AnniversaryMIUI 4th AnniversaryOlympics MedalFan Of MIUI SpainPokemon Master MedalFan Of MIUI ItalyMIUI Fan From MyanmarMIUI World Tour1900K Forum MembersMIUI Fan From NepalMalaysia Anniversary1500K Forum Members1400K Forum MembersMIUI 30 Million UsersFan Of MIUI Russia1700K Forum MembersMIUI Forum AppMIUI 300 WeeksMid-Autumn FestivalMi Live MedalUEFA EURO MedalMIUI Fan From VietnamFan of MIUI MyanmarMIUI Fan from MalaysiaMIUI Fan from IndiaRooster Year of 2017Xiaomi 6th Anniversary1st AnniversaryMIUI Weekly PollHappy New YearMerry Christmas1300K Forum MembersFan Of MIUI Ex-Yu Rocket to FutureFan Of MIUI PolandMIUI Fan From Indonesia5 Million Forum PostsMiPopGamer Mi BunnySummer Mi BunnyAlpaca Mi Bunny I Love Mi BunnyMIUI Beta TeamDie-hard MIUI FanStar Of IconsAndroid GuruYouth PledgeMost Active MIUIerUpdates LoverMIUI Medals CollectorWallpaper ExpertApp StarApp TalentMi Story TellerRingtone TalentRingtone Star Pioneer of MIUI English Forum Mi Lover MedalMr. DependableWallpaper StarApp MasterStar Of TechnologyMaster Of TechnologyMIUI Wallpaper ContestTechnology GuruMi Bunny Game Master Mi TalentOTA FeedbackForum Contest LoverMIUI FB FollowerMIUI FollowerRedmi Quiz MasterMIUI Android 4.4 KitKatHumor MasterMIUI ExpertMIUI Global Forum 2014Scroll Of WisdomApp TalentMIUI G+ FollowerDebate MasterMIUI Twitter FollowerInbox ZeroAndroid Elf

02:05, May-12-2016
|
awesome share,thanks
Mi Max 3/32

Diamond Member

Rank: 5Rank: 5

Credits
1304
Device
Mi 5
MIUI Version
7.4.20
Online time
163 Hours
Send PM

Mi HeadphonesUnlock MedalMi BandMIUI 2016MIUI 2015MIUI 8MIUI 7I Love MIUIFantastic!Xiaomi Mi 4Redmi Note 3Mi 5Happy New YearMIUI 300 WeeksMerry ChristmasMIUI Weekly Poll1 Million Forum Members1500K Forum MembersAlpaca Mi Bunny Gamer Mi BunnyForum Contest LoverMaster Of TechnologyAndroid GuruStar Of TechnologyAndroid ElfDie-hard MIUI FanTechnology GuruMi Lover MedalWallpaper ExpertDebate Master

20:37, May-12-2016
|
This post was edited by egold70 at 20:39, May-12-2016

Thanks for the info
Question: what happens if you type "fastboot oem unlock" without receiving unlock confirmation from Xiaomi?
The security reasons behind locked bootloader are clear but for large user community part there is no other choice but to unlock it in order to be able to use proper language or use latest version which is available in Chinese roms only. Excellent example is Mi4`s global rom which dates 5-6 months back on 7.1.2 while China Stable is on 7.3.2 and will be shortly on 7.4 or even 8. That`s why many users prefer custom(xiaomi.eu or others) roms instead of flashing China with cumbersome gapps install and localized apps in Chinese
No real security problems noted on devices that were always unlocked as MI3, Mi4, Mi Note

Diamond Member

Rank: 5Rank: 5

Credits
731
Device
Mi 5
MIUI Version
V8.1.2.0.MAAMIDI
Online time
70 Hours
Send PM

Unlock MedalMi BandMIUI 8MIUI 2016Fantastic!Mi 55 Million Forum Posts1300K Forum Members1400K Forum Members

21:16, May-12-2016
|
thank you

Diamond Member

Rank: 5Rank: 5

Credits
1003
Device
Mi 5s Plus
MIUI Version
V8.0.1.0.MBGMIDG
Online time
76 Hours
Send PM

Mi BandMIUI 7Mi 5Xiaomi 6th Anniversary5 Million Forum PostsForum Contest LoverMi Lover MedalTechnology GuruRedmi Quiz Master

16:57, May-13-2016
|
Thank you!

Senior Member

Rank: 2

Credits
171
Device
Redmi 4 Prime
MIUI Version
V8.1.3.0.MBECNDI
Online time
124 Hours
Send PM

Yeelight Bedside LampMi BandMIUI 8I Love MIUIMIUI 7Fantastic!MIUI 2016Awesome!Redmi Note 2800K Forum MembersMIUI 2017MIUI Forum AppUEFA EURO Medal1400K Forum Members1 Million Forum MembersSummer Mi BunnyUpdates LoverMIUI FollowerMIUI Android 4.4 KitKatMi TalentTechnology GuruDie-hard MIUI FanOTA FeedbackMr. DependableAndroid ElfAndroid Guru

17:13, May-13-2016
|
Thanks for the info !!!
"Wars come and go but my soldiers stay eternal" - Tupac Shakur

Senior Member

Rank: 2

Credits
100
Device
Mi 5 Pro
MIUI Version
6.10.27
Online time
4 Hours
Send PM

1700K Forum Members

20:02, May-13-2016
|
Does anyone knows the difference between device unlocked and device critical unlocked?

My phone has Device unlocked FALSE and device critical unlocked TRUE.

Credits Management

Quick Reply Top Return to the list