[Android Q&A, Help & Troubleshooting] Hcfu:
Brothers

I have a Qualcomm cpu phone . Some days ago I Uninstall some app of system. So when I reboot this phone. This system have some troubles. So I wanna flash this phone again but I have to backup userdata first. I through 9008 of Qfil to backup .

Backup others partitions were successful. But when I backup userdata partition. Qfil warning me firehose failed flholder failed. I try many times but still failed. Why?

Someone could help me. Please.

This qfil error logs :

22:53:10: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM30 --search_path=C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30 --convertprogram2read --sendimage=ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin --start_sector=12623872 --lun=0 --num_sectors=109518815 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc
************************************************

22:53:10: DEBUG: Binary build date: Oct 31 2016 @ 22:51:02

22:53:10: DEBUG: Build Version: 16.10.31.22.51.02

22:53:10: INFO: Current working dir (cwd): C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\
22:53:10: INFO: Showing network mappings to allow debugging
22:53:10: DEBUG: New connections will be remembered.

22:53:10: DEBUG:

22:53:10: DEBUG: There are no entries in the list.

22:53:10: DEBUG:

22:53:10: DEBUG: User is specifying start_sector=12623872

22:53:10: DEBUG: MyStartSector=12623872

22:53:10: DEBUG: User is specifying lun=0

22:53:10: DEBUG: MyLun=0

22:53:10: DEBUG: User is specifying num_sectors=109518815

22:53:10: DEBUG: MyNumSectors=109518815

22:53:10: DEBUG: User set ZLPAWAREHOST to 1

