[Nokia 8 Questions & Answers] Behraddj:
my phone got stucked while flashing with twrp ,

just can use edl mode nothing works .

i tried many time with many program and git (qfil - miracle - qualcomm) almost same error:

2020-05-26 08:58:14.346 Validating Application Configuration
2020-05-26 08:58:14.361 Load APP Configuration
2020-05-26 08:58:14.408 COM:4
2020-05-26 08:58:14.408 PBLDOWNLOADPROTOCOL:0
2020-05-26 08:58:14.408 PROGRAMMER:True
2020-05-26 08:58:14.408 PROGRAMMER:H:\QFIL\NB1-0-484A-prog_ufs_firehose_8998_ddr.elf
2020-05-26 08:58:14.408 RESETSAHARASTATEMACHINE:False
2020-05-26 08:58:14.408 SAHARAREADSERIALNO:False
2020-05-26 08:58:14.408 SEARCHPATH:H:\QFIL
2020-05-26 08:58:14.408 RAWPROGRAM:
2020-05-26 08:58:14.408 NB1-0-484A-rawprogram0.xml
2020-05-26 08:58:14.408 PATCH:
2020-05-26 08:58:14.408 NB1-0-484A-patch0.xml
2020-05-26 08:58:14.424 ACKRAWDATAEVERYNUMPACKETS:False
2020-05-26 08:58:14.424 ACKRAWDATAEVERYNUMPACKETS:100
2020-05-26 08:58:14.424 MAXPAYLOADSIZETOTARGETINBYTES:False
2020-05-26 08:58:14.424 MAXPAYLOADSIZETOTARGETINBYTES:49152
2020-05-26 08:58:14.424 DEVICETYPE:ufs
2020-05-26 08:58:14.424 PLATFORM:8x26
2020-05-26 08:58:14.424 VALIDATIONMODE:0
2020-05-26 08:58:14.424 RESETAFTERDOWNLOAD:True
2020-05-26 08:58:14.424 MAXDIGESTTABLESIZE:8192
2020-05-26 08:58:14.424 SWITCHTOFIREHOSETIMEOUT:30
2020-05-26 08:58:14.424 RESETTIMEOUT:200
2020-05-26 08:58:14.424 RESETDELAYTIME:2
2020-05-26 08:58:14.424 METABUILD:
2020-05-26 08:58:14.424 METABUILD:
2020-05-26 08:58:14.424 FLATBUILDPATH:C:\
2020-05-26 08:58:14.424 FLATBUILDFORCEOVERRIDE:True
2020-05-26 08:58:14.424 QCNPATH:C:\Temp\00000000.qcn
2020-05-26 08:58:14.424 QCNAUTOBACKUPRESTORE:False
2020-05-26 08:58:14.424 SPCCODE:000000
2020-05-26 08:58:14.424 ENABLEMULTISIM:False
2020-05-26 08:58:14.424 AUTOPRESERVEPARTITIONS:False
2020-05-26 08:58:14.424 PARTITIONPRESERVEMODE:0
2020-05-26 08:58:14.424 PRESERVEDPARTITIONS:0
2020-05-26 08:58:14.424 PRESERVEDPARTITIONS:
2020-05-26 08:58:14.424 ERASEALL:False
2020-05-26 08:58:14.424 PROVISIONPROGRAMMERPATH:H:\QFIL\NB1-0-484A-prog_ufs_firehose_8998_ddr.elf
2020-05-26 08:58:14.424 PROVISIONXMLPATH:H:\QFIL\NB1-0-484A-provision_fih.xml
2020-05-26 08:58:14.424 Load ARG Configuration
2020-05-26 08:58:14.611 Validating Download Configuration
2020-05-26 08:58:14.611 Image Search Path: H:\QFIL
2020-05-26 08:58:14.643 RAWPROGRAM file path: H:\QFIL\NB1-0-484A-rawprogram0.xml
2020-05-26 08:58:14.643 PATCH file path:H:\QFIL\NB1-0-484A-patch0.xml
2020-05-26 08:58:14.643 Programmer Path:H:\QFIL\NB1-0-484A-prog_ufs_firehose_8998_ddr.elf
2020-05-26 08:58:16.618 Process Index:0
2020-05-26 08:58:16.681 Qualcomm Flash Image Loader (QFIL) 2.0.2.3
2020-05-26 08:59:13.783 Start Provision
2020-05-26 08:59:13.783 Program Path:H:\Nokia_8_TA-1004_00WW_NB1_600WW_MSM8998_7.1.1_QFIL\Firmware\Program_Def.xml
2020-05-26 08:59:13.877 ***** Working Folder:C:\Users\b3hr4d\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-05-26 08:59:14.361 Binary build date: Apr 27 2018 @ 03:04:33
2020-05-26 08:59:14.361 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\b3hr4d\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-05-26 08:59:14.408 Sahara mappings:
2020-05-26 08:59:14.408 2: amss.mbn
2020-05-26 08:59:14.408 6: apps.mbn
2020-05-26 08:59:14.408 8: dsp1.mbn
2020-05-26 08:59:14.408 10: dbl.mbn
2020-05-26 08:59:14.408 11: osbl.mbn
2020-05-26 08:59:14.408 12: dsp2.mbn
2020-05-26 08:59:14.408 16: efs1.mbn
2020-05-26 08:59:14.408 17: efs2.mbn
2020-05-26 08:59:14.408 20: efs3.mbn
2020-05-26 08:59:14.408 21: sbl1.mbn
2020-05-26 08:59:14.408 22: sbl2.mbn
2020-05-26 08:59:14.408 23: rpm.mbn
2020-05-26 08:59:14.408 25: tz.mbn
2020-05-26 08:59:14.408 28: dsp3.mbn
2020-05-26 08:59:14.408 29: acdb.mbn
2020-05-26 08:59:14.408 30: wdt.mbn
2020-05-26 08:59:14.408 31: mba.mbn
2020-05-26 08:59:14.408 13: H:\Nokia_8_TA-1004_00WW_NB1_600WW_MSM8998_7.1.1_QFIL\Firmware\Program_Def.xml
2020-05-26 08:59:14.424
2020-05-26 08:59:14.424 08:59:14: Requested ID 13, file: "H:\Nokia_8_TA-1004_00WW_NB1_600WW_MSM8998_7.1.1_QFIL\Firmware\Program_Def.xml"
2020-05-26 08:59:14.424
2020-05-26 08:59:14.424 08:59:14: ERROR: function: is_ack_successful:1145 SAHARA_NAK_INVALID_ELF_HDR
2020-05-26 08:59:14.424
2020-05-26 08:59:14.424 08:59:14: ERROR: function: sahara_start:954 Exiting abruptly
2020-05-26 08:59:14.424
2020-05-26 08:59:14.424 08:59:14: ERROR: function: sahara_main:983 Sahara protocol error
2020-05-26 08:59:14.424
2020-05-26 08:59:14.424 08:59:14: ERROR: function: main:320 Uploading Image using Sahara protocol failed
2020-05-26 08:59:14.424
2020-05-26 08:59:14.424
2020-05-26 08:59:14.439 Provision Fail:Sahara Fail:QSaharaServer Fail:Process fail
2020-05-26 08:59:14.439 Finish Provision
2020-05-26 08:59:14.439 You may need to physically reset the phone manually
2020-05-26 09:01:52.034 Start Provision
2020-05-26 09:01:52.034 Program Path:H:\QFIL\NB1-0-484A-prog_ufs_firehose_8998_ddr.elf
2020-05-26 09:01:52.034 ***** Working Folder:C:\Users\b3hr4d\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-05-26 09:03:43.770 Binary build date: Apr 27 2018 @ 03:04:33
2020-05-26 09:03:43.771 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\b3hr4d\AppData\Roaming\Qualcomm\QFIL\COMPORT_4
2020-05-26 09:03:43.774 Sahara mappings:
2020-05-26 09:03:43.775 2: amss.mbn
2020-05-26 09:03:43.775 6: apps.mbn
2020-05-26 09:03:43.776 8: dsp1.mbn
2020-05-26 09:03:43.777 10: dbl.mbn
2020-05-26 09:03:43.778 11: osbl.mbn
2020-05-26 09:03:43.778 12: dsp2.mbn
2020-05-26 09:03:43.781 16: efs1.mbn
2020-05-26 09:03:43.783 17: efs2.mbn
2020-05-26 09:03:43.784 20: efs3.mbn
2020-05-26 09:03:43.785 21: sbl1.mbn
2020-05-26 09:03:43.786 22: sbl2.mbn
2020-05-26 09:03:43.787 23: rpm.mbn
2020-05-26 09:03:43.788 25: tz.mbn
2020-05-26 09:03:43.789 28: dsp3.mbn
2020-05-26 09:03:43.790 29: acdb.mbn
2020-05-26 09:03:43.791 30: wdt.mbn
2020-05-26 09:03:43.792 31: mba.mbn
2020-05-26 09:03:43.794 13: H:\QFIL\NB1-0-484A-prog_ufs_firehose_8998_ddr.elf
2020-05-26 09:03:43.795
2020-05-26 09:03:43.796 09:03:43: ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.
2020-05-26 09:03:43.798
2020-05-26 09:03:43.800 09:03:43: ERROR: function: sahara_main:983 Sahara protocol error
2020-05-26 09:03:43.802
2020-05-26 09:03:43.803 09:03:43: ERROR: function: main:320 Uploading Image using Sahara protocol failed
2020-05-26 09:03:43.804
2020-05-26 09:03:43.805
2020-05-26 09:03:43.806 Provision Fail:Sahara Fail:QSaharaServer Fail:Process fail
2020-05-26 09:03:43.806 Finish Provision
2020-05-26 09:03:43.807 You may need to physically reset the phone manually

best result i got on linux with github.com/bkerler/edl can do it manualy but i dont have enough knowladge about that .

can someone help me please :rolleyes: