Can I undo fastboot oem lock? - Xiaomi Mi 8 Questions & Answers

I blindly followed internet advice to lock the bootloader of my Mi 8 with fastboot oem lock, which bricked my phone ("The system has been destroyed"). I can't use the official unlocker as that would need a change in settings and I can't get into my phone. I can't flash anything with Mi Flash because it's locked. Fastboot is working, is there any way to undo this lock?

Hello dear insx.
Xiaomi is governed by China's government and therefore is anxious to "block" any change in its MIUI system.
Therefore, when you unlock your bootloader your device is "blocked" for modifying or installing the MIUI system.
The solution would be to contact a service center, if there is one in your area, or try to get help from Xiaomi's official site at https://c.mi.com/ (Mi Community)
Have a nice day.

Related

What to do first when I receive the phone?

Hey everyone,
I was just wondering what I need to do when i receive the device. I am in Australia and the phone might be the Chinese model.
So is there anything I have to do with the phone to make it usable as I've heard you need to flash on the global ROM.
How do I properly set up my device for use?
Thanks
MrMoistWalrus said:
Hey everyone,
I was just wondering what I need to do when i receive the device. I am in Australia and the phone might be the Chinese model.
So is there anything I have to do with the phone to make it usable as I've heard you need to flash on the global ROM.
How do I properly set up my device for use?
Thanks
Click to expand...
Click to collapse
Not easy.To flash the global version miui,you need to unblock your boolloader, then download the global package,and flash it with the miflash.But to unlock the bootloader,you need a mi account and make a Application.
MrMoistWalrus said:
Hey everyone,
I was just wondering what I need to do when i receive the device. I am in Australia and the phone might be the Chinese model.
So is there anything I have to do with the phone to make it usable as I've heard you need to flash on the global ROM.
How do I properly set up my device for use?
Thanks
Click to expand...
Click to collapse
If you bought from a chinese-based online store, most likely your device has a fake ROM. To get rid of that ROM, you need to unlock bootloader. No matter if you want to flash an official ROM or unofficial xiaomi.eu. You can try to change ROM with MIUI Updater app, but most probably it will not work from a fake ROM.
To unlock bootloader you need at least a couple of things: a xiaomi account you can create here Mi Account -> account.xiaomi.com
After you create your MI account you need to request unlock here MI Unlock en.miui.com/unlock and wait several days to be approved for unlocking. In my case it took 4 or 5 days before I received an SMS of approval.
Then download MI Unlock app (Windows) and search a manual for unlocking device (you need to activate developer options).
In order to unlock bootloader you need a Chinese ROM (stable or dev) but If I'm not wrong all 'fake' devices come with a chinese-based ROM, otherwise wouldn't be a fake ROM?
After you achieve unlocking you can flash any ROM, Global or China, unofficial like xiaomi.eu, etc..
Flash global rom without unlocking bootloader
There is a way to flash global rom without unlocking bootloader using special USB cable that you can make yourself if you still want to do so i'll gladly show you how I did with my phone.
If you are tired and irked by MIUI, I would strongly recommend you to quickly apply for Bootloader unlocking permission on the official Miui site. Afterwards, unlock your bootloader and install official TWRP recovery and a ROM of your choice such as CM14.1. That way, you will be able to experience the true "openess" and magic of Android!
You can install CyanogenMod ROM, but unfortunately you will get no updates, since project has been discontinued on Dec 31 . Their successor is http://lineageos.org/ but there's nothing on their web yet.
Do create a MiAccount.. and do remember your security pattern... what ever you intend to do next do those two things
no need to unlock bootloader.
Xiaomi flash ROM came with 2 method.
you can flash not only from fastboot mode ( bootloader mode ) but also from edl mode ( QDloader 9008 mode ).
- fastboot method need to unlock bootloader.
- EDL method not need to unlock bootloader .
EDL method even can unlock bootloader with unofficial method

ReUnlocking converted A2 (6X)

