EC25 flash new firmware error

Hello.
Try flash new firmware EC25EFAR06A08M4G (get from you earler in april).
Get error:

[alex@debiank qflash]$ ./QFlash -f /home/alex/Downloads/quectel/EC25EFAR06A08M4G -m 0
[07-23_09:16:52:554] QFlash Version: LTE&LTE-A_QFlash_Linux&Android_V2.0.0
[07-23_09:16:52:554] Builded at: Apr 27 2020 12:36:12
sh: dpkg: command not found
[07-23_09:16:52:559] Host runtime enviroment check ok
[07-23_09:16:52:559]
[07-23_09:16:52:559] The CPU is little endian
[07-23_09:16:52:559]
[07-23_09:16:52:559] Error: fail to create named pipe “/data/update.conf” errno 2 (No such file or directory)
[07-23_09:16:52:559] Module upgrade tool, Thu Jul 23 09:16:52 2020

[07-23_09:16:52:560] Auto detect quectel diagnose port = ttyUSB0
[07-23_09:16:52:560] Detect /home/alex/Downloads/quectel/EC25EFAR06A08M4G/md5.txt file.
[07-23_09:16:52:560] md5 checking enable.
[07-23_09:16:52:560] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/contents.xml pass
[07-23_09:16:52:560] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/partition_nand.xml pass
[07-23_09:16:52:562] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//sbl1.mbn pass
[07-23_09:16:52:562] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//partition.mbn pass
[07-23_09:16:52:565] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//tz.mbn pass
[07-23_09:16:52:566] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//rpm.mbn pass
[07-23_09:16:52:569] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//appsboot.mbn pass
[07-23_09:16:52:604] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//mdm9607-perf-boot.img pass
[07-23_09:16:52:638] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//mdm9607-perf-boot.img pass
[07-23_09:16:52:697] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//mdm-perf-recovery-image-mdm9607-perf.ubi pass
[07-23_09:16:52:938] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//NON-HLOS.ubi pass
[07-23_09:16:52:997] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//mdm-perf-recovery-image-mdm9607-perf.ubi pass
[07-23_09:16:53:238] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//NON-HLOS.ubi pass
[07-23_09:16:53:514] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//mdm9607-perf-sysfs.ubi pass
[07-23_09:16:53:790] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//mdm9607-perf-sysfs.ubi pass
[07-23_09:16:53:791] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//NPRG9x07.mbn pass
[07-23_09:16:53:791] md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//ENPRG9x07.mbn pass
[07-23_09:16:53:791] find firehose directory!
[07-23_09:16:53:791] firehose files check pass
[07-23_09:16:53:791] file total size: 216027339
[07-23_09:16:53:791] module platform : 9X07
[07-23_09:16:53:792] product model = QHSUSB__BULK

[07-23_09:16:53:792] Start to open com port: /dev/ttyUSB0
[07-23_09:16:53:793] Use normal diag port
[07-23_09:16:53:793] Get sahara hello packet!
[07-23_09:16:55:795] Error: Timeout Occured, No response or command came from the target!
[07-23_09:16:55:795] Error: Get sahara hello packet failed.
[07-23_09:16:55:795] Detect module status!
[07-23_09:16:55:795] Module status detect
[07-23_09:16:56:795] Sahara Command = SAHARA_HELLO_ID
[07-23_09:16:56:795] The module in sahara mode
[07-23_09:16:56:795] Try get sahara hello packet!
[07-23_09:16:58:797] Error: Timeout Occured, No response or command came from the target!
[07-23_09:16:58:797] Error: Get sahara hello packet failed!
[07-23_09:16:58:797] Send sahara hello response packet(2)!
[07-23_09:17:01:797] Start Read Data!
[07-23_09:17:01:797] Send sahara hello response packet(1)!
[07-23_09:17:04:797] Start Read Data!
[07-23_09:17:04:798] Sahara send /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update//NPRG9x07.mbn
07-23_09:17:04:805 progress : 100% finished
[07-23_09:17:04:805] Send sahara do packet!
[07-23_09:17:04:805] Module Status Detection
[07-23_09:17:04:805] Upgrade in normal mode
[07-23_09:17:20:910] Warn: Diagnose port may be exist always.
[07-23_09:17:21:911] Diagnose port connected.
[07-23_09:17:22:911] Start to open com port: /dev/ttyUSB0
[07-23_09:17:22:911] Module status detect
[07-23_09:17:23:911] The module in go mode
[07-23_09:17:23:911] Start to download firmware
[07-23_09:17:23:965] handle_parti_tbl command = 1a, status = 00
[07-23_09:17:23:965] flash 0:misc misc
[07-23_09:17:23:965] Warn: handle_openmulti unknow packet header 0xe
[07-23_09:17:23:965] Error: 0:misc open failed
Segmentation fault (core dumped)

