[Android Software Development] ilya980:
I am getting an error "ERROR: function: sahara_rx_data:276 Unable to read packet header. Only read 0 bytes."

The phone is LTE ZTE Z812 Maven.

Developer options and OEM unlock are enabled.

Gets into FTM fine.

When I type "adb reboot edl", the white square with black FTM letters disappears.

QFIL says "Qualcomm HS-USB QDloader 9008 (COM3).

The firehose file is prog_emmc_firehose_8916.mbn (from the collection linked on the 1-st page of this thread)

Build type is Flat.

Device manager show the device as "Qualcomm HS-USB QDloader 9008 (COM3)". The driver date is 3/25/2016, the driver version is 2.1.2.2, driver provider and signature Qualcomm Incorporated.

I also tried this with the driver version 2.1.3.5 with the date 12/17/2018. Same problem.

Here are the two very similar logs I get with QFIL 2.0.3.5 and 2.0.1.9.

What am I doing wrong? Please help. I tried "lightning fast" method above, but it does not work for me. Thanks.

2021-02-27 22:45:47.659 ***** Working Folder:C:\Users\Ilya\AppData\Roaming\Qualcomm\QFIL\BHI

2021-02-27 22:45:47.681 Validating Application Configuration

2021-02-27 22:45:47.681 Load APP Configuration

2021-02-27 22:45:47.712 COM:3

2021-02-27 22:45:47.712 PBLDOWNLOADPROTOCOL:0

2021-02-27 22:45:47.712 PROGRAMMER:True

2021-02-27 22:45:47.712 PROGRAMMER:I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 22:45:47.712 RESETSAHARASTATEMACHINE:False

2021-02-27 22:45:47.712 SAHARAREADSERIALNO:False

2021-02-27 22:45:47.712 SEARCHPATH:I:\Programs\ZTE Z812

2021-02-27 22:45:47.712 ACKRAWDATAEVERYNUMPACKETS:False

2021-02-27 22:45:47.712 ACKRAWDATAEVERYNUMPACKETS:100

2021-02-27 22:45:47.712 MAXPAYLOADSIZETOTARGETINBYTES:False

2021-02-27 22:45:47.712 MAXPAYLOADSIZETOTARGETINBYTES:49152

2021-02-27 22:45:47.712 ACTIVEBOOTPARTITION:False

2021-02-27 22:45:47.712 ACTIVEBOOTPARTITION:0

2021-02-27 22:45:47.712 PHYPARTITIONS:False

2021-02-27 22:45:47.712 PHYPARTITIONS:0

2021-02-27 22:45:47.712 DEVICETYPE:emmc

2021-02-27 22:45:47.712 PLATFORM:8x26

2021-02-27 22:45:47.712 VALIDATIONMODE:0

2021-02-27 22:45:47.712 RESETAFTERDOWNLOAD:False

2021-02-27 22:45:47.712 SWITCHTOFIREHOSETIMEOUT:30

2021-02-27 22:45:47.712 RESETTIMEOUT:200

2021-02-27 22:45:47.712 RESETDELAYTIME:2

2021-02-27 22:45:47.712 METABUILD:

2021-02-27 22:45:47.712 METABUILD:

2021-02-27 22:45:47.712 FLATBUILDPATH:C:\

2021-02-27 22:45:47.712 FLATBUILDFORCEOVERRIDE:True

2021-02-27 22:45:47.712 QCNPATH:C:\Temp\00000000.qcn

2021-02-27 22:45:47.712 QCNAUTOBACKUPRESTORE:False

2021-02-27 22:45:47.712 SPCCODE:000000

2021-02-27 22:45:47.712 ENABLEMULTISIM:False

2021-02-27 22:45:47.712 AUTOPRESERVEPARTITIONS:False

2021-02-27 22:45:47.712 PARTITIONPRESERVEMODE:0

2021-02-27 22:45:47.712 PRESERVEDPARTITIONS:0

2021-02-27 22:45:47.712 PRESERVEDPARTITIONS:

2021-02-27 22:45:47.712 ERASEALL:False

2021-02-27 22:45:47.712 Load ARG Configuration

2021-02-27 22:45:47.828 Validating Download Configuration

2021-02-27 22:45:47.828 Image Search Path: I:\Programs\ZTE Z812

2021-02-27 22:45:47.828 Programmer Path:I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 22:45:48.181 Process Index:0

