Xiaomi MIUI Official Forum

Moderator

Mods are not Xiaomi employees

Rank: 7Rank: 7Rank: 7

Credits
25611
Device
Mi 5
MIUI Version
7.5.23
Online time
886 Hours
Send PM

Mi VR HeadsetMi Power StripMi HomeMi  BunnyMi KeyMi Power BankMi BandMi Band 2Unlock MedalXiaomi 6 LaunchXiaomi 7th AnniversaryMIUI 6I Love MIUIMIUI Devices ContestAwesome!Fantastic!MIUI 8FlashholicMIUI 2016MIUI 2015Mi 5Mi NoteMi 3Xiaomi Mi 4Super Tuesday300K Forum Members500K Forum Members5 Million Forum Posts5 Million Forum App Installs800K Forum MembersUEFA EURO MedalMIUI 5th AnniversaryHilal Ramadan 1300K Forum Members700K Forum MembersXiaomi 6th AnniversaryMIUI 100 Million UsersFan Of MIUI India1 Million Forum MembersMIUI Fan from IndiaMIUI Fan from MalaysiaThanksgiving DayMerry Christmas2014 ChristmasXiaomi 5th Anniversary3500K Forum MembersMIUI 300 WeeksMIUI Drawing TalentHappy New YearSurge S1MIUI 20171 Million Forum App InstallsRocket to FutureRooster Year of 2017Women's Day MedalSuper WednesdaySuper ThursdayMIUI Happy MedalSuper FridayHappy Holi MedalSuper Monday10 Million Forum Posts3 Million Forum MembersSuper SaturdayMIUI 4th Anniversary1500K Forum Members1400K Forum Members1800K Forum Members1700K Forum MembersMIUI Forum AppHappy Valentine's DayMid-Autumn FestivalDiwali Happy DiwaliI Love 2016Pokemon Master MedalSuper Sunday2100K Forum Members1900K Forum Members600K Forum MembersMIUI 6th AnniversaryI Love Mi BunnyGamer Mi BunnySummer Mi BunnyMiPopAlpaca Mi Bunny MIUI Beta TeamDie-hard MIUI FanMIUI Global Forum 2014Forum Contest LoverOTA FeedbackMIUI FB FollowerYouth PledgeMi Lover MedalMIUI SuperstarMIUI Twitter FollowerMIUI G+ 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]
135105 288 |
02:08, May-11-2016 | From PC
|
|
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.



Favorite167 Share

Rated by 75 people   Experience Prestige Reason  

MiPhoneOwner + 1 Fantastic!
UVPhone + 1 Great!
1683497491 + 1 Thanks!
BrunoF5 + 1 Great!
claribaonweb + 1 Thanks for this guide :)
wocke + 1 Thanks!
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!

Experience +115  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 | From PC
|
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
91
Device
Mi 5
MIUI Version
V8.2.2.0.NAACNEB
Online time
30 Hours
Send PM

Xiaomi 7th AnniversaryMi 5MIUI 2017

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
25611
Device
Mi 5
MIUI Version
7.5.23
Online time
886 Hours
Send PM

Mi VR HeadsetMi Power StripMi HomeMi  BunnyMi KeyMi Power BankMi BandMi Band 2Unlock MedalXiaomi 6 LaunchXiaomi 7th AnniversaryMIUI 6I Love MIUIMIUI Devices ContestAwesome!Fantastic!MIUI 8FlashholicMIUI 2016MIUI 2015Mi 5Mi NoteMi 3Xiaomi Mi 4Super Tuesday300K Forum Members500K Forum Members5 Million Forum Posts5 Million Forum App Installs800K Forum MembersUEFA EURO MedalMIUI 5th AnniversaryHilal Ramadan 1300K Forum Members700K Forum MembersXiaomi 6th AnniversaryMIUI 100 Million UsersFan Of MIUI India1 Million Forum MembersMIUI Fan from IndiaMIUI Fan from MalaysiaThanksgiving DayMerry Christmas2014 ChristmasXiaomi 5th Anniversary3500K Forum MembersMIUI 300 WeeksMIUI Drawing TalentHappy New YearSurge S1MIUI 20171 Million Forum App InstallsRocket to FutureRooster Year of 2017Women's Day MedalSuper WednesdaySuper ThursdayMIUI Happy MedalSuper FridayHappy Holi MedalSuper Monday10 Million Forum Posts3 Million Forum MembersSuper SaturdayMIUI 4th Anniversary1500K Forum Members1400K Forum Members1800K Forum Members1700K Forum MembersMIUI Forum AppHappy Valentine's DayMid-Autumn FestivalDiwali Happy DiwaliI Love 2016Pokemon Master MedalSuper Sunday2100K Forum Members1900K Forum Members600K Forum MembersMIUI 6th AnniversaryI Love Mi BunnyGamer Mi BunnySummer Mi BunnyMiPopAlpaca Mi Bunny MIUI Beta TeamDie-hard MIUI FanMIUI Global Forum 2014Forum Contest LoverOTA FeedbackMIUI FB FollowerYouth PledgeMi Lover MedalMIUI SuperstarMIUI Twitter FollowerMIUI G+ 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 | From PC
|
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
117
Device
Mi 5 Pro
MIUI Version
V8.2.2.0.NAAMIEB
Online time
5 Hours
Send PM
17:48, Jan-03-2017 | From PC
|
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
25611
Device
Mi 5
MIUI Version
7.5.23
Online time
886 Hours
Send PM

