How to intall global rom with locked bootloader ? - Xiaomi Mi 5 Questions & Answers

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

Related

Need Help in Unlocking Mi5

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.

[PROBLEM] Unable to access Mi5 after lockdown

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.

Mi Mix fresh out of the box - How do I get Resurection Remix on it?

Hi Community,
I'm a little bit "scared" to ask for the following, but I have read a lot about it and I'm just getting more confused, so I hope someone can bring clarity.
Situation looks like this: I will unpack my Mi Mix 256gb EU-version this evening and I want to put Resurection Remix on it. Now, what steps do I need to follow to get this done? I know the steps of each process is written in the related post, but how does it play together?
I understood that I need TWRP (to add and remove roms, right?) and then install the rom on top of it. Also, is it then rooted? flashed? unlocked? If I would want the original software on it again, is it possible to install it without leaving marks of the rom?
What confuses me also is, that I somehow have to unlock something through the xiaomi page and wait a few days?
Thank you in advance and best regards from Switzerland!
Everything you need to know is in this thread: https://forum.xda-developers.com/mi-mix/how-to/guide-flash-global-china-rom-root-gapps-t3510592
Dont forget to decrypt your phone after you unlock your bootloader.
First you have to unlock your bootloader in order to flash recovery or fastboot rom. I will add all the links you need in order , so that you can access them fast and without problems.
For unlocking your bootloader first login into your Mi Account on your Mix , after this is done , go to unlock site (en.miui.com/unlock) and apply for unlock permissions ( Remember to use the same account you logged into your device if not you won´t be able to unlock it).Remember too to enable Developer Settings and allow Usb Debugging.
Afer this is done download and find this on google (xda adb drivers) and if you have windows its super -easy to set it up ( Remember to execute the batch file with admin privileges)
Once this is done if you still have adb problems just google and install universal adb driver, I will give you all the links at the end.
After all this and you have received approbation from Xiaomi to unlock and got the code , just plug-in your phone to your computer and enter fastboot mode ( Volume down+power buttons at the same time).
Open Mi Unlock program and enter the same account you used for unlock permissions and your device. After this is done wait for the unlock process to finish and click reboot.
Once you have rebooted your device download twrp , put it into adb folder (C://Adb) and with your device plugged-in type next : adb fastboot flash recovery twrp.img (or the name of your twrp.img , or just change it to twrp).
If you followed all the steps you should have twrp working and ready to flash any rom without problems. If you need more help just answer or send pm . Good luck and happy flashing.
1-http://en.miui.com/unlock/
2-https://forum.xda-developers.com/showthread.php?t=2588979
3-https://adb.clockworkmod.com/
4-https://www.androidfilehost.com/?fid=529152257862692530
YazumiWuHung said:
First you have to unlock your bootloader in order to flash recovery or fastboot rom. I will add all the links you need in order , so that you can access them fast and without problems.
For unlocking your bootloader first login into your Mi Account on your Mix , after this is done , go to unlock site (en.miui.com/unlock) and apply for unlock permissions ( Remember to use the same account you logged into your device if not you won´t be able to unlock it).Remember too to enable Developer Settings and allow Usb Debugging.
Afer this is done download and find this on google (xda adb drivers) and if you have windows its super -easy to set it up ( Remember to execute the batch file with admin privileges)
Once this is done if you still have adb problems just google and install universal adb driver, I will give you all the links at the end.
After all this and you have received approbation from Xiaomi to unlock and got the code , just plug-in your phone to your computer and enter fastboot mode ( Volume down+power buttons at the same time).
Open Mi Unlock program and enter the same account you used for unlock permissions and your device. After this is done wait for the unlock process to finish and click reboot.
Once you have rebooted your device download twrp , put it into adb folder (C://Adb) and with your device plugged-in type next : adb fastboot flash recovery twrp.img (or the name of your twrp.img , or just change it to twrp).
If you followed all the steps you should have twrp working and ready to flash any rom without problems. If you need more help just answer or send pm . Good luck and happy flashing.
1-http://en.miui.com/unlock/
2-https://forum.xda-developers.com/showthread.php?t=2588979
3-https://adb.clockworkmod.com/
4-https://www.androidfilehost.com/?fid=529152257862692530
Click to expand...
Click to collapse
Hey Thanks for the quick reply. I think this will help alot. So far I'm stuck at the first stage :silly: Did not receive an SMS even after 10 minutes. With the second click I received it but my IP is now blocked. Starts good
I can't even get it to reboot into recovery, it now freezes at the screen that prompts you to go to pcsuite!
i killed tupac said:
I can't even get it to reboot into recovery, it now freezes at the screen that prompts you to go to pcsuite!
Click to expand...
Click to collapse
Do you mean fastboot, have you installed a recovery? We don't know how far you have got. Power and vol- for fastboot. When mi logo appears let go of power button but keep vol- pressed till you see fastboot screen.
jazz452 said:
Do you mean fastboot, have you installed a recovery? We don't know how far you have got. Power and vol- for fastboot. When mi logo appears let go of power button but keep vol- pressed till you see fastboot screen.
Click to expand...
Click to collapse
doesn't work, I had to go this route:
http://en.miui.com/thread-500625-1-1.html
and to threadstarter: if you are not in China, you don't have to do the unlock request. If you're on EU rom already, you're unlocked. Just use the thread I posted, it is much, much easier.
You have to use the version in the thread I linked (official MIUI forum) or you'll get a TWRP where the touchscreen doesn't work and you can't confirm
i killed tupac said:
doesn't work, I had to go this route:
http://en.miui.com/thread-500625-1-1.html
and to threadstarter: if you are not in China, you don't have to do the unlock request. If you're on EU rom already, you're unlocked. Just use the thread I posted, it is much, much easier.
You have to use the version in the thread I linked (official MIUI forum) or you'll get a TWRP where the touchscreen doesn't work and you can't confirm
Click to expand...
Click to collapse
Things have changed, most people did this a year ago when there was no EU ROM, just China ROM and vendor ROM, most came with bootloader unlocked, which is the first thing you should of checked. The fact you have EU ROM would normally mean that bootloader has been unlocked but sometimes they re-lock the device.
jazz452 said:
Things have changed, most people did this a year ago when there was no EU ROM, just China ROM and vendor ROM, most came with bootloader unlocked, which is the first thing you should of checked. The fact you have EU ROM would normally mean that bootloader has been unlocked but sometimes they re-lock the device.
Click to expand...
Click to collapse
fwiw, I flashed the EU rom first
jazz452 said:
Things have changed, most people did this a year ago when there was no EU ROM, just China ROM and vendor ROM, most came with bootloader unlocked, which is the first thing you should of checked. The fact you have EU ROM would normally mean that bootloader has been unlocked but sometimes they re-lock the device.
Click to expand...
Click to collapse
Yeah... so that's what I meant. Even more confused now. My phone is definitely locked (checked with bootloader) and after I tried to apply again after 24 hours the weird chinese message pops up again and the application fails.
i killed tupac said:
fwiw, I flashed the EU rom first
Click to expand...
Click to collapse
Did you check using fastboot if your already unlocked,
fastboot OEM device-info
Assuming you have your pc set up which is the guides section.
Sorka_1 said:
Yeah... so that's what I meant. Even more confused now. My phone is definitely locked (checked with bootloader) and after I tried to apply again after 24 hours the weird chinese message pops up again and the application fails.
Click to expand...
Click to collapse
It worked today after trying it from a friend's computer. I also got the permission already.
Sorka_1 said:
It worked today after trying it from a friend's computer. I also got the permission already.
Click to expand...
Click to collapse
So now I'm getting this message in the unlock-programm when it finishes:
"Couldn't unlock - After 59 hours of trying to unlock the device"
What does that mean?
Sorka_1 said:
So now I'm getting this message in the unlock-programm when it finishes:
"Couldn't unlock - After 59 hours of trying to unlock the device"
What does that mean?
Click to expand...
Click to collapse
Are you still using your friends computer, maybe you are still blocked on your own. O and real friends aren't allowed on XDA.?
jazz452 said:
Did you check using fastboot if your already unlocked,
fastboot OEM device-info
Assuming you have your pc set up which is the guides section.
Click to expand...
Click to collapse
yeah, but the phone it totally ****ed now, not even sure what happened. I used XiaoMiTool and it hasn't worked right since.
i killed tupac said:
yeah, but the phone it totally ****ed now, not even sure what happened. I used XiaoMiTool and it hasn't worked right since.
Click to expand...
Click to collapse
Factory reset? It can't be broken, careful you don't kill it completely. Did you use the correct tool from miui.eu?
http://en.miui.com/thread-471497-1-1.html
I'm running viper ROM and I love it.
Sent from my MI MIX using Tapatalk
Lithium-Fusion said:
A bit of irrelevant with the thread, isn't it? [emoji1]
Click to expand...
Click to collapse
Yup sure is, sorry for offending you!
Sent from my MI MIX using Tapatalk
Sorka_1 said:
So now I'm getting this message in the unlock-programm when it finishes:
"Couldn't unlock - After 59 hours of trying to unlock the device"
What does that mean?
Click to expand...
Click to collapse
Just a quick follow up:
I waited 59 hours and now I could successfully unlock the phone. Will proceed now with TWRP. Yey.

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?

Categories

Resources