Bricked after trying to relock bootloader - Xiaomi Mi A2 Lite Guides, News, & Discussion

Hi all
I had just finished installed Lineage and twrp succesfully to setup this phone, but I then discovered that the unlocked bootleader was preventing me to install Netflix.
I then tried to re-lock it via "fastboot oem lock" which apparently worked, but the side effect was that my main system is now not booting at all.
And when I've then tried to unlocking it again, it just fails, so I'm currently closed out.
Right now I can only access fastboot mode.
Any idea if this can be saved?
thank you

It can be saved but you need to use EDL mode (Emergency Download Mode). This mode is locked by Xiaomi and you Need an authorized account to use It.
You have 2 options:
- Pay a man that have an authorized account and can flash the stock rom from EDL.
- Go to an authorized Xiaomi center.

Thank you. Luckily that was not the right answer.
I've managed to put the phone in EDL mode via hardware, after opening it up.
After bypassing also the lack of helo message error, I've finally manage to flash with Xiaomi Flash tool and regained access to it.

Related

Stuck in EDL mode , "hello packet error" , unauthorized to flash. [BRICK NOTE 7 PRO]

Stuck in EDL mode , "hello packet error" , unauthorized to flash. [BRICK NOTE 7 PRO]
[URGENT] Redmi Note 7 Pro stuck in EDL mode. I was trying to flash stock Mi rom using TWRP on my rooted device to unroot it but idk something went wrong. I had cleared Delvik-cache , cache , Data and Internal Storage. I formatted my data to de-encrypt my Internal Storage too.Now i cannot boot into recovery / cannot boot into download mode. From googling a little i know my phone is in something called EDL mode. My PC detects my phone when i plug it in but nothing in my phone works, absolutely nothing. Screen is blank since 2 days and i think it's bricked.The only thing that works is power button , it just power-cycles my phone. I am trying to flash a stock fastboot rom using MiFlash tool which is able to detect my phone but it keeps saying that i'm not authorized to flash this rom , . Has anyone found themselves in a similar situation? Please help me!
TL;DR - Bricked Redmi Note 7 Pro , Stuck in EDL Mode , MiFlash - "hello packet error" , unauthorized to flash the rom.
Any help will be much appreciated i really need my phone
Hey man, i don’t think MIFlash works with EDL mode without an authorized account.
Do you have an authorized account?
Peaceful.Ori0n said:
Hey man, i don’t think MIFlash works with EDL mode without an authorized account.
Do you have an authorized account?
Click to expand...
Click to collapse
nope , don't have. Do you know anyone who has it?
No, you have to pay to get an authorised account. It's a pretty complex and sketchy process. Take it to your nearest service center as soon as lockdown ends. Or find a way to get an account like that online.

Poco X3 NFC bricked.... Pls help

So, I bought a Poco X3 NFC already bricked for a low price, and some information I can give you from what I tested is:
- The brick happened in an software update
- Bootloader is locked (tried to flash from mi flash and it gives an error of locked state)
- Can't unlock from ADB
- I don't think USB debug was turned ON when the first owner bricked him
- I have access to fastboot mode
- Don't have access to recovery mode
- The first owner didn't had a Mi account on the cellphone, I was able to login with his cellphone number on unlock tool (I'm trying to unlock bootloader) but it gives me an error "Please add you account in MIUI's settings> Developer options > Mi Unlock Status", but as the phone is bricked, I can't do this as well
Is there something I can do to recover this phone? Pls help me!
From what you've explained, it seems like you're completely locked out the system. For Unlock BL you need to already have ADB+Added Account in Developer Options. Since you cannot access it I doubt you will be able to flash using flash tool. It requires unlocked bootloader.
Your only option now is flash ROM in EDL mode. EDL access is given only to Xiaomi technicians at service centers. So you will have to contact them and explain.
Edl mode on the poco X3 nfc
Edl or emergency download mode . Does anyone know how to enter Edl mode on the poco x3?
forum.xda-developers.com

Device state locked.

