[Xiaomi Mi A2 Lite Questions & Answers] michaelmantz:
i am on edl mode, everytime i try to flash i get that error:

[22:00:27 COM10]:MiFlash 2017.4.25.0
[22:00:27 COM10]:[COM10]:start flash.
[22:00:27 COM10]:received hello packet
[22:00:27 COM10]:download programmer D:\daisy_global_images_V11.0.12.0.QDLMIXM_10.0\images\prog_emmc_firehose_8953_ddr.mbn
[22:00:27 COM10]:sahara read data:imgID 13, offset 0,length 52
[22:00:27 COM10]:sahara read data:imgID 13, offset 52,length 288
[22:00:27 COM10]:sahara read data:imgID 13, offset 4096,length 4096
[22:00:27 COM10]:sahara read data:imgID 13, offset 8192,length 2632
[22:00:28 COM10]:can not read from port COM10
[22:00:28 COM10]:flashSuccess False
[22:00:28 COM10]:isFactory False CheckCPUID False
[22:00:28 COM10]:before:flashSuccess is False set IsUpdate:True set IsDone True
[22:00:28 COM10]:after:flashSuccess is False set IsUpdate:false set IsDone true

if i use prog_emmc_firehose_8953_ddr.mbn from redmi 6 pro i get these error:

[22:06:33 COM10]:MiFlash 2017.4.25.0
[22:06:33 COM10]:[COM10]:start flash.
[22:06:33 COM10]:received hello packet
[22:06:33 COM10]:download programmer D:\daisy_global_images_V11.0.12.0.QDLMIXM_10.0\images\prog_emmc_firehose_8953_ddr.mbn
[22:06:33 COM10]:sahara read data:imgID 13, offset 0,length 52
[22:06:33 COM10]:sahara read data:imgID 13, offset 52,length 288
[22:06:33 COM10]:sahara read data:imgID 13, offset 4096,length 4096
[22:06:33 COM10]:sahara read data:imgID 13, offset 8192,length 2632
[22:06:33 COM10]:sahara read data:imgID 13, offset 385380,length 4096
[22:06:33 COM10]:sahara read data:imgID 13, offset 389476,length 3884
[22:06:33 COM10]:sahara read data:imgID 13, offset 393360,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 397456,length 2096
[22:06:34 COM10]:sahara read data:imgID 13, offset 12288,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 16384,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 20480,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 24576,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 28672,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 32768,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 36864,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 40960,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 45056,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 49152,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 53248,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 57344,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 61440,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 65536,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 69632,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 73728,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 77824,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 81920,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 86016,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 90112,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 94208,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 98304,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 102400,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 106496,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 110592,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 114688,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 118784,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 122880,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 126976,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 131072,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 135168,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 139264,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 143360,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 147456,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 151552,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 155648,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 159744,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 163840,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 167936,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 172032,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 176128,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 180224,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 184320,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 188416,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 192512,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 196608,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 200704,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 204800,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 208896,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 212992,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 217088,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 221184,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 225280,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 229376,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 233472,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 237568,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 241664,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 245760,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 249856,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 253952,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 258048,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 262144,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 266240,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 270336,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 274432,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 278528,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 282624,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 286720,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 290816,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 294912,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 299008,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 303104,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 307200,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 311296,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 315392,length 4096
[22:06:34 COM10]:sahara read data:imgID 13, offset 319488,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 323584,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 327680,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 331776,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 335872,length 1404
[22:06:35 COM10]:sahara read data:imgID 13, offset 337276,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 341372,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 345468,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 349564,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 353660,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 357756,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 361852,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 365948,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 370044,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 374140,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 378236,length 4096
[22:06:35 COM10]:sahara read data:imgID 13, offset 382332,length 3048
[22:06:35 COM10]:sahara read end imgID:13 status:0
[22:06:35 COM10]:Send done packet
[22:06:35 COM10]:file D:\daisy_global_images_V11.0.12.0.QDLMIXM_10.0\images\prog_emmc_firehose_8953_ddr.mbn transferred successfully
[22:06:37 COM10]:send nop command
[22:06:37 COM10]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[22:06:37 COM10]:get response from target
[22:06:37 COM10]:dump:<?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="logbuf@0x08073900 fh@0x08070768" /></data>

[22:06:37 COM10]:send configure command
[22:06:37 COM10]:send command:<?xml version="1.0" ?><data><configure verbose="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="131072" MemoryName="emmc" SkipStorageInit="0"/></data>
[22:06:37 COM10]:get response from target
[22:06:37 COM10]:dump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="ERROR: Only nop and sig tag can be recevied before authentication." /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" /></data>

[22:06:37 COM10]:[22:06:37 COM10]:dump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="ERROR: Only nop and sig tag can be recevied before authentication." /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" /></data>

[22:06:38 COM10]:flashSuccess False
[22:06:38 COM10]:isFactory False CheckCPUID False
[22:06:38 COM10]:before:flashSuccess is False set IsUpdate:True set IsDone True
[22:06:38 COM10]:after:flashSuccess is False set IsUpdate:false set IsDone true

i think the bootloader is locked