[2023-12-11 02:53:27:916:916791  COM3]:MiFlash 2022.5.7.0
[2023-12-11 02:53:27:917:917788  COM3]:vboytest index:3
[2023-12-11 02:53:27:918:918785  COM3]:flash in thread name:COM3,id:15
[2023-12-11 02:53:27:921:921775  COM3]:vboytest do open :
[2023-12-11 02:53:27:923:923768  COM3]: serial port COM3 opend successfully
[2023-12-11 02:53:27:925:925762  COM3]:[COM3]:start flash.
[2023-12-11 02:53:27:926:926758  COM3]:received hello packet
[2023-12-11 02:53:27:926:926758  COM3]:programmertype: 0
[2023-12-11 02:53:27:926:926758  COM3]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-11 02:53:27:928:928751  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-11 02:53:27:928:928751  COM3]:download programmer C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images\xbl_s_devprg_ns.melf
[2023-12-11 02:53:27:929:929748  COM3]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-11 02:53:27:930:930744  COM3]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-11 02:53:27:932:932738  COM3]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-11 02:53:27:997:997314  COM3]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-11 02:53:28:059:059548  COM3]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-11 02:53:28:061:061540  COM3]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-11 02:53:28:062:062536  COM3]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-11 02:53:28:121:121534  COM3]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-11 02:53:28:126:126520  COM3]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-11 02:53:28:184:184909  COM3]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-11 02:53:28:247:247541  COM3]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-11 02:53:28:248:248538  COM3]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-11 02:53:28:310:310202  COM3]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-11 02:53:28:311:311197  COM3]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-11 02:53:28:311:311197  COM3]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-11 02:53:28:378:378046  COM3]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-11 02:53:28:438:438930  COM3]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-11 02:53:28:502:502376  COM3]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-11 02:53:28:561:561201  COM3]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-11 02:53:28:625:625190  COM3]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-11 02:53:28:690:690202  COM3]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-11 02:53:28:749:749402  COM3]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-11 02:53:28:749:749402  COM3]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-11 02:53:28:750:750398  COM3]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-11 02:53:28:817:817079  COM3]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-11 02:53:28:879:879896  COM3]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-11 02:53:28:941:941773  COM3]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-11 02:53:29:002:002907  COM3]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-11 02:53:29:065:065728  COM3]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-11 02:53:29:065:065728  COM3]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-11 02:53:29:066:066723  COM3]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-11 02:53:29:129:129514  COM3]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-11 02:53:29:130:130511  COM3]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-11 02:53:29:194:194420  COM3]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-11 02:53:29:257:257211  COM3]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-11 02:53:29:258:258207  COM3]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-11 02:53:29:319:319764  COM3]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-11 02:53:29:381:381558  COM3]:Send done packet
[2023-12-11 02:53:29:444:444527  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-11 02:53:31:454:454082  COM3]:send nop command
[2023-12-11 02:53:31:454:454082  COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-11 02:53:31:456:456075  COM3]:get response from target
[2023-12-11 02:53:31:457:457072  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-11 02:53:31:457:457072  COM3]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-11 02:53:31:516:516912  COM3]:send configure command
[2023-12-11 02:53:31:517:517909  COM3]:send command:<?xml version="1.0" ?><data><configure verbose="0" AlwaysValidate="0"  ZlpAwareHost="1"  MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="0"/></data>
[2023-12-11 02:53:31:517:517909  COM3]:get response from target
[2023-12-11 02:53:31:517:517909  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-11 02:53:32:274:274980  COM3]:no Binary dump
[2023-12-11 02:53:33:027:027882  COM3]:no Binary dump
[2023-12-11 02:53:33:785:785584  COM3]:no Binary dump
[2023-12-11 02:53:34:541:541098  COM3]:no Binary dump
[2023-12-11 02:53:35:290:290941  COM3]:no Binary dump
[2023-12-11 02:53:36:040:040187  COM3]:no Binary dump
[2023-12-11 02:53:36:792:792390  COM3]:no Binary dump
[2023-12-11 02:53:37:548:548721  COM3]:no Binary dump
[2023-12-11 02:53:38:302:302651  COM3]:no Binary dump
[2023-12-11 02:53:39:060:060493  COM3]:no Binary dump
[2023-12-11 02:53:39:812:812046  COM3]:no Binary dump
[2023-12-11 02:53:40:563:563802  COM3]:no Binary dump
[2023-12-11 02:53:41:321:321367  COM3]:no Binary dump
[2023-12-11 02:53:42:076:076037  COM3]:no Binary dump
[2023-12-11 02:53:42:829:829304  COM3]:no Binary dump
[2023-12-11 02:53:43:580:580918  COM3]:no Binary dump
[2023-12-11 02:53:44:336:336162  COM3]:no Binary dump
[2023-12-11 02:53:45:087:087749  COM3]:no Binary dump
[2023-12-11 02:53:45:844:844520  COM3]:no Binary dump
[2023-12-11 02:53:46:595:595177  COM3]:no Binary dump
[2023-12-11 02:53:47:347:347659  COM3]:no Binary dump
[2023-12-11 02:53:48:101:101095  COM3]:no Binary dump
[2023-12-11 02:53:48:853:853242  COM3]:no Binary dump
[2023-12-11 02:53:49:605:605025  COM3]:no Binary dump
[2023-12-11 02:53:50:354:354373  COM3]:no Binary dump
[2023-12-11 02:53:51:103:103492  COM3]:no Binary dump
[2023-12-11 02:53:51:851:851717  COM3]:no Binary dump
[2023-12-11 02:53:52:606:606704  COM3]:no Binary dump
[2023-12-11 02:53:53:358:358556  COM3]:no Binary dump
[2023-12-11 02:53:54:114:114655  COM3]:no Binary dump
[2023-12-11 02:53:54:864:864170  COM3]:no Binary dump
[2023-12-11 02:53:54:927:927500  COM3]:edl authentication Ko Nine Yay
[2023-12-11 02:53:54:927:927500  COM3]:need edl authentication.
[2023-12-11 02:53:54:928:928496  COM3]:authentication edl.
[2023-12-11 02:53:54:928:928496  COM3]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-11 02:53:54:929:929493  COM3]:get response from target
[2023-12-11 02:53:54:929:929493  COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEIpONx-ZmUundQZzPazInHY" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-11 02:53:54:989:989386  COM3]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEIpONx-ZmUundQZzPazInHY
[2023-12-11 02:53:54:989:989386  COM3]:SignEdl
[2023-12-11 02:54:23:413:413465  COM3]:siged:bgst
[2023-12-11 02:54:23:416:416455  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()
