PINE64
Modem in failed state, not sending/receiving SMS - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: Modem in failed state, not sending/receiving SMS (/showthread.php?tid=16330)



Modem in failed state, not sending/receiving SMS - brb78 - 03-18-2022

I have a PP Braveheart on Arch Phosh that had worked fine for almost 2 years on Verizon's CDMA network. Calls, SMS, and now even MMS worked. Occasionally the inbound SMS would get hung up, but clearing the modem cache by connecting to the modem and runningĀ 
Code:
AT+CMGD=0,4
resolved that. Recently I wrote a systemd service/timer that ran
Code:
echo "AT+CMGD=0,4" > /dev/ttyUSB2
every hour. Seems my issues have arisen since then. Now when I try to manually clear the cache it just returns
Code:
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
repeatedly in minicom. I tried flashing biktorgj modem firmware to "refresh" my modem, but it gets hung at
Code:
Sending AT+QFASTBOOT...
< waiting for any device >
and detects no fastboot devices.
Code:
lsusb
returns
Code:
Bus 002 Device 002: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
So the modem is there, just not responding to me in the way I have become familiar with.

It seems maybe the modem may be the source of these SMS issues, but I'm not sure how to resolve it if its not responseive to minicom, atinout, or fastboot. Any thoughts?

also
Code:
sudo mmcli -m any -e
returns
Code:
error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'
I have tried restarting eg25-manager and rebooting. How might I get out of this failed state?


RE: Modem in failed state, not sending/receiving SMS - dukla2000 - 03-18-2022

Pretty much out of my depth, but pull the battery for 3 mins to make sure the modem gets a fresh start is my only suggestion.

Happened to me once my modem went into bizarre mode and mine did recover.


RE: Modem in failed state, not sending/receiving SMS - brb78 - 03-18-2022

tried pulling the battery, still booted back up in failed state


RE: Modem in failed state, not sending/receiving SMS - vap0rtranz - 03-19-2022

Temporarily boot to another distro, like pmOS or Manjaro, from SDCard. See if something became messed up during an upgrade.

If that ^ doesn't work, poke around on the issue trackers for something similar. IIRC, people have "lost" their modems before and sometimes recovered them. I've found the eg25-manager and modemmanager boards to be full of helpful details.

https://gitlab.com/mobian1/devices/eg25-manager
https://gitlab.freedesktop.org/mobile-broadband/ModemManager


RE: Modem in failed state, not sending/receiving SMS - brb78 - 03-30-2022

Same response in Mobian booted from sdcard. I think the issues is on the modem side. Any suggestions?


RE: Modem in failed state, not sending/receiving SMS - wibble - 03-31-2022

If all else fails you can look into opening the phone and jumpering pins / test points to boot the modem into EDL mode then reflashing with Qfirehose.
https://wiki.pine64.org/wiki/PineModems
https://github.com/Biktorgj/quectel_eg25_recovery