[Xiaomi Mi A1 Questions & Answers] KenyanDroid:
Hey guys,

So, it seems my Mi A1 has hard bricked. It only boots into EDL mode.

View attachment 5470547

Power + Volume Down just refreshes the EDL session. I have a blinking LED when I connect via USB to my PC.

Nothing appears on my screen. Nothing at all.

WHAT I HAVE TRIED SO FAR

Tried to boot into fastboot. FAILED. I can only boot into EDL mode.

Disconnected battery, short test points then connect USB cable. I am able to see the COM port on MiFlash but it fails a few seconds after starting.

View attachment 5470555

[3:24:07 PM COM7]:MiFlash 2020.3.14.0
[3:24:07 PM COM7]:vboytest index:7
[3:24:07 PM COM7]:flash in thread name:COM7,id:29
[3:24:07 PM COM7]:sw in images
[3:24:07 PM COM7]:flash in thread name:COM7,id:29
[3:24:07 PM COM7]:vboytest do open :
[3:24:07 PM COM7]: serial port COM7 opend successfully
[3:24:07 PM COM7]:[COM7]:start flash.
[3:24:07 PM COM7]:received hello packet
[3:24:07 PM COM7]:programmertype: 0
[3:24:07 PM COM7]:vboytest:C:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images
[3:24:07 PM COM7]:download programmer file: C:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\prog_emmc_firehose_8953_ddr.mbn
[3:24:07 PM COM7]:download programmer C:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\prog_emmc_firehose_8953_ddr.mbn
[3:24:13 PM COM7]:Send done packet
[3:24:13 PM COM7]:file C:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\prog_emmc_firehose_8953_ddr.mbn transferred successfully
[3:24:15 PM COM7]:send nop command
[3:24:15 PM COM7]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[3:24:17 PM COM7]:write time out try agian 1
[3:24:19 PM COM7]:write time out try agian 2
[3:24:22 PM COM7]:write time out try agian 3
[3:24:24 PM COM7]:write time out try agian 4
[3:24:27 PM COM7]:write time out try agian 5
[3:24:29 PM COM7]:write time out try agian 6
[3:24:32 PM COM7]:write time out try agian 7
[3:24:32 PM COM7]:error:The write timed out.
[3:24:32 PM COM7]:System.Exception: write time out,maybe device was disconnected.
at XiaoMiFlash.code.Utility.Comm.WritePort(Byte[] send, Int32 offSet, Int32 count) in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\Comm.cs:line 201
at XiaoMiFlash.code.Utility.Comm.SendCommand(String command, Boolean checkAck) in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\Comm.cs:line 217
at XiaoMiFlash.code.bl.SerialPortDevice.ping() in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\bl\SerialPortDevice.cs:line 1873
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\bl\SerialPortDevice.cs:line 251 at XiaoMiFlash.code.Utility.Comm.WritePort(Byte[] send, Int32 offSet, Int32 count) in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\Comm.cs:line 201
at XiaoMiFlash.code.Utility.Comm.SendCommand(String command, Boolean checkAck) in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\Comm.cs:line 217
at XiaoMiFlash.code.bl.SerialPortDevice.ping() in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\bl\SerialPortDevice.cs:line 1873
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() in E:\code\new_miflash\MiFlash-merge-zhousheng\MiFlash\XiaoMiFlash\XiaoMiFlash\code\bl\SerialPortDevice.cs:line 251
[3:24:32 PM COM7]:no provision exit:COM7

Tried QFIL too. FAILED. The process starts then fails after a few seconds due to a similar error.

View attachment 5470553

REMOVED LOG ENTRIES SHOWING QFIL CALCULATING THE SIZE OF THE FILES.

Total to be tansferd with <program> or <read> is 5.61 GB

15:49:19: INFO: Sending <configure>
15:49:19: DEBUG: CHANNEL DATA (P0000) (H00202) ( 228 bytes) - HOST TO TARGET -->
===========================================================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<configure MemoryName="emmc" Verbose="0" AlwaysValidate="0" MaxDigestTableSizeInBytes="8192" MaxPayloadSizeToTargetInBytes="1048576" ZlpAwareHost="1" SkipStorageInit="0" />
</data>

============================================================================================================

15:49:19: DEBUG: Only 0 bytes written of 228 requested, attempt 1 of 100
15:49:20: DEBUG: Only 0 bytes written of 228 requested, attempt 2 of 100
15:49:20: DEBUG: Only 0 bytes written of 228 requested, attempt 3 of 100
...
15:49:43: DEBUG: Only 0 bytes written of 228 requested, attempt 98 of 100
15:49:44: DEBUG: Only 0 bytes written of 228 requested, attempt 99 of 100
15:49:44: DEBUG: Only 0 bytes written of 228 requested, attempt 100 of 100

_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|

15:49:44: {ERROR: WritePort:5746 Could not write to '\\.\COM7', Windows API WriteFile failed! Your device is probably *not* on this port, attempted 100 times

Tried on 3 different ports. All FAILED with the same errors.

PLEASE HELP 😔