After that modem open only one port ttyUSB0 and not work.
Please help.

Dear Apanas,
Thanks for your inquiry in Quectel forum.
For your issue, it have not upgrade the firmware successful.
Please upgrade it again to have a try, and double check whether the connection cable is stable enough, and remove modem manager to have a try, you also can change to use Qfirehose tool to upgrade it to have a try. Thanks!

Use Qfirehose has error result:
[alex@debiank QFirehose]$ sudo ./QFirehose -f /home/alex/Downloads/quectel/EC25EFAR06A08M4G
[000.000]: QFirehose Version: Quectel_LTE&5G_QFirehose_Linux&Android_V1.2.3
[000.000]: Builded: Apr 27 2020 12:56:28
[000.000]: Find md5 check file </home/alex/Downloads/quectel/EC25EFAR06A08M4G/md5.txt>
[000.000]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/contents.xml pass
[000.002]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/appsboot.mbn pass
[000.003]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/ENPRG9x07.mbn pass
[000.003]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/firehose/partition_complete_p4K_b256K.mbn pass
[000.003]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/firehose/patch_p4K_b256K.xml pass
[000.004]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/firehose/prog_nand_firehose_9x07.mbn pass
[000.004]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/firehose/rawprogram_nand_p4K_b256K_update.xml pass
[000.036]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/mdm9607-perf-boot.img pass
[000.296]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/mdm9607-perf-sysfs.ubi pass
[000.353]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/mdm-perf-recovery-image-mdm9607-perf.ubi pass
[000.581]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/NON-HLOS.ubi pass
[000.582]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/NPRG9x07.mbn pass
[000.582]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/partition.mbn pass
[000.582]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/partition_nand.xml pass
[000.583]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/rpm.mbn pass
[000.584]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/sbl1.mbn pass
[000.587]: md5 checking: /home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/tz.mbn pass
[000.587]: Totals checking 17 files md5 value, 0 file fail!
[000.587]: [1] /sys/bus/usb/devices/1-2 2c7c/125/0
[000.732]: P: /dev/bus/usb/001/025 idVendor=2c7c idProduct=0125
[000.732]: C: /dev/bus/usb/001/025 bNumInterfaces: 1
[000.732]: I: If#= 0 Alt= 0 #EPs= 2 Cls=ff Sub=ff Prot=ff
[000.732]: E: Ad=81 Atr=02 MxPS= 512 Ivl=0ms
[000.732]: E: Ad=01 Atr=02 MxPS= 512 Ivl=0ms
[000.732]: qusb_noblock_open port_name = /dev/ttyUSB0
[000.733]: dir=/home/alex/Downloads/quectel/EC25EFAR06A08M4G/update/firehose/…
[000.736]: d_name=NPRG9x07.mbn
[000.736]: prog_nand_firehose_filename = NPRG9x07.mbn
[000.736]: STATE <-- SAHARA_WAIT_HELLO
[000.736]: RECEIVED <-- SAHARA_HELLO_ID
[000.736]: RECEIVED <-- SAHARA_MODE_MEMORY_DEBUG
[000.736]: ERROR NOT SAHARA_MODE_IMAGE_TX_PENDING
[000.736]: SENDING --> SAHARA_HELLO_RESPONSE
[000.736]: STATE <-- SAHARA_WAIT_COMMAND
[000.736]: RECEIVED <-- SAHARA_HELLO_ID
[000.736]: STATE <-- SAHARA_WAIT_COMMAND
[000.736]: RECEIVED <-- SAHARA_HELLO_ID
[000.736]: STATE <-- SAHARA_WAIT_COMMAND
[000.737]: RECEIVED <-- SAHARA_HELLO_ID
[000.737]: STATE <-- SAHARA_WAIT_COMMAND
[000.740]: RECEIVED <-- SAHARA_HELLO_ID
[000.740]: STATE <-- SAHARA_WAIT_COMMAND
[000.744]: RECEIVED <-- SAHARA_HELLO_ID
[000.744]: STATE <-- SAHARA_WAIT_COMMAND
[000.747]: RECEIVED <-- SAHARA_READ_DATA_ID
[000.747]: 0x00000007 0x00000000 0x00000034
[000.747]: STATE <-- SAHARA_WAIT_COMMAND
[000.747]: RECEIVED <-- SAHARA_READ_DATA_ID
[000.747]: 0x00000007 0x00000034 0x00000060
[000.747]: STATE <-- SAHARA_WAIT_COMMAND
[000.747]: RECEIVED <-- SAHARA_READ_DATA_ID
[000.748]: 0x00000007 0x00001000 0x00000800
[000.748]: STATE <-- SAHARA_WAIT_COMMAND
[005.752]: poll_wait events=POLLIN msec=5000 timeout
[005.752]: qusb_noblock_read cur=0, min_size=1
[005.752]: Sahara protocol error
[005.752]: Upgrade module failed.

