My attempt at flashing the modem bricked it. What to do?
Here's how I proceeded, with error messages at the end:
Phew fixed, Biktor pointed me to the recovery instructions: My modem won't boot anymore
Afterwards, flashing went smoothly.
Here's how I proceeded, with error messages at the end:
- Checked version of ADSP firmware:
Code:$ mmcli -m any --command="AT+QGMR"
response: 'EG25GGBR07A08M2G_01.001.01.001' - Upgraded to ADSP version 01.003.01.003:
Code:# cd /tmp
# wget https://github.com/Biktorgj/quectel_eg25_recovery/raw/EG25GGBR07A08M2G_01.003.01.003/update/NON-HLOS.ubi
# echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
# fastboot flash modem NON-HLOS.ubi && fastboot reboot - Flashed the Biktorgj firmware, and that failed:
Code:$ cd ~/src
$ wget https://github.com/Biktorgj/pinephone_modem_sdk/releases/download/0.4.2/package.tar.gz
$ mkdir firmware
$ tar xzf package.tar.gz -C firmware
$ cd firmware
$ sudo ./flashall
Sending AT+QFASTBOOT...
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Sending 'aboot' (486 KB) OKAY [ 0.024s]
Writing 'aboot' OKAY [ 0.209s]
Finished. Total time: 0.244s
Rebooting OKAY [ 0.018s]
Finished. Total time: 0.068s
< waiting for any device >
OKAY [ 0.002s]
Finished. Total time: 0.003s
Sending 'boot' (4566 KB) OKAY [ 0.150s]
Writing 'boot' FAILED (Status read failed (No such device))
fastboot: error: Command failed
./flashall: exit: line 11: Illegal number: Failed to flash main kernel
Phew fixed, Biktor pointed me to the recovery instructions: My modem won't boot anymore
Afterwards, flashing went smoothly.