[2023-12-10 22:36:32:266:266027  COM3]:MiFlash 2022.5.7.0
[2023-12-10 22:36:32:266:266027  COM3]:vboytest index:3
[2023-12-10 22:36:32:267:267024  COM3]:flash in thread name:COM3,id:8
[2023-12-10 22:36:32:268:268021  COM3]:vboytest do open :
[2023-12-10 22:36:32:269:269017  COM3]: serial port COM3 opend successfully
[2023-12-10 22:36:32:270:270013  COM3]:[COM3]:start flash.
[2023-12-10 22:36:32:270:270013  COM3]:received hello packet
[2023-12-10 22:36:32:270:270013  COM3]:programmertype: 0
[2023-12-10 22:36:32:270:270013  COM3]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-10 22:36:32:271:271010  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:36:32:271:271010  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:36:32:335:335793  COM3]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-10 22:36:32:335:335793  COM3]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-10 22:36:32:338:338783  COM3]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-10 22:36:32:398:398583  COM3]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-10 22:36:32:460:460574  COM3]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-10 22:36:32:461:461571  COM3]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-10 22:36:32:462:462568  COM3]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-10 22:36:32:523:523755  COM3]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-10 22:36:32:527:527742  COM3]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-10 22:36:32:586:586657  COM3]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-10 22:36:32:650:650532  COM3]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-10 22:36:32:650:650532  COM3]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-10 22:36:32:714:714430  COM3]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-10 22:36:32:714:714430  COM3]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-10 22:36:32:715:715427  COM3]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-10 22:36:32:781:781235  COM3]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-10 22:36:32:843:843064  COM3]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-10 22:36:32:904:904764  COM3]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-10 22:36:32:965:965311  COM3]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-10 22:36:33:028:028713  COM3]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-10 22:36:33:094:094615  COM3]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-10 22:36:33:153:153339  COM3]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-10 22:36:33:154:154335  COM3]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-10 22:36:33:154:154335  COM3]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-10 22:36:33:221:221132  COM3]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-10 22:36:33:282:282879  COM3]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-10 22:36:33:343:343676  COM3]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-10 22:36:33:406:406465  COM3]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-10 22:36:33:467:467774  COM3]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-10 22:36:33:467:467774  COM3]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-10 22:36:33:468:468771  COM3]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-10 22:36:33:530:530400  COM3]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-10 22:36:33:531:531398  COM3]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-10 22:36:33:594:594408  COM3]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-10 22:36:33:656:656550  COM3]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-10 22:36:33:657:657547  COM3]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-10 22:36:33:721:721403  COM3]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-10 22:36:33:783:783364  COM3]:Send done packet
[2023-12-10 22:36:33:846:846263  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:36:35:866:866755  COM3]:send nop command
[2023-12-10 22:36:35:866:866755  COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-10 22:36:35:866:866755  COM3]:get response from target
[2023-12-10 22:36:35:866:866755  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>


[2023-12-10 22:36:35:867:867751  COM3]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-10 22:36:35:929:929674  COM3]:resdump:<?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:36:35:993:993531  COM3]:send configure command
[2023-12-10 22:36:35:993:993531  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:36:35:994:994527  COM3]:get response from target
[2023-12-10 22:36:35:994:994527  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:36:36:747:747671  COM3]:no Binary dump
[2023-12-10 22:36:37:503:503407  COM3]:no Binary dump
[2023-12-10 22:36:38:261:261688  COM3]:no Binary dump
[2023-12-10 22:36:39:014:014329  COM3]:no Binary dump
[2023-12-10 22:36:39:762:762616  COM3]:no Binary dump
[2023-12-10 22:36:40:513:513882  COM3]:no Binary dump
[2023-12-10 22:36:41:264:264766  COM3]:no Binary dump
[2023-12-10 22:36:42:024:024363  COM3]:no Binary dump
[2023-12-10 22:36:42:781:781505  COM3]:no Binary dump
[2023-12-10 22:36:43:535:535433  COM3]:no Binary dump
[2023-12-10 22:36:44:292:292308  COM3]:no Binary dump
[2023-12-10 22:36:45:046:046834  COM3]:no Binary dump
[2023-12-10 22:36:45:807:807353  COM3]:no Binary dump
[2023-12-10 22:36:46:561:561523  COM3]:no Binary dump
[2023-12-10 22:36:47:319:319418  COM3]:no Binary dump
[2023-12-10 22:36:48:076:076828  COM3]:no Binary dump
[2023-12-10 22:36:48:841:841347  COM3]:no Binary dump
[2023-12-10 22:36:49:588:588453  COM3]:no Binary dump
[2023-12-10 22:36:50:341:341277  COM3]:no Binary dump
[2023-12-10 22:36:51:091:091999  COM3]:no Binary dump
[2023-12-10 22:36:51:841:841064  COM3]:no Binary dump
[2023-12-10 22:36:52:592:592750  COM3]:no Binary dump
[2023-12-10 22:36:53:343:343423  COM3]:no Binary dump
[2023-12-10 22:36:54:096:096288  COM3]:no Binary dump
[2023-12-10 22:36:54:853:853561  COM3]:no Binary dump
[2023-12-10 22:36:55:608:608904  COM3]:no Binary dump
[2023-12-10 22:36:56:366:366487  COM3]:no Binary dump
[2023-12-10 22:36:57:118:118275  COM3]:no Binary dump
[2023-12-10 22:36:57:870:870377  COM3]:no Binary dump
[2023-12-10 22:36:58:620:620808  COM3]:no Binary dump
[2023-12-10 22:36:59:372:372710  COM3]:no Binary dump
[2023-12-10 22:36:59:435:435500  COM3]:edl authentication Ko Nine Yay
[2023-12-10 22:36:59:435:435500  COM3]:need edl authentication.
[2023-12-10 22:36:59:435:435500  COM3]:authentication edl.
[2023-12-10 22:36:59:435:435500  COM3]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-10 22:36:59:435:435500  COM3]:get response from target
[2023-12-10 22:36:59:436:436496  COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEOw3yTZKFRm2UPYu5gNhQwA" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-10 22:36:59:498:498384  COM3]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEOw3yTZKFRm2UPYu5gNhQwA
[2023-12-10 22:36:59:498:498384  COM3]:SignEdl
[2023-12-10 22:37:21:275:275425  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()
