Bootloader locked itself after a small unplug - Xiaomi Mi A3 Questions & Answers

Hi, so several months ago i installed MIUI 12 weekly to my Xiaomi Mi A3, and now I wanted to upgrade to the stable release. When i was flashing a boot image file, after restart, my twrp dissapear. I tried to flash the rom using Mi Flash on PC, but i touched the cable and the phone disconnected, locking the bootloader in the process. I have no OS, my bootloader is locked. Is my phone truly dead?
I also forgot to uninstall Magisk root from my phone, so it's my full mistake. adb doesn't recognize my phone. I can only turn on the phone, leave it on boot until the battery drains, or the fastboot. Is there any chances that I can save my phone?

did you tray loading twrp when you are in fastboot mode?

gorankx said:
did you tray loading twrp when you are in fastboot mode?
Click to expand...
Click to collapse
I lost my twrp because i flashed the boot.img image from an rom.

try flashing new twrp when in fastboot mode or flash boot.img

gorankx said:
try flashing new twrp when in fastboot mode or flash boot.img
Click to expand...
Click to collapse
I can't. It says i cannot flash while in Lock State. Basically i can't do anything without unlocked bootloader.

well unlock it, you have 2 comands to put.
fastboot flashing unlock
fastboot flashing unlock_critical

FAILED (remote: Token Verify Failed, Reboot the device) after i used the commands you told me.
What should I do next?
And Mi Unlock tool can't unlock the device, because I need to change some settings in Developer Options, and I have no rom.

did you try switching slots?
fastboot getvar current-slot

Getvar Variable not found

f###,
then only some recovery option with
mi tools.

Download mi a3 platform tool file then download fastboot and fastboot unlock critical file paste these both in platform tool folder then plug device through fastboot to pc then first click on fastboot unlock and then fastboot unlocking critical it will be unlocked then install the rom through mi flash

Related

[HELP][CRITICAL] stuck with no recovery, no root and locked bootloader on Sultan CM13

Hello Guys,
I was trying to install OxygenOS 3.1.0 when I was on Sultanxda's CM13 but instead bricked the device.
What I did:-
1. Rebooted to TWRP and flashed stock OOS recovery and then clicked reboot into recovery.
2. Instead of rebooting in recovery my phone got stuck at the OnePlus logo.
3. I booted into fastboot to flash twrp.img but it says 'writing 'recovery'...
FAILED (remote: device is locked. Cannot erase)'
4. I repeated the same with stock recovery but no success and was not even able to boot to CM13 now.
Hence I was stuck on the OnePlus logo without any booting ROM or recovery and a locked bootloader (according to fastboot)
What I have already tried but failed:-
1. Tried to root with kingroot etc. (Before bricking)
2. Tried to unlock bootloader but failed because it has no recovery.
3. Tried to flash stock OOS 2.1.3-x
4. For now I used fastboot continue to boot back into CM13
Please help, I'm now stuck with cm13 without root and without any recovery installed.
P.S. I'm not even sure that if I clicked reboot then the phone will boot.
Thanks.
Okay, calm down.
Go to developer options and see if "OEM Unlocking" is enabled. If not, enable it.
Cool. Now enable USB Debugging, connect the phone to PC, open CMD and type
Code:
adb reboot bootloader
then
Code:
fastboot oem unlock
Download TWRP from the official website, rename it to recovery.img and then
Code:
fastboot flash recovery recovery.img
Now you have a recovery and an unlocked bootloader. Profit?
I hope this helps.
Thunderbottom said:
Okay, calm down.
Go to developer options and see if "OEM Unlocking" is enabled. If not, enable it.
Cool. Now enable USB Debugging, connect the phone to PC, open CMD and type
then
Download TWRP from the official website, rename it to recovery.img and then
Now you have a recovery and an unlocked bootloader. Profit?
I hope this helps.
Click to expand...
Click to collapse
Thanks for your help,
But if you read my post then you'll understand that due to absence of a recovery I can't unlock the bootloader and hence cannot flash twrp
gavisharora said:
Thanks for your help,
But if you read my post then you'll understand that due to absence of a recovery I can't unlock the bootloader and hence cannot flash twrp
Click to expand...
Click to collapse
You don't need recovery to unlock bootloader, you need fastboot.
Thunderbottom said:
You don't need recovery to unlock bootloader, you need fastboot.
Click to expand...
Click to collapse
But in OnePlus devices the phone asks a confirmation through recovery recovery to wipe data and unlock
gavisharora said:
But in OnePlus devices the phone asks a confirmation through recovery recovery to wipe data and unlock
Click to expand...
Click to collapse
Try the Mega Unbrick Guide then.
Deleted
Same problem. But i dont have pc with windows and can't use mega unbrick guide(
Any news with solution?

