Cannot flash the modem firmware
#9
Hello

Running "sudo su" before running "./flashall" helps, it works. When I turn on my Pinephone, it sees the SIM card anew. I haven't changed ADSP firmware this time. I have changed the udev rule but I still lose the connection Sad When I try to flash the ADSP firmware, it just displays "waiting for any device". Please advise.

This is what I do to flash the ADSP firmware:
sudo su
echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
fastboot flash modem NON-HLOS.ubi && fastboot reboot

I tried to use minicom -D /dev/ttyUSB2 to get the current version of ADSP by using the command AT+QGMR but it just echoes what I enter, what am I missing?

Running "sudo su" before running "./flashall" worked on my old Pinephone but not on a Pinephone I bought several months ago, it stays stuck at "waiting for any device". It doesn't even work correctly on a brand new phone.

Is "mmcli -m any --command='AT+QGMR'" intended to work with the stock modem firmware?
  Reply


Messages In This Thread
Cannot flash the modem firmware - by anonymous - 09-14-2025, 01:00 PM
RE: Cannot flash the modem firmware - by biketool - 09-15-2025, 12:50 PM
RE: Cannot flash the modem firmware - by biketool - 09-16-2025, 02:54 AM
RE: Cannot flash the modem firmware - by Gumur - 09-16-2025, 07:43 AM
RE: Cannot flash the modem firmware - by biketool - 09-16-2025, 09:16 AM
RE: Cannot flash the modem firmware - by anonymous - 10-26-2025, 11:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Logging modem dialout attempts biketool 2 1,816 04-11-2025, 02:47 AM
Last Post: vusra
  Modem wakes for incoming call, but too slow to answer the call dchang0 8 3,532 12-01-2024, 07:54 PM
Last Post: dchang0
  [Megapixels] Flash strobe, pictures viewer and MPCamera error 22 freelectro 1 2,672 08-30-2023, 03:59 AM
Last Post: karensather
  MODEM - Usb problem & couldn't query SIM slots: QMI protocol freelectro 5 7,762 06-06-2023, 06:36 AM
Last Post: freelectro
  ModemManager debug mode? (Needed to flash modem) calinb 1 3,332 02-27-2023, 04:18 PM
Last Post: calinb
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 10,504 09-23-2022, 05:15 AM
Last Post: biketool
  Firmware upgrade via fwupd user641 3 4,641 04-24-2022, 11:01 AM
Last Post: yehudac
  Biktorj's firmware user641 5 6,345 03-08-2022, 05:15 PM
Last Post: user641
  Phosh modem on/off effectiveness? Zebulon Walton 0 1,759 01-24-2022, 09:21 AM
Last Post: Zebulon Walton
  How to flash a µSD-Card with Balena Etcher walter1950 1 2,441 01-22-2022, 02:06 AM
Last Post: bcnaz

Forum Jump:


Users browsing this thread: 1 Guest(s)