Mi VR HeadsetMi Power StripMi HomeMi  BunnyMi KeyMi Power BankMi BandMi Band 2Unlock MedalXiaomi 6 LaunchXiaomi 7th AnniversaryMIUI 6I Love MIUIMIUI Devices ContestAwesome!Fantastic!MIUI 8FlashholicMIUI 2016MIUI 2015Mi 5Mi NoteMi 3Xiaomi Mi 4Super Tuesday300K Forum Members500K Forum Members5 Million Forum Posts5 Million Forum App Installs800K Forum MembersUEFA EURO MedalMIUI 5th AnniversaryHilal Ramadan 1300K Forum Members700K Forum MembersXiaomi 6th AnniversaryMIUI 100 Million UsersFan Of MIUI India1 Million Forum MembersMIUI Fan from IndiaMIUI Fan from MalaysiaThanksgiving DayMerry Christmas2014 ChristmasXiaomi 5th Anniversary3500K Forum MembersMIUI 300 WeeksMIUI Drawing TalentHappy New YearSurge S1MIUI 20171 Million Forum App InstallsRocket to FutureRooster Year of 2017Women's Day MedalSuper WednesdaySuper ThursdayMIUI Happy MedalSuper FridayHappy Holi MedalSuper Monday10 Million Forum Posts3 Million Forum MembersSuper SaturdayMIUI 4th Anniversary1500K Forum Members1400K Forum Members1800K Forum Members1700K Forum MembersMIUI Forum AppHappy Valentine's DayMid-Autumn FestivalDiwali Happy DiwaliI Love 2016Pokemon Master MedalSuper Sunday2100K Forum Members1900K Forum Members600K Forum MembersMIUI 6th AnniversaryI Love Mi BunnyGamer Mi BunnySummer Mi BunnyMiPopAlpaca Mi Bunny MIUI Beta TeamDie-hard MIUI FanMIUI Global Forum 2014Forum Contest LoverOTA FeedbackMIUI FB FollowerYouth PledgeMi Lover MedalMIUI SuperstarMIUI Twitter FollowerMIUI G+ 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 | From PC
|
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 | From PC
|
Thnx For Sharing it

MIUI Beta Team - Global

Rank: 6Rank: 6

Credits
2164
Device
Mi 5
MIUI Version
7.5.19
Online time
81 Hours
Send PM

Mi In-Ear HeadphonesXiaomi 6 LaunchMi HeadphonesMi Power BankMIUI 2016I Love MIUIMIUI 8Awesome!Fantastic!MarshmallowMIUI Devices ContestMi 4cMi 5MIUI Forum AppHilal Ramadan Rocket to FutureXiaomi 6th Anniversary5 Million Forum Posts1300K Forum MembersMIUI 2017MIUI Lucky FridayMIUI 6th AnniversaryMIUI 300 Weeks300K Forum MembersOlympics MedalPokemon Master MedalMIUI Beta TeamRingtone Star MIUI KingDie-hard MIUI FanTechnology GuruMi Lover MedalAndroid ElfScroll Of WisdomDebate MasterHumor Master

02:50, May-11-2016 | From PC
|
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.4.20
Online time
34 Hours
Send PM

Awesome!1400K Forum MembersDebate MasterDie-hard MIUI Fan

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

MIUI Beta Team - China

❤❤❤ MIUI ❤❤❤

Rank: 6Rank: 6

Credits
23400
Device
Mi Max 32GB
MIUI Version
7.5.18
Online time
939 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 | From PC
|
awesome share,thanks
Mi Max 3/32

Diamond Member

Rank: 5Rank: 5

Credits
1399
Device
Mi 5
MIUI Version
7.5.18
Online time
169 Hours
Send PM

Xiaomi 6 LaunchUnlock MedalMi HeadphonesMi BandMIUI 8MIUI 2015MIUI 2016MIUI 7Fantastic!I Love MIUIXiaomi Mi 4Redmi Note 3Mi 5MIUI 300 Weeks1 Million Forum MembersHappy New YearMerry ChristmasMIUI Weekly Poll1500K Forum MembersAlpaca Mi Bunny Gamer Mi BunnyMaster Of TechnologyDie-hard MIUI FanAndroid GuruAndroid ElfMi Lover MedalTechnology GuruDebate MasterForum Contest LoverStar Of TechnologyWallpaper Expert

20:37, May-12-2016 | From PC
|
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 | From PC
|
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 | From PC
|
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 | From PC
|
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 | From PC
|
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