[Nokia 8 Questions & Answers] devils13:
Hi guys,

My Nokia 8(NB1 TA1004) is hard bricked. No screen, fastboot or adb mode is available. My PC only detects it via 9008 port. I tried to flash via QFIL after days of trying. I finally flashed but, it didn't reboot. The flashing process was very short (less than 30 secs). So, I assume that wasn't completed properly. Below is the log. Could anyone advise what went wrong? Also it would be great if you could send links to good stock roms for QFIL.

18:46:05: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

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

C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM4 --reset --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

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

18:46:05: DEBUG: Binary build date: Jun 25 2019 @ 03:16:10

18:46:05: DEBUG: Build Version: 19.06.25.03.16.10

18:46:05: INFO: Current working dir (cwd): C:\Users\jongp\AppData\Roaming\Qualcomm\QFIL\COMPORT_4\

18:46:05: INFO: Showing network mappings to allow debugging

18:46:05: DEBUG: User set ZLPAWAREHOST to 1

18:46:05: INFO: User wants to talk to port '\\.\COM4'

18:46:05: DEBUG: port_fd=0x110

18:46:05: INFO: Took 0.00000000 seconds to open port

18:46:05: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>

18:46:05: INFO: Sending <configure>

18:46:05: DEBUG: CHANNEL DATA (P0000) (H00202) ( 227 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<configure MemoryName="ufs" Verbose="0" AlwaysValidate="0" MaxDigestTableSizeInBytes="8192" MaxPayloadSizeToTargetInBytes="1048576" ZlpAwareHost="1" SkipStorageInit="0" />

</data>

============================================================================================================

18:46:05: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes

18:46:05: DEBUG: CHANNEL DATA (471 bytes) <-- TARGET to HOST

18:46:05: DEBUG: CharsInBuffer = 471

18:46:05: DEBUG: printBuffer:6017 PRETTYPRINT Buffer is 471 bytes

18:46:05: DEBUG: printBuffer:6094 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

18:46:05: DEBUG: printBuffer:6094 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

18:46:05: DEBUG: printBuffer:6094 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

18:46:05: DEBUG: printBuffer:6094 6C 6F 67 20 76 61 6C 75 65 3D 22 43 61 6C 6C 69 log value="Calli

18:46:05: DEBUG: printBuffer:6094 6E 67 20 75 73 62 5F 61 6C 5F 62 75 6C 6B 5F 73 ng usb_al_bulk_s

18:46:05: DEBUG: printBuffer:6094 65 74 5F 7A 6C 70 5F 6D 6F 64 65 28 54 52 55 45 et_zlp_mode(TRUE

18:46:05: DEBUG: printBuffer:6094 29 20 73 69 6E 63 65 20 5A 6C 70 41 77 61 72 65 ) since ZlpAware

18:46:05: DEBUG: printBuffer:6094 48 6F 73 74 3D 27 31 27 22 2F 3E 0A 3C 2F 64 61 Host='1'"/>.</da

18:46:05: DEBUG: printBuffer:6094 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E ta><?xml version

18:46:05: DEBUG: printBuffer:6094 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D ="1.0" encoding=

18:46:05: DEBUG: printBuffer:6094 22 55 54 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 "UTF-8" ?>.<data

18:46:05: DEBUG: printBuffer:6094 3E 0A 3C 72 65 73 70 6F 6E 73 65 20 76 61 6C 75 >.<response valu

18:46:05: DEBUG: printBuffer:6094 65 3D 22 41 43 4B 22 20 4D 69 6E 56 65 72 73 69 e="ACK" MinVersi

18:46:05: DEBUG: printBuffer:6094 6F 6E 53 75 70 70 6F 72 74 65 64 3D 22 31 22 20 onSupported="1"

18:46:05: DEBUG: printBuffer:6094 4D 65 6D 6F 72 79 4E 61 6D 65 3D 22 55 46 53 22 MemoryName="UFS"

18:46:05: DEBUG: printBuffer:6094 20 4D 61 78 50 61 79 6C 6F 61 64 53 69 7A 65 46 MaxPayloadSizeF

18:46:05: DEBUG: printBuffer:6094 72 6F 6D 54 61 72 67 65 74 49 6E 42 79 74 65 73 romTargetInBytes

18:46:05: DEBUG: printBuffer:6094 3D 22 34 30 39 36 22 20 4D 61 78 50 61 79 6C 6F ="4096" MaxPaylo

18:46:05: DEBUG: printBuffer:6094 61 64 53 69 7A 65 54 6F 54 61 72 67 65 74 49 6E adSizeToTargetIn

18:46:05: DEBUG: printBuffer:6094 42 79 74 65 73 3D 22 31 30 34 38 35 37 36 22 20 Bytes="1048576"

18:46:05: DEBUG: printBuffer:6094 4D 61 78 50 61 79 6C 6F 61 64 53 69 7A 65 54 6F MaxPayloadSizeTo

18:46:05: DEBUG: printBuffer:6094 54 61 72 67 65 74 49 6E 42 79 74 65 73 53 75 70 TargetInBytesSup

18:46:05: DEBUG: printBuffer:6094 70 6F 72 74 65 64 3D 22 31 30 34 38 35 37 36 22 ported="1048576"

18:46:05: DEBUG: printBuffer:6094 20 4D 61 78 58 4D 4C 53 69 7A 65 49 6E 42 79 74 MaxXMLSizeInByt

18:46:05: DEBUG: printBuffer:6094 65 73 3D 22 34 30 39 36 22 20 56 65 72 73 69 6F es="4096" Versio

18:46:05: DEBUG: printBuffer:6094 6E 3D 22 31 22 20 54 61 72 67 65 74 4E 61 6D 65 n="1" TargetName

18:46:05: DEBUG: printBuffer:6094 3D 22 4D 53 4D 38 39 39 36 22 20 44 61 74 65 54 ="MSM8996" DateT

18:46:05: DEBUG: printBuffer:6094 69 6D 65 3D 22 53 65 70 20 32 30 20 32 30 31 37 ime="Sep 20 2017

18:46:05: DEBUG: printBuffer:6094 20 2D 20 32 30 3A 31 38 3A 34 30 22 20 2F 3E 0A - 20:18:40" />.

18:46:05: DEBUG: printBuffer:6094 3C 2F 64 61 74 61 3E </data>

18:46:05: DEBUG: printBuffer:6107

18:46:05: DEBUG: XML FILE (131 bytes): CharsInBuffer=471-131=340

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1'"/>

</data>

-------------------------------------------------------------------------------------------

18:46:05: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''

18:46:05: DEBUG: XML FILE (340 bytes): CharsInBuffer=340-340=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" MinVersionSupported="1" MemoryName="UFS" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="MSM8996" DateTime="Sep 20 2017 - 20:18:40" />

</data>

-------------------------------------------------------------------------------------------

18:46:05: DEBUG: Response was 'ACK'

18:46:05: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576

18:46:05: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576

18:46:05: DEBUG: Got the ACK for the <configure>

18:46:05: INFO: Sending <power>

18:46:05: DEBUG: CHANNEL DATA (P0001) (H00203) ( 99 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<power DelayInSeconds="10" value="reset" />

</data>

============================================================================================================

18:46:05: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes

18:46:05: DEBUG: CHANNEL DATA (352 bytes) <-- TARGET to HOST

18:46:05: DEBUG: CharsInBuffer = 352

18:46:05: DEBUG: printBuffer:6017 PRETTYPRINT Buffer is 352 bytes

18:46:05: DEBUG: printBuffer:6094 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

18:46:05: DEBUG: printBuffer:6094 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

18:46:05: DEBUG: printBuffer:6094 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<

18:46:05: DEBUG: printBuffer:6094 6C 6F 67 20 76 61 6C 75 65 3D 22 49 6E 73 69 64 log value="Insid

18:46:05: DEBUG: printBuffer:6094 65 20 68 61 6E 64 6C 65 50 6F 77 65 72 28 29 20 e handlePower()

18:46:05: DEBUG: printBuffer:6094 2D 20 52 65 71 75 65 73 74 65 64 20 50 4F 57 45 - Requested POWE

18:46:05: DEBUG: printBuffer:6094 52 5F 52 45 53 45 54 22 2F 3E 0A 3C 2F 64 61 74 R_RESET"/>.</dat

18:46:05: DEBUG: printBuffer:6094 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D a><?xml version=

18:46:05: DEBUG: printBuffer:6094 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 "1.0" encoding="

18:46:05: DEBUG: printBuffer:6094 55 54 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E UTF-8" ?>.<data>

18:46:05: DEBUG: printBuffer:6094 0A 3C 6C 6F 67 20 76 61 6C 75 65 3D 22 49 73 73 .<log value="Iss

18:46:05: DEBUG: printBuffer:6094 75 69 6E 67 20 62 73 70 5F 74 61 72 67 65 74 5F uing bsp_target_

18:46:05: DEBUG: printBuffer:6094 72 65 73 65 74 28 29 20 61 66 74 65 72 20 31 30 reset() after 10

18:46:05: DEBUG: printBuffer:6094 20 73 65 63 6F 6E 64 73 2C 20 69 66 20 74 68 69 seconds, if thi

18:46:05: DEBUG: printBuffer:6094 73 20 68 61 6E 67 73 2C 20 64 6F 20 79 6F 75 20 s hangs, do you

18:46:05: DEBUG: printBuffer:6094 68 61 76 65 20 57 41 54 43 48 44 4F 47 20 65 6E have WATCHDOG en

18:46:05: DEBUG: printBuffer:6094 61 62 6C 65 64 3F 22 2F 3E 0A 3C 2F 64 61 74 61 abled?"/>.</data

18:46:05: DEBUG: printBuffer:6094 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 ><?xml version="

18:46:05: DEBUG: printBuffer:6094 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 1.0" encoding="U

18:46:05: DEBUG: printBuffer:6094 54 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A TF-8" ?>.<data>.

18:46:05: DEBUG: printBuffer:6094 3C 72 65 73 70 6F 6E 73 65 20 76 61 6C 75 65 3D <response value=

18:46:05: DEBUG: printBuffer:6094 22 41 43 4B 22 20 2F 3E 0A 3C 2F 64 61 74 61 3E "ACK" />.</data>

18:46:05: DEBUG: printBuffer:6107

18:46:05: DEBUG: XML FILE (114 bytes): CharsInBuffer=352-114=238

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Inside handlePower() - Requested POWER_RESET"/>

</data>

-------------------------------------------------------------------------------------------

18:46:05: INFO: TARGET SAID: 'Inside handlePower() - Requested POWER_RESET'

18:46:05: DEBUG: XML FILE (159 bytes): CharsInBuffer=238-159=79

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Issuing bsp_target_reset() after 10 seconds, if this hangs, do you have WATCHDOG enabled?"/>

</data>

-------------------------------------------------------------------------------------------

18:46:05: INFO: TARGET SAID: 'Issuing bsp_target_reset() after 10 seconds, if this hangs, do you have WATCHDOG enabled?'

18:46:05: DEBUG: XML FILE (79 bytes): CharsInBuffer=79-79=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<data>

Many thanks,

Pil

<response value="ACK" />

</data>

-------------------------------------------------------------------------------------------

18:46:05: DEBUG: Response was 'ACK'

18:46:05: DEBUG: Got the ACK

18:46:05: INFO: ==============================================================

18:46:05: INFO: Files used and their paths

18:46:05: INFO: 1 'C:\Users\jongp\AppData\Roaming\Qualcomm\QFIL\COMPORT_4\port_trace.txt'

18:46:05: INFO: _ (done)

18:46:05: INFO: | |

18:46:05: INFO: __| | ___ _ __ ___

18:46:05: INFO: / _` |/ _ \| '_ \ / _ \

18:46:05: INFO: | (_| | (_) | | | | __/

18:46:05: INFO: \__,_|\___/|_| |_|\___|

18:46:05: INFO: {All Finished Successfully}

18:46:05: INFO: Overall to target 0.063 seconds (0.00 Bps)