[2023-12-10 22:49:02:294:294964  COM3]:MiFlash 2022.5.7.0
[2023-12-10 22:49:02:295:295960  COM3]:vboytest index:3
[2023-12-10 22:49:02:296:296957  COM3]:flash in thread name:COM3,id:15
[2023-12-10 22:49:02:298:298951  COM3]:vboytest do open :
[2023-12-10 22:49:02:300:300944  COM3]: serial port COM3 opend successfully
[2023-12-10 22:49:02:302:302937  COM3]:[COM3]:start flash.
[2023-12-10 22:49:02:303:303934  COM3]:received hello packet
[2023-12-10 22:49:02:304:304931  COM3]:programmertype: 0
[2023-12-10 22:49:02:304:304931  COM3]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-10 22:49:02:305:305927  COM3]: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:49:02:305:305927  COM3]: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:49:02:306:306924  COM3]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-10 22:49:02:306:306924  COM3]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-10 22:49:02:362:362756  COM3]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-10 22:49:02:424:424039  COM3]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-10 22:49:02:486:486927  COM3]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-10 22:49:02:488:488921  COM3]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-10 22:49:02:490:490960  COM3]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-10 22:49:02:549:549563  COM3]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-10 22:49:02:555:555065  COM3]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-10 22:49:02:613:613580  COM3]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-10 22:49:02:675:675466  COM3]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-10 22:49:02:676:676462  COM3]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-10 22:49:02:739:739318  COM3]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-10 22:49:02:740:740313  COM3]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-10 22:49:02:741:741310  COM3]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-10 22:49:02:807:807142  COM3]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-10 22:49:02:866:866977  COM3]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-10 22:49:02:929:929768  COM3]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-10 22:49:02:989:989649  COM3]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-10 22:49:03:053:053513  COM3]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-10 22:49:03:118:118291  COM3]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-10 22:49:03:175:175662  COM3]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-10 22:49:03:175:175662  COM3]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-10 22:49:03:175:175662  COM3]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-10 22:49:03:242:242088  COM3]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-10 22:49:03:305:305017  COM3]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-10 22:49:03:364:364865  COM3]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-10 22:49:03:427:427692  COM3]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-10 22:49:03:489:489630  COM3]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-10 22:49:03:491:491625  COM3]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-10 22:49:03:492:492622  COM3]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-10 22:49:03:551:551459  COM3]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-10 22:49:03:554:554450  COM3]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-10 22:49:03:614:614327  COM3]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-10 22:49:03:616:616627  COM3]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-10 22:49:03:618:618584  COM3]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-10 22:49:03:620:620575  COM3]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-10 22:49:03:675:675464  COM3]:Send done packet
[2023-12-10 22:49:03:738:738264  COM3]: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:49:05:758:758150  COM3]:send nop command
[2023-12-10 22:49:05:759:759149  COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-10 22:49:05:761:761140  COM3]:get response from target
[2023-12-10 22:49:05:762:762136  COM3]: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:49:05:763:763133  COM3]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-10 22:49:05:821:821345  COM3]:send configure command
[2023-12-10 22:49:05:822:822342  COM3]: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:49:05:822:822342  COM3]:get response from target
[2023-12-10 22:49:05:822:822342  COM3]: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:49:06:573:573257  COM3]:no Binary dump
[2023-12-10 22:49:07:322:322552  COM3]:no Binary dump
[2023-12-10 22:49:08:076:076649  COM3]:no Binary dump
[2023-12-10 22:49:08:825:825503  COM3]:no Binary dump
[2023-12-10 22:49:09:580:580079  COM3]:no Binary dump
[2023-12-10 22:49:10:331:331699  COM3]:no Binary dump
[2023-12-10 22:49:11:089:089272  COM3]:no Binary dump
[2023-12-10 22:49:11:842:842081  COM3]:no Binary dump
[2023-12-10 22:49:12:594:594813  COM3]:no Binary dump
[2023-12-10 22:49:13:353:353972  COM3]:no Binary dump
[2023-12-10 22:49:14:109:109991  COM3]:no Binary dump
[2023-12-10 22:49:14:864:864283  COM3]:no Binary dump
[2023-12-10 22:49:15:621:621571  COM3]:no Binary dump
[2023-12-10 22:49:16:380:380777  COM3]:no Binary dump
[2023-12-10 22:49:17:137:137155  COM3]:no Binary dump
[2023-12-10 22:49:17:893:893224  COM3]:no Binary dump
[2023-12-10 22:49:18:651:651412  COM3]:no Binary dump
[2023-12-10 22:49:19:407:407484  COM3]:no Binary dump
[2023-12-10 22:49:20:164:164364  COM3]:no Binary dump
[2023-12-10 22:49:20:919:919038  COM3]:no Binary dump
[2023-12-10 22:49:21:673:673232  COM3]:no Binary dump
[2023-12-10 22:49:22:429:429185  COM3]:no Binary dump
[2023-12-10 22:49:23:187:187175  COM3]:no Binary dump
[2023-12-10 22:49:23:935:935336  COM3]:no Binary dump
[2023-12-10 22:49:24:686:686893  COM3]:no Binary dump
[2023-12-10 22:49:25:449:449799  COM3]:no Binary dump
[2023-12-10 22:49:26:208:208305  COM3]:no Binary dump
[2023-12-10 22:49:26:963:963574  COM3]:no Binary dump
[2023-12-10 22:49:27:716:716763  COM3]:no Binary dump
[2023-12-10 22:49:28:466:466062  COM3]:no Binary dump
[2023-12-10 22:49:29:219:219330  COM3]:no Binary dump
[2023-12-10 22:49:29:283:283233  COM3]:edl authentication Ko Nine Yay
[2023-12-10 22:49:29:283:283233  COM3]:need edl authentication.
[2023-12-10 22:49:29:286:286221  COM3]:authentication edl.
[2023-12-10 22:49:29:286:286221  COM3]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-10 22:49:29:286:286221  COM3]:get response from target
[2023-12-10 22:49:29:287:287218  COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEAveyqyrEJHJDPgIIxszPIM" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-10 22:49:29:347:347069  COM3]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEAveyqyrEJHJDPgIIxszPIM
[2023-12-10 22:49:29:347:347069  COM3]:SignEdl
[2023-12-10 22:51:00:693:693085  COM3]: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()