stuck at boot - but why

hi there,
i have got a redmi note 3 pro that keeps stuck in bootloop.
Tried:
- boot to fastboot
- fired up miflash
- rebooted phone to edl
-miflash recognized phone
- flashed "kenzo" fastboot rom (tried global stable + kenzo_global_images_V7.1.8.0.LHOMICL_20160129.0000.14_5.1_global + chinese stable)
phone remains stuck in bootloop after restart.
Is there something I am missing? Please help me out.
(I guess bootloader is locked, not my phone)
when in fastboot mode, check the state of your device (make sure you have fastboot installed):
-connect device to pc
-open cmd
-type "fastboot oem device-info"
once you know the bootloader is unlocked, open miflash tool and flash the stock ROM. I don't see you need to go to EDL mode. Miflash is for fastboot mode!
how did you not knowing the condition of your bootloader? you should know it in the first place before you do such things.
oh, and make sure the directory of your rom image doesn't have spaces in it (example: C:/Users/Ivan Kurnia/...) (be safe, move it to like C:/Desktop) otherwise it will only take 1 second to flash the rom (which flashing didn't happen)
Thank you for your ideas, I still dont know if bootloader is locked or not, because it is not my phone, I was just asked to help.
However I managed to flash TWRP, now everything is good.
low1 said:
Thank you for your ideas, I still dont know if bootloader is locked or not, because it is not my phone, I was just asked to help.
However I managed to flash TWRP, now everything is good.
Click to expand...
Click to collapse
Is u able to enter recovery mode?
zhukry said:
Is u able to enter recovery mode?
Click to expand...
Click to collapse
Yes I flashed TWRP in edl mode, then flashed new Rom via TWRP
How to root tedmi note 3
Flash lastest MIUI using MiFlash.

Soft brick while trying to flash TWRP

Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Ivanov93 said:
Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Click to expand...
Click to collapse
I guess you have Redmi note 5 - codename: Whyred (Snapdragon 636 and with dual rear camera) so Redmi 5 plus doesn´t have ARB.
If the next recommendation doesn´t work you will find better guidance in the thread for your specific device https://forum.xda-developers.com/redmi-note-5-pro so is slightly different.
Flash again your stock boot image , reboot and check that USB debugging is enabled and start again the process:
Put TWRP in your sdcard and a copy with this name in your adb folder into pc, reboot to fastboot and first just boot to TWRP, don´t flash it in fastboot, use code
Code:
fastboot boot TWRP.img
then in TWRP flash TWRP file and flash dummy.img ARB. In the case that your counter is up to 4 here you will find the file to enable again fastboot mode https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Ivanov93 said:
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
Click to expand...
Click to collapse
I will assume that you have the correct TWRP build for your device (do you have vince, or whyred?).
If you have the correct TWRP, then did you flash magisk or lazyflasher after installing TWRP?
MAAAN
Do like this: once you flashed type
Fastboot boot recoveryname.img

Successfully unbricked mi 9t

