[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] khashabawy:
Hello Guys Just wanted to update ,

I made Two point test and from EDL mode i got the following error when trying to Flash

Read back verify failed at sector

[4:36:19 PM COM5]:MiFlash 2018.11.15.0
[4:36:19 PM COM5]:flash in thread name:COM5,id:25
[4:36:19 PM COM5]:sw in images
[4:36:19 PM COM5]:flash in thread name:COM5,id:25
[4:36:19 PM COM5]:[COM5]:start flash.
[4:36:19 PM COM5]:cannot receive hello packet,MiFlash is trying to reset status!
[4:36:21 PM COM5]:try to reset status.
[4:36:21 PM COM5]:Switch mode back
[4:36:21 PM COM5]:cannot receive hello packet,MiFlash is trying to reset status!
[4:36:21 PM COM5]:received hello packet
[4:36:21 PM COM5]:download programmer E:\xiomi\New folder\Roms\vince_images_8.2.1_20180201.0000.00_7.1_cn_bd9ee1a88a\vince_images_8.2.1_20180201.0000.00_7.1_cn\images\prog_emmc_firehose_8953_ddr.mbn
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 0,length 52
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 52,length 288
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 4096,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 8192,length 2632
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 350248,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 354344,length 3880
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 358224,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 362320,length 2096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 12288,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 16384,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 20480,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 24576,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 28672,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 32768,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 36864,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 40960,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 45056,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 49152,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 53248,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 57344,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 61440,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 65536,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 69632,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 73728,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 77824,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 81920,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 86016,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 90112,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 94208,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 98304,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 102400,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 106496,length 4096
[4:36:21 PM COM5]:sahara read data:imgID 13, offset 110592,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 114688,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 118784,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 122880,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 126976,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 131072,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 135168,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 139264,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 143360,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 147456,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 151552,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 155648,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 159744,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 163840,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 167936,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 172032,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 176128,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 180224,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 184320,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 188416,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 192512,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 196608,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 200704,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 204800,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 208896,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 212992,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 217088,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 221184,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 225280,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 229376,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 233472,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 237568,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 241664,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 245760,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 249856,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 253952,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 258048,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 262144,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 266240,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 270336,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 274432,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 278528,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 282624,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 286720,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 290816,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 294912,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 299008,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 303104,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 307200,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 311296,length 3608
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 314904,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 319000,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 323096,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 327192,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 331288,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 335384,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 339480,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 343576,length 4096
[4:36:22 PM COM5]:sahara read data:imgID 13, offset 347672,length 2576
[4:36:22 PM COM5]:sahara read end imgID:13 status:0
[4:36:22 PM COM5]:Send done packet
[4:36:22 PM COM5]:file E:\xiomi\New folder\Roms\vince_images_8.2.1_20180201.0000.00_7.1_cn_bd9ee1a88a\vince_images_8.2.1_20180201.0000.00_7.1_cn\images\prog_emmc_firehose_8953_ddr.mbn transferred successfully
[4:36:24 PM COM5]:send nop command
[4:36:24 PM COM5]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[4:36:24 PM COM5]:get response from target
[4:36:24 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="===eMMC: mfr_id = 144, selected_phase = 10, serialno = 2898b970===" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="logbuf@0x0806D080 fh@0x08069EE8" /></data>

[4:36:24 PM COM5]:send configure command
[4:36:24 PM COM5]:send command:<?xml version="1.0" ?><data><configure verbose="0" AlwaysValidate="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="131072" MemoryName="emmc" SkipStorageInit="0"/></data>
[4:36:24 PM COM5]:get response from target
[4:36:24 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="logbuf@0x0806D080 fh@0x08069EE8" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" MinVersionSupported="1" MemoryName="eMMC" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="131072" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="8953" /></data>

[4:36:24 PM COM5]:max buffer sector is 256
[4:36:24 PM COM5]:open program file E:\xiomi\New folder\Roms\vince_images_8.2.1_20180201.0000.00_7.1_cn_bd9ee1a88a\vince_images_8.2.1_20180201.0000.00_7.1_cn\images\rawprogram0.xml
[4:36:24 PM COM5]:Write file E:\xiomi\New folder\Roms\vince_images_8.2.1_20180201.0000.00_7.1_cn_bd9ee1a88a\vince_images_8.2.1_20180201.0000.00_7.1_cn\images\NON-HLOS.bin to partition[modem] sector 131072
[4:36:24 PM COM5]:write file legnth 88080384 to partition 131072
[4:36:24 PM COM5]:WriteFile position 0, size 131072
[4:36:24 PM COM5]:WriteFile position 20000, size 131072
[4:36:24 PM COM5]:WriteFile position 40000, size 131072
[4:36:24 PM COM5]:WriteFile position 60000, size 131072
[4:36:24 PM COM5]:WriteFile position 80000, size 131072
[4:36:24 PM COM5]:WriteFile position A0000, size 131072
[4:36:24 PM COM5]:WriteFile position C0000, size 131072
[4:36:24 PM COM5]:WriteFile position E0000, size 131072
[4:36:24 PM COM5]:WriteFile position 100000, size 131072
[4:36:24 PM COM5]:WriteFile position 120000, size 131072
[4:36:24 PM COM5]:WriteFile position 140000, size 131072
[4:36:24 PM COM5]:WriteFile position 160000, size 131072
[4:36:24 PM COM5]:WriteFile position 180000, size 131072
[4:36:24 PM COM5]:WriteFile position 1A0000, size 131072
[4:36:24 PM COM5]:WriteFile position 1C0000, size 131072
[4:36:24 PM COM5]:WriteFile position 1E0000, size 131072
[4:36:24 PM COM5]:WriteFile position 200000, size 131072
[4:36:24 PM COM5]:WriteFile position 220000, size 131072
[4:36:24 PM COM5]:WriteFile position 240000, size 131072
[4:36:24 PM COM5]:WriteFile position 260000, size 131072
[4:36:24 PM COM5]:WriteFile position 280000, size 131072
[4:36:24 PM COM5]:WriteFile position 2A0000, size 131072
[4:36:24 PM COM5]:WriteFile position 2C0000, size 131072
[4:36:24 PM COM5]:WriteFile position 2E0000, size 131072
[4:36:24 PM COM5]:WriteFile position 300000, size 131072
[4:36:24 PM COM5]:WriteFile position 320000, size 131072
[4:36:24 PM COM5]:WriteFile position 340000, size 131072
[4:36:24 PM COM5]:WriteFile position 360000, size 131072
[4:36:25 PM COM5]:WriteFile position 380000, size 131072
[4:36:25 PM COM5]:WriteFile position 3A0000, size 131072
[4:36:25 PM COM5]:WriteFile position 3C0000, size 131072
[4:36:25 PM COM5]:WriteFile position 3E0000, size 131072
[4:36:25 PM COM5]:WriteFile position 400000, size 131072
[4:36:25 PM COM5]:WriteFile position 420000, size 131072
[4:36:25 PM COM5]:WriteFile position 440000, size 131072
[4:36:25 PM COM5]:WriteFile position 460000, size 131072
[4:36:25 PM COM5]:WriteFile position 480000, size 131072
[4:36:25 PM COM5]:WriteFile position 4A0000, size 131072
[4:36:25 PM COM5]:WriteFile position 4C0000, size 131072
.
.
.
.
.

[4:36:30 PM COM5]:WriteFile position 4C80000, size 131072
[4:36:30 PM COM5]:WriteFile position 4CA0000, size 131072
[4:36:30 PM COM5]:WriteFile position 4CC0000, size 131072
[4:36:30 PM COM5]:WriteFile position 4CE0000, size 131072
[4:36:30 PM COM5]:WriteFile position 4D00000, size 131072
[4:36:31 PM COM5]:WriteFile position 4D20000, size 131072
[4:36:31 PM COM5]:WriteFile position 4D40000, size 131072
[4:36:31 PM COM5]:WriteFile position 4D60000, size 131072
[4:36:31 PM COM5]:WriteFile position 4D80000, size 131072
[4:36:31 PM COM5]:WriteFile position 4DA0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4DC0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4DE0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4E00000, size 131072
[4:36:31 PM COM5]:WriteFile position 4E20000, size 131072
[4:36:31 PM COM5]:WriteFile position 4E40000, size 131072
[4:36:31 PM COM5]:WriteFile position 4E60000, size 131072
[4:36:31 PM COM5]:WriteFile position 4E80000, size 131072
[4:36:31 PM COM5]:WriteFile position 4EA0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4EC0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4EE0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4F00000, size 131072
[4:36:31 PM COM5]:WriteFile position 4F20000, size 131072
[4:36:31 PM COM5]:WriteFile position 4F40000, size 131072
[4:36:31 PM COM5]:WriteFile position 4F60000, size 131072
[4:36:31 PM COM5]:WriteFile position 4F80000, size 131072
[4:36:31 PM COM5]:WriteFile position 4FA0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4FC0000, size 131072
[4:36:31 PM COM5]:WriteFile position 4FE0000, size 131072
[4:36:31 PM COM5]:WriteFile position 5000000, size 131072
[4:36:31 PM COM5]:WriteFile position 5020000, size 131072
[4:36:31 PM COM5]:WriteFile position 5040000, size 131072
[4:36:31 PM COM5]:WriteFile position 5060000, size 131072
[4:36:31 PM COM5]:WriteFile position 5080000, size 131072
[4:36:31 PM COM5]:WriteFile position 50A0000, size 131072
[4:36:31 PM COM5]:WriteFile position 50C0000, size 131072
[4:36:31 PM COM5]:WriteFile position 50E0000, size 131072
[4:36:31 PM COM5]:WriteFile position 5100000, size 131072
[4:36:31 PM COM5]:WriteFile position 5120000, size 131072
[4:36:31 PM COM5]:WriteFile position 5140000, size 131072
[4:36:31 PM COM5]:WriteFile position 5160000, size 131072
[4:36:31 PM COM5]:WriteFile position 5180000, size 131072
[4:36:31 PM COM5]:WriteFile position 51A0000, size 131072
[4:36:31 PM COM5]:WriteFile position 51C0000, size 131072
[4:36:31 PM COM5]:WriteFile position 51E0000, size 131072
[4:36:31 PM COM5]:WriteFile position 5200000, size 131072
[4:36:31 PM COM5]:WriteFile position 5220000, size 131072
[4:36:31 PM COM5]:WriteFile position 5240000, size 131072
[4:36:31 PM COM5]:WriteFile position 5260000, size 131072
[4:36:31 PM COM5]:WriteFile position 5280000, size 131072
[4:36:31 PM COM5]:WriteFile position 52A0000, size 131072
[4:36:31 PM COM5]:WriteFile position 52C0000, size 131072
[4:36:31 PM COM5]:WriteFile position 52E0000, size 131072
[4:36:31 PM COM5]:WriteFile position 5300000, size 131072
[4:36:31 PM COM5]:WriteFile position 5320000, size 131072
[4:36:31 PM COM5]:WriteFile position 5340000, size 131072
[4:36:31 PM COM5]:WriteFile position 5360000, size 131072
[4:36:31 PM COM5]:WriteFile position 5380000, size 131072
[4:36:31 PM COM5]:WriteFile position 53A0000, size 131072
[4:36:31 PM COM5]:WriteFile position 53C0000, size 131072
[4:36:31 PM COM5]:WriteFile position 53E0000, size 131072
[4:36:31 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="start 131072, num 172032" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" rawmode="true" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="Read back verify failed at sector 434651564,num sectors 131072" /></data>

[4:36:31 PM COM5]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 131072" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>

[4:36:31 PM COM5]:flashSuccess False
[4:36:31 PM COM5]:isFactory False CheckCPUID False
[4:36:31 PM COM5]:before:flashSuccess is False set IsUpdate:True set IsDone True
[4:36:31 PM COM5]:after:flashSuccess is False set IsUpdate:false set IsDone true
[4:36:32 PM COM5]:no Binary dump
[4:36:32 PM COM5]:no Binary dump
[4:36:33 PM COM5]:no Binary dump
[4:36:34 PM COM5]:no Binary dump
[4:36:35 PM COM5]:no Binary dump
[4:36:35 PM COM5]:no Binary dump
[4:36:36 PM COM5]:no Binary dump
[4:36:37 PM COM5]:no Binary dump
[4:36:37 PM COM5]:no Binary dump
[4:36:37 PM COM5]:ACK count don't match!
[4:36:37 PM COM5]:System.Exception: ACK count don't match!
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()
[4:36:37 PM COM5]:no provision exit:COM5

Any suggestions ? :confused: