Need Help in Unlocking Mi5 - Xiaomi Mi 5 Questions & Answers

I request for Unlock, after 30 mins got SMS that I'm eligible for unlocking my device.
I tried on the Mi Unlock tool, got stuck at 50%, got the "Couldn't verify device" error.
Downloaded Mi5 Global Developer ROM tried to flash, got "Couldn't Verify Update" error
Downloaded Mi5 China Developer ROM and tried to flash with Mi Flash tool, got "error:FAILED(remote:device is locked, cannot erase)"
PS: My developer options doesn't have OEM UNLOCK option.
http://i.imgur.com/x2eqHyv.png
Please Help me.

You need to flash the china developer ROM in the edl mode. To get into edl:
Boot into fastboot and connect the phone to your PC. Then (assumimg you have adb and fastboot with drivers set up) type "fastboot oem edl" in the fastboot prompt. If you are in edl, the screen will be completely black and in the device manager, you should see Ports/ Qualcomm HS-USB QDloader 9008 (or something similar) . If you see it, click refresh in MiFlash and flash the china dev ROM. Then unlock your bootloader.

You can use the Global Beta version (developer version).
I also used that one and had the same problem.
Just wait another day and try again.
There seems to be some syncing between the different Mi sites (mic.om/miui.com/etc) and it not always is as quick as we want to.
Have already read about some people that had to wait a week for this.
For me it worked today, after i got the same error yesterday as you have.
Just try tomorrow and the day after that etc.

Davidkrch said:
You need to flash the china developer ROM in the edl mode. To get into edl:
Boot into fastboot and connect the phone to your PC. Then (assumimg you have adb and fastboot with drivers set up) type "fastboot oem edl" in the fastboot prompt. If you are in edl, the screen will be completely black and in the device manager, you should see Ports/ Qualcomm HS-USB QDloader 9008 (or something similar) . If you see it, click refresh in MiFlash and flash the china dev ROM. Then unlock your bootloader.
Click to expand...
Click to collapse
I tried getting into edl mode to flash China dev rom, but after entering the "fast boot OEM edl" command I get an error msg saying the phone needs to be unlocked before using edl
Sent from my MI 5 using XDA-Developers mobile app

elot01 said:
You can use the Global Beta version (developer version).
I also used that one and had the same problem.
Just wait another day and try again.
There seems to be some syncing between the different Mi sites (mic.om/miui.com/etc) and it not always is as quick as we want to.
Have already read about some people that had to wait a week for this.
For me it worked today, after i got the same error yesterday as you have.
Just try tomorrow and the day after that etc.
Click to expand...
Click to collapse
You flashed the developer rom via system update or fastboot?
Can you please give me the link to the file, because I'm facing "couldn't verify update" error always
Sent from my MI 5 using XDA-Developers mobile app

snbk97 said:
You flashed the developer rom via system update or fastboot?
Can you please give me the link to the file, because I'm facing "couldn't verify update" error always
Sent from my MI 5 using XDA-Developers mobile app
Click to expand...
Click to collapse
I used this version:
http://en.miui.com/download-299.html
And then the developer version off course.

snbk97 said:
I request for Unlock, after 30 mins got SMS that I'm eligible for unlocking my device.
I tried on the Mi Unlock tool, got stuck at 50%, got the "Couldn't verify device" error.
Downloaded Mi5 Global Developer ROM tried to flash, got "Couldn't Verify Update" error
Downloaded Mi5 China Developer ROM and tried to flash with Mi Flash tool, got "error:FAILED(remote:device is locked, cannot erase)"
PS: My developer options doesn't have OEM UNLOCK option.
http://i.imgur.com/x2eqHyv.png
Please Help me.
Click to expand...
Click to collapse
I had the same issue, couldn't Verify Device beyond 50%, but after reading the instructions given at MIUI website, problem solved.
Firstly, install a developer ROM. Then you'll have to boot it up normally, and login to Mi Cloud, using the same user ID that Xiaomi has given the permission to unlock device.
You'll then be able to use the Mi Unlock app to unlock, using the same user ID to login.

Related

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 )))

Unlocking bootloader on Stable 8.0.3.0(MAGMIDI) (?) seems impossible

