PINE64
Problem Flashing the modem Firmware - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Problem Flashing the modem Firmware (/showthread.php?tid=15589)



Problem Flashing the modem Firmware - loreson - 12-22-2021

Hi, I'm running mobian on a pinephone beta.
Today I tried to update my moden Firmware and followed this guide:
Code:
wget https://github.com/Biktorgj/pinephone_modem_sdk/releases/download/0.3.6/package.tar.gz
  # any other temporary directory name/place will do below
mkdir firmware
tar xvzf package.tar.gz -C firmware
cd firmware
sudo ./flashall
# took less than 30 seconds: last lines output was: "Finished, if everything went well, run fastboot reboot to restart the modem."
  # Do not reboot the modem before flashing the recommended DSP upgrade though)
wget https://github.com/Biktorgj/quectel_eg25_recovery/raw/EG25GGBR07A08M2G_01.003.01.003/update/NON-HLOS.ubi
  # you only need to flash the newer DSP blob once, not on every future upgrade...
sudo fastboot flash modem NON-HLOS.ubi
fastboot reboot


https://sspaeth.de/2021/08/flashing-the-foss-modem-firmware-on-the-pinephone/
using the newest release of Biktorj's firmware.
the 'sudo ./flashall' command gave this output:
Code:
Sending AT+QFASTBOOT...
< waiting for any device >
                                                   FAILED (remote: 'unknown command')
fastboot: error: Command failed
Sending 'aboot' (486 KB)                           OKAY [  0.021s]
Writing 'aboot'                                    OKAY [  0.209s]
Finished. Total time: 0.241s
Rebooting                                          OKAY [  0.019s]
Finished. Total time: 0.069s
< waiting for any device >
                                                   OKAY [  0.002s]
Finished. Total time: 0.002s
Sending 'boot' (4562 KB)                           OKAY [  0.149s]
Writing 'boot'                                     OKAY [  1.493s]
Finished. Total time: 1.667s
Sending 'recovery' (4562 KB)                       OKAY [  0.161s]
Writing 'recovery'                                 OKAY [  1.474s]
Finished. Total time: 1.656s
Sending 'system' (11904 KB)                        OKAY [  0.451s]
Writing 'system'                                   OKAY [  5.467s]
Finished. Total time: 5.981s
Sending 'recoveryfs' (13568 KB)                    OKAY [  0.498s]
Writing 'recoveryfs'                               OKAY [  4.019s]
Finished. Total time: 4.566s
Rebooting                                          OKAY [  0.004s]
Finished. Total time: 0.054s
Done!
I'm not sure if the error in the output is critical, or what to do about it. I then tried the
Code:
sudo fastboot flash modem NON-HLOS.ubi
command, which is now showing <waiting for any device> for about an hour with no indication of progress.
Any suggestions?