[2023-12-10 22:25:54:360:360899  COM14]:MiFlash 2022.5.7.0
[2023-12-10 22:25:54:361:361896  COM14]:vboytest index:14
[2023-12-10 22:25:54:362:362892  COM14]:flash in thread name:COM14,id:15
[2023-12-10 22:25:54:365:365882  COM14]:vboytest do open :
[2023-12-10 22:25:54:367:367880  COM14]: serial port COM14 opend successfully
[2023-12-10 22:25:54:369:369874  COM14]:[COM14]:start flash.
[2023-12-10 22:25:54:370:370869  COM14]:received hello packet
[2023-12-10 22:25:54:371:371871  COM14]:programmertype: 0
[2023-12-10 22:25:54:371:371871  COM14]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-10 22:25:54:372:372863  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:25:54:372:372863  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:25:54:373:373860  COM14]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-10 22:25:54:374:374857  COM14]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-10 22:25:54:376:376850  COM14]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-10 22:25:54:435:435760  COM14]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-10 22:25:54:497:497766  COM14]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-10 22:25:54:498:498761  COM14]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-10 22:25:54:499:499757  COM14]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-10 22:25:54:560:560509  COM14]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-10 22:25:54:564:564496  COM14]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-10 22:25:54:623:623448  COM14]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-10 22:25:54:686:686332  COM14]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-10 22:25:54:686:686332  COM14]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-10 22:25:54:749:749252  COM14]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-10 22:25:54:749:749252  COM14]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-10 22:25:54:750:750250  COM14]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-10 22:25:54:815:815794  COM14]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-10 22:25:54:878:878216  COM14]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-10 22:25:54:940:940934  COM14]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-10 22:25:55:001:001249  COM14]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-10 22:25:55:066:066170  COM14]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-10 22:25:55:132:132986  COM14]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-10 22:25:55:191:191558  COM14]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-10 22:25:55:191:191558  COM14]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-10 22:25:55:192:192286  COM14]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-10 22:25:55:255:255909  COM14]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-10 22:25:55:316:316858  COM14]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-10 22:25:55:376:376647  COM14]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-10 22:25:55:440:440434  COM14]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-10 22:25:55:501:501779  COM14]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-10 22:25:55:501:501779  COM14]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-10 22:25:55:502:502775  COM14]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-10 22:25:55:565:565661  COM14]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-10 22:25:55:566:566656  COM14]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-10 22:25:55:629:629988  COM14]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-10 22:25:55:692:692832  COM14]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-10 22:25:55:693:693829  COM14]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-10 22:25:55:756:756887  COM14]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-10 22:25:55:818:818943  COM14]:Send done packet
[2023-12-10 22:25:55:882:882134  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:25:57:891:891379  COM14]:send nop command
[2023-12-10 22:25:57:892:892376  COM14]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-10 22:25:57:894:894369  COM14]:get response from target
[2023-12-10 22:25:57:895:895366  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:25:57:896:896363  COM14]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-10 22:25:57:954:954169  COM14]:send configure command
[2023-12-10 22:25:57:955:955165  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:25:57:955:955165  COM14]:get response from target
[2023-12-10 22:25:57:955:955165  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:25:58:709:709976  COM14]:no Binary dump
[2023-12-10 22:25:59:466:466759  COM14]:no Binary dump
[2023-12-10 22:26:00:224:224001  COM14]:no Binary dump
[2023-12-10 22:26:00:980:980983  COM14]:no Binary dump
[2023-12-10 22:26:01:748:748500  COM14]:no Binary dump
[2023-12-10 22:26:02:509:509081  COM14]:no Binary dump
[2023-12-10 22:26:03:265:265222  COM14]:no Binary dump
[2023-12-10 22:26:04:019:019862  COM14]:no Binary dump
[2023-12-10 22:26:04:778:778814  COM14]:no Binary dump
[2023-12-10 22:26:05:529:529876  COM14]:no Binary dump
[2023-12-10 22:26:06:285:285633  COM14]:no Binary dump
[2023-12-10 22:26:07:046:046922  COM14]:no Binary dump
[2023-12-10 22:26:07:802:802869  COM14]:no Binary dump
[2023-12-10 22:26:08:564:564703  COM14]:no Binary dump
[2023-12-10 22:26:09:321:321760  COM14]:no Binary dump
[2023-12-10 22:26:10:075:075714  COM14]:no Binary dump
[2023-12-10 22:26:10:827:827667  COM14]:no Binary dump
[2023-12-10 22:26:11:586:586292  COM14]:no Binary dump
[2023-12-10 22:26:12:337:337725  COM14]:no Binary dump
[2023-12-10 22:26:13:088:088635  COM14]:no Binary dump
[2023-12-10 22:26:13:842:842358  COM14]:no Binary dump
[2023-12-10 22:26:14:602:602230  COM14]:no Binary dump
[2023-12-10 22:26:15:354:354381  COM14]:no Binary dump
[2023-12-10 22:26:16:110:110433  COM14]:no Binary dump
[2023-12-10 22:26:16:867:867233  COM14]:no Binary dump
[2023-12-10 22:26:17:622:622258  COM14]:no Binary dump
[2023-12-10 22:26:18:372:372302  COM14]:no Binary dump
[2023-12-10 22:26:19:124:124945  COM14]:no Binary dump
[2023-12-10 22:26:19:883:883486  COM14]:no Binary dump
[2023-12-10 22:26:20:639:639057  COM14]:no Binary dump
[2023-12-10 22:26:21:398:398681  COM14]:no Binary dump
[2023-12-10 22:26:21:461:461544  COM14]:edl authentication Ko Nine Yay
[2023-12-10 22:26:21:461:461544  COM14]:need edl authentication.
[2023-12-10 22:26:21:462:462541  COM14]:authentication edl.
[2023-12-10 22:26:21:462:462541  COM14]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-10 22:26:21:462:462541  COM14]:get response from target
[2023-12-10 22:26:21:463:463538  COM14]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEMqQ4KESXyGTDc6HvlIRPfc" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-10 22:26:21:524:524338  COM14]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEMqQ4KESXyGTDc6HvlIRPfc
[2023-12-10 22:26:21:524:524338  COM14]:SignEdl
[2023-12-10 22:28:44:589:589617  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()
