[2023-12-11 02:56:31:440:440422  COM14]:MiFlash 2022.5.7.0
[2023-12-11 02:56:31:440:440422  COM14]:vboytest index:14
[2023-12-11 02:56:31:441:441419  COM14]:flash in thread name:COM14,id:15
[2023-12-11 02:56:31:444:444409  COM14]:vboytest do open :
[2023-12-11 02:56:31:446:446402  COM14]: serial port COM14 opend successfully
[2023-12-11 02:56:31:448:448396  COM14]:[COM14]:start flash.
[2023-12-11 02:56:31:449:449392  COM14]:received hello packet
[2023-12-11 02:56:31:449:449392  COM14]:programmertype: 0
[2023-12-11 02:56:31:449:449392  COM14]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-11 02:56:31:450:450390  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-11 02:56:31:450:450390  COM14]: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:56:31:452:452382  COM14]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-11 02:56:31:452:452382  COM14]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-11 02:56:31:455:455372  COM14]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-11 02:56:31:509:509347  COM14]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-11 02:56:31:572:572600  COM14]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-11 02:56:31:573:573595  COM14]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-11 02:56:31:574:574604  COM14]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-11 02:56:31:635:635963  COM14]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-11 02:56:31:639:639950  COM14]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-11 02:56:31:697:697756  COM14]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-11 02:56:31:760:760546  COM14]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-11 02:56:31:760:760546  COM14]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-11 02:56:31:822:822368  COM14]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-11 02:56:31:822:822368  COM14]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-11 02:56:31:823:823365  COM14]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-11 02:56:31:890:890180  COM14]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-11 02:56:31:951:951994  COM14]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-11 02:56:32:013:013475  COM14]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-11 02:56:32:071:071283  COM14]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-11 02:56:32:135:135137  COM14]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-11 02:56:32:201:201915  COM14]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-11 02:56:32:259:259741  COM14]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-11 02:56:32:259:259741  COM14]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-11 02:56:32:260:260739  COM14]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-11 02:56:32:326:326538  COM14]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-11 02:56:32:387:387334  COM14]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-11 02:56:32:447:447676  COM14]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-11 02:56:32:510:510465  COM14]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-11 02:56:32:571:571774  COM14]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-11 02:56:32:571:571774  COM14]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-11 02:56:32:572:572772  COM14]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-11 02:56:32:634:634564  COM14]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-11 02:56:32:635:635561  COM14]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-11 02:56:32:698:698351  COM14]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-11 02:56:32:757:757154  COM14]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-11 02:56:32:818:818948  COM14]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-11 02:56:32:883:883243  COM14]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-11 02:56:32:945:945596  COM14]:Send done packet
[2023-12-11 02:56:33:008:008406  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-11 02:56:35:025:025533  COM14]:send nop command
[2023-12-11 02:56:35:025:025533  COM14]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-11 02:56:35:027:027525  COM14]:get response from target
[2023-12-11 02:56:35:028:028523  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-11 02:56:35:028:028523  COM14]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-11 02:56:35:090:090315  COM14]:send configure command
[2023-12-11 02:56:35:091:091312  COM14]: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:56:35:091:091312  COM14]:get response from target
[2023-12-11 02:56:35:092:092309  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-11 02:56:35:837:837941  COM14]:no Binary dump
[2023-12-11 02:56:36:589:589372  COM14]:no Binary dump
[2023-12-11 02:56:37:341:341972  COM14]:no Binary dump
[2023-12-11 02:56:38:093:093967  COM14]:no Binary dump
[2023-12-11 02:56:38:848:848935  COM14]:no Binary dump
[2023-12-11 02:56:39:602:602256  COM14]:no Binary dump
[2023-12-11 02:56:40:355:355022  COM14]:no Binary dump
[2023-12-11 02:56:41:104:104600  COM14]:no Binary dump
[2023-12-11 02:56:41:856:856390  COM14]:no Binary dump
[2023-12-11 02:56:42:604:604412  COM14]:no Binary dump
[2023-12-11 02:56:43:355:355563  COM14]:no Binary dump
[2023-12-11 02:56:44:104:104513  COM14]:no Binary dump
[2023-12-11 02:56:44:862:862296  COM14]:no Binary dump
[2023-12-11 02:56:45:617:617290  COM14]:no Binary dump
[2023-12-11 02:56:46:372:372776  COM14]:no Binary dump
[2023-12-11 02:56:47:127:127725  COM14]:no Binary dump
[2023-12-11 02:56:47:878:878524  COM14]:no Binary dump
[2023-12-11 02:56:48:636:636581  COM14]:no Binary dump
[2023-12-11 02:56:49:389:389549  COM14]:no Binary dump
[2023-12-11 02:56:50:149:149214  COM14]:no Binary dump
[2023-12-11 02:56:50:904:904336  COM14]:no Binary dump
[2023-12-11 02:56:51:652:652551  COM14]:no Binary dump
[2023-12-11 02:56:52:404:404735  COM14]:no Binary dump
[2023-12-11 02:56:53:151:151264  COM14]:no Binary dump
[2023-12-11 02:56:53:909:909524  COM14]:no Binary dump
[2023-12-11 02:56:54:665:665288  COM14]:no Binary dump
[2023-12-11 02:56:55:417:417860  COM14]:no Binary dump
[2023-12-11 02:56:56:167:167608  COM14]:no Binary dump
[2023-12-11 02:56:56:917:917062  COM14]:no Binary dump
[2023-12-11 02:56:57:669:669266  COM14]:no Binary dump
[2023-12-11 02:56:58:423:423966  COM14]:no Binary dump
[2023-12-11 02:56:58:487:487598  COM14]:edl authentication Ko Nine Yay
[2023-12-11 02:56:58:487:487598  COM14]:need edl authentication.
[2023-12-11 02:56:58:490:490588  COM14]:authentication edl.
[2023-12-11 02:56:58:490:490588  COM14]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-11 02:56:58:491:491582  COM14]:get response from target
[2023-12-11 02:56:58:491:491582  COM14]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBECye9hFJ9WxRJ8SInkDLSzE" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-11 02:56:58:550:550664  COM14]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBECye9hFJ9WxRJ8SInkDLSzE
[2023-12-11 02:56:58:550:550664  COM14]:SignEdl
[2023-12-11 02:57:18:353:353382  COM14]:siged:kanjutbadaggggggggggggggggggggggggg
[2023-12-11 02:57:18:357:357369  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()
