Hi,
I have bought redmi k20 pro from aliexpress in august, it came with 10.3.5.0 global rom and stuck on it. How can I update it manually or flash other rom without bricking it. It has unlocked bootloader. I have no experience in it so I need detail explanation.
need to check if the bootloader unlock is true or false
to do that you need to install minimal adb on your pc
activate usb debugging
connect phone in fastboot mode
open cmd on minimal adb folder
type fastboot oem device-info & check the result on unlocked section
In developer settings mi unluck status is unlocked but when I enter fastboot mode it always say 'waiting for device'
In developer options (use search) find oem unlock and see if it's on, as seen in the screenshot attached.
If developer options is not visible, enable by going:
Settings -> My Device -> All Specs -> Tap miui version until it unlocks developer mode.
could mean you haven't install the driver...
download PDAnet and install it
Related
Hi Guys
I am unable to unlock my bootloader. I have downloaded adb and fastboot drivers. I connect device. run adb devices, device details are displayed. i then run command to reboot into the bootloader. it reboots into the bootloader. when i run fastboot unlock oem nothing happens.
I have enabled the developer options, USB debug, OEM unlock, Advanced reboot
is there something I am not doing right?
adb is working in your system but fastboot is not working.
Check your drivers properly, they are not installed properly.
search for how to install adb and fastboot drivers on windows. There is no problem in windows xp but in windows 10 as in my case, you need to activate the developer option in setting and manually install the drivers. Go to device manager and check if your device is showing as android device when you go to fastboot mode.
ismailf007 said:
Hi Guys
I am unable to unlock my bootloader. I have downloaded adb and fastboot drivers. I connect device. run adb devices, device details are displayed. i then run command to reboot into the bootloader. it reboots into the bootloader. when i run fastboot unlock oem nothing happens.
I have enabled the developer options, USB debug, OEM unlock, Advanced reboot
is there something I am not doing right?
Click to expand...
Click to collapse
Did you type fastboot devices?
It should show you that your phone is connected.
Then you can run the unlock command.
Sent from my OnePlus3T using XDA Labs
ismailf007 said:
Hi Guys
I am unable to unlock my bootloader. I have downloaded adb and fastboot drivers. I connect device. run adb devices, device details are displayed. i then run command to reboot into the bootloader. it reboots into the bootloader. when i run fastboot unlock oem nothing happens.
I have enabled the developer options, USB debug, OEM unlock, Advanced reboot
is there something I am not doing right?
Click to expand...
Click to collapse
the correct command is "fastboot oem unlock"
Hi Guys it was the fastboot drivers. After installing it correctly it worked 100%. Assistance is highly appreciated
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.
Hi, I have problem with unlock bootloader in my moto G7 power because my firmware is broke I have Unlock Code from Motorola site when use command fastboot OEM unlock #code receives a message (bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer but I can't enable developer options because my firmware not work, I can only enter fastboot mode. I tried to run developer option from ADB but I have empty list devices even though I have installed drivers Android ADB Interface. I tried to install stock firmware but I need to unlock bootloader first. Does someone have an idea for this problem??
Hello,
I was trying to unlock bootloader and root my device (Redmi Note 9; Mediatek processor). But even after ensuring everything required to unlock, the latest mi unlock tool (miflash unlock tool; Ver: 4.5.707.49 and even miflash unlock tool; Ver 4.5.514.47) can't detect my device while it is in fastboot mode. What is interesting is I tried with older version (miflash unlock tool; Ver: 3.3.525.23) and it detects my device while it is in fastboot mode. But after approaching to unlocking, at the end of the process (99%) it says, can't unlock device, please go to https://en.miui.com/unlock/ and try with the latest version (where it should grant me few hours to wait until I become eligible to unlock it. I've ensured the followings:
I've installed all the required drivers (xiaomi, usb, ADB, fastboot, qualcom)
Enabled OEM unlocking and USB debugging on the device in developer option
I've bind the phone (in developer option>> mi unlock status) with the same mi account the phone is bind with
I've logged in the mi unlock tool with the same mi account
I've tried with the latest mi unlock tool and even with the older versions
my PC is a 64 bit windows 10 installed intel PC (I've heared ADM pcs' causes problem sometimes)
Disabled signature driver enforcement
Restarting the device and computer multiple times
Re installing drivers over and over again
What's going wrong or what wrong am I doing? Can anyone please help?
Try selecting the driver manually by yourself.
Go to device manager, and try to update it.
After it, select anything like "android bootloader" in list.
Good luck
Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4225177/
shaan3010 said:
Hello,
I was trying to unlock bootloader and root my device (Redmi Note 9; Mediatek processor). But even after ensuring everything required to unlock, the latest mi unlock tool (miflash unlock tool; Ver: 4.5.707.49 and even miflash unlock tool; Ver 4.5.514.47) can't detect my device while it is in fastboot mode. What is interesting is I tried with older version (miflash unlock tool; Ver: 3.3.525.23) and it detects my device while it is in fastboot mode. But after approaching to unlocking, at the end of the process (99%) it says, can't unlock device, please go to https://en.miui.com/unlock/ and try with the latest version (where it should grant me few hours to wait until I become eligible to unlock it. I've ensured the followings:
I've installed all the required drivers (xiaomi, usb, ADB, fastboot, qualcom)
Enabled OEM unlocking and USB debugging on the device in developer option
I've bind the phone (in developer option>> mi unlock status) with the same mi account the phone is bind with
I've logged in the mi unlock tool with the same mi account
I've tried with the latest mi unlock tool and even with the older versions
my PC is a 64 bit windows 10 installed intel PC (I've heared ADM pcs' causes problem sometimes)
Disabled signature driver enforcement
Restarting the device and computer multiple times
Re installing drivers over and over again
What's going wrong or what wrong am I doing? Can anyone please help?
Click to expand...
Click to collapse
You can check in device manager. Your phone should be on the top. If it is in portable devices then you can select it and then click on update driver manually.
After doing it go to platform tools folder(if you have them), type adb devices
If you device serial number is shown then its good to go.
If it is showing unauthorised then type the command
"adb reboot bootloader"
Now it will be authorised
shaan3010 said:
Hello,
I was trying to unlock bootloader and root my device (Redmi Note 9; Mediatek processor). But even after ensuring everything required to unlock, the latest mi unlock tool (miflash unlock tool; Ver: 4.5.707.49 and even miflash unlock tool; Ver 4.5.514.47) can't detect my device while it is in fastboot mode. What is interesting is I tried with older version (miflash unlock tool; Ver: 3.3.525.23) and it detects my device while it is in fastboot mode. But after approaching to unlocking, at the end of the process (99%) it says, can't unlock device, please go to https://en.miui.com/unlock/ and try with the latest version (where it should grant me few hours to wait until I become eligible to unlock it. I've ensured the followings:
I've installed all the required drivers (xiaomi, usb, ADB, fastboot, qualcom)
Enabled OEM unlocking and USB debugging on the device in developer option
I've bind the phone (in developer option>> mi unlock status) with the same mi account the phone is bind with
I've logged in the mi unlock tool with the same mi account
I've tried with the latest mi unlock tool and even with the older versions
my PC is a 64 bit windows 10 installed intel PC (I've heared ADM pcs' causes problem sometimes)
Disabled signature driver enforcement
Restarting the device and computer multiple times
Re installing drivers over and over again
What's going wrong or what wrong am I doing? Can anyone please help?
Click to expand...
Click to collapse
will this work
Manjotbenipal said:
You can check in device manager. Your phone should be on the top. If it is in portable devices then you can select it and then click on update driver manually.
After doing it go to platform tools folder(if you have them), type adb devices
If you device serial number is shown then its good to go.
If it is showing unauthorised then type the command
"adb reboot bootloader"
Now it will be authorised
Click to expand...
Click to collapse
Hi Manjotbenipal,
My device shows the 'serial number unauthorised', but when I tried the 'adb reboot bootloader' & 'adb devices' nothing is listed.
Thanks
troybarbas said:
Hi Manjotbenipal,
My device shows the 'serial number unauthorised', but when I tried the 'adb reboot bootloader' & 'adb devices' nothing is listed.
Thanks
Click to expand...
Click to collapse
All good now 'serial number device' is now shown after the phone restarted.
But still the Mi Unlock ver 6.5.406.31 software does not enable the unlock when in fastboot mode.
'adb device' show no devices...
troybarbas said:
All good now 'serial number device' is now shown after the phone restarted.
But still the Mi Unlock ver 6.5.406.31 software does not enable the unlock when in fastboot mode.
'adb device' show no devices..
Click to expand...
Click to collapse
When in fastboot mode
Type 'fastboot devices' in cmd and then you'll be able to see if you have proper drivers installed
Note : adb and fastboot are not same
'adb devices' command will never work in fastboot mode and same is for 'fastboot devices' when device is booted
shaan3010 said:
Hello,
I was trying to unlock bootloader and root my device (Redmi Note 9; Mediatek processor). But even after ensuring everything required to unlock, the latest mi unlock tool (miflash unlock tool; Ver: 4.5.707.49 and even miflash unlock tool; Ver 4.5.514.47) can't detect my device while it is in fastboot mode. What is interesting is I tried with older version (miflash unlock tool; Ver: 3.3.525.23) and it detects my device while it is in fastboot mode. But after approaching to unlocking, at the end of the process (99%) it says, can't unlock device, please go to https://en.miui.com/unlock/ and try with the latest version (where it should grant me few hours to wait until I become eligible to unlock it. I've ensured the followings:
I've installed all the required drivers (xiaomi, usb, ADB, fastboot, qualcom)
Enabled OEM unlocking and USB debugging on the device in developer option
I've bind the phone (in developer option>> mi unlock status) with the same mi account the phone is bind with
I've logged in the mi unlock tool with the same mi account
I've tried with the latest mi unlock tool and even with the older versions
my PC is a 64 bit windows 10 installed intel PC (I've heared ADM pcs' causes problem sometimes)
Disabled signature driver enforcement
Restarting the device and computer multiple times
Re installing drivers over and over again
What's going wrong or what wrong am I doing? Can anyone please help?
Click to expand...
Click to collapse
https://github.com/fawazahmed0/Latest-adb-fastboot-installer-for-windows/releases/latest/download/Latest-ADB-Installer.bat
Download this. Connect your device with usb debuging on and permitted debug.
Run the bat file with an internet connection. Wait and walah. Device will reboot to fastboot and reboot again.
Manjotbenipal said:
When in fastboot mode
Type 'fastboot devices' in cmd and then you'll be able to see if you have proper drivers installed
Note : adb and fastboot are not same
'adb devices' command will never work in fastboot mode and same is for 'fastboot devices' when device is booted
Click to expand...
Click to collapse
understood..
I followed this guide https://new.c.mi.com/global/post/101245
"You have already done that on the phone, so you should get Phone connected message on Mi Unlock. If you get Not connected to the phone message, reinstall Mi USB driver and try again."
Currently device is using winusb.sys driver, ran (Mi Unlock ver 6.5.406.31) MiUsbDriver & xiaomiwinusba64.cat, but still Windows 11 keeps using winusb.sys driver...for some reason.
troybarbas said:
understood..
I followed this guide https://new.c.mi.com/global/post/101245
"You have already done that on the phone, so you should get Phone connected message on Mi Unlock. If you get Not connected to the phone message, reinstall Mi USB driver and try again."
Currently device is using winusb.sys driver, ran (Mi Unlock ver 6.5.406.31) MiUsbDriver & xiaomiwinusba64.cat, but still Windows 11 keeps using winusb.sys driver...for some reason.
Click to expand...
Click to collapse
What is winusb.sys and How to Remove this file (Solved)
in just easy steps learn how to remove winusb.sys file, get full information and solutions for winusb.sys errors
www.exedb.com
I am not responsible if this breaks more stuff
LR7875 said:
What is winusb.sys and How to Remove this file (Solved)
in just easy steps learn how to remove winusb.sys file, get full information and solutions for winusb.sys errors
www.exedb.com
I am not responsible if this breaks more stuff
Click to expand...
Click to collapse
so too is regedit in removing winusb.
Hi guys so my device is on global miui 12.0.6.0 stable and whenever i check for updates it says its the latest but I know there is an android 11 already, my device is still on android 10.
So next step is to unlock adb and fastboot right so I can update my device.
I did all the steps necessary.
OEM Unlock is on
MI account is connected on (mi unlock status)
usb debugging is on
install via usb is on
usb debugging security settings is on
No password (lockscreen)
Other things I've done:
I installed the Miui 12 on the check update screen twice
I factory reset on settings
I cleared all data on recovery settings (stock recovery only of miui)
andd still no LUCK! I badly need some of you high IQ guys here to help me resolve this please My mind hurts its like the factory of fastboot of this phone has somehow got corrupted....
I can hear a sound when connecting via usb when on black screen fastboot mode
I can even access adb commands like " adb reboot bootloader & adb reboot fastboot " and they all leads to the BLACK SCREEN FASTBOOT (NO LOGO) MODE T.T
Does >fastboot devices respond with your phone?
HaveSomeCyanide said:
Does >fastboot devices respond with your phone?
Click to expand...
Click to collapse
after tweaking and tweaking it does. Fortunately MI Unlock also works even if its just a black screen fastboot mode. so weird but it is what it is
HaveSomeCyanide said:
Does >fastboot devices respond with your phone?
Click to expand...
Click to collapse
after tweaking and tweaking it does. Fortunately MI Unlock also works even if its just a black screen fastboot mode. so weird but it is what it is
I believe that this shouldn't modify fastboot, try to reflash the latest and original MIUI rom using flash_all.bat (don't use flash_all_lock.bat)
It should fix any corrupted partitions. Or it may not do anything.