[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Refiq H-ev:
Hi everyone. Help me unbrick phone redmi 5 plus (stuck mi logo). (phone hung up after deleting google play services) I'm getting this error in edl mode.

I tried this roms :

vince_global_images_V9.6.5.0.OEGMIFD_20180817.0000.00_8.1_global_c80e84fe92.tgz

vince_images_V11.0.3.0.OEGCNXM_20191118.0000.00_8.1_cn_102ca14cd7.tgz

vince_global_images_V11.0.2.0.OEGMIXM_20191108.0000.00_8.1_global.tgz

I encountered the problem in the picture. Recovery mode does not open. only edl and fastboot. Locked bootloader.

Thanks in advance to the friends who helped.

https://ibb.co/6gDQk4L

MiFlash20200314 log

[01:54:58 COM5]:MiFlash 2020.3.14.0
[01:54:58 COM5]:vboytest index:5
[01:54:58 COM5]:flash in thread name:COM5,id:9
[01:54:58 COM5]:sw in images
[01:54:58 COM5]:flash in thread name:COM5,id:9
[01:54:58 COM5]:vboytest do open :
[01:54:58 COM5]: serial port COM5 opend successfully
[01:54:58 COM5]:[COM5]:start flash.
[01:54:58 COM5]:received hello packet
[01:54:58 COM5]:programmertype: 0
[01:54:58 COM5]:vboytest:C:\miui\images
[01:54:58 COM5]:download programmer file: C:\miui\images\prog_emmc_firehose_8953_ddr.mbn
[01:54:58 COM5]:download programmer C:\miui\images\prog_emmc_firehose_8953_ddr.mbn
[01:55:04 COM5]:Send done packet
[01:55:04 COM5]:file C:\miui\images\prog_emmc_firehose_8953_ddr.mbn transferred successfully
[01:55:06 COM5]:send nop command
[01:55:06 COM5]:send command:?xml version="1.0" ?datanop verbose="0" value="ping"//data
[01:55:06 COM5]:get response from target
[01:55:06 COM5]:resdump:?xml version="1.0" encoding="UTF-8" ?dataresponse value="ACK" //data?xml version="1.0" encoding="UTF-8" ?datalog value="logbuf@0x080731F0 fh@0x08070058" //data

[01:55:06 COM5]:send configure command
[01:55:06 COM5]:send command:?xml version="1.0" ?dataconfigure verbose="0" AlwaysValidate="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="131072" MemoryName="emmc" SkipStorageInit="0"//data
[01:55:06 COM5]:get response from target
[01:55:06 COM5]:resdump:?xml version="1.0" encoding="UTF-8" ?datalog value="logbuf@0x080731F0 fh@0x08070058" //data?xml version="1.0" encoding="UTF-8" ?dataresponse value="ACK" MinVersionSupported="1" MemoryName="eMMC" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="131072" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="8953" //data

[01:55:06 COM5]:max buffer sector is 0
[01:55:06 COM5]:open program file C:\miui\images\rawprogram0.xml
[01:55:06 COM5]:Write file C:\miui\images\NON-HLOS.bin to partition[modem] sector 131072
[01:55:06 COM5]:write file legnth 88080384 to partition 131072
[01:55:06 COM5]:program cmd: ?xml version="1.0" ?dataprogram SECTOR_SIZE_IN_BYTES="512" num_partition_sectors="172032" start_sector="131072" physical_partition_number="0" //data
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:write failed:The port is closed.
[02:09:52 COM5]:error:The operation has timed out.
[02:09:52 COM5]:System.Exception: write time out,maybe device was disconnected.
at XiaoMiFlash.code.bl.SerialPortDevice.WriteFilesToDevice(String portName, String swPath, String rawFilePath)
at XiaoMiFlash.code.bl.SerialPortDevice.FirehoseDownloadImg(String swPath)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.WriteFilesToDevice(String portName, String swPath, String rawFilePath)
at XiaoMiFlash.code.bl.SerialPortDevice.FirehoseDownloadImg(String swPath)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[02:09:52 COM5]:no provision exit:COM5
[02:09:52 COM5]:flashSuccess False
[02:09:52 COM5]:isFactory False CheckCPUID False
[02:09:52 COM5]:before:flashSuccess is False set IsUpdate:True set IsDone True
[02:09:52 COM5]:after:flashSuccess is False set IsUpdate:false set IsDone true