Hey,
yesterday i received my Xiaomi Mi 5s, which I ordered via gearbest.com and came with 'MIUI Global 8.0 | Stable 8.0.3.0(MAGMIDI) preinstalled.
What I want to do is to use "TWRP_Capricorn" + "lineage-14.1-20170328-UNOFFICIAL-capricorn" + "open_gapps-arm64-7.1-pico-20170425" + "addonsu-arm64-signed".
So I followed a couple of tutorials to unlock the bootloader but none of my tries were successful.
This is what I did so far in particular:
1. Mi Unlock
After receiving permission to unlock (which took less than 15 minutes!) I downloaded Mi unlock and after "Verifying device" turned green "Unlocking" failed due to "Current account is not bound to this device".
The program itself suggests following solution: "In the "Settings -> developer options -> Mi unlock states" binding account and equipment", but there is no such option as "Mi unlock states".
However my device shows up under the account which got the permission, I am logged in and can find my Mi 5s via i.mi.com.
2. Updater-App
So I tried to install a different version of MiuUi with the preinstalled "Updater"-App to unlock my device.
The three dots in the top-right corner -> choose update package -> selecting the file and applying shows following error message: "Can't verify update Couldn't verify update package."
I tried everything from China/Global developer versions to downgrading to former Global Stable versions.
3. MiPCSuite
It only says "Connect your device via USB" and than "You need to update your device to use Mi PC Suite Update your device before connectiong".
Yes Drivers are installed.
4. XiaoMiFlash
After my device was showing up correctly in MiFlash I mounted capricorn_images_7.4.20_20170420.0000.00_6.0_cn_ef59d44f88 in XiaoMiFlash and clicked flash.
The Result: error, status: "error:"Flash xbl error".
Older versions of the program gives out the following error message: "remote: Critical partition flashing is not allowed))".
5. Minimal ADB and Fastboot
a) Fastboot method
"fastboot oem edl" -> "FAILED (remote: Need to unlock the device to use this command)"
b) ADB method
"adb devices" -> My device is showing up, authorization is given.
"adb reboot edl" -> The phone just reboots.
So, what else can I try to unlock the bootloader? (I have no deep flash cable...)
b3stiaL said:
Hey,
yesterday i received my Xiaomi Mi 5s, which I ordered via gearbest.com and came with 'MIUI Global 8.0 | Stable 8.0.3.0(MAGMIDI) preinstalled.
What I want to do is to use "TWRP_Capricorn" + "lineage-14.1-20170328-UNOFFICIAL-capricorn" + "open_gapps-arm64-7.1-pico-20170425" + "addonsu-arm64-signed".
..
Click to expand...
Click to collapse
Which MiUnlock version u are using? because when i unlocked my Mi5 8.0.2.0 MAAMIDG back then with v1.1 MiUnlock, there's no such options, however when i tried to unlock my redmi note4 qualcomm this last week with MiUnlock v2.2 i got the same error msg like you do, luckily the RN4 qualcomm on MIUI 8.1.5.0 have that "MiUnlock States" option under the developer option (haven't tried on Mi5 because never use MIUI ROM on my Mi5) then i bind my Mi Account onto that RN4, then when i tried to unlock it again, the process stopped at 99% it says "Binding time is Less than 72 Hrs" :silly:, so i tried again after 72 hrs passed, and succeed.
Same happened to me back then, can't switch ROM with those crappy Updater app, still don't know why
MiPc suite has too many version (english/cn) and i was too lazy to tried every single one of them.
I can only flashed via XiaoMiFlash when my Mi5 was in EDL Mode (some ppl claimed it worked via fastboot (vol down+pow) too).
I heard that they already removed the edl mode via adb, u might wanna try in fastboot mode "fastboot oem edl" (doubt it will work on locked bootlader tho)
so in my opinion you have 2 options atm :
Update to the latest ROM and hoping you'd found Mi Unlock States Options on the Newer ROM
or
Buy/Make a Deepflash cable to get access to EDL mode, if you want to make your own, there are several video tutorials about it on youtube
Hey Kevin,
thank you for your reply.
I will will write a more detailed answer tomorrow but just a quick question for now. What exactly do you mean by: '1. Update to the latest ROM and hoping you'd found Mi Unlock States Options on the Newer ROM'?
I cannot flash any ROM, so that won't work?!
Sent from my MI 5s using Tapatalk
b3stiaL said:
Hey,
yesterday i received my Xiaomi Mi 5s, which I ordered via gearbest.com and came with 'MIUI Global 8.0 | Stable 8.0.3.0(MAGMIDI) preinstalled.
What I want to do is to use "TWRP_Capricorn" + "lineage-14.1-20170328-UNOFFICIAL-capricorn" + "open_gapps-arm64-7.1-pico-20170425" + "addonsu-arm64-signed".
Click to expand...
Click to collapse
I don't want to be rude, but this is the Mi5 area, not the Mi5s (as far as i know, they are different machines).
So please go to the right area.
Also, Gearbest is known for installing there own rom's which are heavily modified.
This always give problems, so start by flashing via MiFlash the latest official China or Global rom.
Then try the normal steps of connecting your unlock account to the developer settings (Mi account) and flashing things.
a mi pasa lo mismo y nadie me da una solucion ains....

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.

