We had designed our customized Android SC20 PCB design and during the time of Flashing the image files using the QFIL tool we are facing the issues mentioned below
Download Fail:FireHose Fail:FHLoader Fail:Process fail
Also attached the log below
2021-07-07 10:13:40.261 Validating Application Configuration
2021-07-07 10:13:40.301 Load APP Configuration
2021-07-07 10:13:40.527 COM:0
2021-07-07 10:13:40.527 PBLDOWNLOADPROTOCOL:0
2021-07-07 10:13:40.528 PROGRAMMER:True
2021-07-07 10:13:40.528 PROGRAMMER:E:\Flash\Emmc\prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:13:40.528 RESETSAHARASTATEMACHINE:False
2021-07-07 10:13:40.528 SAHARAREADSERIALNO:False
2021-07-07 10:13:40.528 SEARCHPATH:E:\Flash\Emmc
2021-07-07 10:13:40.528 RAWPROGRAM:
2021-07-07 10:13:40.528 rawprogram_unsparse.xml
2021-07-07 10:13:40.528 PATCH:
2021-07-07 10:13:40.528 patch0.xml
2021-07-07 10:13:40.528 ACKRAWDATAEVERYNUMPACKETS:False
2021-07-07 10:13:40.528 ACKRAWDATAEVERYNUMPACKETS:100
2021-07-07 10:13:40.528 MAXPAYLOADSIZETOTARGETINBYTES:False
2021-07-07 10:13:40.528 MAXPAYLOADSIZETOTARGETINBYTES:49152
2021-07-07 10:13:40.528 DEVICETYPE:emmc
2021-07-07 10:13:40.528 PLATFORM:8x26
2021-07-07 10:13:40.528 VALIDATIONMODE:0
2021-07-07 10:13:40.528 RESETAFTERDOWNLOAD:False
2021-07-07 10:13:40.528 MAXDIGESTTABLESIZE:8192
2021-07-07 10:13:40.528 SWITCHTOFIREHOSETIMEOUT:30
2021-07-07 10:13:40.528 RESETTIMEOUT:200
2021-07-07 10:13:40.528 RESETDELAYTIME:2
2021-07-07 10:13:40.528 METABUILD:E:\Flash\contents.xml
2021-07-07 10:13:40.528 METABUILD:asic
2021-07-07 10:13:40.528 METABUILDPROGRAMMER:E:\Flash\boot_images\build\ms\bin\PAADANAZ\prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:13:40.528 FLATBUILDPATH:E:\Flash\Emmc
2021-07-07 10:13:40.528 FLATBUILDFORCEOVERRIDE:True
2021-07-07 10:13:40.528 QCNPATH:C:\Temp\00000000.qcn
2021-07-07 10:13:40.528 QCNAUTOBACKUPRESTORE:False
2021-07-07 10:13:40.528 SPCCODE:000000
2021-07-07 10:13:40.528 ENABLEMULTISIM:False
2021-07-07 10:13:40.528 AUTOPRESERVEPARTITIONS:False
2021-07-07 10:13:40.528 PARTITIONPRESERVEMODE:0
2021-07-07 10:13:40.528 PRESERVEDPARTITIONS:0
2021-07-07 10:13:40.528 PRESERVEDPARTITIONS:
2021-07-07 10:13:40.528 ERASEALL:False
2021-07-07 10:13:40.529 Load ARG Configuration
2021-07-07 10:13:41.362 Validating Download Configuration
2021-07-07 10:13:41.365 Image Search Path: E:\Flash\Emmc
2021-07-07 10:13:41.372 RAWPROGRAM file path: E:\Flash\Emmc\rawprogram_unsparse.xml
2021-07-07 10:13:41.372 PATCH file path:E:\Flash\Emmc\patch0.xml
2021-07-07 10:13:41.374 Programmer Path:E:\Flash\Emmc\prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:13:41.386 Meta Build Content XML Path: E:\Flash\contents.xml
2021-07-07 10:13:41.417 Find meta_cli.exe in the Meta build
2021-07-07 10:13:41.702 Search File: prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:13:41.702 search form search path:E:\Flash\boot_images\build\ms\bin\PAADANAZ
2021-07-07 10:13:41.706 Search File: rawprogram_unsparse.xml
2021-07-07 10:13:41.706 search form search path:E:\Flash\common\build\bin\asic\sparse_images
2021-07-07 10:13:41.725 Search File: patch0.xml
2021-07-07 10:13:41.725 search form search path:E:\Flash\common\build
2021-07-07 10:13:41.726 Search File: gpt_main0.bin
2021-07-07 10:13:41.726 search form search path:E:\Flash\common\build
2021-07-07 10:13:41.728 RAWPROGRAM file path: E:\Flash\common\build\bin\asic\sparse_images\rawprogram_unsparse.xml
2021-07-07 10:13:41.728 PATCH file path:E:\Flash\common\build\patch0.xml
2021-07-07 10:13:41.728 GPT MAIN file path:E:\Flash\common\build\gpt_main0.bin
2021-07-07 10:13:41.731 Flat Build Path:E:\Flash\Emmc
2021-07-07 10:13:45.121 Process Index:0
2021-07-07 10:13:45.170 Qualcomm Flash Image Loader (QFIL) 2.0.2.2
2021-07-07 10:14:14.562 Programmer Path:E:\Flash\emmc\prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:14:14.565 Image Search Path: E:\Flash\emmc
2021-07-07 10:14:14.568 RAWPROGRAM file path: E:\Flash\emmc\rawprogram_unsparse.xml
2021-07-07 10:14:14.569 PATCH file path:E:\Flash\emmc\patch0.xml
2021-07-07 10:14:20.873 Image Search Path: E:\Flash\emmc
2021-07-07 10:14:20.875 RAWPROGRAM file path: E:\Flash\emmc\rawprogram_unsparse.xml
2021-07-07 10:14:20.876 PATCH file path:E:\Flash\emmc\patch0.xml
2021-07-07 10:14:41.040 Start Download
2021-07-07 10:14:42.505 Program Path:E:\Flash\emmc\prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:14:42.549 ***** Working Folder:C:\Users\Brainchild\AppData\Roaming\Qualcomm\QFIL\COMPORT_9
2021-07-07 10:14:43.833 Binary build date: Apr 27 2018 @ 03:04:33
2021-07-07 10:14:43.836 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex’Current working dir: C:\Users\Brainchild\AppData\Roaming\Qualcomm\QFIL\COMPORT_9
2021-07-07 10:14:43.842 Sahara mappings:
2021-07-07 10:14:43.846 2: amss.mbn
2021-07-07 10:14:43.850 6: apps.mbn
2021-07-07 10:14:43.856 8: dsp1.mbn
2021-07-07 10:14:43.859 10: dbl.mbn
2021-07-07 10:14:43.862 11: osbl.mbn
2021-07-07 10:14:43.865 12: dsp2.mbn
2021-07-07 10:14:43.868 16: efs1.mbn
2021-07-07 10:14:43.871 17: efs2.mbn
2021-07-07 10:14:43.875 20: efs3.mbn
2021-07-07 10:14:43.877 21: sbl1.mbn
2021-07-07 10:14:43.881 22: sbl2.mbn
2021-07-07 10:14:43.885 23: rpm.mbn
2021-07-07 10:14:43.890 25: tz.mbn
2021-07-07 10:14:43.893 28: dsp3.mbn
2021-07-07 10:14:43.896 29: acdb.mbn
2021-07-07 10:14:43.899 30: wdt.mbn
2021-07-07 10:14:43.959 31: mba.mbn
2021-07-07 10:14:43.963 13: E:\Flash\emmc\prog_emmc_firehose_8917_ddr.mbn
2021-07-07 10:14:43.969
2021-07-07 10:14:43.972 10:14:43: Requested ID 13, file: “E:\Flash\emmc\prog_emmc_firehose_8917_ddr.mbn”
2021-07-07 10:14:43.977
2021-07-07 10:14:43.982 10:14:43: 406840 bytes transferred in 0.281000 seconds (1.3808MBps)
2021-07-07 10:14:43.986
2021-07-07 10:14:43.990
2021-07-07 10:14:43.993
2021-07-07 10:14:43.997 10:14:43: File transferred successfully
2021-07-07 10:14:44.002
2021-07-07 10:14:44.007
2021-07-07 10:14:44.009 NOTE: Target requested image 13 which is DeviceProgrammer. Forcing QUIT. This is by design, ** All is well ** SUCCESS!!
2021-07-07 10:14:44.013
2021-07-07 10:14:44.018
2021-07-07 10:14:44.023 10:14:43: Sahara protocol completed
2021-07-07 10:14:44.029 Sending Programmer Finished
2021-07-07 10:14:44.034 Switch To FireHose
2021-07-07 10:14:44.039 Wait for 3 seconds…
2021-07-07 10:14:47.047 Max Payload Size to Target:49152 Bytes
2021-07-07 10:14:47.050 Device Type:emmc
2021-07-07 10:14:47.054 Platform:8x26
2021-07-07 10:14:47.059 Disable Ack Raw Data Every N Packets
2021-07-07 10:14:47.062 Skip Write:False
2021-07-07 10:14:47.065 Always Validate:False
2021-07-07 10:14:47.067 Use Verbose:False
2021-07-07 10:14:47.079 ***** Working Folder:C:\Users\Brainchild\AppData\Roaming\Qualcomm\QFIL\COMPORT_9
2021-07-07 10:14:59.620
2021-07-07 10:14:59.623 Base Version: 18.02.16.18.26
2021-07-07 10:14:59.632 Binary build date: Apr 27 2018 @ 03:04:29
2021-07-07 10:14:59.637 Incremental Build version: 18.04.27.03.04.29
2021-07-07 10:14:59.641
2021-07-07 10:14:59.645 10:14:48: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
2021-07-07 10:15:00.364 ************************************************
2021-07-07 10:15:00.367 C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\.\COM9 --sendxml=rawprogram_unsparse.xml --search_path=E:\Flash\emmc --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc
2021-07-07 10:15:00.373 ************************************************
2021-07-07 10:15:00.375
2021-07-07 10:15:00.377 10:14:48: INFO: Current working dir (cwd): C:\Users\Brainchild\AppData\Roaming\Qualcomm\QFIL\COMPORT_9
2021-07-07 10:15:00.379 10:14:48: INFO: Showing network mappings to allow debugging
2021-07-07 10:15:00.382 10:14:49: INFO:
2021-07-07 10:15:00.384
2021-07-07 10:15:00.385
2021-07-07 10:15:00.387
2021-07-07 10:15:00.389 10:14:49: INFO: Trying to store ‘rawprogram_unsparse.xml’ in string table
2021-07-07 10:15:00.392 10:14:49: INFO: Looking for file ‘rawprogram_unsparse.xml’
2021-07-07 10:15:00.394 10:14:49: INFO: User wants to talk to port ‘\.\COM9’
2021-07-07 10:15:00.396
2021-07-07 10:15:00.399
2021-07-07 10:15:00.402 _____
2021-07-07 10:15:00.404 | |
2021-07-07 10:15:00.405 | | _ __ _ __ ___ _ __
2021-07-07 10:15:00.408 | | '| '/ _ | '|
2021-07-07 10:15:00.410 | || | | | | () | |
2021-07-07 10:15:00.413 _/| || ___/||
2021-07-07 10:15:00.415
2021-07-07 10:15:00.418
2021-07-07 10:15:00.420 10:14:59: {ERROR: It took 10.00000000 seconds to open port. Which is longer than 3.000. This indicates your target is not stable}
2021-07-07 10:15:00.424
2021-07-07 10:15:00.426 Writing log to ‘C:\Users\Brainchild\AppData\Roaming\Qualcomm\QFIL\COMPORT_9\port_trace.txt’, might take a minute
2021-07-07 10:15:00.432
2021-07-07 10:15:00.434
2021-07-07 10:15:00.435 Log is ‘C:\Users\Brainchild\AppData\Roaming\Qualcomm\QFIL\COMPORT_9\port_trace.txt’
2021-07-07 10:15:00.440
2021-07-07 10:15:00.444 Download Fail:FireHose Fail:FHLoader Fail:Process fail
2021-07-07 10:15:00.448 Finish Download