If it is still error, how about to upgrade it in Windows system to have a try. Thanks!

In Windows error too (QFlash v4.16)

COM port is exactly correct.

Please make sure the port is USB DM port, and have not occupy by any other application, confirm the USB cable have no any issue, you can try to change another USB cable or another PC USB port to test again. Thanks!

Yes, port is USB DM port (no others only one is open by modem), no any usb cable, insert direct in PC port and already try all ports on PC - result the same (error timeout)
Thanks.

If that, it is really hard to say where is the issue. The last method you can try is to connect USB_BOOT to VDD_EXT to force the module enter into emergency download mode to try again. Thanks!

Please say detailed how i can make this.
Thanks.

Please check the following picture. You can get more information from EC25 hardware design document. Thanks!


Thank you, Kyson. Modem recovered succesfull.

But nobody (from support@quectel.com) send firmware for me…
Risk losing a potential client for 1000+ modules (see on Telit) :).

Dear Apanas,
Thanks for your updating. I am glad to hear that the modem recovered successful.
Sorry that the support@quectel.com have not contact you, i will emailed internal to push them to answer you. Sorry that bring any inconvenience for you. Thanks!

Hello apanas,

Regarding error: “sh: dpkg: command not found”

You are as user and dpdk is located in /usr/sbin/ - so system binaries -
to bypass this and also solve for other time, this issue, edit ~/.bashrc or ~/.bash_aliases
add line: alias dpkg=‘sudo dpkg’
and next time (after next login*) your username will user dpkg will use it with sudo in front

  • .bash* files are initialized at user log in

In all Ubuntu releases default username (first username created when you install OS) is already added in sudoers group.
You can check this by typing: id - at the end of the outputed line you will see group ‘wheel’

Have a great day!

PS: I am glad your software is updated now

Hello.
Thank you.
I not use Ubuntu.
Problem resolved.
Have a nice day.

Have a nice day too Alex.
Glad you solved the mystery… we didn’t encounter any issues with tests done with EC25 and YateUCN