[ASUS ROG Phone II Questions & Answers] kamer4u:
Hi tried your method, multiple times. The device gets detected e.g. COM 3 but shows no status. When I run the flash I get an error. Here is the log. Please help

[10:38:33 am COM3]:MiFlash 2018.5.28.0
[10:38:33 am COM3]:flash in thread name:COM3,id:9
[10:38:33 am COM3]:flash in thread name:COM3,id:9
[10:38:33 am COM3]:[COM3]:start flash.
[10:38:34 am COM3]:received hello packet
[10:38:34 am COM3]:download programmer C:\Downloads\ASUS_ROG2_ZS660KL_QPST_Firmware\images\prog_ufs_firehose_sdm855_ddr.elf
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 0,length 64
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 64,length 1120
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 4096,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 8192,length 3432
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 12288,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 16384,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 20480,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 24576,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 28672,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 32768,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 36864,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 40960,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 45056,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 49152,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 53248,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 57344,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 61440,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 65536,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 69632,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 73728,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 77824,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 81920,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 86016,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 90112,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 94208,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 98304,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 102400,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 106496,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 110592,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 114688,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 118784,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 122880,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 126976,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 131072,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 135168,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 139264,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 143360,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 147456,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 151552,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 155648,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 159744,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 163840,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 167936,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 172032,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 176128,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 180224,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 184320,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 188416,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 192512,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 196608,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 200704,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 204800,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 208896,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 212992,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 217088,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 221184,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 225280,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 229376,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 233472,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 237568,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 241664,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 245760,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 249856,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 253952,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 258048,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 262144,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 266240,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 270336,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 274432,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 278528,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 282624,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 286720,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 290816,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 294912,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 299008,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 303104,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 307200,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 311296,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 315392,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 319488,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 323584,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 327680,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 331776,length 2024
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 333808,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 337904,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 342000,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 346096,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 350192,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 354288,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 358384,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 362480,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 366576,length 3440
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 370016,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 374112,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 378208,length 284
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 378496,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 382592,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 386688,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 390784,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 394880,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 398976,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 403072,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 407168,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 411264,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 415360,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 419456,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 423552,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 427648,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 431744,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 435840,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 439936,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 444032,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 448128,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 452224,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 456320,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 460416,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 464512,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 468608,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 472704,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 476800,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 480896,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 484992,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 489088,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 493184,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 497280,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 501376,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 505472,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 509568,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 513664,length 1670
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 515344,length 244
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 515588,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 519684,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 523780,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 527876,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 531972,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 536068,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 540164,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 544260,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 548356,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 552452,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 556548,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 560644,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 564740,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 568836,length 1392
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 570228,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 574324,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 578420,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 582516,length 1028
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 583544,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 587640,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 591736,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 595832,length 1028
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 596860,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 600956,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 605052,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 609148,length 1028
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 610176,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 614272,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 618368,length 4096
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 622464,length 1028
[10:38:34 am COM3]:sahara read 64b data:imgID 13,offset 623492,length 2788
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 626280,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 630376,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 634472,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 638568,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 642664,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 646760,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 650856,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 654952,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 659048,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 663144,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 667240,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 671336,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 675432,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 679528,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 683624,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 687720,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 691816,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 695912,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 700008,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 704104,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 708200,length 4096
[10:38:35 am COM3]:sahara read 64b data:imgID 13,offset 712296,length 4096
[10:38:35 am COM3]:sahara read end imgID:13 status:0
[10:38:35 am COM3]:Send done packet
[10:38:35 am COM3]:file C:\Downloads\ASUS_ROG2_ZS660KL_QPST_Firmware\images\prog_ufs_firehose_sdm855_ddr.elf transferred successfully
[10:38:37 am COM3]:send nop command
[10:38:37 am COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[10:38:37 am COM3]:get response from target
[10:38:37 am COM3]:dump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Apr 23 2019 @ 12:15:39" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Apr 23 2019 @ 12:15:39
" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 3129691957 (0xba8b4f35)" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Supported Functions (15):" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: program" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: read" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: nop" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: patch" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: configure" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: setbootablestoragedrive" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: erase" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: power" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: firmwarewrite" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getstorageinfo" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: benchmark" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: emmc" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: fixgpt" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getsha256digest" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: End of supported functions 15" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for nop" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Apr 23 2019 @ 12:15:39
" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 3129691957 (0xba8b4f35)" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Supported Functions (15):" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: program" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: read" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: nop" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: patch" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: configure" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: setbootablestoragedrive" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: erase" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: power" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: firmwarewrite" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getstorageinfo" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: benchmark" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: emmc" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: fixgpt" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getsha256digest" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: End of supported functions 15" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>

[10:38:37 am COM3]:send configure command
[10:38:37 am COM3]:send command:<?xml version="1.0" ?><data><configure verbose="0" AlwaysValidate="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="0"/></data>
[10:38:37 am COM3]:get response from target
[10:38:37 am COM3]:dump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for configure" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Storage type set to value UFS" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" MemoryName="UFS" MinVersionSupported="1" Version="1" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" DateTime="Apr 23 2019 - 12:15:39" /></data>

[10:38:37 am COM3]:max buffer sector is 256
[10:38:37 am COM3]:send command:<?xml version="1.0" ?><data><setbootablestoragedrive verbose="0" value="1"/></data>
[10:38:37 am COM3]:get response from target
[10:38:37 am COM3]:dump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for setbootablestoragedrive" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Using scheme of value= 1" /></data>

[10:38:37 am COM3]:dump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Failed to initialize (open whole lun) UFS Device slot 0 partition 1" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Failed to open the device:3 slot:0 partition:1 error:0" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: OPEN handle NULL and no error, weird 344384172" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Failed to open device, type:UFS, slot:0, lun:1 error:3" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="NAK" rawmode="false" /></data>

[10:38:37 am COM3]:flashSuccess False
[10:38:37 am COM3]:isFactory False CheckCPUID False
[10:38:37 am COM3]:before:flashSuccess is False set IsUpdate:True set IsDone True
[10:38:38 am COM3]:after:flashSuccess is False set IsUpdate:false set IsDone true
[10:38:38 am COM3]:no Binary dump
[10:38:38 am COM3]:no Binary dump
[10:38:38 am COM3]:System.Exception: set boot partition failed
at XiaoMiFlash.code.bl.SerialPortDevice.SetBootPartition()
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.SetBootPartition()
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[10:38:38 am COM3]:no provision exit:COM3