[Miscellaneous Android Development] abbas:
Thanks for your help. This is my log

Validating Application Configuration

Load APP Configuration

COM:-1

PBLDOWNLOADPROTOCOL:0

PROGRAMMER:True

PROGRAMMER:C:\Users\abbas\Desktop\boot_b_root__QPST\prog_emmc_ufs_firehose_Sdm660_ddr.elf

RESETSAHARASTATEEMACHINE:False

SEARCHPATH:C:\Users\abbas\Desktop\boot_b_root__QPST

RAWPROGRAM:

rawprogram_unsparse.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

AUTOPRESERVEPARTITIONS:False

PARTITIONPRESERVEMODE:0

PRESERVEDPARTITIONS:0

PRESERVEDPARTITIONS:

ERASEALL:False

Load ARG Configuration

Validating Download Configuration

Image Search Path: C:\Users\abbas\Desktop\boot_b_root__QPST

RAWPROGRAM file path: C:\Users\abbas\Desktop\boot_b_root__QPST\rawprogram_unsparse.xml

PATCH file path:C:\Users\abbas\Desktop\boot_b_root__QPST\patch0.xml

Programmer Path:C:\Users\abbas\Desktop\boot_b_root__QPST\prog_emmc_ufs_firehose_Sdm660_ddr.elf

Process Index:0

Image Search Path: C:\Users\abbas\Desktop\boot_b_root__QPST

RAWPROGRAM file path: C:\Users\abbas\Desktop\boot_b_root__QPST\rawprogram_unsparse.xml

PATCH file path:C:\Users\abbas\Desktop\boot_b_root__QPST\patch0.xml

Start Download

Program Path:C:\Users\abbas\Desktop\boot_b_root__QPST\prog_emmc_ufs_firehose_Sdm660_ddr.elf

***** Working Folder:C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10

Binary build date: Oct 31 2016 @ 22:51:05

QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10

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: C:\Users\abbas\Desktop\boot_b_root__QPST\prog_emmc_ufs_firehose_Sdm660_ddr.elf

22:52:17: Requested ID 13, file: "C:\Users\abbas\Desktop\boot_b_root__QPST\prog_emmc_ufs_firehose_Sdm660_ddr.elf"

22:52:18: 629284 bytes transferred in 0.313000 seconds (1.9174MBps)

22:52:18: File transferred successfully

22:52:18: 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

***** Working Folder:C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10

Base Version: 16.10.28.15.28

Binary build date: Oct 31 2016 @ 22:51:02

Incremental Build version: 16.10.31.22.51.02

22:52:22: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

************************************************

C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM10 --sendxml=rawprogram_unsparse.xml --search_path=C:\Users\abbas\Desktop\boot_b_root__QPST --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc

************************************************

22:52:22: INFO: Current working dir (cwd): C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\

22:52:22: INFO: Showing network mappings to allow debugging

22:52:22: INFO:

22:52:22: INFO: Trying to store 'rawprogram_unsparse.xml' in string table

22:52:22: INFO: Looking for file 'rawprogram_unsparse.xml'

22:52:22: INFO: User wants to talk to port '\\.\COM10'

22:52:22: INFO: Took 0.00000000 seconds to open port

22:52:22: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>

22:52:22: INFO: If you don't want this, use --dontsorttags

22:52:22: INFO: Looking for file 'boot.img'

22:52:22: INFO:

Total to be tansferd with <program> or <read> is 47.79 MB

22:52:22: INFO: Sending <configure>

22:52:22: INFO: TARGET SAID: 'UFS DEVICE RESET'

22:52:22: INFO: TARGET SAID: 'Binary build date: Dec 8 2017 @ 13:33:11'

22:52:22: INFO: TARGET SAID: 'Chip serial num: 0 (0x0)'

22:52:22: INFO: TARGET SAID: 'Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke '

22:52:22: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''

22:52:22: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576

22:52:22: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576

22:52:22: INFO: In handleProgram('boot.img')

22:52:22: INFO: Looking for file 'boot.img'

22:52:22: INFO: =======================================================

22:52:22: INFO: {<program> FILE: 'C:\Users\abbas\Desktop\boot_b_root__QPST\boot.img'}

22:52:22: INFO: {<program> (47.79 MB) 97883 sectors needed at location 393216 on LUN 0}

22:52:22: INFO: =======================================================

22:52:23: INFO: TARGET SAID: 'start 393216, num 97883'

22:52:24: INFO: Overall to target 1.391 seconds (34.36 MBps)

22:52:24: INFO: {percent files transferred 100.00%}

22:52:24: INFO: TARGET SAID: 'Finished programming start_sector 491099 and TotalSectorsToProgram 97883'

22:52:24: INFO:

22:52:24: INFO: =======================================================

22:52:24: INFO: ==================== {SUCCESS} ========================

22:52:24: INFO: =======================================================

22:52:24: INFO: {percent files transferred 100.00%}

22:52:24: INFO: ==============================================================

22:52:24: INFO: Files used and their paths

22:52:24: INFO: 1 'C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\port_trace.txt'

22:52:24: INFO: 2 'C:\Users\abbas\Desktop\boot_b_root__QPST\rawprogram_unsparse.xml'

22:52:24: INFO: 3 'C:\Users\abbas\Desktop\boot_b_root__QPST\boot.img'

22:52:24: INFO: _ (done)

22:52:24: INFO: | |

22:52:24: INFO: __| | ___ _ __ ___

22:52:24: INFO: / _` |/ _ \| '_ \ / _ \

22:52:24: INFO: | (_| | (_) | | | | __/

22:52:24: INFO: \__,_|\___/|_| |_|\___|

22:52:24: INFO: {All Finished Successfully}

22:52:24: INFO: Overall to target 1.657 seconds (28.84 MBps)

22:52:24: INFO: {percent files transferred 100.00%}

Writing log to 'C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\port_trace.txt', might take a minute

Log is 'C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\port_trace.txt'

***** Working Folder:C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10

Base Version: 16.10.28.15.28

Binary build date: Oct 31 2016 @ 22:51:02

Incremental Build version: 16.10.31.22.51.02

22:52:27: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

************************************************

C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM10 --sendxml=patch0.xml --search_path=C:\Users\abbas\Desktop\boot_b_root__QPST --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc

************************************************

22:52:27: INFO: Current working dir (cwd): C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\

22:52:27: INFO: Showing network mappings to allow debugging

22:52:28: INFO:

22:52:28: INFO: Trying to store 'patch0.xml' in string table

22:52:28: INFO: Looking for file 'patch0.xml'

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

22:52:28: {ERROR: XML packet not formed correctly. Ran out of room looking for TAG}

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

22:52:28: {ERROR: XML is not formatted correctly. Could not find closing />

}

Writing log to 'C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\port_trace.txt', might take a minute

Log is 'C:\Users\abbas\AppData\Roaming\Qualcomm\QFIL\COMPORT_10\port_trace.txt'

Download Fail:FireHose Fail:FHLoader Fail:Process fail

Finish Download