[2023-12-10 22:20:31:005:005694  COM14]:MiFlash 2022.5.7.0
[2023-12-10 22:20:31:005:005694  COM14]:vboytest index:14
[2023-12-10 22:20:31:006:006691  COM14]:flash in thread name:COM14,id:20
[2023-12-10 22:20:31:009:009681  COM14]:vboytest do open :
[2023-12-10 22:20:31:011:011674  COM14]: serial port COM14 opend successfully
[2023-12-10 22:20:31:013:013668  COM14]:[COM14]:start flash.
[2023-12-10 22:20:31:014:014664  COM14]:received hello packet
[2023-12-10 22:20:31:015:015662  COM14]:programmertype: 0
[2023-12-10 22:20:31:015:015662  COM14]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-10 22:20:31:016:016658  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:20:31:016:016658  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:20:31:017:017654  COM14]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-10 22:20:31:017:017654  COM14]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-10 22:20:31:084:084456  COM14]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-10 22:20:31:145:145365  COM14]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-10 22:20:31:209:209171  COM14]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-10 22:20:31:209:209171  COM14]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-10 22:20:31:210:210168  COM14]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-10 22:20:31:271:271344  COM14]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-10 22:20:31:275:275330  COM14]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-10 22:20:31:334:334140  COM14]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-10 22:20:31:396:396930  COM14]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-10 22:20:31:396:396930  COM14]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-10 22:20:31:460:460650  COM14]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-10 22:20:31:462:462642  COM14]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-10 22:20:31:462:462642  COM14]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-10 22:20:31:528:528860  COM14]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-10 22:20:31:591:591670  COM14]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-10 22:20:31:653:653814  COM14]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-10 22:20:31:713:713613  COM14]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-10 22:20:31:776:776576  COM14]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-10 22:20:31:843:843502  COM14]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-10 22:20:31:901:901809  COM14]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-10 22:20:31:902:902806  COM14]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-10 22:20:31:902:902806  COM14]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-10 22:20:31:967:967929  COM14]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-10 22:20:32:029:029799  COM14]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-10 22:20:32:089:089605  COM14]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-10 22:20:32:152:152395  COM14]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-10 22:20:32:214:214347  COM14]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-10 22:20:32:214:214347  COM14]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-10 22:20:32:215:215343  COM14]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-10 22:20:32:275:275956  COM14]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-10 22:20:32:277:277951  COM14]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-10 22:20:32:281:281938  COM14]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-10 22:20:32:340:340819  COM14]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-10 22:20:32:342:342812  COM14]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-10 22:20:32:344:344806  COM14]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-10 22:20:32:400:400619  COM14]:Send done packet
[2023-12-10 22:20:32:462:462944  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:20:34:480:480693  COM14]:send nop command
[2023-12-10 22:20:34:481:481690  COM14]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-10 22:20:34:483:483683  COM14]:get response from target
[2023-12-10 22:20:34:484:484680  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:20:34:486:486673  COM14]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-10 22:20:34:542:542632  COM14]:send configure command
[2023-12-10 22:20:34:543:543630  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:20:34:543:543630  COM14]:get response from target
[2023-12-10 22:20:34:543:543630  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:20:35:292:292323  COM14]:no Binary dump
[2023-12-10 22:20:36:045:045637  COM14]:no Binary dump
[2023-12-10 22:20:36:802:802696  COM14]:no Binary dump
[2023-12-10 22:20:37:560:560507  COM14]:no Binary dump
[2023-12-10 22:20:38:312:312426  COM14]:no Binary dump
[2023-12-10 22:20:39:065:065429  COM14]:no Binary dump
[2023-12-10 22:20:39:815:815822  COM14]:no Binary dump
[2023-12-10 22:20:40:574:574009  COM14]:no Binary dump
[2023-12-10 22:20:41:329:329334  COM14]:no Binary dump
[2023-12-10 22:20:42:088:088117  COM14]:no Binary dump
[2023-12-10 22:20:42:841:841658  COM14]:no Binary dump
[2023-12-10 22:20:43:597:597405  COM14]:no Binary dump
[2023-12-10 22:20:44:355:355856  COM14]:no Binary dump
[2023-12-10 22:20:45:111:111238  COM14]:no Binary dump
[2023-12-10 22:20:45:866:866188  COM14]:no Binary dump
[2023-12-10 22:20:46:624:624247  COM14]:no Binary dump
[2023-12-10 22:20:47:380:380455  COM14]:no Binary dump
[2023-12-10 22:20:48:137:137596  COM14]:no Binary dump
[2023-12-10 22:20:48:895:895804  COM14]:no Binary dump
[2023-12-10 22:20:49:654:654493  COM14]:no Binary dump
[2023-12-10 22:20:50:409:409987  COM14]:no Binary dump
[2023-12-10 22:20:51:164:164164  COM14]:no Binary dump
[2023-12-10 22:20:51:921:921615  COM14]:no Binary dump
[2023-12-10 22:20:52:676:676426  COM14]:no Binary dump
[2023-12-10 22:20:53:428:428975  COM14]:no Binary dump
[2023-12-10 22:20:54:185:185179  COM14]:no Binary dump
[2023-12-10 22:20:54:942:942271  COM14]:no Binary dump
[2023-12-10 22:20:55:698:698827  COM14]:no Binary dump
[2023-12-10 22:20:56:453:453231  COM14]:no Binary dump
[2023-12-10 22:20:57:214:214499  COM14]:no Binary dump
[2023-12-10 22:20:57:967:967985  COM14]:no Binary dump
[2023-12-10 22:20:58:029:029711  COM14]:edl authentication Ko Nine Yay
[2023-12-10 22:20:58:029:029711  COM14]:need edl authentication.
[2023-12-10 22:20:58:031:031704  COM14]:authentication edl.
[2023-12-10 22:20:58:032:032700  COM14]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-10 22:20:58:032:032700  COM14]:get response from target
[2023-12-10 22:20:58:033:033697  COM14]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEHVcbBCCNFxcGm1k3QLheaw" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-10 22:20:58:093:093722  COM14]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEHVcbBCCNFxcGm1k3QLheaw
[2023-12-10 22:20:58:093:093722  COM14]:SignEdl
[2023-12-10 22:23:17:581:581209  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()
