Omg, it works! (Even though with a little adjustment)
What I did:
Switch to STREAM protocol and run firmware update.
% sudo ./testtool --device /dev/ttyUSB0 --protocol stream
testtool (unknown)
port opened: /dev/ttyUSB0
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
serialread: 0b 00 00 00 08 00 00 00
cmdid=0x0000000b
serialwrite: 0c 00 00 00 0c 00 00 00 03 00 00 00
serialread: 01 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 04 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
cmdid=0x00000001
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
serialread: 0b 00 00 00 08 00 00 00
cmdid=0x0000000b
Executing SAHARA cmd 00000000005
serialwrite: 0d 00 00 00 0c 00 00 00 05 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 1f 00 00 00
cmdid=0x00000004
% sudo qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
[03 Jun 2024, 11:03:03] [Debug] [qfu-udev] sysfs path for 'ttyUSB0' found: /sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3
[03 Jun 2024, 11:03:03] [Debug] [qfu-utils] couldn't ping ModemManager: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [0,64330846]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [400,343216]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [800,343216]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 800 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [343216,32119688]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [343616,699784]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 343616 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [699784,853300]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 699784 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [853300,32119688]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 853300 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 343216 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [32119688,64330846]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [32120088,32287540]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 32120088 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [32287540,42761560]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 32287540 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [42761560,59125532]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 42761560 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [59125532,64330846]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 59125532 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 32119688 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] firmware version: 02.38.00.00
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] config version: unknown
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] carrier: unknown
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [0,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [400,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [800,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [1200,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 1200 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 800 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] firmware version: 02.38.00.00
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] config version: 002.082_000
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] carrier: GENERIC
[03 Jun 2024, 11:03:03] [Debug] [qfu,device-selection] single tty device requested in sysfs path '/sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3'
[03 Jun 2024, 11:03:03] [Debug] [qfu,device-selection] device found: /dev/ttyUSB0
[03 Jun 2024, 11:03:03] [Debug] [qfu,device-selection] using preferred device: /dev/ttyUSB0
[03 Jun 2024, 11:03:03] [Debug] [qfu-sahara-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:03:03] [Debug] [qfu-sahara-device] setting terminal in raw mode...
[03 Jun 2024, 11:03:03] [Debug] [qfu-sahara-device] waiting time for device to boot properly...
[03 Jun 2024, 11:03:05] [Debug] [qfu-sahara-device] initializing sahara protocol...
[03 Jun 2024, 11:03:08] [Debug] [qfu-updater] sahara device creation failed: no sahara response received
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] setting terminal in raw mode...
[03 Jun 2024, 11:03:08] [Debug] [qfu,dload-message] sent sdp:
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] >> 70:00:00 [3, unframed]
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] >> 7E:70:00:00:14:46:7E [7]
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] << 04:00:00:00:10:00:00:00:07:00:00:00:01:00:00:00 [16]
[03 Jun 2024, 11:03:08] [Debug] [qfu-updater] qdl device creation failed: HDLC trailing control character not found
error: unsupported download protocol
I noticed the output is a little different than last time. qmi-firmware-update now logs [qfu-updater] sahara device creation failed: no sahara response received
.
Switch to DMSS protocol and retry.
% sudo ./testtool --device /dev/ttyUSB0 --protocol dmss
testtool (unknown)
port opened: /dev/ttyUSB0
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
serialwrite: 0c 00 00 00 0c 00 00 00 03 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
Executing SAHARA cmd 00000000004
serialwrite: 0d 00 00 00 0c 00 00 00 04 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
% qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
[exactly the same output as above]
So this sounds like sahara protocol was already correct. I wanted to switch back using the testtool, but it does not support --protocol sahara
as a parameter, but --reset
. Let's give it a try.
% sudo ./testtool --device /dev/ttyUSB0 --reset
testtool (unknown)
port opened: /dev/ttyUSB0
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
serialwrite: 0c 00 00 00 0c 00 00 00 03 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00
cmdid=0x00000004
serialwrite: 07 00 00 00 08 00 00 00
serialread: 08 00 00 00 08 00 00 00
cmdid=0x00000008
% sudo qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
[03 Jun 2024, 11:12:01] [Debug] [qfu-udev] sysfs path for 'ttyUSB0' found: /sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3
[03 Jun 2024, 11:12:01] [Debug] [qfu-utils] couldn't ping ModemManager: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [0,64330846]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [400,343216]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [800,343216]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 800 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [343216,32119688]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [343616,699784]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 343616 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [699784,853300]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 699784 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [853300,32119688]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 853300 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 343216 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [32119688,64330846]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [32120088,32287540]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 32120088 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [32287540,42761560]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 32287540 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [42761560,59125532]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 42761560 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [59125532,64330846]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 59125532 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 32119688 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] firmware version: 02.38.00.00
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] config version: unknown
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] carrier: unknown
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [0,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [400,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [800,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [1200,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 1200 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 800 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] firmware version: 02.38.00.00
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] config version: 002.082_000
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] carrier: GENERIC
[03 Jun 2024, 11:12:01] [Debug] [qfu,device-selection] single tty device requested in sysfs path '/sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3'
[03 Jun 2024, 11:12:02] [Debug] [qfu,device-selection] device found: /dev/ttyUSB0
[03 Jun 2024, 11:12:02] [Debug] [qfu,device-selection] using preferred device: /dev/ttyUSB0
[03 Jun 2024, 11:12:02] [Debug] [qfu-sahara-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:12:02] [Debug] [qfu-sahara-device] setting terminal in raw mode...
[03 Jun 2024, 11:12:02] [Debug] [qfu-sahara-device] waiting time for device to boot properly...
[03 Jun 2024, 11:12:04] [Debug] [qfu-sahara-device] initializing sahara protocol...
[03 Jun 2024, 11:12:07] [Debug] [qfu-updater] sahara device creation failed: no sahara response received
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] setting terminal in raw mode...
[03 Jun 2024, 11:12:07] [Debug] [qfu,dload-message] sent sdp:
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 70:00:00 [3, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:70:00:00:14:46:7E [7]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:0D:16:00:00:00:00:88:4D:7E [10]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 0D:16:00:00:00:00 [6, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] received error
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] error: 22
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] errortxt: 0
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] error (ignored): DLOAD SDP not supported
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] magic: QCOM high speed protocol
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] maximum version: 4
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] minimum version: 4
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] features: 0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:04:04:30 [36, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:04:04:30:03:0B:7E [40]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:0D:05:00:00:00:00:04:E4:7E [10]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 0D:05:00:00:00:00 [6, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] magic: QCOM high speed protocol
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] maximum version: 5
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] minimum version: 5
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] features: 0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:05:05:30 [36, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:05:05:30:07:48:7E [40]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:0D:05:00:00:00:00:04:E4:7E [10]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 0D:05:00:00:00:00 [6, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] magic: QCOM high speed protocol hst
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] maximum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] minimum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] features: 0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30 [36, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30:0B:8D:7E [40]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30:D9:BC:7E [53]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30 [49, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] received hello-rsp:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] magic: QCOM high speed protocol tgt0
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] maximum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] minimum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] features: 0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] QDL version detected: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu-updater] selected file 'SWI9X30C_02.38.00.00.cwe' (64330846 bytes)
downloading cwe image: SWI9X30C_02.38.00.00.cwe (64,3 MB)...
[~800 lines of logging output removed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-updater] all chunks ack-ed
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent close-unframed-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 29 [1, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 7E:29:BB:4C:7E [5]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 7E:2A:00:00:00:00:4E:E3:7E [9]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 2A:00:00:00:00 [5, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] received close-unframed-rsp
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] status: 0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] type: 0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] errortxt: 0
[03 Jun 2024, 11:12:13] [Debug] [qfu-updater] qdl/sdp download finished
successfully downloaded in 6,94s (9,3 MB/s)
[03 Jun 2024, 11:12:13] [Debug] [qfu-updater] selected file 'SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu' (23855 bytes)
downloading cwe image: SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu (23,9 KB)...
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] magic: QCOM high speed protocol hst
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] maximum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] minimum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] features: 0x30
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30 [36, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30:0B:8D:7E [40]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 7E:02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30:D9:BC:7E [53]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30 [49, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] received hello-rsp:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] magic: QCOM high speed protocol tgt0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] maximum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] minimum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] features: 0x30
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent open-unframed-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] type: 128
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] length: 23855
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] window size: 1
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] chunk size: 23455
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 25:80:2F:5D:00:00:01:9F:5B:00:00:00:00:01:02:00:00:00:00:01:90:00:00:5B:9F:46:55:4C:4C:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00... [413, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 7E:25:80:2F:5D:00:00:01:9F:5B:00:00:00:00:01:02:00:00:00:00:01:90:00:00:5B:9F:46:55:4C:4C:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00... [417]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 7E:26:00:00:01:9F:5B:00:00:05:D5:7E [12]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 26:00:00:01:9F:5B:00:00 [8, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] received open-unframed-rsp
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] status: 0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] window size: 1
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] chunk size: 23455
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] reading chunk #0
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] chunk #0 size: 23455 bytes
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] chunk #0 offset: 400 bytes
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] chunk #0 successfully read
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent write-unframed-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sequence: 0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] chunk size: 23455
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 27:00:00:00:00:00:00:9F:5B:00:00:CB:BB:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00... [23468]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 7E:28:00:00:00:00:00:00:00:00:14:39:7E [13]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 28:00:00:00:00:00:00:00:00 [9, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] received write-unframed-rsp
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] status: 0
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] sequence: 0
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] all chunks ack-ed
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] sent close-unframed-req:
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 29 [1, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 7E:29:BB:4C:7E [5]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 7E:2A:00:00:00:00:4E:E3:7E [9]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 2A:00:00:00:00 [5, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] received close-unframed-rsp
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] status: 0
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] type: 0
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] errortxt: 0
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] qdl/sdp download finished
successfully downloaded in 0,04s (648,1 KB/s)
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] no more files to download
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] QDL reset
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] sent reset-req:
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 2D [1, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 7E:2D:9F:0A:7E [5]
rebooting in normal mode...
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] operation finished
firmware update operation finished successfully
After reset, the firmware update worked! And the modem now also works in QMI mode as expected!
Thx a lot @bmork! You are my hero.
One last thing: As @AndrewZ already pointed out, my problem actually really had nothing to do with OpenWrt. But I hope one day this thread can still help someone who has the same problem.