I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone. ☺☺☺
flamedrops said:
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone.
Click to expand...
Click to collapse
Could you explain? My phone is stuck at fastboot and my pc doesn't detect the phone.
if u could access your phone via fastboot / adb then it wasn't a hardbrick , just a softbrick
TahmidZee said:
Could you explain? My phone is stuck at fastboot and my pc doesn't detect the phone.
Click to expand...
Click to collapse
You should check first the driver of your computer. Make sure you have the driver of your phone to your computer. After that you can check your device via adb by using commnd on cmd "adb devices".
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
VERY VERY THANX A LOT MAN...THX THX THX:highfive:
flamedrops said:
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone.
Click to expand...
Click to collapse
Can u please explain it. I am stuck with the same problem. I got success in flashing fastboot rom via miflash tool but it's still stuck in fastboot.
Thanks God Bless You.
---------- Post added at 05:01 PM ---------- Previous post was at 04:36 PM ----------
Deaddo6 said:
VERY VERY THANX A LOT MAN...THX THX THX:highfive:
Click to expand...
Click to collapse
This Helped You guys are angel
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
I have the same problem. I tried also this one, but nothing.
Everything goes ok in CMD, but when I type:
fastboot boot twrp.img
I get:
FAILED (remote: Failed to load/authenticate boot image: Load Error)
I still can't go in Recovery, neither turn off the phone. How solve this?!
dix93 said:
I have the same problem. I tried also this one, but nothing.
Everything goes ok in CMD, but when I type:
flash boot twrp.img
I get:
FAILED (remote: Failed to load/authenticate boot image: Load Error)
I still can't go in Recovery, neither turn off the phone. How solve this?!
Click to expand...
Click to collapse
flash boot twrp.img?
What do you wanna do?
If you want to boot into TWRP it should be
Code:
fastboot boot recovery "name-of- recovery.img"
If you want to flash TWRP it should be
Code:
fastboot flash recovery "name-of-recovery.img"
Your command
fastboot flash boot twrp.img should flash the recovery image over the boot image?
If you want to boot into twrp you should use the command above.
As far as I know not every device/firmware is able to boot into TWRP. It seems other users were able to do so with a mi 9t so my advice would be:
- Try another usb port / cable.
- Check twice if you renamed the twrp image correctly
- Try another twrp version (older one or unofficial)
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
Wolfcity said:
flash boot twrp.img?
What do you wanna do?
If you want to boot into TWRP it should be
Code:
fastboot boot recovery "name-of- recovery.img"
If you want to flash TWRP it should be
Code:
fastboot flash recovery "name-of-recovery.img"
Your command
fastboot flash boot twrp.img should flash the recovery image over the boot image?
If you want to boot into twrp you should use the command above.
As far as I know not every device/firmware is able to boot into TWRP. It seems other users were able to do so with a mi 9t so my advice would be:
- Try another usb port / cable.
- Check twice if you renamed the twrp image correctly
- Try another twrp version (older one or unofficial)
Click to expand...
Click to collapse
Thank you. Actually I was confused in the transcript here, I meant fast boot instead of flash.
But I figured out to use XiaomiFlash Tool to install a ROM via fastboot, and then reinstall a recovery.
The popup camera is not working good with the XIAOMI official rom (It tries to close the cam even if it is already closed). Now I'm trying to install Havoc OS to try to solve those problem, but it demands me the miui v11.0.4 or new (error in twrp), even if I have the miui v12.... trying to figure out why
for the guys whome are stuck on fastboot, you may try "XiaoMiTool V2". this bought my Mi9T from fastboot to life.
make sure all the drivers are installed as well. what's better is install usb drivers, reboot computer, enable usb debugging, connect the phone to computer, select transfer data, wait till the computer completely setup your phone, turn off phone and connect to computer, wait till computer detects and setup, put the phone on fastboot mode and connect, check whether computer shows android device... once everything are confirmed then proceed with flasing.. :good::good:
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
This command - fastboot flash vbmeta worked.
(using a version from Redispade for Grus - mi9se)
Unbricked my bootloop (recovery) after upgrading from miui 12 (android 10) to 12.5 android 11.
thanks!

Mi note 10 lite stuck at fastboot after updating to android 11