This post is more like an explanation.
So my phone got bricked today, stuck at logo. I managed to access recovery and format data, but its stuck at formating data for more than 6 hour.
The only choice left is to unlock bootloader and flash firmware. Now here's the bull**** part.
When i try press fastboot oem unlock it says failed, device state locked. Device state can be set to unlock only through one method, by booting>going into settings>developer options>turning on oem unlocking. Doing this set your device in unlocked device state and thus allow it to unlock bootloader through fastboot. But, if your device got bricked and can't get into phone and your oem unlocking was off (average person will not set it to on) then you're ****ed, cuz without it you cannot unlock bootloader, thus you cannot install twrp or flash firmware.
This is so dumb, not even adb can set the device state to unlock. Read the last paragraph - (https://source.android.com/devices/bootloader/locking_unlocking)
There are so many post like these but no answer. so this post is for those guyz.
guess, i'll use feature phone for rest of my life
That an Android device's bootloader is locked by default isn't dumb, it has good reasons.
BTW: Flashing device's Stock ROM doesn't require device's bootloader got unlocked before.
tried flashing stock rom using adb sideload and fastboot. both failed. adb states that it cannot as it is a downgrade. fastboot says that device state is locked.
Yes, im aware that it is present for a good reason, but someone who's phone doesnt boot up has no way to unlock bootloader or do anything.
I'm not sure that I have the same problem but I have Samsung sm-t500 on the download mode says : device state lock and Im searching for FRP software but I think it won't happen because I tried too to connect via ADB and still can't connect.. But mine is still not bricked.. I will be very happy if you can give me some advice

Question [SOLVED] What does "use lite firehose" in MSMDownloadTool do? (Unbricking OP9)

Hello,
The question is in the title as I'm trying to unbrick my phone but don't want more troubles or else I'll need to ship my device to OnePlus for them to repair.
I have recently soft-bricked my LE2110(CN model) when following a guide online to use the DSU Loader in developer options to dual-boot a GSI without first turning OEM unlocking on (don't be like me.)
It shown "QUALCOMM CrashDump Mode Fatal exception die" after reboot and when I reboot it again it shown "Your device is corrupt. It can't be trusted and will not boot Visit this link On another device: g.co/ABH". It boot-loop, restarts every minute and then back to the "your device is corrupt" screen. Then I found I can't enter recovery but can enter fastboot, but in fastboot it says locked (can't either flash an image or switch the partitions).
I'm thinking of using MSM 9008 to flash OOS unbrick package. But I don't want to hard-brick my device or else I'll need to ship it to the repair center. So I have a few questions to ask:
1. Is there any possibility now that I can recover some data from the internal storage? (The bootloader is locked)
I do have a partial back-up but photos are not included
2. When I flash what options in MsmDownloadTool should I select - "target" or "India"? tick "use lite firehose" or not tick?
Thanks to @Phoenix47 for solving my problem, normal firehose does work for my phone.
And one additional question - is logging in to the MsmDownloadTool as "Others" different from logging in as "Factory" or "Customer service"?
If I log in as Others to use the tool will this potentially be recorded permanently in the phone, setting e-fuses or voiding warranty?
Phoenix47 said:
Don't use lite firehose. Logging as OTHERS don't void warranty or anything.
Click to expand...
Click to collapse
Thanks! Problem solved <3

Xiaomi Mi5 linageos 19.1 bricked after fastboot oem lock ?

Hello everybody,
i'm not new in custom roms, but i have a problem, i can't solve by myself:
I flashed an unlocked Mi5 to linageos 19.1 without problems.
I had the bad idea to relock the bootloader due to security reasons (fastboot oem lock).
Now the device is not booting anymore, i can just see the Mi-Logo flashing very shortly.
I can access fastboot, but can't boot into recovery.
I tried to unlock the device again, but the Mi Unlocker fails and prompts me to go to the developer options in Miui, which is clearly impossible.
Any chance to proceed from fastboot (fastboot oem unlock does not work...) ?
Thanks, Jan
congrats, you succesfully hard bricked your phone. please take it for a walk to the xiaomi service and pay for gettting it fixed. who told you it is a good idea to relock the bootloader with a custom rom installed ?
Fytdyh said:
congrats, you succesfully hard bricked your phone. please take it for a walk to the xiaomi service and pay for gettting it fixed. who told you it is a good idea to relock the bootloader with a custom rom installed ?
Click to expand...
Click to collapse
actually, i remember some banking apps complained about the locked bootloader. I thought i can lock/unlock it in fastboot mode, but looks like i was wrong.
I will give the MiFlash Tool a chance, but i have not much hope...
@Fytdyh: do you think, Xiaomi Service can fix it ?
jever2k said:
actually, i remember some banking apps complained about the locked bootloader. I thought i can lock/unlock it in fastboot mode, but looks like i was wrong.
I will give the MiFlash Tool a chance, but i have not much hope...
@Fytdyh: do you think, Xiaomi Service can fix it ?
Click to expand...
Click to collapse
Make sure if your bootloader is really locked or not using fastboot command
fastboot oem device-info
OR,
fastboot getvar unlocked
If it's not locked, you can simply flash your stock rom using flash tool available for mi. Before downloading a rom from internet, take note of your device info using fastboot command ,
fastboot getvar all
And if bootloader is really locked, you have to flash stock rom from EDL mode. You may have to remove back cover to turn on EDL mode. Your device has snapdragon chipset (Plus point). Watch tutorials about xiaomi edl rom flash - snapdragon. You can go to service centre. If they tell you that you have to replace motherboard, don't be agree. Tell them to flash rom using EDL mode.
Tawsif999 said:
Make sure if your bootloader is really locked or not using fastboot command
fastboot oem device-info
OR,
fastboot getvar unlocked
If it's not locked, you can simply flash your stock rom using flash tool available for mi. Before downloading a rom from internet, take note of your device info using fastboot command ,
fastboot getvar all
And if bootloader is really locked, you have to flash stock rom from EDL mode. You may have to remove back cover to turn on EDL mode. Your device has snapdragon chipset (Plus point). Watch tutorials about xiaomi edl rom flash - snapdragon. You can go to service centre. If they tell you that you have to replace motherboard, don't be agree. Tell them to flash rom using EDL mode.
Click to expand...
Click to collapse
looks like i am getting closer... located the two EDL points to short during PC connection, installed the Qualcomm serial driver. For a second i see the device appearing as COM6 but then it disappears again and is not availiable anymore.
Any hints ?
Thanks again, Jan
jever2k said:
looks like i am getting closer... located the two EDL points to short during PC connection, installed the Qualcomm serial driver. For a second i see the device appearing as COM6 but then it disappears again and is not availiable anymore.
Any hints ?
Thanks again, Jan
Click to expand...
Click to collapse
Try this to solve the issue.
If it doesn’t help, read this to boot properly into edl
jever2k said:
Hello everybody,
i'm not new in custom roms, but i have a problem, i can't solve by myself:
I flashed an unlocked Mi5 to linageos 19.1 without problems.
I had the bad idea to relock the bootloader due to security reasons (fastboot oem lock).
Now the device is not booting anymore, i can just see the Mi-Logo flashing very shortly.
I can access fastboot, but can't boot into recovery.
I tried to unlock the device again, but the Mi Unlocker fails and prompts me to go to the developer options in Miui, which is clearly impossible.
Any chance to proceed from fastboot (fastboot oem unlock does not work...) ?
Thanks, Jan
Click to expand...
Click to collapse
Flash stock recovery for your device via fastboot, then you should be able to boot into recovery or flash a stock system.img or your full stock firmware for your device, then unlock the bootloader(fastboot oem unlock) then flash TWRP and LineageOS again.
Droidriven said:
Flash stock recovery for your device via fastboot, then you should be able to boot into recovery or flash a stock system.img or your full stock firmware for your device, then unlock the bootloader(fastboot oem unlock) then flash TWRP and LineageOS again.
Click to expand...
Click to collapse
But he mentioned, bootloader fails to unlock. Actually it's hard brick(Even though he can boot into fastboot,the bootloader is locked. So nothing to do with fastboot).Without unlocked bootloader, flashing something from fastboot will hard brick his device completely (Will not be able to boot into fastboot). Or flashing will be denied
Tawsif999 said:
Try this to solve the issue.
If it doesn’t help, read this to boot properly into edl
Click to expand...
Click to collapse
OK, next level reached. The phone is connected to the com-port and the correct driver is displayed.
The whole procedure is a bit unstable, i need to connect the phone several times, to get a stable EDL mode.
The Xiaomi Flasher recognizes the phone, but flashing does not succeed. Sometimes it's not able to receive a kind of Hello message, sometimes it displays "object reference not set to an instance of an object".
I also downloaded the QPST flasher, but have no plan, how to use it.
I'll keep on trying!
Thanks to all, who helped me to reach this point!
jever2k said:
OK, next level reached. The phone is connected to the com-port and the correct driver is displayed.
The whole prcedure is a bit unstable, i need to connect the phone several times, to get a stable EDL mode.
The Xiaomi Flasher recognizes the phone, but flashing does not succeed. Sometimes it's not able to receive a kind of Hello message, sometimes it displays "object reference not set to an instance of an object".
I also downloaded the QPST flasher, but have no plan, how to use it.
I'll keep on trying!
Thanks to all, who helped me to reach this point!
Click to expand...
Click to collapse
I found something new by watching this video. Maybe you don't understand hindi(India is our relative country, so I do).
Lemme explain,
This guy's xiaomi k20 pro phone hard bricked with a locked bootloader. He tried a lot to repair it(by deep flash or something idk). But everything failed. At last he came to this step of EDL mode. But xiaomi Edl mode flash requires an "AUTHORIZED MI ACCOUNT" . Xiaomi people pay to get authorized account license that normal users don't have. So the guy contacted with them on a telegram page called "Mod Edit: Name Removed" . They told him that they will repair his phone via teamviewer. All he had to do is pay some $ & connect phone in edl mode. Rest of the things were done by them. And his phone repaired successfully! (Watch the video from 4:00)
So In his video, he is telling to go to that page & contact with "Mod Edit: Name Removed" there. They take 20-25$ (depends on device). If you tell them you're from Mod Edit: Name Removed's video, they will give some discount
Tawsif999 said:
But he mentioned, bootloader fails to unlock. Actually it's hard brick(Even though he can boot into fastboot,the bootloader is locked. So nothing to do with fastboot).Without unlocked bootloader, flashing psomething from fastboot will hard brick his device completely (Will not be able to boot into fastboot). Or flashing will be denied
Click to expand...
Click to collapse
Yeah, I jumped the gun and posted before seeing all the replies in the thread describing their whole scenario, should've known better.
They obviously need a hardware approach, i.e. JTAG/RIFF/Octoplus or replace motherboard.
Tawsif999 said:
I found something new by watching this video. Maybe you don't understand hindi(India is our relative country, so I do).
Lemme explain,
This guy's xiaomi k20 pro phone hard bricked with a locked bootloader. He tried a lot to repair it(by deep flash or something idk). But everything failed. At last he came to this step of EDL mode. But xiaomi Edl mode flash requires an "AUTHORIZED MI ACCOUNT" . Xiaomi people pay to get authorized account license that normal users don't have. So the guy contacted with them on a telegram page called "Mod Edit: Name Removed" . They told him that they will repair his phone via teamviewer. All he had to do is pay some $ & connect phone in edl mode. Rest of the things were done by them. And his phone repaired successfully! (Watch the video from 4:00)
So In his video, he is telling to go to that page & contact with "Mod Edit: Name Removed" there. They take 20-25$ (depends on device). If you tell them you're from Mod Edit: Name Removed's video, they will give some discount
Click to expand...
Click to collapse
Thanks for research!
Meanwhile, i stopped using Windows due to all the caveats and switched to reliable Debian Linux on a different machine.
Again it takes 10 attempts to get into EDL Mode.
I used qdl (Qualcomm downloader for Linux) with all the firehose, raw and patch .xmls
Code:
sudo ./qdl --debug --storage ufs --include . prog_ufs_firehose_8996_ddr.elf partition.xml rawprogram0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Output looked like some stuff was written, at the end i receive:
Code:
qdl: failed to write: Connection timed out
However, the phone is now dead as can be without fastboot working any more.
Maybe i'll give it another try, or get a used Mainboard...
Best regards, Jan
jever2k said:
Thanks for research!
Meanwhile, i stopped using Windows due to all the caveats and switched to reliable Debian Linux on a different machine.
Again it takes 10 attempts to get into EDL Mode.
I used qdl (Qualcomm downloader for Linux) with all the firehose, raw and patch .xmls
Code:
sudo ./qdl --debug --storage ufs --include . prog_ufs_firehose_8996_ddr.elf partition.xml rawprogram0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Output looked like some stuff was written, at the end i receive:
Code:
qdl: failed to write: Connection timed out
However, the phone is now dead as can be without fastboot working any more.
Maybe i'll give it another try, or get a used Mainboard...
Best regards, Jan
Click to expand...
Click to collapse
jever2k said:
Thanks for research!
Meanwhile, i stopped using Windows due to all the caveats and switched to reliable Debian Linux on a different machine.
Again it takes 10 attempts to get into EDL Mode.
I used qdl (Qualcomm downloader for Linux) with all the firehose, raw and patch .xmls
Code:
sudo ./qdl --debug --storage ufs --include . prog_ufs_firehose_8996_ddr.elf partition.xml rawprogram0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Output looked like some stuff was written, at the end i receive:
Code:
qdl: failed to write: Connection timed out
However, the phone is now dead as can be without fastboot working any more.
Maybe i'll give it another try, or get a used Mainboard...
Best regards, Jan
Click to expand...
Click to collapse
That's expensive. Anyway, it will be better if you don’t waste time on this. Just go for 3rd party help(From that official telegram channel or service centre). That will cost less
Tawsif999 said:
That's expensive. Anyway, it will be better if you don’t waste time on this. Just go for 3rd party help(From that official telegram channel or service centre). That will cost less
Click to expand...
Click to collapse
Thanks Tawsif for the good hints and links.
I don't really depend on the phone, so i will keep trying.
It's not wasted time, it's mainly learning new stuff and improving skills.
I believe, i'm not too far away and if it works, it's the best satisfaction.
If not, i bricked an old Mi 5.
All the best,
Jan

Categories

Resources