Hi guys, it's my first post. I have my MI A2 bricked after the last update. It's stuck at android logo and I can access only fastboot, no adb. Via fastboot I tried to wipe the phone, install TWRP, unlock the bootloader, but the answer is always I cant flash or do anything with a locked phone. What can I do? Is it possible to save data?
With locked bootloader and critical all your attempts to flash anything via fastboot could not succed, unless .you have previously got developer rights and checked "OEM unlock" option. With this option ON, and using USB 2.x port, you could unlock bootloader and critical via fastboot, but have no ways to save data (which is erased with unlocking as with factory reset).
Try to reboot many times with external power off and on, phone is supposed to boot into now inactive A/B slot (which was active prior to OTA) sooner or later, then you can save data and unlock.
If nothing helps, you'll have to open case, connect "[email protected] (or EDL) pins and then flash stock ROM with MiFlash, and then unlock and reflash with fastboot.
Related
Hi,
so i got a situation here that xiaomi mi a2 (6x) out of nowhere rebooted to factory recovery with message "cant load android system. your data may be corrupt. If you continue to get this message you may need to perform factory reset deleting all data stored on this device"
Now after turning it off and on, it shows black screen "failed to boot" with option to power off or restart.
When restarting it goes to factory recovery again with that message and option to factory reset or try again (restart)
Now i cant perform factory reset before backing up the data, but i cant find the way to backup.
There is no custom recovery to download files from phone. When tried to flash custom recovery found out i cant because bootloader locked. And when found the way (dont know i it works) to unlock it without loosing data - cant do even that because developer options must be enabled to allow unlocking and debugging, so i get message in adb console FAILED (remote: Flashing Unlock is not allowed.
Is there any other way to keep the data before doing factory reset ?
Maybe try to flash with miflash keeping the data
blazessdd said:
Maybe try to flash with miflash keeping the data
Click to expand...
Click to collapse
unfortunately miflash cant do anything with locked bootloader as well. Just when starts to flash, gets error with bluetoth_a.
After research i noticed that miflash does nothing special at all just automated flash commands. In rom directory you can find flashing .bat files and run them in adb console.
When did that got all the data log, that bluetooth a is the first file that is tried to flash and stuck on locked bootloader.
Hello. Did you manage to solve your problem?
I have the same saituation.
Hi, unfortunately the only way i found is EDL mode.
https://youtu.be/i3OU4DOd7aY
When you keep those pins shorted, plug usb to your pc, and then , simply said, pc sees it as another device that can be flashed with everything locked.
So i flashed with miflash with keeping files option, but all that was saved is locking pattern. All media files lost.
Anyway, now i rooted and installed custom recovery to avoid any incident like this.
andjar said:
Hi, unfortunately the only way i found is EDL mode.
https://youtu.be/i3OU4DOd7aY
When you keep those pins shorted, plug usb to your pc, and then , simply said, pc sees it as another device that can be flashed with everything locked.
So i flashed with miflash with keeping files option, but all that was saved is locking pattern. All media files lost.
Anyway, now i rooted and installed custom recovery to avoid any incident like this.
Click to expand...
Click to collapse
you should edited rawprogram0.xml to not flash userdata (for saving your data)
Well if i only had this info 2 moths ago...
At leats others with this problem can find solution here now.
Hi Guys,
My MI-A2 is stuck in bootloop ( When I turn on my phone it shows its Android One logo and then it shutdown itself ).
In my phone, I didn't turn on any USB Debugging or and OEM unlocking. and now it is possible as the phone is not starting.
I am able to access fastboot and recovery options
I tried to do factoryReset the device from the recovery option but it is just wiping the data.
here are the following things which I have tried with fastboot.
- I tried to unlock the fastboot with MiFlashUnlock but it stops at 99% and gives me the error of unable to verify the device,
- flashing the Stock ROM isn't working with MiFlashTool. giving random errors.
- tried changing the drive partition. it gives error to unlock the device first.
- tried tried to flash TWRP but it also gives me the error of unlocking the device first.
Almost every command of Fastboot is giving me some kind of error
But I am able to access the ADB Sideload from the recovery option.
- I tried to load the April OTA update from ADB Sidelode. The update is Successfully installed. But the device is still in bootloop.
Saving User data is not my priority. I just want the device to be working anyhow. As per my assumption, Fastboot is not an option for me unless it unlocked. I think something from the ADB sideload can be done.
Any help will be appreciated.
Is it a Guide?
Oh, now, its a Great News!
Please delete this post from this forum.
As I have already wrote to you, questions should go to "Questions and Answers" forum.
And as I have already wrote to you, Search works here, and if you've used it, you'd get answers (in mentioned above forum):
1. MiA2 having A/B slots architecture, - is supposed to recover to the other slot X when OTA corrupts ROM is slot Y, - after numerous boot attempts.
2. In case you have tampered phone with try-and-see operations without knowing what you were doing - the only way to recover phone is: TEST Point / EDL. Search these keywords in this forum for appropriate Guide.
try the "fastboot continue" command
dillu12 said:
Hi Guys,
My MI-A2 is stuck in bootloop ( When I turn on my phone it shows its Android One logo and then it shutdown itself ).
In my phone, I didn't turn on any USB Debugging or and OEM unlocking. and now it is possible as the phone is not starting.
I am able to access fastboot and recovery options
I tried to do factoryReset the device from the recovery option but it is just wiping the data.
here are the following things which I have tried with fastboot.
- I tried to unlock the fastboot with MiFlashUnlock but it stops at 99% and gives me the error of unable to verify the device,
- flashing the Stock ROM isn't working with MiFlashTool. giving random errors.
- tried changing the drive partition. it gives error to unlock the device first.
- tried tried to flash TWRP but it also gives me the error of unlocking the device first.
Almost every command of Fastboot is giving me some kind of error
But I am able to access the ADB Sideload from the recovery option.
- I tried to load the April OTA update from ADB Sidelode. The update is Successfully installed. But the device is still in bootloop.
Saving User data is not my priority. I just want the device to be working anyhow. As per my assumption, Fastboot is not an option for me unless it unlocked. I think something from the ADB sideload can be done.
Any help will be appreciated.
Click to expand...
Click to collapse
you need to flash the phone in edl mode
**just be careful there is a timeout ..when you put it into edl you need miflash and rom.loaded
*** download a stock fastboot stable pie for jasmine
**** unzip amd select revelant xml from within miflash
*****on phone manually boot to fastboot mode with buttons
****** run command "fastboot oem.edl"
*******device will boot to black screen ... immediately go to miflash and press the button to start flashing
___BE CAREFUL__ select clear all tick box at bottom of miflash screen
this should be enough to rescue your device regardless of what you've done or whether you unlocked bootloader or not
So, i got a second hand mi 5 last week. Seller told me that it had software issue and I thought I could fix it. Because it was really cheap.
The device was stuck on bootloop when I had it. But I was able to open mi recovery and fast boot menus. i tried many options to flash a stable stock rom. The most useful one was to flash via XiaomiTool v2. It says successfully flashed and reboots but stuck on bootloop every time. (Tried few times already).
the bootloader is locked and no mi accounts binded to the device. Computer detects the device successfully.
I tried adb commands as well, but since bootloader is locked i couldn't get any further to flash or wipe.
Any useful suggestions?
Can you still access to fastboot mode?
If so, you need fastboot oem unlock to unlock bootloader first, before anything else.
I was trying to install Pixel Experience rom for my device.But when I flash the recovery image of pixel experience it was not installed and I was stuck in fastboot mode.Then I tried to somehow the Pixel Experience recovery load and phone go in a loop show logo poco and restart again and again. The fastboot mode did not coming after that i tried to install a rom using sp flash tool and it was not worked but fastboot mode now coming and I now tried to flash using miflash tool it shows boot in lock state.My bootloader was locked again somehow. Then to bypass this I used some python commands and unlock the bootloader and using flash I flashed my original rom but after that, another problem occurred like google and mi account not being connected google services not working, and mi account also another thing was ok. How can I solve this.?please help. I can't use google services and can't log in mi account also. My OEM unlocking status permanently on it doesn't have an edit option. I used these files to unlock the bootloader.I follow this article
Load the MTKClient: https://github.com/bkerler/mtkclient
After the install (drivers are needed for windows / using linux is preferred) type:
"python mtk da seccfg unlock"
and connect the device (off) with vol- and vol+ buttons pushed.
You may have to use the command "fastboot flashing unlock" or "fastboot oem unlock" in fastboot afterwards.
I accidentally flash my phone with official rom in miflassh with flash_all_lock.bat option now after i reboot my phone there had a message file storage corrupted your device is unsafe now. I try to again unlock the bootloader but mi account cannot activate my sim. tried with new sim and account but no reasult. Always says couldnt verify your sim card. for this, i cannot turn on the find device and add account with my phone. I tried all searched ways but no reasult. i tried downgrade with rename rom method, try xiamitoolv2 no reasult.
Now pleas can anyone help me to unlock the bootloader with any idea. It will be really appreciated. Thanks in advance.
Can you still boot into fastboot mode?
If so,
1. For newer devices (2015 and higher):
fastboot flashing unlock
2. For older devices (2014 and lower)
fastboot oem unlock
I had the same problem a month ago and finally solved, you should make some changes to a file of the official ROM released by Xiaomi and re-flash it by activating the Qualcomm 9008 mode, in which you can ignore the bootloader lock