Well, I tried also with QFIL utility (2.0.3.5). There's visible difference of behavior with original and patched firehose file. If I use original one, download end with error:
Code:
2023-05-15 23:08:29.667 23:08:29: INFO: Sending <configure>
2023-05-15 23:08:29.667 23:08:29: INFO: TARGET SAID: 'Binary build date: Dec 10 2020 @ 22:32:08'
2023-05-15 23:08:29.668 23:08:29: INFO: TARGET SAID: 'Chip serial num: 95550**** (0x38f3****)'
2023-05-15 23:08:29.668 23:08:29: INFO: TARGET SAID: 'Supported Functions: program configure sig nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase '
2023-05-15 23:08:29.669 23:08:29: INFO: TARGET SAID: 'Recognized Attribute Number 17 ('AlwaysValidate') with value '0' type is 'i''
2023-05-15 23:08:29.670 23:08:29: INFO: TARGET SAID: 'Recognized Attribute Number 2 ('MaxDigestTableSizeInBytes') with value '8192' type is 'i''
2023-05-15 23:08:29.671 23:08:29: INFO: TARGET SAID: 'Recognized Attribute Number 1 ('MaxPayloadSizeToTargetInBytes') with value '1048576' type is 'i''
2023-05-15 23:08:29.672 23:08:29: INFO: TARGET SAID: 'Recognized Attribute Number 14 ('ZlpAwareHost') with value '1' type is 'i''
2023-05-15 23:08:29.672 23:08:29: INFO: TARGET SAID: 'Recognized Attribute Number 23 ('SkipStorageInit') with value '0' type is 'i''
2023-05-15 23:08:29.673 23:08:29: INFO: TARGET SAID: 'ERROR: Only nop and sig tag can be recevied before authentication.'
2023-05-15 23:08:29.673 23:08:29: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
2023-05-15 23:08:29.674 23:08:29: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
2023-05-15 23:08:29.674 23:08:29: INFO: Something failed. The target rejected your <configure>. Please inspect log for more information
well, old known auth... now with patched file it got somewhere a bit further but still doesn't flashing anything
Code:
2023-05-15 23:11:41.018 23:11:40: INFO: Sending <configure>
2023-05-15 23:11:41.019 23:11:41: INFO: TARGET SAID: 'Binary build date: Aug 2 2018 @ 22:27:53'
2023-05-15 23:11:41.019 23:11:41: INFO: TARGET SAID: 'Chip serial num: 4294967295 (0xffffffff)'
2023-05-15 23:11:41.020 23:11:41: INFO: TARGET SAID: 'Supported Functions: program configure nop sig firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase '
2023-05-15 23:11:41.021 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 17 ('AlwaysValidate') with value '0' type is 'i''
2023-05-15 23:11:41.021 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 2 ('MaxDigestTableSizeInBytes') with value '8192' type is 'i''
2023-05-15 23:11:41.024 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 1 ('MaxPayloadSizeToTargetInBytes') with value '1048576' type is 'i''
2023-05-15 23:11:41.025 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 14 ('ZlpAwareHost') with value '1' type is 'i''
2023-05-15 23:11:41.025 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 23 ('SkipStorageInit') with value '0' type is 'i''
2023-05-15 23:11:41.026 23:11:41: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''
2023-05-15 23:11:41.027 23:11:41: INFO: TARGET SAID: 'Calling storage_device_open(0x1) - If this hangs use SkipStorageInit='1' for configure'
2023-05-15 23:11:41.027 23:11:41: INFO: TARGET SAID: 'memory_name set to 'eMMC' and fh.sector_size = 512'
2023-05-15 23:11:41.028 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'MinVersionSupported' with value '1'
2023-05-15 23:11:41.028 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'MaxXMLSizeInBytes' with value '4096'
2023-05-15 23:11:41.028 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'Version' with value '1'
2023-05-15 23:11:41.029 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'DateTime' with value 'Aug 2 2018 - 22:27:53'
2023-05-15 23:11:41.029 23:11:41: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
2023-05-15 23:11:41.029 23:11:41: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
2023-05-15 23:11:41.030 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.030 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.030 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.032 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x5000'
2023-05-15 23:11:41.032 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.032 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.033 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.033 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x7000'
2023-05-15 23:11:41.033 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.034 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.034 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.034 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x9000'
2023-05-15 23:11:41.034 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.034 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.035 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.035 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0xb000'
2023-05-15 23:11:41.035 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.036 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.036 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.036 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x13000'
2023-05-15 23:11:41.037 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.037 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.037 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.038 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x1b000'
2023-05-15 23:11:41.127 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.128 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.129 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.129 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x20000'
2023-05-15 23:11:41.130 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.130 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.131 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.131 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x30000'
2023-05-15 23:11:41.131 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false'
2023-05-15 23:11:41.132 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false'
2023-05-15 23:11:41.132 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'
2023-05-15 23:11:41.132 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x40000'
2023-05-15 23:11:41.133 23:11:41: INFO: In handleProgram('storsec.mbn')
2023-05-15 23:11:41.133 23:11:41: INFO: Looking for file 'storsec.mbn'
2023-05-15 23:11:41.133 23:11:41: INFO: =======================================================
2023-05-15 23:11:41.133 23:11:41: INFO: {<program> FILE: 'C:\DATA\whyred_global_images_V12.0.2.0.PEIMIXM_20201224.0000.00_9.0_global\images\storsec.mbn'}
2023-05-15 23:11:41.136 23:11:41: INFO: {<program> (48.02 KB) 97 sectors needed at location 512 on LUN 0}
2023-05-15 23:11:41.136 23:11:41: INFO: =======================================================
2023-05-15 23:11:41.137 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 8 ('SECTOR_SIZE_IN_BYTES') with value '512' type is 'i''
2023-05-15 23:11:41.138 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 13 ('file_sector_offset') with value '0' type is 'i''
2023-05-15 23:11:41.138 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 57 ('filename') with value 'storsec.mbn' type is 's''
2023-05-15 23:11:41.139 23:11:41: INFO: TARGET SAID: 'IGNORING UNRECOGNIZED Attribute 'label' with value 'storsec''
2023-05-15 23:11:41.140 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 60 ('num_partition_sectors') with value '97' type is 'x''
2023-05-15 23:11:41.141 23:11:41: INFO: TARGET SAID: 'IGNORING UNRECOGNIZED Attribute 'partofsingleimage' with value 'false''
2023-05-15 23:11:41.141 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 10 ('physical_partition_number') with value '0' type is 'i''
2023-05-15 23:11:41.142 23:11:41: INFO: TARGET SAID: 'IGNORING UNRECOGNIZED Attribute 'readbackverify' with value 'false''
2023-05-15 23:11:41.142 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 50 ('size_in_KB') with value '128.0' type is 'i''
2023-05-15 23:11:41.143 23:11:41: INFO: TARGET SAID: 'IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false''
2023-05-15 23:11:41.144 23:11:41: INFO: TARGET SAID: 'IGNORING UNRECOGNIZED Attribute 'start_byte_hex' with value '0x40000''
2023-05-15 23:11:41.144 23:11:41: INFO: TARGET SAID: 'Recognized Attribute Number 59 ('start_sector') with value '512' type is 'x''
2023-05-15 23:11:41.145 23:11:41: INFO: TARGET SAID: 'start 512, num 97'
2023-05-15 23:11:41.145 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'rawmode' with value 'true'
2023-05-15 23:11:41.146 23:11:41: INFO: Time measurement too small --- Overall to target 0.0 seconds (0Bps)
2023-05-15 23:11:41.146 23:11:41: INFO: TARGET SAID: 'ERROR: SDCC Error 29 (3)'
2023-05-15 23:11:41.147 23:11:41: INFO: TARGET SAID: 'ERROR: Write Failed sector 512, size 97'
2023-05-15 23:11:41.148 23:11:41: INFO: TARGET SAID: 'ERROR: Failed to write 1 slot 0, partition 512, start_sector 97 num_sectors 0, error 3'
2023-05-15 23:11:41.148 23:11:41: INFO: TARGET SAID: 'Finished programming start_sector 609 and TotalSectorsToProgram 97'
2023-05-15 23:11:41.149 23:11:41: INFO: IGNORING UNRECOGNIZED Attribute 'rawmode' with value 'false'
It seems still cannot override locked eMMC, cannot write there. I can send full log and trace files.