[PROBLEM] Unable to access Mi5 after lockdown - Xiaomi Mi 5 Questions & Answers

My phone had a global stock rom and yesterday updated it to MIUI 8 Global Stable ROM V8.2.2.0.NAAMIEB via OTA (new device).
Secured it with fingerprint and a long password. (why oh why)
The phone is not in developer mode I can remember because last security check it did automatically disabled it and I didn't enabled it back on.
It has fastboot installed but is not rooted.
The phone is encrypted and after reboot asks first for password to be entered but it doesn't recognize the passw I set (my fault probably although I don't understand how because I first saved it into keepass)
Any hacks/solutions because adb or fastboot doesn't recognize the device without dev options/usb debugging ??

Is the bootloader locked or unlocked?
You can format data in TWRP to decrypt data.

Potato997 said:
Is the bootloader locked or unlocked?
You can format data in TWRP to decrypt data.
Click to expand...
Click to collapse
It's locked, I've send xiaomi an unlock request but it's not in developer mode and usb debugging is disabled.
Update: The phone isn't registered or logged into my mi account because I just made it so Unlocking won't work the way I understand.
So current phone status :
Protected by fingerprint and password.
Not in developer, usb debugging mode.
Locked bootloader and not linked before with mi account for unlock tool.
Bluetooth and Nfc disabled (just saying)

4M8B said:
It's locked, I've send xiaomi an unlock request but it's not in developer mode and usb debugging is disabled.
Does MI Unlock App then even work ??
Update: The phone isn't registered or logged into my mi account because I just made it so Unlocking won't work the way I understand.
So current phone status :
Protected by fingerprint and long password.
Not in developer, usb debugging mode.
Locked bootloader and not linked before with mi account for unlock tool.
Click to expand...
Click to collapse
I have the exact same problem on a Redmi Pro. Please let me know of you find a solution.

xdadevet said:
I have the exact same problem on a Redmi Pro. Please let me know of you find a solution.
Click to expand...
Click to collapse
Okay but I don't think it looks good

I've tried everything I'm able to do (what I know) but can't get it to work.
Unlock tool says the phone is not linked with an account.
MiFlash says the phone is locked (fastboot)
Adb Sideload has no permission neither because of lock.
My own fault probably but not happy the least I can say brrrr

xdadevet said:
I have the exact same problem on a Redmi Pro. Please let me know of you find a solution.
Click to expand...
Click to collapse
power+vol.UP holding and then wipe data seems to solve the problem if your phone is in this state. It just wipes all and restarts in initialization mode (first start).
Didn't know this would be that easy, I just didn't want to wipe it before ...

4M8B said:
It's locked, I've send xiaomi an unlock request but it's not in developer mode and usb debugging is disabled.
Update: The phone isn't registered or logged into my mi account because I just made it so Unlocking won't work the way I understand.
So current phone status :
Protected by fingerprint and password.
Not in developer, usb debugging mode.
Locked bootloader and not linked before with mi account for unlock tool.
Bluetooth and Nfc disabled (just saying)
Click to expand...
Click to collapse
4M8B said:
power+vol.UP holding and then wipe data seems to solve the problem if your phone is in this state. It just wipes all and restarts in initialization mode (first start).
Didn't know this would be that easy, I just didn't want to wipe it before ...
Click to expand...
Click to collapse
Can't do that without accessing recovery, which I can't since the bootloader is locked. And I can't unlock the bootloader because developer options isn't turned on (no USB debugging or OEM unlocking). I also can't reset it through Mi Cloud because the phone wasn't on a Mi account.
That's one relative who was so excited to get the phone they bypassed me into setting it up properly, and now I'm stuck with a problem I can't solve.

xdadevet said:
Can't do that without accessing recovery, which I can't since the bootloader is locked.
Click to expand...
Click to collapse
I don't know about the redmi but the mi5 goes into some rescue mode by holding power+vol.UP even with locked bootloader.
You have three options then:
- Reboot
- Wipe all
- Connect with MiAssistant (when you connect then with pc adb says you're in sideload modus but you can't actually push a recovery because of the permissions)
Wipe all recovered the last installed rom into initialization on my mi5.

4M8B said:
I don't know about the redmi but the mi5 goes into some rescue mode by holding power+vol.UP even with locked bootloader.
You have three options then:
- Reboot
- Wipe all
- Connect with MiAssistant (when you connect then with pc adb says you're in sideload modus but you can't actually push a recovery because of the permissions)
Wipe all recovered the last installed rom into initialization on my mi5.
Click to expand...
Click to collapse
Unfortunately, the Redmi Pro doesn't go into a rescue mode, so I don't have any of those options.

Related

[ROM][Unlocked BL][6.0] Xiaomi.eu 7.2.16 for MI5S/MI5S Plus

