Cannot flash the modem firmware
#1
Exclamation 
Hello

I cannot flash the modem firmware. I succeeded in flashing ADSP by using ADSP Version EG25GGBR07A08M2G_30.202.30.202 but when I run flashall (with or without sudo), it just displays "waiting for any device". I tried to run each command line one by one and this message appears when running "fastboot oem stay":
https://github.com/the-modem-distro/pine...s/flashall

How can I solve this problem?

I'm under Mobian bookwork, I'll switch to Mobian trixie when this problem is solved.

P.S: I'm going to upgrade the operating system first, it had worked with Mobian Trixie once for sure.
  Reply
#2
(09-14-2025, 01:00 PM)anonymous Wrote: Hello

I cannot flash the modem firmware. I succeeded in flashing ADSP by using ADSP Version EG25GGBR07A08M2G_30.202.30.202 but when I run flashall (with or without sudo), it just displays "waiting for any device". I tried to run each command line one by one and this message appears when running "fastboot oem stay":
https://github.com/the-modem-distro/pine...s/flashall

How can I solve this problem?

I'm under Mobian bookwork, I'll switch to Mobian trixie when this problem is solved.

P.S: I'm going to upgrade the operating system first, it had worked with Mobian Trixie once for sure.

what type of sim does your pinephone (or PP pro) use?
remember you need to use sudo su and then execute the scripts as real root, just usng sudo will fail you.
  Reply
#3
Exclamation 
(09-15-2025, 12:50 PM)biketool Wrote:
(09-14-2025, 01:00 PM)anonymous Wrote: Hello

I cannot flash the modem firmware. I succeeded in flashing ADSP by using ADSP Version EG25GGBR07A08M2G_30.202.30.202 but when I run flashall (with or without sudo), it just displays "waiting for any device". I tried to run each command line one by one and this message appears when running "fastboot oem stay":
https://github.com/the-modem-distro/pine...s/flashall

How can I solve this problem?

I'm under Mobian bookwork, I'll switch to Mobian trixie when this problem is solved.

P.S: I'm going to upgrade the operating system first, it had worked with Mobian Trixie once for sure.

what type of sim does your pinephone (or PP pro) use?
remember you need to use sudo su and then execute the scripts as real root, just usng sudo will fail you.

I use the Pinephone (not the Pinephone Pro). Thank you for the tip, I used only sudo.

By the way, my upgrade from Mobian Bookworm to Trixie failed, I tried to use your suggestion, I use full disk encryption:
https://forum.pine64.org/showthread.php?...#pid112326

When I enter "resizepart 2 100%" and "print", the size of the boot partition doesn't change. Am I missing something obvious?

parted displays:
Number Start         End         Size        Type       File system Flags
1            8389kB    512 MB   503 MB   primary  ext4             boot
2            512 MB    31.0GB   30.5GB   primary

Should I use resize2fs -M?
  Reply
#4
(09-15-2025, 04:33 PM)anonymous Wrote:
(09-15-2025, 12:50 PM)biketool Wrote:
(09-14-2025, 01:00 PM)anonymous Wrote: Hello

I cannot flash the modem firmware. I succeeded in flashing ADSP by using ADSP Version EG25GGBR07A08M2G_30.202.30.202 but when I run flashall (with or without sudo), it just displays "waiting for any device". I tried to run each command line one by one and this message appears when running "fastboot oem stay":
https://github.com/the-modem-distro/pine...s/flashall

How can I solve this problem?

I'm under Mobian bookwork, I'll switch to Mobian trixie when this problem is solved.

P.S: I'm going to upgrade the operating system first, it had worked with Mobian Trixie once for sure.

what type of sim does your pinephone (or PP pro) use?
remember you need to use sudo su and then execute the scripts as real root, just usng sudo will fail you.

I use the Pinephone (not the Pinephone Pro). Thank you for the tip, I used only sudo.

By the way, my upgrade from Mobian Bookworm to Trixie failed, I tried to use your suggestion, I use full disk encryption:
https://forum.pine64.org/showthread.php?...#pid112326

When I enter "resizepart 2 100%" and "print", the size of the boot partition doesn't change. Am I missing something obvious?

parted displays:
Number Start         End         Size        Type       File system Flags
1            8389kB    512 MB   503 MB   primary  ext4             boot
2            512 MB    31.0GB   30.5GB   primary

Should I use resize2fs -M?

OK it is important to know that you will probably end up with a softbricked modem when upgrading, it is just something to do with the sightly different firmware on the PPpro and maybe newer PPs.
It is no big deal though. the modem firmware page had the complete fix and it works for everyone I know of who has used it.
rely on this and not the git below https://themodemdistro.com/efs_recovery
https://github.com/the-modem-distro/pinephone_modem_sdk

Since we are in a modem thread, does everyone else get a very-warm to hot PPpro when making 3g voice calls? It gets uncomfortable and I don't want to think about the wasted battery.
  Reply
#5
Exclamation 
Do I have to follow the EFS recovery procedure after upgrading to Trixie even though I haven't launched ./flashall yet?
  Reply
#6
(09-16-2025, 06:22 AM)anonymous Wrote: Do I have to follow the EFS recovery procedure after upgrading to Trixie even though I haven't launched ./flashall yet?

If lsusb does not list the modem I think you may need to follow these instructions:

https://github.com/Biktorgj/quectel_eg25...est-points

Then, avoid 30.202. I flashed 01.003 which is enough good for me.
Qfirehose in my case (mobian bookworm) ran perfectly.
  Reply
#7
(09-16-2025, 07:43 AM)Gumur Wrote:
(09-16-2025, 06:22 AM)anonymous Wrote: Do I have to follow the EFS recovery procedure after upgrading to Trixie even though I haven't launched ./flashall yet?

If lsusb does not list the modem I think you may need to follow these instructions:

https://github.com/Biktorgj/quectel_eg25...est-points

Then, avoid 30.202. I flashed 01.003 which is enough good for me.
Qfirehose in my case (mobian bookworm) ran perfectly.

scour the git for the ADB modem reset and reboot commands, also the reset/reboot using the hardware switch or just try full shutdown, remove battery, and bootup, I have never needed the shorted pads fix.
The good news I have never seen anyone on the forum hard-brick a modem, even the PPpro post firmware still lets you do the rebuild checklist.
dont worry, chill, have a drink,do a round of your tank game, watch a video, re-read the instructions and you will get it done.Like I said,most everyone who has a PPpro has had to rebuild the modem firmware if they try flashing the open(partly) firmware because of the bug.
Also remember to use sudo su to run ADB, scripts, and fastboot commands needed to reboot and reset the modem to prepare flashing.  You have this, no stress at all.
  Reply
#8
Exclamation 
Ok I'll use "sudo su" and I won't use the very last version of ADSP when flashing.
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)