2021-02-27 22:45:48.197 Qualcomm Flash Image Loader (QFIL) 2.0.3.5

2021-02-27 22:46:54.403 Start Download

2021-02-27 22:46:54.406 Program Path:I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 22:46:54.408 ***** Working Folder:C:\Users\Ilya\AppData\Roaming\Qualcomm\QFIL\COMPORT_3

2021-02-27 22:48:24.623 Binary build date: Jun 25 2019 @ 03:16:15

2021-02-27 22:48:24.624 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\Ilya\AppData\Roaming\Qualcomm\QFIL\COMPORT_3

2021-02-27 22:48:24.625 Sahara mappings:

2021-02-27 22:48:24.626 2: amss.mbn

2021-02-27 22:48:24.627 6: apps.mbn

2021-02-27 22:48:24.628 8: dsp1.mbn

2021-02-27 22:48:24.629 10: dbl.mbn

2021-02-27 22:48:24.629 11: osbl.mbn

2021-02-27 22:48:24.630 12: dsp2.mbn

2021-02-27 22:48:24.631 16: efs1.mbn

2021-02-27 22:48:24.632 17: efs2.mbn

2021-02-27 22:48:24.632 20: efs3.mbn

2021-02-27 22:48:24.633 21: sbl1.mbn

2021-02-27 22:48:24.634 22: sbl2.mbn

2021-02-27 22:48:24.635 23: rpm.mbn

2021-02-27 22:48:24.635 25: tz.mbn

2021-02-27 22:48:24.636 28: dsp3.mbn

2021-02-27 22:48:24.637 29: acdb.mbn

2021-02-27 22:48:24.638 30: wdt.mbn

2021-02-27 22:48:24.639 31: mba.mbn

2021-02-27 22:48:24.644 13: I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 22:48:24.645

2021-02-27 22:48:24.646 22:46:54: Requested ID 13, file: "I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn"

2021-02-27 22:48:24.647

2021-02-27 22:48:24.647 22:48:24: ERROR: function: sahara_rx_data:276 Unable to read packet header. Only read 0 bytes.

2021-02-27 22:48:24.648

2021-02-27 22:48:24.649 22:48:24: ERROR: function: sahara_main:982 Sahara protocol error

2021-02-27 22:48:24.650

2021-02-27 22:48:24.651 22:48:24: ERROR: function: main:320 Uploading Image using Sahara protocol failed

2021-02-27 22:48:24.652

2021-02-27 22:48:24.652

2021-02-27 22:48:24.654 Download Fail:Sahara Fail:QSaharaServer Fail:process fail

2021-02-27 22:48:24.663 Finish Get GPT

and with QFIL 2.0.1.9

021-02-27 19:48:27.199 Validating Application Configuration

2021-02-27 19:48:27.214 Load APP Configuration

2021-02-27 19:48:27.245 COM:0

2021-02-27 19:48:27.245 PBLDOWNLOADPROTOCOL:0

2021-02-27 19:48:27.245 PROGRAMMER:True

2021-02-27 19:48:27.245 PROGRAMMER:

2021-02-27 19:48:27.245 RESETSAHARASTATEMACHINE:False

2021-02-27 19:48:27.245 SAHARAREADSERIALNO:False

2021-02-27 19:48:27.245 SEARCHPATH:C:\

2021-02-27 19:48:27.245 ACKRAWDATAEVERYNUMPACKETS:False

2021-02-27 19:48:27.245 ACKRAWDATAEVERYNUMPACKETS:100

2021-02-27 19:48:27.245 MAXPAYLOADSIZETOTARGETINBYTES:False

2021-02-27 19:48:27.245 MAXPAYLOADSIZETOTARGETINBYTES:49152

2021-02-27 19:48:27.245 DEVICETYPE:emmc

2021-02-27 19:48:27.245 PLATFORM:8x26

2021-02-27 19:48:27.245 VALIDATIONMODE:0

2021-02-27 19:48:27.245 RESETAFTERDOWNLOAD:False

2021-02-27 19:48:27.245 MAXDIGESTTABLESIZE:8192

2021-02-27 19:48:27.245 SWITCHTOFIREHOSETIMEOUT:30

2021-02-27 19:48:27.245 RESETTIMEOUT:200

2021-02-27 19:48:27.245 RESETDELAYTIME:2

