[Xiaomi Mi A3 Questions & Answers] Pyro556:
My mi A3 was bricked after the Android 11 update , i unbricked it twice using flash tool and test point method through edl then when the device was on , i updated it through system update , thinking that the update might remove the corrupted firmware and my device will not be bricked again , after a few days my device again got bricked. But this time when i try to flash rom it says "write time out device may be disconnected" on mi flash

I will attach the logs below

1) COM 10

[12:09:09 AM COM10]:MiFlash 2020.3.14.0

[12:09:09 AM COM10]:vboytest index:10

[12:09:09 AM COM10]:flash in thread name:COM10,id:13

[12:09:09 AM COM10]:sw in images

[12:09:09 AM COM10]:flash in thread name:COM10,id:13

[12:09:09 AM COM10]:vboytest do open :

[12:09:09 AM COM10]: serial port COM10 opend successfully

[12:09:09 AM COM10]:[COM10]:start flash.

[12:09:09 AM COM10]:received hello packet

[12:09:09 AM COM10]:programmertype: 0

[12:09:09 AM COM10]:vboytest:C:\Mi_A3\images

[12:09:09 AM COM10]:download programmer file: C:\Mi_A3\images\prog_firehose_ddr.elf

[12:09:09 AM COM10]:download programmer C:\Mi_A3\images\prog_firehose_ddr.elf

[12:09:19 AM COM10]:Send done packet

[12:09:19 AM COM10]:file C:\Mi_A3\images\prog_firehose_ddr.elf transferred successfully

[12:09:21 AM COM10]:send nop command

[12:09:21 AM COM10]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>

[12:09:23 AM COM10]:write time out try agian 1

[12:09:25 AM COM10]:write time out try agian 2

[12:09:28 AM COM10]:write time out try agian 3

[12:09:31 AM COM10]:write time out try agian 4

[12:09:33 AM COM10]:write time out try agian 5

[12:09:36 AM COM10]:write time out try agian 6

[12:09:38 AM COM10]:write time out try agian 7

[12:09:39 AM COM10]:error:The write timed out.

[12:09:39 AM COM10]:System.Exception: write time out,maybe device was disconnected.

at XiaoMiFlash.code.Utility.Comm.WritePort(Byte[] send, Int32 offSet, Int32 count)

at XiaoMiFlash.code.Utility.Comm.SendCommand(String command, Boolean checkAck)

at XiaoMiFlash.code.bl.SerialPortDevice.ping()

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.Utility.Comm.WritePort(Byte[] send, Int32 offSet, Int32 count)

at XiaoMiFlash.code.Utility.Comm.SendCommand(String command, Boolean checkAck)

at XiaoMiFlash.code.bl.SerialPortDevice.ping()

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

[12:09:39 AM COM10]:no provision exit:COM10

[12:09:39 AM COM10]:flashSuccess False

[12:09:39 AM COM10]:isFactory False CheckCPUID False

[12:09:39 AM COM10]:before:flashSuccess is False set IsUpdate:True set IsDone True

[12:09:39 AM COM10]:after:flashSuccess is False set IsUpdate:false set IsDone true

2) Mi flash result

[12:00:37 AM]:10 COM10 4.0081898s write time out,maybe device was disconnected.

[12:00:54 AM]:10 COM10 0.3734505s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:01:00 AM]:10 COM10 0.3959014s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:01:04 AM]:10 COM10 0.4975727s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:02:27 AM]:10 COM10 29.7573244s write time out,maybe device was disconnected.

[12:03:05 AM]:10 COM10 24.1493045s The port is closed.

[12:03:14 AM]:10 COM10 0.4096264s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:16 AM]:10 COM10 0.3110936s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:17 AM]:10 COM10 0.0796791s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:18 AM]:10 COM10 0.1345865s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:20 AM]:10 COM10 0.0285648s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:21 AM]:10 COM10 0.3917943s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:22 AM]:10 COM10 0.0845148s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:23 AM]:10 COM10 0.10104s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:24 AM]:10 COM10 0.1229335s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:30 AM]:10 COM10 0.3595683s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:31 AM]:10 COM10 0.0526435s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:03:32 AM]:10 COM10 0.1296191s System.IO.IOException: The requested resource is in use.

at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port) at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)

at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)

at System.IO.Ports.SerialPort.Open()

at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)

[12:04:44 AM]:10 COM10 29.8333062s write time out,maybe device was disconnected.

[12:09:39 AM]:10 COM10 29.3660315s write time out,maybe device was disconnected.