[2023-12-10 22:34:58:979:979671  COM14]:MiFlash 2022.5.7.0
[2023-12-10 22:34:58:980:980668  COM14]:vboytest index:14
[2023-12-10 22:34:58:981:981665  COM14]:flash in thread name:COM14,id:20
[2023-12-10 22:34:58:983:983658  COM14]:vboytest do open :
[2023-12-10 22:34:58:985:985652  COM14]: serial port COM14 opend successfully
[2023-12-10 22:34:58:987:987646  COM14]:[COM14]:start flash.
[2023-12-10 22:34:58:988:988642  COM14]:received hello packet
[2023-12-10 22:34:58:989:989638  COM14]:programmertype: 0
[2023-12-10 22:34:58:989:989638  COM14]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-10 22:34:58:990:990635  COM14]:download programmer file: C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images\xbl_s_devprg_ns.melf
[2023-12-10 22:34:58:990:990635  COM14]:download programmer C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images\xbl_s_devprg_ns.melf
[2023-12-10 22:34:58:992:992629  COM14]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-10 22:34:58:992:992629  COM14]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-10 22:34:59:051:051478  COM14]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-10 22:34:59:112:112401  COM14]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-10 22:34:59:175:175365  COM14]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-10 22:34:59:175:175365  COM14]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-10 22:34:59:176:176361  COM14]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-10 22:34:59:237:237222  COM14]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-10 22:34:59:241:241208  COM14]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-10 22:34:59:300:300946  COM14]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-10 22:34:59:364:364790  COM14]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-10 22:34:59:364:364790  COM14]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-10 22:34:59:428:428632  COM14]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-10 22:34:59:428:428632  COM14]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-10 22:34:59:429:429628  COM14]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-10 22:34:59:498:498460  COM14]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-10 22:34:59:561:561295  COM14]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-10 22:34:59:625:625167  COM14]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-10 22:34:59:682:682972  COM14]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-10 22:34:59:745:745433  COM14]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-10 22:34:59:812:812368  COM14]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-10 22:34:59:871:871287  COM14]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-10 22:34:59:871:871287  COM14]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-10 22:34:59:872:872284  COM14]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-10 22:34:59:936:936070  COM14]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-10 22:34:59:996:996906  COM14]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-10 22:35:00:057:057700  COM14]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-10 22:35:00:120:120561  COM14]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-10 22:35:00:182:182404  COM14]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-10 22:35:00:182:182404  COM14]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-10 22:35:00:183:183401  COM14]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-10 22:35:00:245:245248  COM14]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-10 22:35:00:248:248237  COM14]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-10 22:35:00:310:310066  COM14]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-10 22:35:00:372:372877  COM14]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-10 22:35:00:435:435754  COM14]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-10 22:35:00:499:499604  COM14]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-10 22:35:00:561:561067  COM14]:Send done packet
[2023-12-10 22:35:00:564:564057  COM14]:file C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images\xbl_s_devprg_ns.melf transferred successfully
[2023-12-10 22:35:02:575:575203  COM14]:send nop command
[2023-12-10 22:35:02:576:576200  COM14]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-10 22:35:02:579:579187  COM14]:get response from target
[2023-12-10 22:35:02:581:581181  COM14]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs: SAMSUNG" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Feb 11 2022 @ 23:03:01" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Feb 11 2022 @ 23:03:01
" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)" /></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: Feb 11 2022 @ 23:03:01
" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)" /></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>


[2023-12-10 22:35:02:585:585167  COM14]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-10 22:35:02:655:655298  COM14]:send configure command
[2023-12-10 22:35:02:656:656294  COM14]:send command:<?xml version="1.0" ?><data><configure verbose="0" AlwaysValidate="0"  ZlpAwareHost="1"  MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="0"/></data>
[2023-12-10 22:35:02:657:657293  COM14]:get response from target
[2023-12-10 22:35:02:657:657293  COM14]:resdump:<?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" rawmode="false" /></data>


[2023-12-10 22:35:03:408:408721  COM14]:no Binary dump
[2023-12-10 22:35:04:168:168035  COM14]:no Binary dump
[2023-12-10 22:35:04:924:924549  COM14]:no Binary dump
[2023-12-10 22:35:05:684:684136  COM14]:no Binary dump
[2023-12-10 22:35:06:439:439447  COM14]:no Binary dump
[2023-12-10 22:35:07:199:199212  COM14]:no Binary dump
[2023-12-10 22:35:07:951:951967  COM14]:no Binary dump
[2023-12-10 22:35:08:711:711693  COM14]:no Binary dump
[2023-12-10 22:35:09:472:472322  COM14]:no Binary dump
[2023-12-10 22:35:10:229:229774  COM14]:no Binary dump
[2023-12-10 22:35:10:986:986533  COM14]:no Binary dump
[2023-12-10 22:35:11:738:738602  COM14]:no Binary dump
[2023-12-10 22:35:12:492:492187  COM14]:no Binary dump
[2023-12-10 22:35:13:245:245584  COM14]:no Binary dump
[2023-12-10 22:35:14:000:000438  COM14]:no Binary dump
[2023-12-10 22:35:14:752:752312  COM14]:no Binary dump
[2023-12-10 22:35:15:508:508478  COM14]:no Binary dump
[2023-12-10 22:35:16:262:262243  COM14]:no Binary dump
[2023-12-10 22:35:17:015:015353  COM14]:no Binary dump
[2023-12-10 22:35:17:762:762955  COM14]:no Binary dump
[2023-12-10 22:35:18:514:514879  COM14]:no Binary dump
[2023-12-10 22:35:19:274:274183  COM14]:no Binary dump
[2023-12-10 22:35:20:029:029122  COM14]:no Binary dump
[2023-12-10 22:35:20:789:789312  COM14]:no Binary dump
[2023-12-10 22:35:21:542:542714  COM14]:no Binary dump
[2023-12-10 22:35:22:297:297810  COM14]:no Binary dump
[2023-12-10 22:35:23:055:055339  COM14]:no Binary dump
[2023-12-10 22:35:23:814:814330  COM14]:no Binary dump
[2023-12-10 22:35:24:572:572082  COM14]:no Binary dump
[2023-12-10 22:35:25:330:330404  COM14]:no Binary dump
[2023-12-10 22:35:26:087:087292  COM14]:no Binary dump
[2023-12-10 22:35:26:150:150150  COM14]:edl authentication Ko Nine Yay
[2023-12-10 22:35:26:151:151147  COM14]:need edl authentication.
[2023-12-10 22:35:26:156:156126  COM14]:authentication edl.
[2023-12-10 22:35:26:156:156126  COM14]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-10 22:35:26:157:157123  COM14]:get response from target
[2023-12-10 22:35:26:157:157123  COM14]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEMbdXrTnSMeMih2zIalCbLU" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-10 22:35:26:213:213034  COM14]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEMbdXrTnSMeMih2zIalCbLU
[2023-12-10 22:35:26:213:213034  COM14]:SignEdl
[2023-12-10 22:37:07:924:924206  COM14]:System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Byte.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
   at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
   at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew()     at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Byte.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
   at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
   at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew()
