Forums - Need Help about flashing Qualcomm Devices

7 posts / 0 new
Last post
Need Help about flashing Qualcomm Devices
primalaprima
Join Date: 8 Feb 17
Posts: 1
Posted: Wed, 2017-02-08 08:01

I have devices with Qualcomm Processor (Xiaomi Redmi 3s). I tried to flashing via EDL mode in QPST and i have error. This is my error log:

 

Validating Application Configuration
Load APP Configuration
COM:20
SAHARA:True
SAHARA:C:\123\images\prog_emmc_firehose_8937_ddr.mbn
SEARCHPATH:C:\123\images
RAWPROGRAM:
rawprogram0.xml
PATCH:
patch0.xml
ACKRAWDATAEVERYNUMPACKETS:False
ACKRAWDATAEVERYNUMPACKETS:100
MAXPAYLOADSIZETOTARGETINBYTES:False
MAXPAYLOADSIZETOTARGETINBYTES:49152
DEVICETYPE:eMMC
PLATFORM:8x26
VALIDATIONMODE:0
RESETAFTERDOWNLOAD:False
MAXDIGESTTABLESIZE:8192
SWITCHTOFIREHOSETIMEOUT:30
RESETTIMEOUT:200
RESETDELAYTIME:2
FLATBUILDPATH:C:\
FLATBUILDFORCEOVERRIDE:True
QCNPATH:C:\Temp\00000000.qcn
QCNAUTOBACKUPRESTORE:False
SPCCODE:000000
ENABLEMULTISIM:False
Load ARG Configuration
Validating Download Configuration
Search path not exist, ignored: C:\123\images
Invalid programmer path, ignored: C:\123\images\prog_emmc_firehose_8937_ddr.mbn
Process Index:0
Programmer Path:D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\prog_emmc_firehose_8937_ddr.mbn
Image Search Path: D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images
Image Search Path: D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images
RAWPROGRAM file path: D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\rawprogram0.xml
PATCH file path:D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\patch0.xml
Start Download
Program Path:D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\prog_emmc_firehose_8937_ddr.mbn
Binary build date: May 13 2015 @ 14:41:37
QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.exe -p \\.\COM20 -s 13:D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\prog_emmc_firehose_8937_ddr.mbn 'Current working dir: C:\Users\Flasher Reload\AppData\Roaming\Qualcomm\QFIL
Sahara mappings:
2: amss.mbn
6: apps.mbn
8: dsp1.mbn
10: dbl.mbn
11: osbl.mbn
12: dsp2.mbn
16: efs1.mbn
17: efs2.mbn
20: efs3.mbn
21: sbl1.mbn
22: sbl2.mbn
23: rpm.mbn
25: tz.mbn
28: dsp3.mbn
29: acdb.mbn
30: wdt.mbn
31: mba.mbn
13: D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\prog_emmc_firehose_8937_ddr.mbn
02:37:42: Requested ID 13, file: "D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images\prog_emmc_firehose_8937_ddr.mbn"
02:37:43: 375160 bytes transferred in 0.249000 seconds (1.4369MBps)
02:37:43: File transferred successfully
NOTE: Target requested image 13 which is DeviceProgrammer. Forcing QUIT. This is by design, ** All is well ** SUCCESS!!
02:37:43: Sahara protocol completed
Sending Programmer Finished
Switch To FireHose
Wait for 3 seconds...
Max Payload Size to Target:49152 Bytes
Device Type:eMMC
Platform:8x26
Disable Ack Raw Data Every N Packets
Skip Write:False
Always Validate:False
Use Verbose:False
Binary build date: Jun  3 2015 @ 17:12:06
Build version: 15.06. 3.17.12.06
02:37:46: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM20 --sendxml=rawprogram0.xml --search_path=D:\land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global\images --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=eMMC 
************************************************
02:37:46: INFO: Current working dir (cwd): C:\Users\Flasher Reload\AppData\Roaming\Qualcomm\QFIL\
02:37:46: INFO: Showing network mappings to allow debugging
02:37:46: INFO: 
02:37:46: INFO: Trying to store 'rawprogram0.xml' in string table
02:37:46: INFO: Looking for file 'rawprogram0.xml'
02:37:46: INFO: User wants to talk to port '\\.\COM20'
02:37:46: INFO: Took       0.00000000 seconds to open port
02:37:46: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
02:37:46: INFO: If  you don't want this, use --dontsorttags
02:37:46: INFO: Looking for file 'NON-HLOS.bin'
02:37:46: INFO: Looking for file 'sbl1.mbn'
02:37:46: INFO: Looking for file 'sbl1.mbn'
02:37:46: INFO: Looking for file 'rpm.mbn'
02:37:46: INFO: Looking for file 'rpm.mbn'
02:37:46: INFO: Looking for file 'tz.mbn'
02:37:46: INFO: Looking for file 'tz.mbn'
02:37:46: INFO: Looking for file 'devcfg.mbn'
02:37:46: INFO: Looking for file 'devcfg.mbn'
02:37:46: INFO: Looking for file 'adspso.bin'
02:37:46: INFO: Looking for file 'splash.img'
02:37:46: INFO: Looking for file 'emmc_appsboot.mbn'
02:37:46: INFO: Looking for file 'emmc_appsboot.mbn'
02:37:46: INFO: Looking for file 'boot.img'
02:37:46: INFO: Looking for file 'recovery.img'
02:37:46: INFO: Looking for file 'system.img'
02:37:46: INFO: Looking for file 'cache.img'
02:37:46: INFO: Looking for file 'persist.img'
02:37:46: INFO: Looking for file 'mdtp.img'
02:37:46: INFO: Looking for file 'lksecapp.mbn'
02:37:46: INFO: Looking for file 'lksecapp.mbn'
02:37:46: INFO: Looking for file 'cmnlib.mbn'
02:37:46: INFO: Looking for file 'cmnlib.mbn'
02:37:46: INFO: Looking for file 'cmnlib64.mbn'
02:37:46: INFO: Looking for file 'cmnlib64.mbn'
02:37:46: INFO: Looking for file 'keymaster.mbn'
02:37:46: INFO: Looking for file 'keymaster.mbn'
02:37:46: INFO: Looking for file 'cust.img'
02:37:46: INFO: Looking for file 'userdata.img'
02:37:46: INFO: Looking for file 'gpt_main0.bin'
02:37:46: INFO: Looking for file 'gpt_backup0.bin'
02:37:46: INFO: 
Total to be tansferd with <program> or <read> is 4.62 GB
02:37:46: INFO: Sending <configure>
02:37:46: INFO: TARGET SAID: 'XML (0 bytes) not validated'
_____                    
|  ___|                   
| |__ _ __ _ __ ___  _ __ 
|  __| '__| '__/ _ \| '__|
| |__| |  | | | (_) | |   
\____/_|  |_|  \___/|_|  
02:39:27: {ERROR: Could not read from '\\.\COM20', Windows API ReadFile failed! Your device is probably *not* on this port
}
Writing log to 'C:\Users\Flasher Reload\AppData\Roaming\Qualcomm\QFIL\port_trace.txt', might take a minute
Log is 'C:\Users\Flasher Reload\AppData\Roaming\Qualcomm\QFIL\port_trace.txt'
Download Fail:FireHose Fail FHLoader Fail:Process fail
Finish Download
 