2021-02-27 19:48:27.245 METABUILD:

2021-02-27 19:48:27.245 METABUILD:

2021-02-27 19:48:27.245 FLATBUILDPATH:C:\

2021-02-27 19:48:27.245 FLATBUILDFORCEOVERRIDE:True

2021-02-27 19:48:27.245 QCNPATH:C:\Temp\00000000.qcn

2021-02-27 19:48:27.245 QCNAUTOBACKUPRESTORE:False

2021-02-27 19:48:27.245 SPCCODE:000000

2021-02-27 19:48:27.245 ENABLEMULTISIM:False

2021-02-27 19:48:27.245 AUTOPRESERVEPARTITIONS:False

2021-02-27 19:48:27.245 PARTITIONPRESERVEMODE:0

2021-02-27 19:48:27.245 PRESERVEDPARTITIONS:0

2021-02-27 19:48:27.245 PRESERVEDPARTITIONS:

2021-02-27 19:48:27.245 ERASEALL:False

2021-02-27 19:48:27.245 Load ARG Configuration

2021-02-27 19:48:27.355 Validating Download Configuration

2021-02-27 19:48:27.370 Image Search Path: C:\

2021-02-27 19:48:28.308 Process Index:0

2021-02-27 19:48:28.324 Qualcomm Flash Image Loader (QFIL) 2.0.1.9

2021-02-27 19:48:37.870 Programmer Path:I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 19:48:37.870 Image Search Path: I:\Programs\ZTE Z812

2021-02-27 19:48:43.214 Start Download

2021-02-27 19:48:43.230 Program Path:I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 19:48:43.245 ***** Working Folder:C:\Users\Ilya\AppData\Roaming\Qualcomm\QFIL\COMPORT_3

2021-02-27 19:50:13.433 Binary build date: Nov 21 2017 @ 02:53:37

2021-02-27 19:50:13.433 QSAHARASERVER CALLED LIKE THIS: 'I:\Programs\ZTE Z812\Qualcomm_Flash_Image_Loader_v2.0.1.9\Qualcomm_Flash_Image_Loader_v2.0.1.9\QSaharaServer.ex'Current working dir: C:\Users\Ilya\AppData\Roaming\Qualcomm\QFIL\COMPORT_3

2021-02-27 19:50:13.433 Sahara mappings:

2021-02-27 19:50:13.433 2: amss.mbn

2021-02-27 19:50:13.433 6: apps.mbn

2021-02-27 19:50:13.433 8: dsp1.mbn

2021-02-27 19:50:13.433 10: dbl.mbn

2021-02-27 19:50:13.433 11: osbl.mbn

2021-02-27 19:50:13.433 12: dsp2.mbn

2021-02-27 19:50:13.433 16: efs1.mbn

2021-02-27 19:50:13.433 17: efs2.mbn

2021-02-27 19:50:13.433 20: efs3.mbn

2021-02-27 19:50:13.433 21: sbl1.mbn

2021-02-27 19:50:13.433 22: sbl2.mbn

2021-02-27 19:50:13.433 23: rpm.mbn

2021-02-27 19:50:13.449 25: tz.mbn

2021-02-27 19:50:13.449 28: dsp3.mbn

2021-02-27 19:50:13.449 29: acdb.mbn

2021-02-27 19:50:13.449 30: wdt.mbn

2021-02-27 19:50:13.449 31: mba.mbn

2021-02-27 19:50:13.449 13: I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn

2021-02-27 19:50:13.449

2021-02-27 19:50:13.449 19:48:43: Requested ID 13, file: "I:\Programs\ZTE Z812\prog_emmc_firehose_8916.mbn"

2021-02-27 19:50:13.449

2021-02-27 19:50:13.449 19:50:13: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.

2021-02-27 19:50:13.449

2021-02-27 19:50:13.449 19:50:13: ERROR: function: sahara_main:924 Sahara protocol error

2021-02-27 19:50:13.449

2021-02-27 19:50:13.449 19:50:13: ERROR: function: main:303 Uploading Image using Sahara protocol failed

2021-02-27 19:50:13.449

2021-02-27 19:50:13.449

2021-02-27 19:50:13.449 Download Fail:Sahara Fail:QSaharaServer Fail:process fail

2021-02-27 19:50:13.465 Finish Get GPT