Xiaomi.eu MultiLanguage ROM for MI5S | MI5S Plus
Download
http://miuif.celogeek.com/7.2.16/
https://megadysk.pl/f/7.2.16
Rom Installation
1. Unlock bootloader
2. Flash TWRP (i uploaded china twrp on this forum, use that)
3. Factory reset (do your backup before processing!) -> if you are using mi account, please remenber that's account's password or remove mi account from device
before factory reset, because you need to input mi account password to use phone after factory reset!
4. Wipe data (it will erase your internal storage. PLEASE DO YOUR BACKUP BEFORE PROCESSING!!!
5. Install rom
6. Enjoy!
Did anyone try it? I have Mi 5s 4GB ram. Thanks.
Looks like Xiaomi.eu is unavaiable the last 2 days...
Or is it just me?
Sent from my MI 5 using XDA Premium HD app
Thank you for sharing. Rom works great on Mi 5s 4/128.
Hello
I read that the new existing TWRP version is for Xiaomi normal Mi5s, not for the plus.
Can you confirm that it also works on the PLUS?
I'm a bit confused and did not know what to do, I would not make a mistake.
I do not understand why there is already the ROM for the model Mi5S PLUS but not the TWRP recovery exists to charge it ........ it does not seem logical ...
Thank you.
Rock
:good:
Works great on Mi 5s 3/ 64
step one - unlock bootloader for UK
Hi... I just received my mi5s 4gb phone and discovered UK locale is missing. This means I can't set up a Mi account with +44 number in order to use bootloader unlock tool. Any ideas of how to proceed?
Thanks
Derodraaa said:
Hi... I just received my mi5s 4gb phone and discovered UK locale is missing. This means I can't set up a Mi account with +44 number in order to use bootloader unlock tool. Any ideas of how to proceed?
Thanks
Click to expand...
Click to collapse
Or scrap that... UK locale magically appeared after a reboot so was able to request bootloader unlock. Said it can take up to 10 days though?! :crying:
There are some already for unlock granted Accounts which helped me.... bugmenot.com
Managed to unlock the bootloader using MIUI unlock tool. ADB/Fastboot don't appear to be working though. I've enabled USB Debugging via developer options and have it in MTP mode. Command "ADB devices" shows nothing as does "fastboot devices". I assume this is a compatible USB driver issue. It appears to be fine in Device Manager (i.e. no yellow triangle). Any idea what I can do to fix? I'm running Windows 7.
I'm assuming I can't run "fastboot flash ... " if "fastboot devices" comes up with nothing.
Did anyone manage to install TWRP on Mi5s PLUS? Does that work
Derodraaa said:
Managed to unlock the bootloader using MIUI unlock tool. ADB/Fastboot don't appear to be working though. I've enabled USB Debugging via developer options and have it in MTP mode. Command "ADB devices" shows nothing as does "fastboot devices". I assume this is a compatible USB driver issue. It appears to be fine in Device Manager (i.e. no yellow triangle). Any idea what I can do to fix? I'm running Windows 7.
I'm assuming I can't run "fastboot flash ... " if "fastboot devices" comes up with nothing.
Click to expand...
Click to collapse
Problem solved... was a conflict with an old ADB driver on my PC.
GSAM Battery Monitor not working
Anyone trying to run GSAM Battery Monitor on this ROM? I'm getting a lot of non-sensical output. Was working fine on stock ROM.
So, before I go through the trouble of rooting and flashing, is this particular rom any good? Are there any bugs?
Is working almost perfect, the only bug I had found is, fingerprint. Each time I reboot the phone, for the first login, I have to enter password manually, then fingerprint works perfectly until next reboot.
afrugone said:
Is working almost perfect, the only bug I had found is, fingerprint. Each time I reboot the phone, for the first login, I have to enter password manually, then fingerprint works perfectly until next reboot.
Click to expand...
Click to collapse
That's actually not a bug, that's the way it works. First log in after a reboot is password/pattern, then fingerprint works each time after until the next reboot.
afrugone said:
Is working almost perfect, the only bug I had found is, fingerprint. Each time I reboot the phone, for the first login, I have to enter password manually, then fingerprint works perfectly until next reboot.
Click to expand...
Click to collapse
It's not a bug at all. It's an android OS behaviour.
Installed this rom but viper for andriod have issue
Xiaomi.eu 6.10.27 uploaded! go to op and get yours!
Btw whats new in this version

How to intall global rom with locked bootloader ?

Hi everyone,i have purchased xiaomi mi5 from AliExpress and i told the seller to not open the box,and thats what he did,he didnt open the box,so the phone came with stock Chinese stable miui 7.something,and when i updated,it updated directly to miui 8.1,no updated in between, straight to miui 8.1,but i want to install the global stable rom,the bootloader is locked,i have requested to unlock it but so far no news,i tried to boot in edl mode by holding the vol up,vol down and power and cable in at the same time and it boots in some mode but idk if its edl,as far as i know edl mode is with black screen with "Qualcomm HS-USB QDloader 9008" on the pc com ports,but in my case there is no such thing,and there is black and white phone with usb connect on the phone screen,but nothing on the pc,do i have problems with drivers or i dont enter edl at all ? and do any of you guys now any other method to install the global rom except the other one with the engineering cable ?, I really need your help guys please help me if you can,thank you in advance and have a great day
I've successfully updated my mi5 to global stable using the updater app even my bootloader is locked..however, when I got my mi5 2weeks it's on miui 8 global beta(dev rom) not chinese. Not sure if it will work on your device. Here's what I did:
1. Download global stable from xiaomi's official page
2. Reset the phone. (Settings > Additional settings > Back up & reset)
3. Transfer the zip file to phone (doesn't matter which directory)
4. Connect to a strong internet connection (this is important to verify the update package)
5. Open updater app, tap menu (upper right corner) then tap choose update package
6. Locate zip file and it will proceed with decryption process
Note: You need to be connected to a strong internet connection all through out the process or the verification and decryption will fail and get "can't verify update" error
Hope this helps. ?
Before and after, locked bootloader
viking_kong16 said:
Before and after, locked bootloader
Click to expand...
Click to collapse
I will try first what you tell me,if that doesn't work than i will try installing global beta if that works than global stable,thank you very much
No i didnt work with both beta and stable,now i will try to flash Chinese beta and after that i will try to install global beta or stable,i hope that works because i am out of ideas.
Screenshots:
Nope,nothing it didnt work unable to install global rom stable or beta,looks like i will wait for the bootloader unlock if any message comes at all i just hope they will let me unlock it,they definitely need to change the way bootloader is unlocked.
Coz you'r phone still has miui 7 (don't know in miui 8 coz never try it)..so i think you can try go into edl mode by adb command while in home screen.. "adb reboot edl" (don't forget to activate usb debugging in developer option first)
JJeamy said:
Coz you'r phone still has miui 7 (don't know in miui 8 coz never try it)..so i think you can try go into edl mode by adb command while in home screen.. "adb reboot edl" (don't forget to activate usb debugging in developer option first)
Click to expand...
Click to collapse
Thx but it didnt work,the phone just rebooted,but now i have another problem,i installed the chines beta rom and now i am unable to get back to chines stable, i have tried from mi pc suit,the updater app,restoring the phone and trying to change it,nothing work have no idea what to do now,its the latest chines beta rom on android 7.0,i have no idea why it dont want to go to stable,pls help anyone if you know how PLEASE.
vlatko98 said:
Thx but it didnt work,the phone just rebooted,but now i have another problem,i installed the chines beta rom and now i am unable to get back to chines stable, i have tried from mi pc suit,the updater app,restoring the phone and trying to change it,nothing work have no idea what to do now,its the latest chines beta rom on android 7.0,i have no idea why it dont want to go to stable,pls help anyone if you know how PLEASE.
Click to expand...
Click to collapse
Right now with my mi5 with xiaomi.eu 8.1.9.0 rom that's based 7.0..i've try it to go into edl mode through fastboot mode by command "fastboot oem edl", and it's work..you can try it..if your pc success detecting you mi5 as qualcom HS-USB then try flashing miui rom that you want with miflash tool.
Firstly "adb reboot bootloader" to go into fastboot mode..then type "fastboot oem edl"
Hope it's help.
JJeamy said:
Right now with my mi5 with xiaomi.eu 8.1.9.0 rom that's based 7.0..i've try it to go into edl mode through fastboot mode by command "fastboot oem edl", and it's work..you can try it..if your pc success detecting you mi5 as qualcom HS-USB then try flashing miui rom that you want with miflash tool.
Firstly "adb reboot bootloader" to go into fastboot mode..then type "fastboot oem edl"
Hope it's help.
Click to expand...
Click to collapse
thank you for trying to help me but that didnt work as well this is what it says:
"FAILED (remote: Need to unlock the device to use this command)
finished. total time: 0.014s"
is there any method like this one:https://youtu.be/hmdrj4uX7gY for usb type c cable,will this method work with usb type c,should i start cutting my cable ?
vlatko98 said:
is there any method like this one:https://youtu.be/hmdrj4uX7gY for usb type c cable,will this method work with usb type c,should i start cutting my cable ?
Click to expand...
Click to collapse
You don't need cutting you original cable..you can buy it like this one in aliexpress here , this already has converter too for usb type C
Sorry..i don't realize that fastboot oem edl just for unlocked bootloader..coz mine already unlocked, but i have some another way before you using deep flash cable to go into edl mode..but i can't testing it..coz mine already unlocked.
- I've read your first post about using hardware key to go into edl mode by pressing and hold vol up + vol down +(you said you're pressing power too, i think in this step you're wrong) then connect the usb cable..what i know..the right instruction is , pressing and hold vol up and down at the same time (without pressing power button)..then connect it via usb cable to your pc..then you can see in your device manager that success detecting as qualcom or not.
- In xiaomi redmi note 3 device you can go into edl mode through fastboot mode with command "fastboot reboot-edl", but this command only can apply with minimal adb that are already modified, you can download it from here
Are you sure @vlatko98 that your request to open bootloader is not granted? I made the request, waited for SMS for two weeks but nothing... So i navigated again to en.miui.com/unlock, logged in and I was able to download the mi unlock app. And the unlocking process was successfull.
If you havent, check if you can download unlock app and try to unlock your device with it.
How long ago have you made your request for unlock?
JJeamy said:
You don't need cutting you original cable..you can buy it like this one in aliexpress here , this already has converter too for usb type C
Sorry..i don't realize that fastboot oem edl just for unlocked bootloader..coz mine already unlocked, but i have some another way before you using deep flash cable to go into edl mode..but i can't testing it..coz mine already unlocked.
- I've read your first post about using hardware key to go into edl mode by pressing and hold vol up + vol down +(you said you're pressing power too, i think in this step you're wrong) then connect the usb cable..what i know..the right instruction is , pressing and hold vol up and down at the same time (without pressing power button)..then connect it via usb cable to your pc..then you can see in your device manager that success detecting as qualcom or not.
- In xiaomi redmi note 3 device you can go into edl mode through fastboot mode with command "fastboot reboot-edl", but this command only can apply with minimal adb that are already modified, you can download it from here
Click to expand...
Click to collapse
Sorry i didnt mention that i have tried with the vol buttons only as well,it didnt work,the phone boot up to recovery,same as holding the power button,soon i am trying with costume deep flash cable,there is no need to cut anything just to shourt ground and data from the usb connector that connects to the pc,i just dont understand why xiaomi if it plans to make global rom why not make it simple to change it,why users have to figure things out,we buy a phone to use it not to experiment with it,you hear me xiaomi ?
btw thx for helping me out.
Nbkdnssr said:
Are you sure @vlatko98 that your request to open bootloader is not granted? I made the request, waited for SMS for two weeks but nothing... So i navigated again to en.miui.com/unlock, logged in and I was able to download the mi unlock app. And the unlocking process was successfull.
If you havent, check if you can download unlock app and try to unlock your device with it.
How long ago have you made your request for unlock?
Click to expand...
Click to collapse
well thats where i am super unlucky,i recived an sms saying that my request to unlock is granted,and when i head over to unlock page there was nothing to download,just to apply for unlock again like the first time i applyed,but i downloaded mi unlock tool from other place,logged in and it says YOUR DEVICE IS NOT SUPPORT so i reapplyed at mi unlock last night, so i will see what will happen,yes i double check the sms it say approved,yes i login with the same account at mi unlock and account noomber from the sms matched with the account nomber from my account.
vlatko98 said:
well thats where i am super unlucky,i recived an sms saying that my request to unlock is granted,and when i head over to unlock page there was nothing to download,just to apply for unlock again like the first time i applyed,but i downloaded mi unlock tool from other place,logged in and it says YOUR DEVICE IS NOT SUPPORT so i reapplyed at mi unlock last night, so i will see what will happen,yes i double check the sms it say approved,yes i login with the same account at mi unlock and account noomber from the sms matched with the account nomber from my account.
Click to expand...
Click to collapse
If you already received sms that unlock already granted from xiaomi..there's another problem that sometimes your account not already correctly sync with xiaomi server..even already sync correctly still can't unlock flawlessly..
You can try following step and trying to unlock again and again..but just this time..just trying every day..if this day doesn't success too you can try it again tomorrow.
To make sure and minimize that everything is correctly:
- Make sure you're already at the latest china developer / beta rom..
- Enabling find device status at mi cloud in your phone..also just try login at i.mi.com (just this time try login with your acct number id) and activate find device too to make sure everything is sync correctly.
- Activate usb debugging and unlock in developer option in your phone..
- Trying unlock again with mi unlock..just this time try login with your acct number id too.
Hope it's help..and your phone can soon unlocked..
JJeamy said:
If you already received sms that unlock already granted from xiaomi..there's another problem that sometimes your account not already correctly sync with xiaomi server..even already sync correctly still can't unlock flawlessly..
You can try following step and trying to unlock again and again..but just this time..just trying every day..if this day doesn't success too you can try it again tomorrow.
To make sure and minimize that everything is correctly:
- Make sure you're already at the latest china developer / beta rom..
- Enabling find device status at mi cloud in your phone..also just try login at i.mi.com (just this time try login with your acct number id) and activate find device too to make sure everything is sync correctly.
- Activate usb debugging and unlock in developer option in your phone..
- Trying unlock again with mi unlock..just this time try login with your acct number id too.
Hope it's help..and your phone can soon unlocked..
Click to expand...
Click to collapse
i tried all you tell me,mi unlock still says “your device is not supported by mi unlock” but i dont understand why i was able to make another request at mi unlock website,like the first time i did that,i requested again 2 days ago,i will see what will happen now.
I received another SMS and unlocked the bootloader successfully and I installed global stable ROM, thanks for helping guys )))