Sir, i have updated my mi note 10 lite to android 11and after restart it works fine. But the problem is that when i reboot to recovery to install root, because i have installed twrp before. Unfortunately, its stuck on fastboot screen.
Can you help me out to solve this problem.
I tried to flash twrp but its not mounting partition, i reboot to recovery again but its go to fastboot mode again
I tried to flash fastboot rom through mi flash tool it errors because anti rollback.(android 10)
Still i am finding Android 11 fastboot images but not found.
You can contact dennis via Instagram that man reply you
Mi note 10 lite User 😭😭 said:
You can contact dennis via Instagram that man reply you
Click to expand...
Click to collapse
Okay i dm you now check please
haadii said:
Sir, i have updated my mi note 10 lite to android 11and after restart it works fine. But the problem is that when i reboot to recovery to install root, because i have installed twrp before. Unfortunately, its stuck on fastboot screen.
Can you help me out to solve this problem.
I tried to flash twrp but its not mounting partition, i reboot to recovery again but its go to fastboot mode again
I tried to flash fastboot rom through mi flash tool it errors because anti rollback.(android 10)
Still i am finding Android 11 fastboot images but not found.
Click to expand...
Click to collapse
extract the official recovery from the global fastboot rom and flash through cmd to recover the boot, then wipe from the recovery and you will return to miui 12.1.1
what i'm trying to figure out is if i can go back to the previous version of android without risking to crash the device.
I ran the fastboot getvar anti command and the result was Anti: 2 but I am not quite clear what that means.
I am a new user at Xiaomi.
leinadagisiaol said:
what i'm trying to figure out is if i can go back to the previous version of android without risking to crash the device.
I ran the fastboot getvar anti command and the result was Anti: 2 but I am not quite clear what that means.
I am a new user at Xiaomi.
Click to expand...
Click to collapse
I tried it. When flashing fastboot images thorough miflash its error in anti roll back check... Or may your device hard brick
Now i am here with a new fu*kin error..
Any solution for this. I don't want to lose data
If stuck in fastboot mode, type "fastboot continue" in adb and it will proceed with boot
ApexPrime said:
If stuck in fastboot mode, type "fastboot continue" in adb and it will proceed with boot
Click to expand...
Click to collapse
No. Its not my problem now
My problem is mentioned above
Bro i think you can access your files from computer in recovery so make a backup and flash official firmware using miflash tool. I don't think there's any other way.
haadii said:
Now i am here with a new fu*kin error..
Any solution for this. I don't want to lose data
Click to expand...
Click to collapse
Before installing custom recovery and installing custom rom, it is recommended to backup.
You installed the recovery well, but in order to install custom ROMs you have to format and restart the recovery, then pass the ROM you want to flash and reboot system.
haadii said:
I tried it. When flashing fastboot images thorough miflash its error in anti roll back check... Or may your device hard brick
Click to expand...
Click to collapse
I managed to go back to miui 11 version 11.0.8
leinadagisiaol said:
I managed to go back to miui 11 version 11.0.8
Click to expand...
Click to collapse
How?? Can you show or tell me the process!! I don't like Android 11
haadii said:
How?? Can you show or tell me the process!! I don't like Android 11
Click to expand...
Click to collapse
Good evening ..
For all those interested in downloading the official ROM version of the Xiaomi mi note 10 Lite, I have news for you, at least for those who want and have not tried.
I tried the method of saving the MiFlash folder on Disk C, in the same way I did with the global ROM of miui 11.0.8 fastboot, to the latter I changed the name of the folder to a shorter one (example Miui11.0.8), then boot in fastboot mode and run my flash running the ROM (Miui11.0.8) and the result obtained is that, I'm back on Android 10 with miui 11.0.8.
I share this information to give security to all those who had doubts about this and did not dare to try.
This data I extracted from various forums and pointed to it to give credit to all those who previously published it.
Remember that the bootloader must be unlocked.
Regards.
Hi everybody
I've got a problem...
Downloaded latest OTA update from "xiaomi.eu", agreed to install, the phone then rebooted in to fastboot mode and does nothing else.
Rebooted the phone with adb command "fastboot continue" and this went well...it rebooted the system.
Now every time i restart the phone it reboots in to fastboot mode and i have to "fastboot continue" again.
I am also not able to enter recovery because the phone always enters fastboot mode.
Reinstalled recovery (Twrp-3.4.2B_toco_by.alex.msk1407.img) via ADB succesfully, but when i "fastboot reboot recovery" it reboots back into fastboot.
I'm also not able to boot into EDL mode.
Any solution?
Thanks
"MI NOTE LITE 8GB/128GB" running "MIUI by xiaomi.eu 12.1.1 | Stable 12.1.1.0(RFNMIXM)
salsaecoentros said:
Hi everybody
I've got a problem...
Downloaded latest OTA update from "xiaomi.eu", agreed to install, the phone then rebooted in to fastboot mode and does nothing else.
Rebooted the phone with adb command "fastboot continue" and this went well...it rebooted the system.
Now every time i restart the phone it reboots in to fastboot mode and i have to "fastboot continue" again.
I am also not able to enter recovery because the phone always enters fastboot mode.
Reinstalled recovery (Twrp-3.4.2B_toco_by.alex.msk1407.img) via ADB succesfully, but when i "fastboot reboot recovery" it reboots back into fastboot.
I'm also not able to boot into EDL mode.
Any solution?
Thanks
"MI NOTE LITE 8GB/128GB" running "MIUI by xiaomi.eu 12.1.1 | Stable 12.1.1.0(RFNMIXM)
Click to expand...
Click to collapse
Just format userdata. In fastboot mode command. Fastboot format userdata
Then flash new stock fastboot images of eu in miflash.
Note,
Backup your data first
Good Day. I have concern but after updating to Android 12. Currently my Mi Note 10 Lite is experiencing stuck in fastboot and mi logo. I already tried flashing using MIFlash 2020 but the error occur is "Erase is not allowed in Lock State".I also used MI PC Suite but it cant read my device (maybe because of lock state also). Even in MI-Unlock (batch_unlock application) it says its locked but when I sign-in it doesnt give permission to unlock (I used yahoo account).
goroshigeno56 said:
Good Day. I have concern but after updating to Android 12. Currently my Mi Note 10 Lite is experiencing stuck in fastboot and mi logo. I already tried flashing using MIFlash 2020 but the error occur is "Erase is not allowed in Lock State".I also used MI PC Suite but it cant read my device (maybe because of lock state also). Even in MI-Unlock (batch_unlock application) it says its locked but when I sign-in it doesnt give permission to unlock (I used yahoo account).
Click to expand...
Click to collapse
did you fix that problem?

Categories

Resources