I have a converted A2 (+ARB 4), with UNLOCKED bootloader.
I read somewhere if you relock the BL , you will not able to UNLOCK it again ever after! (is it true?)
and other thing: If it try the MIUI BL Unlocker Official Application to unlock my device (even when it is still unlocked) what could be happen? (I've just followed the steps till the warning msg: "Unlocking Bootloader will erase user Data" ). (I read somewhere else that for unlocking miui devices you need to submit the request and you need to wait for a long time to get the code, and I was going to get the code for a case of necessity in future.)
I need to know how far I can play with these stuffs on my devices and left a practical way to recover a Bricked phone. ( I consider even TEST POINT as a practical option [tried once and it is damn easy and fun ] )
Im sorry bro but the actual model and serial code of your phone is a A2.And that means you probably wont unlock it it will give a hardware error.But pls try it and report.Dont worry there will be a fix!!
Tech_jetoncesaj said:
Im sorry bro but the actual model and serial code of your phone is a A2.And that means you probably wont unlock it it will give a hardware error.But pls try it and report.Dont worry there will be a fix!!
Click to expand...
Click to collapse
If it locked again my BL, what would be the solution? I didn't find any.
the mi unlock app requires a mi account with unlock permissions (account! not phone)
if you try to unlock an unlocked a2 you should either get unsuported - it's meant for miui devices - or already unlocked.
The app first checks the account and passes to further steps, then recognizes my phone, and warns me about wiping Data. ( At this step I declined and closed the app)
Your hypothesis seems correct, but if in any circumstances I would be left with relocked converted A2 , ist there any chance to reunlock it again?
that's why the test point method exists, for locked that you try to fastboot flash
I tried, and it just says: Device Unlocked, no need to reunlock again!
So now is it safe to lock my bootloader and try the app again?
if you lock the bootloader via fastboot commands it wont boot any more.
only way to safely lock is with miflash and you cannot miflash a wayne miui on a converted a2. it will see that it's the jasmine.
if you miflash the a2 fastboot rom it will relock ok - if the flashing works...might not cuz of the arb - but you wont be on miui any more.
what are you trying to do anyway?
i think what you dont understand is the unlock on miui and android one are the same end result but different steps. for miui you godda use the mi unlock, for and1 its just the dev options switch
laviniu_c said:
if you lock the bootloader via fastboot commands it wont boot any more.
Click to expand...
Click to collapse
So if I run the command and re-lock it by Fastboot, how can I re-unlock it again?
laviniu_c said:
only way to safely lock is with miflash and you cannot miflash a wayne miui on a converted a2. it will see that it's the jasmine.
if you miflash the a2 fastboot rom it will relock ok - if the flashing works...might not cuz of the arb - but you wont be on miui any more.
Click to expand...
Click to collapse
So do you mean there is no safety way to re-lock a converted A2 which runs MIUI ?
(and If I had a Banking app which needs a Locked BL to work, there will be no chance to run it at all?)
laviniu_c said:
what are you trying to do anyway?
Click to expand...
Click to collapse
As I said I want to know all the aspects of practical ways to deal with my phone, right now I am totally happy with it, but actually the opportunity of dealing with all these technical stuffs convinced me to buy this phone.
laviniu_c said:
i think what you dont understand is the unlock on miui and android one are the same end result but different steps. for miui you godda use the mi unlock, for and1 its just the dev options switch
Click to expand...
Click to collapse
I've heard that some ROMs may re-lock the phone, since then I would like to know if in any circumstances I would be stuck on that situation how can I re-unlock my phone.
any official miui rom that has the firmware folder in it might do it for example, so will bad ports....
try to use the magisk hide options to fix the banking app, add it to the list of apps for which it specifically hides root. add also the google services and make sure you pass the safetynet tests and your device shows as certified in the playstore settings. i think there were some modules to fix the bl check
laviniu_c said:
any official miui rom that has the firmware folder in it might do it for example, so will bad ports....
Click to expand...
Click to collapse
So lets assume it has been happened, what would be the procedure to rescue my phone? since as you said if the BL locked again it will not boot to OS.
laviniu_c said:
try to use the magisk hide options to fix the banking app, add it to the list of apps for which it specifically hides root. add also the google services and make sure you pass the safetynet tests and your device shows as certified in the playstore settings. i think there were some modules to fix the bl check
Click to expand...
Click to collapse
I would'nt like to root the phone, isn't there any other option?
if you lock the bootloader with any kind of non official rom for your phone (i.e. jasmine_sprout) which in your case is android one it wont boot. the end. only way out of that is the edl mode and miflash. that's the basic difference between locked and unlocked, it checks what os it loads and it makes sure the loaded os is the official rom for the phone. converting the a2 means it needs to be unlocked and you load a rom that's a ported miui10 from wayne to jasmine_sprout. if you flash the full rom, that has the locked bootloader from wayne which will fail to start since:
1 - the phone still isnt wayne
2- the rom isnt quite the official one (since it's renamed to work on jasmine)
3 - even if the phone was fully wayne, you dont really want the official mi 6x rom since that's china only. i.e. no google services
the only unknown in all this is the ARB, but edl should ignore that.
somehow i was under the impression you already have magisk (root/hide) up and running on the converted miui 10. yes, there are good miui 10 ports (for example xiaomi.eu) that give you the miui experience on a2 except they will never have the full ota support that the official rom has.
my advice? stick to the stock a2 rom. locked and full stock. the moment you need to start experimenting is when the android one support stops OR if you really want root.
if you wanted miui and you're outside china, mi 6x is still NOT the way to go. cuz it doesnt have an official global rom anyway. i dont get why everyone is jumping through hoops to get unofficial roms installed with stock support available.
laviniu_c said:
if you lock the bootloader with any kind of non official rom for your phone (i.e. jasmine_sprout) which in your case is android one it wont boot. the end. only way out of that is the edl mode and miflash.
Click to expand...
Click to collapse
So please consider these situations:
The phone is A2 converted to 6X &
The BL has been re-locked &
ARB 4 has been triggered
how can I use EDL mode to unlock it?
(I think miflash would not help because the LOCKED BL and the phone is actually A2)
(I think also Fastboot wont be able to unlock it since it is A2 Converted to 6X)
laviniu_c said:
yes, there are good miui 10 ports (for example xiaomi.eu) that give you the miui experience on a2 except they will never have the full ota support that the official rom has.
Click to expand...
Click to collapse
I'm afraid but I didt't get the point, now every week I receive Pie beta updates (besides there are stable versions too) which actually stable enough, almost Bug & Lag Free (it differs Rom to Rom, but believe me it is COOL ) , and by PitchBlack you can use direct update. (I prefer to install it by myself since I LOVE TWRP & its child PB). so what exactly we miss of original OTA service of XIAOMI?
laviniu_c said:
my advice? stick to the stock a2 rom. locked and full stock. the moment you need to start experimenting is when the android one support stops OR if you really want root..
Click to expand...
Click to collapse
But I think it wouldn't be an option for who has triggered ARB4! isn't it? (I read when you got ARB4 you must forget AndroidOne! even TestPoint won't help)
laviniu_c said:
if you wanted miui and you're outside china, mi 6x is still NOT the way to go. cuz it doesnt have an official global rom anyway. i dont get why everyone is jumping through hoops to get unofficial roms installed with stock support available.
Click to expand...
Click to collapse
Again I didn't get what do you mean, could you please explain it a bit more? (since my current MIUI 10.4 has almost everything)
http://bigota.d.miui.com/V10.0.2.0....0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz this should work with the testpoint/edl method and miflash. (unless arb does something to stop it)
there's a few problems with your approach.
1) not official. any time the guys maintaining the custom rom can decide to stop producing it.
2) all work into these custom roms is voluntary. are they sometime better? sure, never said they werent but again, xiaomi/google/android have far far more resources at their disposal and while the phone is under the official period it will be maintained.
3) did you bother to read the first lines in any custom rom? they take 0 responsibility for whatever happens to your phone. they do not intend to break it, but they dont have to support you if you're in trouble either. if you dont have a valid warranty, that's understandable, you don't lose anything. but guess what? there are official vendors for xiaomi all over the world, offering official warranty. that holds as long as you're on STOCK.
4) though most custom roms are well intended, there is nothing assuring you there's nothing inside there that you dont want installed. you move your trust from xiaomi/google/android (which you can hold accountable) to whoever made that rom (who just carpet say, it's your phone you're doing the flashing, anything happens you're on your own). in most cases those devs don't mean harm, but they could and there's nothing to stop them (and they would never put in the hours of work if there was accountability for their action - i perfectly understand them. it's sortof like, i can try to do this, but because my work is not paid for by the end user they do not have any hold over me. it's correct and yet at the same time it's very very dangerous.). ever seen a custom miui built by a shop? i have, it's packed full of junk, bugs and malware. another thing here is testing. the official rom goes through a bunch of tests/beta versions. not saying it's perfect but it's better then the "known bugs: you tell me". custom rom devs cannot do it any other way, they dont have the time to test or the team to test.
5) the official devs don't have this option, they have a job and do it. it's a completely different approach.
this is not a rant against custom rom devs, i understand them 100%, they're trying to help. what i'm saying is there's always 2 sides to each story. there's no right or wrong, there's just what's best for each user. some of us will want the safe and easy way of the stock roms. some will want custom roms. in the end everyone is doing what they choose with their phone.
laviniu_c said:
http://bigota.d.miui.com/V10.0.2.0....0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz this should work with the testpoint/edl method and miflash. (unless arb does something to stop it)
Click to expand...
Click to collapse
I think it will not work, the Actual duty of ARB4 is to preventing you to use these things! as much as I know after ARB4 you have two options: MIUI 10 or custom ROMs such as Havoc or so, for AndroidONE we need to wait a version of AndroidONE which be compatible with ARB4! otherwise flashing STOCK AndroidONE will simply brick your phone! THE whole IDEA of this THREAT is this!
And BTW as much as I know XIAOMI.EU is cooperating now with the XIAOMI ! besides we do not keep a phone for a whole life time, 2-3 years of supports would be far enough. and they do offer it right now!
and I would like to lock the BL for further security reasons but it seems to be impossible so far otherwise someone suggests a practical way for it.
I guess you need to contact me.
sz.hatef said:
If it locked again my BL, what would be the solution? I didn't find any.
Click to expand...
Click to collapse
Hey its not very good to talk here in xda.We can try some methods!
Chat with me in telegram.
 @blackgryphon1