Flash Official ROM A2

Hello all!
I recently bought a second hand Xiaomi MI A2 online however I found a problem.
The previous owner did a factory reset on it but I'm stuck in the initial set up configuration because it asks me for the google account credentials attached to the phone. I texted the previous owner but had no answer.
So I tried to flash the official ROM to bypass the issue but I get an error message from Xiaomi Flash Tool saying "remote: Flash is not allowed in Lock State".
I think this is happening for one of the following reasons:
The previous owner didn't enable USB Debugging (thing I can't do because I'm stuck in the set up configuration)
The bootloader is locked (and I can't unlock it because I don't have the credentials of the attached account)
Does anyone knows how can I solve this problem?
Thank you for your attention
Joaosacramento said:
Hello all!
I recently bought a second hand Xiaomi MI A2 online however I found a problem.
The previous owner did a factory reset on it but I'm stuck in the initial set up configuration because it asks me for the google account credentials attached to the phone. I texted the previous owner but had no answer.
So I tried to flash the official ROM to bypass the issue but I get an error message from Xiaomi Flash Tool saying "remote: Flash is not allowed in Lock State".
I think this is happening for one of the following reasons:
The previous owner didn't enable USB Debugging (thing I can't do because I'm stuck in the set up configuration)
The bootloader is locked (and I can't unlock it because I don't have the credentials of the attached account)
Does anyone knows how can I solve this problem?
Thank you for your attention
Click to expand...
Click to collapse
Maybe you can see/ask in this thread for mia2 toolkit (I'm not sure but you can ask there )
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
daitalos said:
Maybe you can see/ask in this thread for mia2 toolkit (I'm not sure but you can ask there )
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
Click to expand...
Click to collapse
Thank you, will give it a try!
EDIT: Not working, every time I try to execute the unlock I got an error message "remote: Flashing Unlock is not allowed"
Joaosacramento said:
Thank you, will give it a try!
EDIT: Not working, every time I try to execute the unlock I got an error message "remote: Flashing Unlock is not allowed"
Click to expand...
Click to collapse
(yes...normally, first you must enable "OEM unlocking" from developer option
_ https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-unlock-bootloader-xiaomi-t3831484
__but first for your problem with locked device, see here for FRP apk : https://www.google.gr/search?q=com.....69i57j0l5.14869j0j8&sourceid=chrome&ie=UTF-8
__and here frp mia2 : https://www.google.gr/search?q=frp+.....69i57j0l3.7035j0j8&sourceid=chrome&ie=UTF-8
first "unlock" your device & then you can unlock bootloader easy ....
sry for english
Just unlock bootloader(critical too) and use miflash
I also have a Mi A2 stuck in android logo screen can't can't boot into device developer options to unlock bootloader.
Fastboot oem unlock give me error flashing is not allowed.
Is there anyway around this?
You need to do an unlock of critical partitions - "fastboot flashing unlock_critical"
daitalos said:
(yes...normally, first you must enable "OEM unlocking" from developer option
_ https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-unlock-bootloader-xiaomi-t3831484
__but first for your problem with locked device, see here for FRP apk : https://www.google.gr/search?q=com.....69i57j0l5.14869j0j8&sourceid=chrome&ie=UTF-8
__and here frp mia2 : https://www.google.gr/search?q=frp+.....69i57j0l3.7035j0j8&sourceid=chrome&ie=UTF-8
first "unlock" your device & then you can unlock bootloader easy ....
sry for english
Click to expand...
Click to collapse
Hey! It worked, thank you very much!
Face_11 said:
I also have a Mi A2 stuck in android logo screen can't can't boot into device developer options to unlock bootloader.
Fastboot oem unlock give me error flashing is not allowed.
Is there anyway around this?
Click to expand...
Click to collapse
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
(or flash stock rom via mi flash tool/ fastboot files) : http://en.miui.com/download-353.html
follow / read fastboot quide : http://en.miui.com/a-234.html
daitalos said:
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
(or flash stock rom via mi flash tool/ fastboot files) : http://en.miui.com/download-353.html
follow / read fastboot quide : http://en.miui.com/a-234.html
Click to expand...
Click to collapse
Thanks. I've tried the MIFlash Tool and I get Error Flashing Not allowed in Lock State. I've also tried the MI A2 ToolKit and get the same message. Basically anything I try and do states device is locked or unable to run in Lock State.
Boot Loader is currently locked and I cannot access developer mode to enable OEM unlocking. Question I have is :
- Can I use EDL Cable to work around this or do EDL cables not longer work with Newer Xiaomi phones?
- If EDL cable doesn't work, is the tespoint method my only option.
thanks in advance
Face_11 said:
Thanks. I've tried the MIFlash Tool and I get Error Flashing Not allowed in Lock State. I've also tried the MI A2 ToolKit and get the same message. Basically anything I try and do states device is locked or unable to run in Lock State.
Boot Loader is currently locked and I cannot access developer mode to enable OEM unlocking. Question I have is :
- Can I use EDL Cable to work around this or do EDL cables not longer work with Newer Xiaomi phones?
- If EDL cable doesn't work, is the tespoint method my only option.
thanks in advance
Click to expand...
Click to collapse
yes it's difficult .... I understand
edl maybe work, but I'm not sure...maybe if you go to a repair shop is a better solution
(see & here : https://forum.xda-developers.com/mi-a2/help/edl-deep-flash-cable-t3828732 )
https://youtu.be/n_7RVmW2Rvs
https://forum.xda-developers.com/showpost.php?p=77327325&postcount=2
Gl
Face_11 said:
Thanks. I've tried the MIFlash Tool and I get Error Flashing Not allowed in Lock State. I've also tried the MI A2 ToolKit and get the same message. Basically anything I try and do states device is locked or unable to run in Lock State.
Boot Loader is currently locked and I cannot access developer mode to enable OEM unlocking. Question I have is :
- Can I use EDL Cable to work around this or do EDL cables not longer work with Newer Xiaomi phones?
- If EDL cable doesn't work, is the tespoint method my only option.
thanks in advance
Click to expand...
Click to collapse
I would try a wipe from the recovery but if that doesnt work then just test point the phone. It isnt that hard, I had to do it myself today because of a soft brick. You just need a T3 screwdriver really. Take out the 2 bottom screws. Take a razor and slide it under the corner of the display and lift it enough the get a credit card in there. Then just work around and you should be able to get the screen off. Take the small metal plate off just above the battery and disconnect the battery and the connector on the right. There will be the test points, short them out, connect the phone to the pc(you can stop shorting out the points when it gets detected) and you have like 10-15secs to start flashing the phone in miflash(obviously you need to have the drivers already set up).
I have same problem with xiaomi mi a2 which had bootloop. Was not able to start device at all so no oem unloco no developer options and no usb debug. It was possible only adb sideload and fastboot. Adb sideload did nothing. I was trying to flash with adb sideload but it stops at 47% with message 1.00 x. Did try several roms with same results. Then i tried fastboot options. Falied to unlock not allowed. Itsl was impossible to get even into phone to activate developer options so i can activate oem unlock and the rest. I tried edl mode which did flash but then i got error message in bootloader it failed to mount system etc. Then i tried mi x6 rom to convert phone to another which doesnt have usual recovery mode but a stripped oem recovery mode. Now when u go back to mi a2 rom its bricked so there is no option of adb at all now. I tried to use mi x6 mi assistant option but app wont recognize usb connection it shows try normal mode then switch. When activating mi assistant on phone it does recognize rom version from recovefy flash in mi assistant app but when it downloads update rom version it cant continue. With pixel you can do anything with adb and it is so easy but xiaomi sucks big time. You cant do anything. Fastboot flashing unlock critical and fastboot oem unlock gets error failed. Flashing not allowed. U tried diferent cables but no luck. So now what? Thats why i hate adb. On samsung odin you can do impossible possible. Even with sp tools on mtk. Even boxes works flawlessly but xiaomi system is just thr worse. It doesnt matter if you get soemthing lost there is always a solution to other phones.
After having device sit as a paper weight for a few months, i broke down and ordered a phone repair kit. Opened device up and flashed via test point method. Worked Flawless. Time to enable OEM unlock so i don't have to open it up again. Thanks to community for all the help.
Use cmd
- go to fastboot then "fastboot oem unlock"
- go to fastboot again "fastboot flashing unlock_critical"
Flash with mi flash
Done
Just stumbled upon this and while may be 18 months too late, here's the step by step process to flash ROM on MI A2 that's giving error "Flash is not allowed in Lock State":
1) switch off device
2) enter fastbood mode (press hold power+vol down few seconds)
3) connect device with laptop
4) install and open adb folder on laptop (https://forum.xda-developers.com/showthread.php?t=2588979)
5) within adb folder -- shift + right click = open powershell here
6) fastboot flashing unlock_critical
7) step #6 may be pointless if phone is bricked but do it anyway
8) fastboot oem edl
9) find and download latest stock rom for your device (FASTBOOT version). It'll be .tgz file
10) extract the image folder from within (would be the same name as .tgz file)
11) open miflash (coudln't find link but look it up, it's easy)
12 select the image folder you extracted in step #10
13) click refresh. device name appear means it's recognized
14) from bottom of mi flash tool select whatever you want. I do "clean all"
15) flash (top right mi flash tool)
Face_11 said:
Thanks. I've tried the MIFlash Tool and I get Error Flashing Not allowed in Lock State. I've also tried the MI A2 ToolKit and get the same message. Basically anything I try and do states device is locked or unable to run in Lock State.
Boot Loader is currently locked and I cannot access developer mode to enable OEM unlocking. Question I have is :
- Can I use EDL Cable to work around this or do EDL cables not longer work with Newer Xiaomi phones?
- If EDL cable doesn't work, is the tespoint method my only option.
thanks in advance
Click to expand...
Click to collapse
Flashing is not allowed in lock state
i got a error recently in my mi a2 no software is installed but locked.
when i try to flash from mi flash tool it says flashing is not allowed in lock state
when i try to unlock in cmd flashing is not allowed in lock state
is there any one to fix this
IamUmesh said:
i got a error recently in my mi a2 no software is installed but locked.
when i try to flash from mi flash tool it says flashing is not allowed in lock state
when i try to unlock in cmd flashing is not allowed in lock state
is there any one to fix this
Click to expand...
Click to collapse
you need to open phone with screwdriver & do the test point ..search for video on YouTube...then EDL deepflash state you can use miflash to put back OFFICIAL only rom to device.

