![]() |
|
Cannot flash 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) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Cannot flash the modem firmware (/showthread.php?tid=19997) |
Cannot flash the modem firmware - anonymous - 09-14-2025 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/pinephone_modem_sdk/blob/hardknott/tools/helpers/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. RE: Cannot flash the modem firmware - biketool - 09-15-2025 (09-14-2025, 01:00 PM)anonymous Wrote: Hello 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. RE: Cannot flash the modem firmware - anonymous - 09-15-2025 (09-15-2025, 12:50 PM)biketool Wrote:(09-14-2025, 01:00 PM)anonymous Wrote: Hello 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?tid=16973&pid=112326#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? RE: Cannot flash the modem firmware - biketool - 09-16-2025 (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 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. RE: Cannot flash the modem firmware - anonymous - 09-16-2025 Do I have to follow the EFS recovery procedure after upgrading to Trixie even though I haven't launched ./flashall yet? RE: Cannot flash the modem firmware - Gumur - 09-16-2025 (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_recovery?tab=readme-ov-file#enter-edl-with-test-points Then, avoid 30.202. I flashed 01.003 which is enough good for me. Qfirehose in my case (mobian bookworm) ran perfectly. RE: Cannot flash the modem firmware - biketool - 09-16-2025 (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? 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. RE: Cannot flash the modem firmware - anonymous - 09-16-2025 Ok I'll use "sudo su" and I won't use the very last version of ADSP when flashing. RE: Cannot flash the modem firmware - anonymous - 10-26-2025 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 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? |