22:53:10: DEBUG: ==================================================================================
22:53:10: DEBUG: ==================================================================================
22:53:10: INFO: Looking for file 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin'
22:53:10: DEBUG: 1. Calling stat(C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin')
22:53:10: DEBUG: 2. Calling stat(ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin')

(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/

22:53:10: WARNING: find_file:7638 Couldn't find the file 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin', returning NULL
22:53:10: DEBUG: File size is 0 bytes
22:53:10: DEBUG: NumSectors needed 109518815

(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/

22:53:10: WARNING: main:3775 User specified --num_sectors=109518815 but file only has 109518815 sectors. **Ignoring --num_sectors

22:53:10: INFO: User wants to talk to port '\\.\COM30'
22:53:10: DEBUG: port_fd=0x4C

22:53:10: INFO: Took 0.00000000 seconds to open port
22:53:10: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
22:53:10: INFO: If you don't want this, use --dontsorttags

22:53:10: DEBUG: ==================================================================================
22:53:10: DEBUG: ==================================================================================
22:53:10: INFO: Looking for file 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin'
22:53:10: DEBUG: 1. Calling stat(C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin')
22:53:10: DEBUG: 2. Calling stat(ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin')

(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/

22:53:10: WARNING: find_file:7638 Couldn't find the file 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin', returning NULL
22:53:10: DEBUG: 2. Calling fopen('ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin') with AccessMode='wb'
22:53:10: INFO: Sending <configure>
22:53:10: DEBUG: CHANNEL DATA (P0000) (H00202) ( 228 bytes) - HOST TO TARGET -->
===========================================================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<configure MemoryName="emmc" Verbose="0" AlwaysValidate="0" MaxDigestTableSizeInBytes="8192" MaxPayloadSizeToTargetInBytes="1048576" ZlpAwareHost="1" SkipStorageInit="0" />
</data>

============================================================================================================

22:53:10: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes
22:53:11: DEBUG: CHANNEL DATA (472 bytes) <-- TARGET to HOST
22:53:11: DEBUG: CharsInBuffer = 472
22:53:11: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 472 bytes

22:53:11: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1
22:53:11: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT
22:53:11: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<
22:53:11: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 43 61 6C 6C 69 log value="Calli
22:53:11: DEBUG: printBuffer:5337 6E 67 20 75 73 62 5F 61 6C 5F 62 75 6C 6B 5F 73 ng usb_al_bulk_s
22:53:11: DEBUG: printBuffer:5337 65 74 5F 7A 6C 70 5F 6D 6F 64 65 28 54 52 55 45 et_zlp_mode(TRUE
22:53:11: DEBUG: printBuffer:5337 29 20 73 69 6E 63 65 20 5A 6C 70 41 77 61 72 65 ) since ZlpAware
22:53:11: DEBUG: printBuffer:5337 48 6F 73 74 3D 27 31 27 22 2F 3E 0A 3C 2F 64 61 Host='1'"/>.</da
22:53:11: DEBUG: printBuffer:5337 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E ta><?xml version
22:53:11: DEBUG: printBuffer:5337 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D ="1.0" encoding=
22:53:11: DEBUG: printBuffer:5337 22 55 54 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 "UTF-8" ?>.<data
22:53:11: DEBUG: printBuffer:5337 3E 0A 3C 72 65 73 70 6F 6E 73 65 20 76 61 6C 75 >.<response valu
22:53:11: DEBUG: printBuffer:5337 65 3D 22 41 43 4B 22 20 4D 69 6E 56 65 72 73 69 e="ACK" MinVersi
22:53:11: DEBUG: printBuffer:5337 6F 6E 53 75 70 70 6F 72 74 65 64 3D 22 31 22 20 onSupported="1"
22:53:11: DEBUG: printBuffer:5337 4D 65 6D 6F 72 79 4E 61 6D 65 3D 22 65 4D 4D 43 MemoryName="eMMC
22:53:11: DEBUG: printBuffer:5337 22 20 4D 61 78 50 61 79 6C 6F 61 64 53 69 7A 65 " MaxPayloadSize
22:53:11: DEBUG: printBuffer:5337 46 72 6F 6D 54 61 72 67 65 74 49 6E 42 79 74 65 FromTargetInByte
22:53:11: DEBUG: printBuffer:5337 73 3D 22 34 30 39 36 22 20 4D 61 78 50 61 79 6C s="4096" MaxPayl
22:53:11: DEBUG: printBuffer:5337 6F 61 64 53 69 7A 65 54 6F 54 61 72 67 65 74 49 oadSizeToTargetI
22:53:11: DEBUG: printBuffer:5337 6E 42 79 74 65 73 3D 22 31 30 34 38 35 37 36 22 nBytes="1048576"
22:53:11: DEBUG: printBuffer:5337 20 4D 61 78 50 61 79 6C 6F 61 64 53 69 7A 65 54 MaxPayloadSizeT
22:53:11: DEBUG: printBuffer:5337 6F 54 61 72 67 65 74 49 6E 42 79 74 65 73 53 75 oTargetInBytesSu
22:53:11: DEBUG: printBuffer:5337 70 70 6F 72 74 65 64 3D 22 31 30 34 38 35 37 36 pported="1048576
22:53:11: DEBUG: printBuffer:5337 22 20 4D 61 78 58 4D 4C 53 69 7A 65 49 6E 42 79 " MaxXMLSizeInBy
22:53:11: DEBUG: printBuffer:5337 74 65 73 3D 22 34 30 39 36 22 20 56 65 72 73 69 tes="4096" Versi
22:53:11: DEBUG: printBuffer:5337 6F 6E 3D 22 31 22 20 54 61 72 67 65 74 4E 61 6D on="1" TargetNam
22:53:11: DEBUG: printBuffer:5337 65 3D 22 4D 53 4D 38 39 39 36 22 20 44 61 74 65 e="MSM8996" Date
22:53:11: DEBUG: printBuffer:5337 54 69 6D 65 3D 22 41 70 72 20 31 36 20 32 30 31 Time="Apr 16 201
22:53:11: DEBUG: printBuffer:5337 38 20 2D 20 31 32 3A 33 34 3A 32 38 22 20 2F 3E 8 - 12:34:28" />
22:53:11: DEBUG: printBuffer:5337 0A 3C 2F 64 61 74 61 3E .</data>
22:53:11: DEBUG: printBuffer:5350

22:53:11: DEBUG: XML FILE (131 bytes): CharsInBuffer=472-131=341
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1'"/>
</data>
-------------------------------------------------------------------------------------------

22:53:11: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''
22:53:11: DEBUG: XML FILE (341 bytes): CharsInBuffer=341-341=0
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" MinVersionSupported="1" MemoryName="eMMC" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="MSM8996" DateTime="Apr 16 2018 - 12:34:28" />
</data>
-------------------------------------------------------------------------------------------

22:53:11: DEBUG: Response was 'ACK'
22:53:11: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
22:53:11: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
22:53:11: DEBUG: Got the ACK for the <configure>
22:53:11: INFO: In handleRead('ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin')
22:53:11: DEBUG: ==================================================================================
22:53:11: DEBUG: ==================================================================================
22:53:11: INFO: Looking for file 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin'
22:53:11: DEBUG: 1. Calling stat(C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin')
22:53:11: DEBUG: 2. Calling fopen('C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin') with AccessMode='rb'
22:53:11: DEBUG: Trying get filesize, calling fseek()
22:53:11: DEBUG: Found 'C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin' (0 bytes)
22:53:11: DEBUG: 2. Calling fopen('C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin') with AccessMode='rb'
22:53:11: DEBUG: Trying get filesize, calling fseek()

(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/

22:53:11: WARNING: handleRead:9109 Previous Filesize is 0 bytes. Therefore reading size of partition!! Please check 'C:\Users\la\AppData\Roaming\Qualcomm\QFIL\COMPORT_30\ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin'
22:53:11: DEBUG: File size is 56073633280 bytes
22:53:11: DEBUG: NumSectors needed 109518815
22:53:11: DEBUG: 2. Calling fopen('ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin') with AccessMode='wb'
22:53:11: DEBUG: CHANNEL DATA (P0001) (H00203) ( 269 bytes) - HOST TO TARGET -->
===========================================================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<read SECTOR_SIZE_IN_BYTES="512" num_partition_sectors="109518815" filename="ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin" physical_partition_number="0" start_sector="12623872" Version="1" />
</data>
============================================================================================================

22:53:11: INFO: =======================================================
22:53:11: INFO: <read> (54759407.5KB) 109518815 sectors from location 12623872 FILE: 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin'
22:53:11: INFO: =======================================================
22:53:11: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes
22:53:11: DEBUG: CHANNEL DATA (412 bytes) <-- TARGET to HOST
22:53:11: DEBUG: CharsInBuffer = 412
22:53:11: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 412 bytes

22:53:11: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1
22:53:11: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT
22:53:11: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<
22:53:11: DEBUG: printBuffer:5337 6C 6F 67 20 76 61 6C 75 65 3D 22 31 20 46 61 69 log value="1 Fai
22:53:11: DEBUG: printBuffer:5337 6C 65 64 20 74 6F 20 63 6F 70 79 20 73 74 72 69 led to copy stri
22:53:11: DEBUG: printBuffer:5337 6E 67 20 27 52 65 61 64 44 61 74 61 5F 65 4D 4D ng 'ReadData_eMM
22:53:11: DEBUG: printBuffer:5337 43 5F 4C 75 6E 30 5F 30 78 63 30 61 30 30 30 5F C_Lun0_0xc0a000_
22:53:11: DEBUG: printBuffer:5337 4C 65 6E 31 30 39 35 31 38 38 31 35 5F 44 54 5F Len109518815_DT_
22:53:11: DEBUG: printBuffer:5337 32 38 5F 30 38 5F 32 30 32 33 5F 32 32 5F 35 33 28_08_2023_22_53
22:53:11: DEBUG: printBuffer:5337 5F 31 30 2E 62 69 6E 27 20 6F 66 20 6C 65 6E 67 _10.bin' of leng
22:53:11: DEBUG: printBuffer:5337 74 68 20 36 37 20 62 79 74 65 73 20 69 6E 74 6F th 67 bytes into
22:53:11: DEBUG: printBuffer:5337 20 41 6C 6C 41 74 74 72 69 62 75 74 65 73 5B 35 AllAttributes[5
22:53:11: DEBUG: printBuffer:5337 38 5D 2E 52 61 77 20 6F 66 20 73 69 7A 65 20 36 8].Raw of size 6
22:53:11: DEBUG: printBuffer:5337 34 20 62 79 74 65 73 20 66 6F 72 20 27 66 69 6C 4 bytes for 'fil
22:53:11: DEBUG: printBuffer:5337 65 6E 61 6D 65 27 22 2F 3E 0A 3C 2F 64 61 74 61 ename'"/>.</data
22:53:11: DEBUG: printBuffer:5337 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 ><?xml version="
22:53:11: DEBUG: printBuffer:5337 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 1.0" encoding="U
22:53:11: DEBUG: printBuffer:5337 54 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A TF-8" ?>.<data>.
22:53:11: DEBUG: printBuffer:5337 3C 6C 6F 67 20 76 61 6C 75 65 3D 22 41 73 73 69 <log value="Assi
22:53:11: DEBUG: printBuffer:5337 67 6E 41 74 74 72 69 62 75 74 65 20 66 61 69 6C gnAttribute fail
22:53:11: DEBUG: printBuffer:5337 65 64 22 2F 3E 0A 3C 2F 64 61 74 61 3E 3C 3F 78 ed"/>.</data><?x
22:53:11: DEBUG: printBuffer:5337 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 ml version="1.0"
22:53:11: DEBUG: printBuffer:5337 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D 38 encoding="UTF-8
22:53:11: DEBUG: printBuffer:5337 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C 72 65 73 " ?>.<data>.<res
22:53:11: DEBUG: printBuffer:5337 70 6F 6E 73 65 20 76 61 6C 75 65 3D 22 4E 41 4B ponse value="NAK
22:53:11: DEBUG: printBuffer:5337 22 20 2F 3E 0A 3C 2F 64 61 74 61 3E " />.</data>
22:53:11: DEBUG: printBuffer:5350

22:53:11: DEBUG: XML FILE (241 bytes): CharsInBuffer=412-241=171
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="1 Failed to copy string 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin' of length 67 bytes into AllAttributes[58].Raw of size 64 bytes for 'filename'"/>
</data>
-------------------------------------------------------------------------------------------

22:53:11: INFO: TARGET SAID: '1 Failed to copy string 'ReadData_eMMC_Lun0_0xc0a000_Len109518815_DT_28_08_2023_22_53_10.bin' of length 67 bytes into AllAttributes[58].Raw of size 64 bytes for 'filename''
22:53:11: DEBUG: XML FILE (92 bytes): CharsInBuffer=171-92=79
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="AssignAttribute failed"/>
</data>
-------------------------------------------------------------------------------------------

22:53:11: INFO: TARGET SAID: 'AssignAttribute failed'
22:53:11: DEBUG: XML FILE (79 bytes): CharsInBuffer=79-79=0
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="NAK" />
</data>
-------------------------------------------------------------------------------------------

22:53:11: DEBUG: Response was 'NAK'

_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|

22:53:11: {ERROR: handleRead:9219 Please see log