Mi9 Global - Accidentally locked bootloader and stock in recovery/fastboot

Hi,
Recently purchased a Mi 9 Global version, got the OTA update to MIUI 11, and everything was well. It is a superb phone, but I like to have root on my phones (mostly for Adblocking and System2, better control overall). I tried to install TWRP (custom version for Mi9) because I wanted to install Magisk/Root or try a different rom eventually. Anyway... I made a huge mistake. After trying to reboot, I noticed things had gone wrong, and was stuck in a boot loop. I guess I panicked and tried to flash the phone back to the latest global MIUI rom (Version 11, Android 10, from official site), using the Xiaomi Flash App but I did not uncheck the "clean and lock bootloader" checkbox on the bottom right of the app, which is somehow enabled by default. The flash failed at that time, for unknown reason, but it seems like it succeeded in locking my bootloader, with an empty partition, except for fastboot access and Mi Recovery module. I have to admit I've always been pretty lucky with all my previous flashes on other devices, and I guess I got a little careless. That was pretty stupid of me, in retrospect.
Since then, I am stuck in either Mi Recovery or Fastboot, and it seems that my originally Global Mi 9 with unlock bootloader has now a locked bootloader. Any attempt at either using the Xiaomi Flash utility gives me an error message ("Erase boot error"), and if I boot into Fastboot and try to flash TWRP, I get the "Remote:Erase is not allowed in Lock State" error.
From what I understand, my options are pretty limited now. The phone is still powered on, stuck in Recovery mode and rebooting every 5 or 10 minutes by itself (probably a way to avoid screen burn-in?), but I can't seem to be able to shut it down in anyway, as there are no fastboot commands to send a shutdown signal. And no matter what button combination I press, the phone always ends up rebooting.
I tried the Xiaomi Unlocker utility, but it needs the phone to be out of recovery to check the credentials binding the phone to my account. All data on the phone has been wiped already, so that's not an option. Two options I have seen :
1. Open the battery cover (required a heat gun and risky), to short some pins and try to flash while there is a short to circumvent the security. I'm not that brave yet, and since the phone is still running and has probably about 80% battery, I don't want to use a heat gun on the device.
2. Shady stuff involving paying 30 or 40 Euros to a random guy who can somehow make everything work magically by remotely logging in on my computer via Teamviewer (Not happening in a million years).
I'm wondering if there is an alternative, other than bringing the device to an official Xiaomi store (I'm in Bangkok and they do have one official shop at Fortune Town), but even then, I don't know if they'll just tell me I got myself an expensive paperweight.
Any help/insight regarding this issue would be much, much appreciated!
Have you tried to press and hold power+vol down when your device reboots? Just before it turns on.
g_seva said:
Have you tried to press and hold power+vol down when your device reboots? Just before it turns on.
Click to expand...
Click to collapse
Every possible combination on reboot will either bring me to Fastboot or Mi Recovery. I have wiped the data partition, there is no OS on the phone as of now.
Twomby said:
Every possible combination on reboot will either bring me to Fastboot or Mi Recovery. I have wiped the data partition, there is no OS on the phone as of now.
Click to expand...
Click to collapse
So xiaomi unlock utility can't unlock bootloader in fastboot?
May be try to use xiaomitool v2.
g_seva said:
So xiaomi unlock utility can't unlock bootloader in fastboot?
May be try to use xiaomitool v2.
Click to expand...
Click to collapse
Xiaomitool V2 is completely useless. The "My phone is bricked" option is not implemented, and I cannot boot into the OS, unfortunately.
To enter fastboot mode, long press the volume down key and the power key. Then unlock bootloader with Xiaomi app.
zahdekar said:
To enter fastboot mode, long press the volume down key and the power key. Then flash stock rom.
Click to expand...
Click to collapse
I have managed to enter fastboot mode, as described in my initial post. The problem is that when I try to flash, I get the following error: "Flashing not allowed in lock state".
Twomby said:
Xiaomitool V2 is completely useless. The "My phone is bricked" option is not implemented, and I cannot boot into the OS, unfortunately.
Click to expand...
Click to collapse
Yep, but it has unlock option in the normal mode and it use scripts made by tool developer, so it worth to try.
g_seva said:
Yep, but it has unlock option in the normal mode and it use scripts made by tool developer, so it worth to try.
Click to expand...
Click to collapse
From what I understand, the "normal mode" needs the tool to be able to access the OS while it's running. I don't have an OS. I will give it a shot tomorrow (3 AM here, exhausted, and don't want to boot into Windows again!), but my hopes are not so high. Anyway, thanks for the help, much appreciated! Will let you know what happens! Cheers!
https://forum.xda-developers.com/Mi-9/how-to/unbrick-mi9-bootloader-locked-destroyed-t3924966/amp/
maybe it will help
zahdekar said:
https://forum.xda-developers.com/Mi-9/how-to/unbrick-mi9-bootloader-locked-destroyed-t3924966/amp/
maybe it will help
Click to expand...
Click to collapse
I've stumbled upon this link earlier today. But it's 404 on my end. Can you access it from where you are? Thanks!
http://c.mi.com/thread-2251372-1-1.html
This is on page 4
zahdekar said:
http://c.mi.com/thread-2251372-1-1.html
This is on page 4
Click to expand...
Click to collapse
Thanks. Tried it, but using these commands only cause a reboot, to recovery mode again. Thanks again for your kind help!
Twomby said:
Thanks. Tried it, but using these commands only cause a reboot, to recovery mode again. Thanks again for your kind help!
Click to expand...
Click to collapse
I have the same problem! "The system has been destroyed" (((
And mi unlock tool not work abount 2 days (authorization not passes)
https://forum.xda-developers.com/Mi-9/help/help-bricked-mi-9-t3921980/page2
The old version of miunlock is working ti unlock bootloader.
zahdekar said:
https://forum.xda-developers.com/Mi-9/help/help-bricked-mi-9-t3921980/page2
The old version of miunlock is working ti unlock bootloader.
Click to expand...
Click to collapse
Unfortunately, this is not true. I have downloaded an old version of Mi Unlock (2.2.406.5), which is supposed to work with Fastboot mode. The result is "Couldn't unlock --> Please download the latest version". And the latest version needs to access the OS to verify the Mi account credentials. I don't have an OS installed. So this won't work. Thanks for the suggestion though!
Twomby said:
Unfortunately, this is not true. I have downloaded an old version of Mi Unlock (2.2.406.5), which is supposed to work with Fastboot mode. The result is "Couldn't unlock --> Please download the latest version". And the latest version needs to access the OS to verify the Mi account credentials. I don't have an OS installed. So this won't work. Thanks for the suggestion though!
Click to expand...
Click to collapse
Hello @Twomby did you managed to get it working it the end?
Same issue here
Hi,
I am encouraging the same issue. Does someone found a solution to this?
tago4ever said:
Hi,
I am encouraging the same issue. Does someone found a solution to this?
Click to expand...
Click to collapse
I came across this Mi8 thread, not sure if it's possible on the Mi9, but he seems to have been able to flash it through EDL mode, you might ask him the question: https://xiaomi.eu/community/threads/mi-8-bricked-from-nowhere.55723/#post-543605
There's also this Mi9 thread: https://forum.xda-developers.com/Mi-9/how-to/unbrick-mi9-bootloader-locked-destroyed-t3924966

Question REDMI NOTE 10S (Your system has been destroyed+ locked bootloader) error

I have redmi note 10s. I bacame bored of miui because of several bugs. So i decided to mod the device with a nice custom rom. I started the process. Because it is a mtk device, it has complicated flashing process than snapdragon devices. I entered the fastbootD mode and cleared the system by using adb command(which i dont remember). Then i flashed the custom rom. By mistake, I locked the bootloader by typing adb command fastboot oem lock. But now due to complicated case, the device is showing your system has been destroyed and when i try to force reboot it into fastboot, it still give systen destroyed error(means fastboot mode is inaccessible). Can anyone please help me to fix this issue without using edl pins? I am in a great issue
I cant go to service center as my device is out of warranty
in google there is a pc program than can unlock bootloader of mediatek devices, search for it
Bro i cant access the bootloader, so unlocking it doesnt make any difference
I want to restore the bootloader.
Manmeet_2008 said:
I have redmi note 10s. I bacame bored of miui because of several bugs. So i decided to mod the device with a nice custom rom. I started the process. Because it is a mtk device, it has complicated flashing process than snapdragon devices. I entered the fastbootD mode and cleared the system by using adb command(which i dont remember). Then i flashed the custom rom. By mistake, I locked the bootloader by typing adb command fastboot oem lock. But now due to complicated case, the device is showing your system has been destroyed and when i try to force reboot it into fastboot, it still give systen destroyed error(means fastboot mode is inaccessible). Can anyone please help me to fix this issue without using edl pins? I am in a great issue
Click to expand...
Click to collapse
Okay so first of all download "mtk client"
Than open the mtk client
It will give you instructions on how to connect your phone, take back of everything except system(super),vendor and userdata. Tap on flash tab there you'll notice a option called unblock bootloader tap on it and your bootloader will be unlocked
Bro Will this restore my bootloader or only unlock it because if it only unlocks then your help wont work.
Manmeet_2008 said:
Bro Will this restore my bootloader or only unlock it because if it only unlocks then your help wont work.
Click to expand...
Click to collapse
you dummy, you need to unlock the bootloader in orden to restore it installing the firmware with miflashtool or mtk client .
Ok bro thanks for your help
tutibreaker said:
you dummy, you need to unlock the bootloader in orden to restore it installing the firmware with miflashtool or mtk client .
Click to expand...
Click to collapse
Manmeet_2008 said:
I have redmi note 10s. I bacame bored of miui because of several bugs. So i decided to mod the device with a nice custom rom. I started the process. Because it is a mtk device, it has complicated flashing process than snapdragon devices. I entered the fastbootD mode and cleared the system by using adb command(which i dont remember). Then i flashed the custom rom. By mistake, I locked the bootloader by typing adb command fastboot oem lock. But now due to complicated case, the device is showing your system has been destroyed and when i try to force reboot it into fastboot, it still give systen destroyed error(means fastboot mode is inaccessible). Can anyone please help me to fix this issue without using edl pins? I am in a great issue
Click to expand...
Click to collapse
try some sp flashtool that come with miflashtool , turn off phone and press volume- and plug the cable in , some type of mtk download mode
Ok bro i will try tomorrow
Hello everyone, today i used the tool but when i went through the tool i saw a 'erase flash' option in mtk universal tab. Can anyone please tell that what this option is used for and ticking it will lead to any sort of issues?
Manmeet_2008 said:
Hello everyone, today i used the tool but when i went through the tool i saw a 'erase flash' option in mtk universal tab. Can anyone please tell that what this option is used for and ticking it will lead to any sort of issues?
Click to expand...
Click to collapse
dont use it, will erase all the device data and partitions turning it into a useless brick, dude, in youtube there a lots of tutos to how restore original firmware go check them first
tutibreaker said:
dont use it, will erase all the device data and partitions turning it into a useless brick, dude, in youtube there a lots of tutos to how restore original firmware go check them first
Click to expand...
Click to collapse
Ok bro thanks for telling, will not use it for flashing
Did it work is it debricked?
Manmeet_2008 said:
I have redmi note 10s. I bacame bored of miui because of several bugs. So i decided to mod the device with a nice custom rom. I started the process. Because it is a mtk device, it has complicated flashing process than snapdragon devices. I entered the fastbootD mode and cleared the system by using adb command(which i dont remember). Then i flashed the custom rom. By mistake, I locked the bootloader by typing adb command fastboot oem lock. But now due to complicated case, the device is showing your system has been destroyed and when i try to force reboot it into fastboot, it still give systen destroyed error(means fastboot mode is inaccessible). Can anyone please help me to fix this issue without using edl pins? I am in a great issue
Click to expand...
Click to collapse
You need to sSee this video,
Make sure Disconnect your phone battery then start flash
hookkrox said:
You need to sSee this video,
Make sure Disconnect your phone battery then start flash
Click to expand...
Click to collapse
You need to see the PM I've sent to you. You will find it here.
Start from BROM mode - that is always available. Then you can use mtktool to restore everything. I have an article about it on my blog, but I am not supposed to post it here... find it in my profile, or send me a PM for help.

Categories

Resources