Mi 9 bricked - Locked bootloader & MiUI version can't be installed on this device

Hi all,
I have searched for a solution to this but haven't come across anyone witht the same issue.
I bought a Mi 9 from China which came with the Global rom loaded. I found out that I couldn't use Google Pay unless I rooted with Magisk.
So I went through the process of trying to flash Magisk through fast boot (didn't work - boot loop to recovery) then with TWRP (didn't work - boot to TWRP and freeze).
I then used Miflash to flash the latest global stable version. Unfortunately I didn't notice it was defaulted to "clean all and lock" when I flashed. When the device restarted, it loaded into recovery and was no longer unlocked. The message is "This MIUI version can't be installed on this device". But I can't flash again, because its locked.
I downloaded the MiUnlock app and after running it get the message "Current account is not bound to this device" with instructions to change settings in developer options. But I can't access the developer options because the MIUI isn't loading.
So, yeah. I think I'm in trouble. Any suggestions?
If your device was global version i would say flash fastboot ROM with Mi flash tool or using script flash_all.bat. Then bound your account to your device, then try to unlock recovery. But i red that in some cases Chines version is not so simple, so search, how to flash fastboot ROM on Chines device and if there is some problems with this.
You will need adb and fastboot installed on your pc.
Upd. Man it's all over the internet, just search "This miui version can't be installed on this device". There is a fix with opening the device and so on... but if i was you i would try to contact the seller of the device and ask him to use his account to unlock recovery. My be using teamviewer or similar software.
you bought in china with global rom and it was unlocked already ? because if you tried twrp then the device must be unlocked (bootloader)
then it was a China Version with unlocked bootloader and global rom. you used then the miflash and locked the bootloader again and flashed the global rom...
so you bricked your device....
if found this in an other forum:
"Dear customers, our service provides services in a remote format, if you are from another country .
If you need Mi Authorized EDL Account or you need my services for the restoration of the brick phones and the account is deleted, mi, if you forgot , contact me on my contacts : WhatsApp +7967 777 15 98"
g_seva said:
If your device was global version i would say flash fastboot ROM with Mi flash tool or using script flash_all.bat. Then bound your account to your device, then try to unlock recovery. But i red that in some cases Chines version is not so simple, so search, how to flash fastboot ROM on Chines device and if there is some problems with this.
You will need adb and fastboot installed on your pc.
Upd. Man it's all over the internet, just search "This miui version can't be installed on this device". There is a fix with opening the device and so on... but if i was you i would try to contact the seller of the device and ask him to use his account to unlock recovery. My be using teamviewer or similar software.
Click to expand...
Click to collapse
Thanks! I searched as suggested and am trying a fix from the MIUI forum "[FIX] unbrick your BL LOCKED phone without xiaomi id authorization!!!". If that doesn' work I'll go with the team viewer option. Cheers!
minnnism said:
Hi all,
I have searched for a solution to this but haven't come across anyone witht the same issue.
I bought a Mi 9 from China which came with the Global rom loaded. I found out that I couldn't use Google Pay unless I rooted with Magisk.
So I went through the process of trying to flash Magisk through fast boot (didn't work - boot loop to recovery) then with TWRP (didn't work - boot to TWRP and freeze).
I then used Miflash to flash the latest global stable version. Unfortunately I didn't notice it was defaulted to "clean all and lock" when I flashed. When the device restarted, it loaded into recovery and was no longer unlocked. The message is "This MIUI version can't be installed on this device". But I can't flash again, because its locked.
I downloaded the MiUnlock app and after running it get the message "Current account is not bound to this device" with instructions to change settings in developer options. But I can't access the developer options because the MIUI isn't loading.
So, yeah. I think I'm in trouble. Any suggestions?
Click to expand...
Click to collapse
https://forum.xda-developers.com/Mi-9/help/soldthis-miui-version-installed-device-t3975421
Read carefully and report
1. Try to hold down the buttons vol down and power, see if : fastboot devices sees it. If so XiaoMi Tool will restore it. If not do the same try recovery vol up + power. Do adb devices and see if anything shows up. Worst case you'll have to open the phone up and connect the EDL pins together and it will flash anything. I use minimal ADB and Fastboot phone plugged via USB cable into the computer and run those commands.
2. Fully bricks their device here is the unbrick factory method
https://c.mi.com/thread-1479882-1-0.html
that's connecting EDL pins with the phone case removed for a phone that doesn't boot at all
3. https://youtu.be/8mW0JzKow7E
here's the exact EDL test point required on Mi9
if you can't boot or recognize the device at all via fastboot or ADB. If this doesn't work nothing will...
But it will work, that's what the factory does. Obviously the last resort.
any success?