Somebody have solution with my cases for bring my devices alive?
 
Best Regard.
  • Up0
  • Down0
jguo
Join Date: 28 Aug 17
Posts: 1
Posted: Wed, 2017-08-30 12:22

I have exactly same problem. I used window7 virtual machine. Do you find any solution?

  • Up0
  • Down0
lehmancurtis148
Join Date: 28 May 18
Posts: 1
Posted: Mon, 2018-06-18 12:03

What command did you issue?

If the device you are dealing with is firehose, then search Google for emmcdl.exe. It's a small command-line app (to my knownledge no GUI is used with the one I recommend).

 

If firehose and correct program/ROM/drivers/etc...

[CODE] emmcdl.exe -p {(URCOM#) eg. COM5} -f {(prog_emmc_firehose.mbn) flasher name may vary} -x rawprogram0.xml [/CODE]

My command that worked was.

[CODE] emmcdl.exe -p COM3 -f prog_emmc_firehose_8909.mbn -x rawprogram0.xml [/CODE]

  • Up0
  • Down0
bhavana.vadodariya
Join Date: 12 Oct 18
Posts: 1
Posted: Fri, 2018-10-12 05:19

Some it may happen, you are not putting device in download mode in proper way.

First setup QFIL, set all settings, provide path of binaries and xml.

At the end put your device in downloade mode:

$ adb reboot edl

or

$ fastboot oem rebootedl

Then immediately start downlaod procedure on QFIL.

  • Up0
  • Down0
fengchengsherry
Join Date: 29 Jul 19
Posts: 1
Posted: Mon, 2019-07-29 09:03
Process Index:0
Programmer Path:C:\Users\Administrator\Desktop\Oppo_A3s_CPH1803_EX_11_A.03_180720_QFIL\Firmware\prog_emmc_firehose_8953_ddr.mbn
Image Search Path:C:\Users\Administrator\Desktop\Oppo_A3s_CPH1803_EX_11_A.03_180720_QFIL\Firmware
Please select the XML file
Start Download
Program Path:C:\Users\Administrator\Desktop\Oppo_A3s_CPH1803_EX_11_A.03_180720_QFIL\Firmware\prog_emmc_firehose_8953_ddr.mbn
COM Port number:5
Sahara Connecting ...
Sahara Version:0
Start Sending Programmer
Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol

   at QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)

   at QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
Download Fail:Sahara FailSahara Fail
Finish Download
  • Up0
  • Down0
fatherhacking
Join Date: 28 Sep 19
Posts: 1
Posted: Tue, 2019-10-01 21:45

oppo a3s can't flash 

  • Up0
  • Down0
kmrana1988
Join Date: 1 Dec 20
Posts: 1
Posted: Tue, 2020-12-01 07:35

2020-12-01 20:23:45.590    ***** Working Folder:C:\Users\KM Rana\AppData\Roaming\Qualcomm\QFIL\BHI
2020-12-01 20:23:45.888    Validating Application Configuration
2020-12-01 20:23:45.901    Load APP Configuration
2020-12-01 20:23:46.393    COM:-1
2020-12-01 20:23:46.393    PBLDOWNLOADPROTOCOL:0
2020-12-01 20:23:46.393    PROGRAMMER:True
2020-12-01 20:23:46.393    PROGRAMMER:C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf
2020-12-01 20:23:46.393    RESETSAHARASTATEMACHINE:False
2020-12-01 20:23:46.393    SAHARAREADSERIALNO:False
2020-12-01 20:23:46.393    SEARCHPATH:C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images
2020-12-01 20:23:46.393    RAWPROGRAM:
2020-12-01 20:23:46.393    rawprogram0.xml
2020-12-01 20:23:46.393    PATCH:
2020-12-01 20:23:46.394    patch0.xml
2020-12-01 20:23:46.394    ACKRAWDATAEVERYNUMPACKETS:False
2020-12-01 20:23:46.394    ACKRAWDATAEVERYNUMPACKETS:100
2020-12-01 20:23:46.394    MAXPAYLOADSIZETOTARGETINBYTES:False
2020-12-01 20:23:46.394    MAXPAYLOADSIZETOTARGETINBYTES:49152
2020-12-01 20:23:46.394    ACTIVEBOOTPARTITION:False
2020-12-01 20:23:46.394    ACTIVEBOOTPARTITION:0
2020-12-01 20:23:46.394    PHYPARTITIONS:False
2020-12-01 20:23:46.394    PHYPARTITIONS:0
2020-12-01 20:23:46.394    DEVICETYPE:emmc
2020-12-01 20:23:46.394    PLATFORM:8x26
2020-12-01 20:23:46.394    VALIDATIONMODE:0
2020-12-01 20:23:46.394    RESETAFTERDOWNLOAD:False
2020-12-01 20:23:46.394    SWITCHTOFIREHOSETIMEOUT:30
2020-12-01 20:23:46.395    RESETTIMEOUT:200
2020-12-01 20:23:46.395    RESETDELAYTIME:2
2020-12-01 20:23:46.395    METABUILD:
2020-12-01 20:23:46.395    METABUILD:
2020-12-01 20:23:46.395    FLATBUILDPATH:C:\
2020-12-01 20:23:46.395    FLATBUILDFORCEOVERRIDE:True
2020-12-01 20:23:46.395    QCNPATH:C:\Temp\00000000.qcn
2020-12-01 20:23:46.395    QCNAUTOBACKUPRESTORE:False
2020-12-01 20:23:46.395    SPCCODE:000000
2020-12-01 20:23:46.395    ENABLEMULTISIM:False
2020-12-01 20:23:46.395    AUTOPRESERVEPARTITIONS:False
2020-12-01 20:23:46.396    PARTITIONPRESERVEMODE:0
2020-12-01 20:23:46.396    PRESERVEDPARTITIONS:0
2020-12-01 20:23:46.396    PRESERVEDPARTITIONS:
2020-12-01 20:23:46.396    ERASEALL:False
2020-12-01 20:23:46.397    Load ARG Configuration
2020-12-01 20:23:46.742    Validating Download Configuration
2020-12-01 20:23:46.766    Image Search Path: C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images
2020-12-01 20:23:46.804    RAWPROGRAM file path: C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\rawprogram0.xml
2020-12-01 20:23:46.805    PATCH file path:C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\patch0.xml
2020-12-01 20:23:46.834    Programmer Path:C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf
2020-12-01 20:23:48.525    Process Index:0
2020-12-01 20:23:48.661    Qualcomm Flash Image Loader (QFIL) 2.0.3.5
2020-12-01 20:24:55.841    Image Search Path: C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images
2020-12-01 20:24:55.842    RAWPROGRAM file path: C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\rawprogram0.xml
2020-12-01 20:24:55.843    PATCH file path:C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\patch0.xml
2020-12-01 20:28:59.535    Start Download
2020-12-01 20:28:59.547    Program Path:C:\Program Files (x86)\Qualcomm\QPST\bin\violet_in_global_images_V12.0.1.0.QFHINXM_20200910.0000.00_10.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf
2020-12-01 20:28:59.555    ***** Working Folder:C:\Users\KM Rana\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-12-01 20:29:00.150    Sending Programmer Finished
2020-12-01 20:29:00.153    Switch To FireHose
2020-12-01 20:29:00.154    Wait for 3 seconds...
2020-12-01 20:29:03.157    Max Payload Size to Target:49152 Bytes
2020-12-01 20:29:03.159    Active Boot Partition:0
2020-12-01 20:29:03.159    Device Type:emmc
2020-12-01 20:29:03.161    Platform:8x26
2020-12-01 20:29:03.163    Disable Ack Raw Data Every N Packets
2020-12-01 20:29:03.165    Skip Write:False
2020-12-01 20:29:03.166    Always Validate:False
2020-12-01 20:29:03.167    Use Verbose:False
2020-12-01 20:29:03.176    ***** Working Folder:C:\Users\KM Rana\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-12-01 20:29:04.947    ***** Working Folder:C:\Users\KM Rana\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-12-01 20:29:05.439    ***** Working Folder:C:\Users\KM Rana\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-12-01 20:29:05.887    Download Succeed
2020-12-01 20:29:05.888    Finish Download

 

how to solve sir plz help.

I bricked my phone.............

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.