Dont worry about brick,bcz im the only one who can unbrick,downgrade a xiaomi phone even if its arb4.
Feel free to contact me.
Also join my group i will be there too.
Since i cant post links,search this on telegram <<its my group>><<iT HAS A BLACK PHONE WALLPAPER AND IT HAS 86 MEMBERS!
Mi A2 & Mi 6X
Tech_jetoncesaj said:
Hey its not very good to talk here in xda.We can try some methods!
Chat with me in telegram.
@blackgryphon1
Dont worry about brick,bcz im the only one who can unbrick,downgrade a xiaomi phone even if its arb4.
Feel free to contact me.
Also join my group i will be there too.
Since i cant post links,search this on telegram <<its my group>><<iT HAS A BLACK PHONE WALLPAPER AND IT HAS 86 MEMBERS!
Mi A2 & Mi 6X
Click to expand...
Click to collapse
Just as I said, I would like to know the possible ways, currently I haven't any problem, could you explain it a bit , how could it possible to reunlock my BL if it get locked on MIUI?
ahem.
There is NO way to unlock an A2 device that has been converted to an 6X with ARB anti 4.
Your bootloaders are important in this case (xbl.elf and abl.elf). ARB and bootloader status is also managed here.
If you are using A2, with 6X system without ARB anti 4, that phone uses A2 bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will still accept any flashes without authentication. You may or may not be able to unlock it again through fastboot.
If you are using A2, with 6X system and firmware with ARB anti 4, that phone uses 6X bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will not accept any flashes without authentication*. You cannot unlock the phone through fastboot**.
*There is a workaround to this but you need to open your phone's back.
**Because MIUI devices need Mi Unlock to be unlocked, and Mi Unlock wants you to log in, and the system is not accessible, your phone will stay bricked.
You can still unbrick the phone with the above workaround, but you will be stuck with China MIUI and won't be able to unlock your phone's bootloader even if you logged in because your phone is not registered on Mi Unlock database (since Android One devices do not need/use Mi Unlock because of Google's enforcements).
Too long, didn't read?
Do not attempt to lock your phone. Even if you are on fully stock with your phone's own firmware. Locking is extremely risky due to the fact that even unlocking the bootloader corrupts the system integrity in some way.
Letzen said:
ahem.
There is NO way to unlock an A2 device that has been converted to an 6X with ARB anti 4.
Your bootloaders are important in this case (xbl.elf and abl.elf). ARB and bootloader status is also managed here.
If you are using A2, with 6X system without ARB anti 4, that phone uses A2 bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will still accept any flashes without authentication. You may or may not be able to unlock it again through fastboot.
If you are using A2, with 6X system and firmware with ARB anti 4, that phone uses 6X bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will not accept any flashes without authentication*. You cannot unlock the phone through fastboot**.
*There is a workaround to this but you need to open your phone's back.
**Because MIUI devices need Mi Unlock to be unlocked, and Mi Unlock wants you to log in, and the system is not accessible, your phone will stay bricked.
You can still unbrick the phone with the above workaround, but you will be stuck with China MIUI and won't be able to unlock your phone's bootloader even if you logged in because your phone is not registered on Mi Unlock database (since Android One devices do not need/use Mi Unlock because of Google's enforcements).
Too long, didn't read?
Do not attempt to lock your phone. Even if you are on fully stock with your phone's own firmware. Locking is extremely risky due to the fact that even unlocking the bootloader corrupts the system integrity in some way.
Click to expand...
Click to collapse
Thanks a lot, it explains everything and totally sounds right to me,
Just couple questions:
so in any circumstances it could be again usable just with a Chinese ROM, and so there will be no way to install Google Play on it, since there will be no custom recovery , no root accessibility , ... , It will be for ever with a Pure Chinese ROM (which practically would be unusable for us). Am I right?
Considering above situation, sending the device to a Xiaomi Center could help us to get back to any kind of global ROM (AndroidONE / MIUI) or not?
Right now I am totally happy with Xiaomi.eu MIUI BETA roms, no need to switch to other projects, I need to know is there any chance to stuck with a locked BL while attempting the new Beta ROMs? I use PitchBlack to flash new ROMs every week. Or if I want to ask it in short: How to prevent to get a Locked BL?
Thanks a lot again.
sz.hatef said:
Thanks a lot, it explains everything and totally sounds right to me,
Just couple questions:
so in any circumstances it could be again usable just with a Chinese ROM, and so there will be no way to install Google Play on it, since there will be no custom recovery , no root accessibility , ... , It will be for ever with a Pure Chinese ROM (which practically would be unusable for us). Am I right?
Considering above situation, sending the device to a Xiaomi Center could help us to get back to any kind of global ROM (AndroidONE / MIUI) or not?
Right now I am totally happy with Xiaomi.eu MIUI BETA roms, no need to switch to other projects, I need to know is there any chance to stuck with a locked BL while attempting the new Beta ROMs? I use PitchBlack to flash new ROMs every week. Or if I want to ask it in short: How to prevent to get a Locked BL?
Thanks a lot again.
Click to expand...
Click to collapse
does flashing a MIUI.eu beta ROM without deleting the firmware folder lock the bootloader ?
what's the benefit from not deleting the firmware folder?
i'm using a converted MI A2
thanks

Bootloader locked automatically

My redmi 4x (santoni) have twrp installed and I it is running on miui pro rom. But it's bootloader locking automatically after enabling usb debugging and switching off the phone. I can't boot into recovery and system, can only boot into fastboot mode, and I have to use mi flash tool to unlock bootloader again.
If someone face this problem, is there any solution of this. Please reply.
Thank you.
Bootloader can only be locked on all available official MIUI ROM, it can not be locked on modified MIUI versions.
There is no way that it'll get locked by itself by turning on USB Debugging and switching off phone. to lock unlocked bootloader one has to clean flash from Mi flash tools and needs to select lock bootloader before flashing.
I don't know how are you able to unlock bootloader on Mi flash tools because to unlock it official way one will need Mi unlock tool with permission from xiaomi(depending on region)
First make sure you are not on fake MIUI if so then flash official one through mi flash tools and then unlock it by mi unlock tools.
Once it is unlocked as i said earlier there is no way that it will get locked itself unless you choose to lock via mi flash tools.
about unlocking again
sorry for mistake, I have to use mi unlock tool again with my mi account signed in to unlock the bootloader again. And can't unlock by fastboot command "fastboot oem unlock".
yuyutsu said:
sorry for mistake, I have to use mi unlock tool again with my mi account signed in to unlock the bootloader again. And can't unlock by fastboot command "fastboot oem unlock".
Click to expand...
Click to collapse
I still do not get it what exact issue you have and what version of MIUI you are on.
You are saying you are on MIUI Pro and that confirms bootloader is unlocked and now you are saying
"I have to use mi unlock tool again with my mi account signed in to unlock the bootloader again. And can't unlock by fastboot command "fastboot oem unlock"
Click to expand...
Click to collapse
Please share exact and more details if you wish to resolve your issue and possibly some screenshot(s) of about phone and errors if any.
metelhammer said:
I still do not get it what exact issue you have and what version of MIUI you are on.
You are saying you are on MIUI Pro and that confirms bootloader is unlocked and now you are saying
Please share exact and more details if you wish to resolve your issue and possibly some screenshot(s) of about phone and errors if any.
Click to expand...
Click to collapse
I have a similar issue and came across this thread, usb debugging suddenly stopped working, it was working perfectly till yesterday. So when I went to developer options, I saw that the OEM unlocking option is clickable now ( it had remained grayed out ever since I unlocked the bootloader ). The Mi Unlock status option tells me that phone is locked. Toggling usb debugging is not making it work. When I restart the phone, I definitely see the unlocked padlock icon on the boot screen. So I am not sure what is going on. also, magisk is working fine.
In the screenshot you can see that it shows the device is locked. But from the status bar you can make out that exposed is working. I'll have to get another device though to get a picture of the padlock icon though.
Ontropy said:
I have a similar issue and came across this thread, usb debugging suddenly stopped working, it was working perfectly till yesterday. So when I went to developer options, I saw that the OEM unlocking option is clickable now ( it had remained grayed out ever since I unlocked the bootloader ). The Mi Unlock status option tells me that phone is locked. Toggling usb debugging is not making it work. When I restart the phone, I definitely see the unlocked padlock icon on the boot screen. So I am not sure what is going on. also, magisk is working fine.
In the screenshot you can see that it shows the device is locked. But from the status bar you can make out that exposed is working. I'll have to get another device though to get a picture of the padlock icon though.
Click to expand...
Click to collapse
Toggle OEM unlock enabled doesn´t mean that the device is unlocked, it only means that the bootloader can be unlocked, there is other item just lines after to check it; Mi Unlock status, enter to it and confirm it.
Also, you can confirm the bootloader status through fastboot with fastboot oem device-info
SubwayChamp said:
Toggle OEM unlock enabled doesn´t mean that the device is unlocked, it only means that the bootloader can be unlocked, there is other item just lines after to check it; Mi Unlock status, enter to it and confirm it.
Also, you can confirm the bootloader status through fastboot with fastboot oem device-info
Click to expand...
Click to collapse
Yea as I mentioned, the mi unlock status tells me that phone is locked.
Just check via fastboot, and it shows that phone is unlocked.
So do I just believe fastboot, or wait a month and then try to again unlock the bootloader via the mi unlock tool?
Ontropy said:
Yea as I mentioned, the mi unlock status tells me that phone is locked.
Just check via fastboot, and it shows that phone is unlocked.
So do I just believe fastboot, or wait a month and then try to again unlock the bootloader via the mi unlock tool?
Click to expand...
Click to collapse
You said "In the screenshot you can see that it shows the device is locked" but unfortunately the screenshot didn´t reveal that, I wonder, what exactly it says in the Mi Unlock status apart.
In older days, users share an aboot image, this served to unlock bootloader automatically without make the official process to unlock it, it could be that you flashed the official stock images, and it got re-locked. Anyway, we don´t know what happened with the fastboot command or with the Mi Unlock status section, so no respond to those points.
For the part you say to wait a certain time, definitely, no, the bootloader process is not monitored any more, for older devices, they can be unlocked instantly.
SubwayChamp said:
You said "In the screenshot you can see that it shows the device is locked" but unfortunately the screenshot didn´t reveal that, I wonder, what exactly it says in the Mi Unlock status apart.
In older days, users share an aboot image, this served to unlock bootloader automatically without make the official process to unlock it, it could be that you flashed the official stock images, and it got re-locked. Anyway, we don´t know what happened with the fastboot command or with the Mi Unlock status section, so no respond to those points.
For the part you say to wait a certain time, definitely, no, the bootloader process is not monitored any more, for older devices, they can be unlocked instantly.
Click to expand...
Click to collapse
My phone is about a month old, so it does tell me to wait. Contradictory screenshots attached below. After the boot unlock, I did flash flash a magisk edited boot.img and vbmeta.img to disable it. If I remember correctly though it was fine after that.

Some questions about flashing ROM so I would not end up in EDL again.

Hello, I have a few questions about flashing rom just to make sure I wouldn't end up in EDL mode again. First, let me tell something. I have bought my K20 pro on Aliexpress which come with a firmware that mark as MI 9T pro with bootloader unlocked but without TWRP install. I have tried to flash Android Q beta though fastboot without using the option Flash & Lock but i was end up in locked bootloader and then i got it fixed through EDL mode by paying someone from Russia who i don't know the name. Later on, I got another bad luck again by upgrading my official Chinese firmware through OTA and then the phone suddenly shutdown in the middle of the process which break both my recovery and fastboot so i have to go through EDL again. So, my questions are:
1. If i flash anything such as magisk, viper, or upgrade my xiaomi.eu firmware through TWRP, will something like my second story occur again? Or, does flashing through TWRP will brick both recovery and fastboot in the same or similar case?
2. After EDL mode, bootloader was unlocked by default so, what can I do to bind my MI account with the device? Because in case it locked again, then I can use xiaomi bootloader unlock tools to unlock it. In the first story, the device come with bootloader unlocked, and after flashed Android Q beta, the bootloader was triggered and locked so then I tried to unlocked it but Xiaomi bootloader unlock tools told me that my account is not bind to this device.
3. If i flash magisk, then do i need to always re-flash it on every system upgrade(xiaomi eu firmware)?
supaea said:
Hello, I have a few questions about flashing rom just to make sure I wouldn't end up in EDL mode again. First, let me tell something. I have bought my K20 pro on Aliexpress which come with a firmware that mark as MI 9T pro with bootloader unlocked but without TWRP install. I have tried to flash Android Q beta though fastboot without using the option Flash & Lock but i was end up in locked bootloader and then i got it fixed through EDL mode by paying someone from Russia who i don't know the name. Later on, I got another bad luck again by upgrading my official Chinese firmware through OTA and then the phone suddenly shutdown in the middle of the process which break both my recovery and fastboot so i have to go through EDL again. So, my questions are:
1. If i flash anything such as magisk, viper, or upgrade my xiaomi.eu firmware through TWRP, will something like my second story occur again? Or, does flashing through TWRP will brick both recovery and fastboot in the same or similar case?
2. After EDL mode, bootloader was unlocked by default so, what can I do to bind my MI account with the device? Because in case it locked again, then I can use xiaomi bootloader unlock tools to unlock it. In the first story, the device come with bootloader unlocked, and after flashed Android Q beta, the bootloader was triggered and locked so then I tried to unlocked it but Xiaomi bootloader unlock tools told me that my account is not bind to this device.
3. If i flash magisk, then do i need to always re-flash it on every system upgrade(xiaomi eu firmware)?
Click to expand...
Click to collapse
1. In theory flashing with TWRP shouldn't touch the fastboot or recovery partitions, unless you choose to. If you know what you're doing, then flashing with TWRP is reasonably safe.
2. You could try flashing an official Chinese fastboot ROM and locking the bootloader, then link it to your account. Don't try and install anything else, live with the official Chinese ROM and go through the normal unlock process. Once you've waited and got unlock permission for the phone against your Mi account, then unlock and install the ROM of your choice along with anything else.
But this does come with a small risk that the phone is still linked to the sellers account.
3. I went straight from stock to a GSI, so not sure about eu ROMs. If they have an OTA process that downloads then installs via TWRP (similar to official LOS), then it's possible Magisk will re-install at the same time. Someone who uses eu ROMs will need to confirm what happens.
For anything else, you'll needed to re-install Magisk.
Robbo.5000 said:
2. You could try flashing an official Chinese fastboot ROM and locking the bootloader, then link it to your account. Don't try and install anything else, live with the official Chinese ROM and go through the normal unlock process. Once you've waited and got unlock permission for the phone against your Mi account, then unlock and install the ROM of your choice along with anything else.
But this does come with a small risk that the phone is still linked to the sellers account.
Click to expand...
Click to collapse
I believe it is a risky method because if the bootloader is locked the phone might brick again and I have to do EDL again too. I wish if there is a safer method, because I experienced EDL mode twice already and it is terrible and need to pay lot of money just to fix it. :crying:
supaea said:
I believe it is a risky method because if the bootloader is locked the phone might brick again and I have to do EDL again too. I wish if there is a safer method, because I experienced EDL mode twice already and it is terrible and need to pay lot of money just to fix it. :crying:
Click to expand...
Click to collapse
Flashing an official fastboot ROM in the Mi Flash Tool and selecting 'clean all and lock' "shouldn't" brick the phone. If you're on an official Chinese ROM, then going through the standard unlock process "shouldn't" brick the phone.
The biggest risk in doing this would be finding that the phone is still linked to the sellers account.
If you want to be able to unlock the bootloader with your own Mi account, should it get locked again, then this is your only option.
However, you could leave it as it is and just make sure you never lock it again.
Robbo.5000 said:
Flashing an official fastboot ROM in the Mi Flash Tool and selecting 'clean all and lock' "shouldn't" brick the phone. If you're on an official Chinese ROM, then going through the standard unlock process "shouldn't" brick the phone.
The biggest risk in doing this would be finding that the phone is still linked to the sellers account.
If you want to be able to unlock the bootloader with your own Mi account, should it get locked again, then this is your only option.
However, you could leave it as it is and just make sure you never lock it again.
Click to expand...
Click to collapse
I see. It's too bad to get an unlocked phone. I will need to be more careful next time buying a new phone.

Mi9 brick after bootloader locking

Hello. I used this method to lock bootloader in chinese version of Mi9:
in.c.mi.com/thread-1392662-1-0.html
Something went wrong and after that only recovery menu and fastboot is available. At the bottom of the screen appears a message "This version of MIUI can't be installed on this device.". Bootloader is locked now but MIUI is not starting.
I tried to unlock bootloader with Mi Unlock. Unlocking status: "Please add your account in MIUI's Settings > Developer options > Mi Unlock status." Unfortunetly I can't go to MIUI's settings because MIUI is not starting.
I was trying to force ROM installation (global, chinese, eea, stable, developer) using XiaoMiTool and FastFlash - not working.
Also I was trying to sideload MIUI using XiaomiADB - not working.
Bootloader is locked so fastboot mode is useless in this situation I guess.
Screen:
imagizer.imageshack.com/v2/xq90/921/aVyY9x.jpg
I'm a new user on this forum so I can't post outside links in messages so that's why I pasted the links as you see. Sorry.
Anyway help me please! Thank you in advance for any help or clue.
Just to get the background: Why did you lock the bootloader? I can't see any reason to do this after unlocking.
gerhard_wa said:
Just to get the background: Why did you lock the bootloader? I can't see any reason to do this after unlocking.
Click to expand...
Click to collapse
Because the banking applications didn't work with unlocked bootloader. I thought this is the easiest method. Now I know it's not. To be honest I was lazy and I didn't want to use twrp and magisk...
lk01 said:
Hello. I used this method to lock bootloader in chinese version of Mi9:
in.c.mi.com/thread-1392662-1-0.html
Something went wrong and after that only recovery menu and fastboot is available. At the bottom of the screen appears a message "This version of MIUI can't be installed on this device.". Bootloader is locked now but MIUI is not starting.
I tried to unlock bootloader with Mi Unlock. Unlocking status: "Please add your account in MIUI's Settings > Developer options > Mi Unlock status." Unfortunetly I can't go to MIUI's settings because MIUI is not starting.
I was trying to force ROM installation (global, chinese, eea, stable, developer) using XiaoMiTool and FastFlash - not working.
Also I was trying to sideload MIUI using XiaomiADB - not working.
Bootloader is locked so fastboot mode is useless in this situation I guess.
Screen:
imagizer.imageshack.com/v2/xq90/921/aVyY9x.jpg
I'm a new user on this forum so I can't post outside links in messages so that's why I pasted the links as you see. Sorry.
Anyway help me please! Thank you in advance for any help or clue.
Click to expand...
Click to collapse
You have locked bootloader on Chines device with global/EEA... etc. (not Chines official ROM), you can't do that. As i saw in other threads there is a simple solution with authorized account and EDL flash. If it won't work the only solution is opening your device and connect some contacts with a pin and then EDL flash, there is a lot of videos about that on youtube.
g_seva said:
You have locked bootloader on Chines device with global/EEA... etc. (not Chines official ROM), you can't do that. As i saw in other threads there is a simple solution with authorized account and EDL flash. If it won't work the only solution is opening your device and connect some contacts with a pin and then EDL flash, there is a lot of videos about that on youtube.
Click to expand...
Click to collapse
Thank you g_seva. I will try that.
Oh, try mi flash tool beta first. It doesn't require you to login and use the Chinese Rom Global.
GO to recovery and use 'Mi Assistant', plug to PC, use the Mi Flash Tool (beta) if the most recent one is not working. On set it will tell you that you can't install the rom, there will be an error like you can't modify or change but you should be able to do it since you are installing an original Chinese Rom.
Give it a try first.

Categories

Resources