Bricked CC9 from anti-rollback. Help with EDL flashing

I accidentally flashed a MiUI 10 ROM with miflash onto my CC9 which has bricked my phone as it was previously on MiUI 11. My bootloader is now locked because I accidentally checked that option in miflash so I can't just fastboot flash another working ROM. I tried putting the phone into EDL mode using the test pin method, however since I did that once, it will no longer go into EDL mode again. Is this normal?
If anyone knows or can point me in the direction of someone who can unbrick my phone it would be much appreciated.
Thanks
This is why you have to be extra careful while flashing something.. hope you find a solution
kalebwinefield said:
I accidentally flashed a MiUI 10 ROM with miflash onto my CC9 which has bricked my phone as it was previously on MiUI 11. My bootloader is now locked because I accidentally checked that option in miflash so I can't just fastboot flash another working ROM. I tried putting the phone into EDL mode using the test pin method, however since I did that once, it will no longer go into EDL mode again. Is this normal?
If anyone knows or can point me in the direction of someone who can unbrick my phone it would be much appreciated.
Thanks
Click to expand...
Click to collapse
Can you access fastboot mode? If so, you can try unlocking the bootloader again and installing the rom you want. If you haven't removed the mi account it will unlock and you don't even have to wait the required time again.
Unfortunately since I bought the phone off AliExpress, the seller had already unlocked it so their account is bound to the phone rather than mine. I have managed to get the phone to boot into EDL mode by the test point method but I don't have an edl authorised account to flash a working ROM. If anyone knows someone who could help me out with this I'm more than happy to pay them for their time ?
kalebwinefield said:
Unfortunately since I bought the phone off AliExpress, the seller had already unlocked it so their account is bound to the phone rather than mine. I have managed to get the phone to boot into EDL mode by the test point method but I don't have an edl authorised account to flash a working ROM. If anyone knows someone who could help me out with this I'm more than happy to pay them for their time ?
Click to expand...
Click to collapse
Download the latest fastboot firmware (MIUI 11) for your mi cc9 (not mi 9 lite). Don't grab the recovery.zip firmware, it's useless and will give you errors.
When you finish your download, unpack your .tar firmware twice and flash it with MiFlashTool while you are on fastboot mode. (Power/Vol-).
Next time, ask before flashing not after !
Hello , how is it going?. I also have problem with my cc9 and tried to flash latest miui 10 v11.3.4.0 and now it's softbricked , I'm having problem with Mi Flash since it's showing lock state error. any fix for it?
stinkyllamaXDA1 said:
Hello , how is it going?. I also have problem with my cc9 and tried to flash latest miui 10 v11.3.4.0 and now it's softbricked , I'm having problem with Mi Flash since it's showing lock state error. any fix for it?
Click to expand...
Click to collapse
What kind of firmware are you trying to flash trough MiFlash ? recovery.zip or fastboot ? Can you take screenshots so people can know what is your issue ? Without screenshot no one will help you here !
Cheers
I also same situation, does anyone know a good idea?
I also same situation, does anyone know a good idea?
I installed Global ROM in CC9(Chinese edition) device and the device BootLoader is locked.
When I used fastboot and miflashtool, I got a message "Unauthorized for this operation"
I tried to unlock it and I also get a message "please add your account in miui settings > developer options > mi unlock status"
But i can't get out of recovery mode so I can't change the settings.
I tried to unlock but failed and also attempts to flash in EDL mode failed.
Sorry for bad english
irum94 said:
I also same situation, does anyone know a good idea?
I installed Global ROM in CC9(Chinese edition) device and the device BootLoader is locked.
When I used fastboot and miflashtool, I got a message "Unauthorized for this operation"
I tried to unlock it and I also get a message "please add your account in miui settings > developer options > mi unlock status"
But i can't get out of recovery mode so I can't change the settings.
I tried to unlock but failed and also attempts to flash in EDL mode failed.
Sorry for bad english
Click to expand...
Click to collapse
Few days ago my phone was totally dead, even charging not working. You need to flash firmware with edl authorized account in edl 9008 mode, firehose programator require verification before write ?
Stefke93 said:
Few days ago my phone was totally dead, even charging not working. You need to flash firmware with edl authorized account in edl 9008 mode, firehose programator require verification before write
Click to expand...
Click to collapse
I've already tried to flash from edl mode. but I don't have an account with authority.
Is there any way to bypass verification ?
irum94 said:
I've already tried to flash from edl mode. but I don't have an account with authority.
Is there any way to bypass verification ?
Click to expand...
Click to collapse
No until someone patch firehose for sdm710 ?
Mi 9 lite
I have a xiaomi mi 9 lite and it is in bootloop I try to turn it on and the MI logo appears for a second and it goes off I can't go into fastboot or recovery I already opened it to do test point and flash but it asks me for an authorized account If someone here has an authorized account that can lend me I will pay for the rental of the authorized account please help with that.
This guy helped me. He uses ultraviewer.net for remote connection. 1722 rubles for flashing.
MOD EDIT: Phone Number Removed
Le: how did you bricked it? I restored an older backup of android 9 over Android 10 from twrp. But from what I understand cc9 doesn't have rollback protection.
Le2: you can also try those fishy 710 firehose no Auth loaders you can find from various sources. Didn't worked for me but you can try.
If you flash Revolution OS or flash Android 9 over Android 10 rom you have good chance to hard brick device so you need to flash first fastboot rom if you want to go from 10 to 9
Thanks
friend @editheraven thank you very much for the contact, I spoke and yesterday I could flash my MI 9 lite I really appreciate it, thank you bro.
loc182 said:
I have a xiaomi mi 9 lite and it is in bootloop I try to turn it on and the MI logo appears for a second and it goes off I can't go into fastboot or recovery I already opened it to do test point and flash but it asks me for an authorized account If someone here has an authorized account that can lend me I will pay for the rental of the authorized account please help with that.
Click to expand...
Click to collapse
Me too.my 9 lite brick Mi logo then off.pls suggest for me.Thank
chainorth said:
Me too.my 9 lite brick Mi logo then off.pls suggest for me.Thank
Click to expand...
Click to collapse
Download the fastboot firmware version and execute flash all. (not flash and lock).
I assume you have fastboot access.
editheraven said:
Download the fastboot firmware version and execute flash all. (not flash and lock).
I assume you have fastboot access.
Click to expand...
Click to collapse
it can't boot to fastboot or recovery mode.
chainorth said:
it can't boot to fastboot or recovery mode.
Click to expand...
Click to collapse
And no recovery? Only the splash screen?
editheraven said:
And no recovery? Only the splash screen?
Click to expand...
Click to collapse
yes .Mi logo 2 sec then screen off

Categories

Resources