[2023-12-11 02:46:39:820:820257  COM3]:MiFlash 2022.5.7.0
[2023-12-11 02:46:39:821:821254  COM3]:vboytest index:3
[2023-12-11 02:46:39:822:822251  COM3]:flash in thread name:COM3,id:15
[2023-12-11 02:46:39:824:824244  COM3]:vboytest do open :
[2023-12-11 02:46:39:826:826237  COM3]: serial port COM3 opend successfully
[2023-12-11 02:46:39:828:828230  COM3]:[COM3]:start flash.
[2023-12-11 02:46:39:829:829227  COM3]:received hello packet
[2023-12-11 02:46:39:830:830224  COM3]:programmertype: 0
[2023-12-11 02:46:39:830:830224  COM3]:swPath:C:\Users\CATHERINE\Desktop\BULK FLASH\YOHANLABS_REDMI_K50_GAMING_INGRES_MICLOUD_FRP\images
[2023-12-11 02:46:39:831:831220  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:46:39:831:831220  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:46:39:832:832217  COM3]:sahara read 64b data:imgID 13,offset 0,length 64
[2023-12-11 02:46:39:832:832217  COM3]:sahara read 64b data:imgID 13,offset 52,length 64
[2023-12-11 02:46:39:835:835207  COM3]:sahara read 64b data:imgID 13,offset 116,length 90112
[2023-12-11 02:46:39:901:901134  COM3]:sahara read 64b data:imgID 13,offset 90228,length 640
[2023-12-11 02:46:39:962:962962  COM3]:sahara read 64b data:imgID 13,offset 90868,length 64
[2023-12-11 02:46:39:963:963959  COM3]:sahara read 64b data:imgID 13,offset 90920,length 416
[2023-12-11 02:46:39:964:964956  COM3]:sahara read 64b data:imgID 13,offset 266996,length 9984
[2023-12-11 02:46:40:026:026749  COM3]:sahara read 64b data:imgID 13,offset 93940,length 812
[2023-12-11 02:46:40:030:030736  COM3]:sahara read 64b data:imgID 13,offset 97012,length 140212
[2023-12-11 02:46:40:088:088541  COM3]:sahara read 64b data:imgID 13,offset 237224,length 18900
[2023-12-11 02:46:40:149:149248  COM3]:sahara read 64b data:imgID 13,offset 256124,length 3832
[2023-12-11 02:46:40:149:149248  COM3]:sahara read 64b data:imgID 13,offset 259956,length 4
[2023-12-11 02:46:40:211:211033  COM3]:sahara read 64b data:imgID 13,offset 276980,length 64
[2023-12-11 02:46:40:211:211033  COM3]:sahara read 64b data:imgID 13,offset 277044,length 448
[2023-12-11 02:46:40:212:212030  COM3]:sahara read 64b data:imgID 13,offset 1067508,length 9744
[2023-12-11 02:46:40:278:278571  COM3]:sahara read 64b data:imgID 13,offset 281076,length 172032
[2023-12-11 02:46:40:341:341108  COM3]:sahara read 64b data:imgID 13,offset 453108,length 172032
[2023-12-11 02:46:40:404:404300  COM3]:sahara read 64b data:imgID 13,offset 625140,length 172032
[2023-12-11 02:46:40:461:461907  COM3]:sahara read 64b data:imgID 13,offset 797172,length 40960
[2023-12-11 02:46:40:525:525725  COM3]:sahara read 64b data:imgID 13,offset 838132,length 57344
[2023-12-11 02:46:40:592:592506  COM3]:sahara read 64b data:imgID 13,offset 895476,length 167936
[2023-12-11 02:46:40:652:652306  COM3]:sahara read 64b data:imgID 13,offset 1077252,length 64
[2023-12-11 02:46:40:652:652306  COM3]:sahara read 64b data:imgID 13,offset 1077316,length 392
[2023-12-11 02:46:40:653:653302  COM3]:sahara read 64b data:imgID 13,offset 1445892,length 3308
[2023-12-11 02:46:40:719:719004  COM3]:sahara read 64b data:imgID 13,offset 1081348,length 172032
[2023-12-11 02:46:40:779:779311  COM3]:sahara read 64b data:imgID 13,offset 1253380,length 108456
[2023-12-11 02:46:40:838:838115  COM3]:sahara read 64b data:imgID 13,offset 1363972,length 45056
[2023-12-11 02:46:40:900:900415  COM3]:sahara read 64b data:imgID 13,offset 1409028,length 32768
[2023-12-11 02:46:40:962:962208  COM3]:sahara read 64b data:imgID 13,offset 1449200,length 64
[2023-12-11 02:46:40:962:962208  COM3]:sahara read 64b data:imgID 13,offset 1449264,length 448
[2023-12-11 02:46:40:963:963204  COM3]:sahara read 64b data:imgID 13,offset 1580272,length 3356
[2023-12-11 02:46:41:025:025505  COM3]:sahara read 64b data:imgID 13,offset 1449712,length 260
[2023-12-11 02:46:41:026:026502  COM3]:sahara read 64b data:imgID 13,offset 1449972,length 34820
[2023-12-11 02:46:41:089:089293  COM3]:sahara read 64b data:imgID 13,offset 1484792,length 34820
[2023-12-11 02:46:41:152:152082  COM3]:sahara read 64b data:imgID 13,offset 1519612,length 6304
[2023-12-11 02:46:41:153:153080  COM3]:sahara read 64b data:imgID 13,offset 1525916,length 11020
[2023-12-11 02:46:41:215:215869  COM3]:sahara read 64b data:imgID 13,offset 1536936,length 39400
[2023-12-11 02:46:41:276:276666  COM3]:Send done packet
[2023-12-11 02:46:41:340:340452  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:46:43:353:353996  COM3]:send nop command
[2023-12-11 02:46:43:354:354992  COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0"  value="ping"/></data>
[2023-12-11 02:46:43:356:356986  COM3]:get response from target
[2023-12-11 02:46:43:357:357983  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:46:43:358:358979  COM3]:Chip serial num: INFO: Chip serial num: 4613460783150 (0x0000043227b0f02e)
[2023-12-11 02:46:43:417:417801  COM3]:send configure command
[2023-12-11 02:46:43:418:418798  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:46:43:418:418798  COM3]:get response from target
[2023-12-11 02:46:43:418:418798  COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Only nop and sig tag can be recevied before authentication." /></data>


[2023-12-11 02:46:43:480:480697  COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="NAK" rawmode="false" /></data>


[2023-12-11 02:46:44:229:229762  COM3]:no Binary dump
[2023-12-11 02:46:44:986:986265  COM3]:no Binary dump
[2023-12-11 02:46:45:740:740839  COM3]:no Binary dump
[2023-12-11 02:46:46:497:497641  COM3]:no Binary dump
[2023-12-11 02:46:47:253:253220  COM3]:no Binary dump
[2023-12-11 02:46:48:009:009391  COM3]:no Binary dump
[2023-12-11 02:46:48:760:760117  COM3]:no Binary dump
[2023-12-11 02:46:49:515:515280  COM3]:no Binary dump
[2023-12-11 02:46:50:274:274955  COM3]:no Binary dump
[2023-12-11 02:46:51:029:029066  COM3]:no Binary dump
[2023-12-11 02:46:51:784:784940  COM3]:no Binary dump
[2023-12-11 02:46:52:537:537353  COM3]:no Binary dump
[2023-12-11 02:46:53:292:292198  COM3]:no Binary dump
[2023-12-11 02:46:54:048:048582  COM3]:no Binary dump
[2023-12-11 02:46:54:801:801518  COM3]:no Binary dump
[2023-12-11 02:46:55:557:557240  COM3]:no Binary dump
[2023-12-11 02:46:56:311:311131  COM3]:no Binary dump
[2023-12-11 02:46:57:066:066785  COM3]:no Binary dump
[2023-12-11 02:46:57:822:822250  COM3]:no Binary dump
[2023-12-11 02:46:58:570:570661  COM3]:no Binary dump
[2023-12-11 02:46:59:322:322349  COM3]:no Binary dump
[2023-12-11 02:47:00:072:072580  COM3]:no Binary dump
[2023-12-11 02:47:00:823:823728  COM3]:no Binary dump
[2023-12-11 02:47:01:581:581241  COM3]:no Binary dump
[2023-12-11 02:47:02:337:337467  COM3]:no Binary dump
[2023-12-11 02:47:03:092:092410  COM3]:no Binary dump
[2023-12-11 02:47:03:850:850124  COM3]:no Binary dump
[2023-12-11 02:47:04:603:603783  COM3]:no Binary dump
[2023-12-11 02:47:05:355:355278  COM3]:no Binary dump
[2023-12-11 02:47:06:109:109948  COM3]:no Binary dump
[2023-12-11 02:47:06:173:173734  COM3]:edl authentication Ko Nine Yay
[2023-12-11 02:47:06:173:173734  COM3]:need edl authentication.
[2023-12-11 02:47:06:174:174730  COM3]:authentication edl.
[2023-12-11 02:47:06:174:174730  COM3]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[2023-12-11 02:47:06:174:174730  COM3]:get response from target
[2023-12-11 02:47:06:175:175727  COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<sig TargetName="blob" value="VQEBIgIIAAAEMiew8C4EBAAAAckBEAFXUA1yKONqgB9Uvhs1Wfk" /></data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>


[2023-12-11 02:47:06:237:237394  COM3]:origin:VQEBIgIIAAAEMiew8C4EBAAAAckBEAFXUA1yKONqgB9Uvhs1Wfk
[2023-12-11 02:47:06:237:237394  COM3]:SignEdl
[2023-12-11 02:47:26:169:169623  COM3]:siged:tai
[2023-12-11 02:47:26:173:173611  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()
