Temporary fix for Modem Not Coming Back on in SXMO Postmarketos Pinephone

I hope this script can be useful to someone, but basically the instructions are in the github.

Its a cron job that runs to check if the modem is there, and if it isn't there it will wake it up.

This should work on systemd, too, but it may need some tweaking, as I haven't tested it on systemd.

Thanks for you work looking into this problem.  I'm glad to see I'm not alone in this problem and making efforts to mitigate it. 

I was excited to see that restarting eg25-manager might get a modem that's gone missing back online. I can restart eg25-manager without any errors but unfortunately in my case, it doesn't help Sad So far the only sure-fire method I've found is to restart the device. I'm considering automating a call to reboot when the modem disappears, but for now I just have the phone play an audio file every minute to remind me to restart.

I've also seen a second problem that I intend to see if an eg25-manager restart might help. Every so often my phone loses its LTE connection, and when this happens I can't place or receive calls. Since it's not readily apparent if I'm not getting a call because no one's calling or because LTE is off in the weeds, this is also a problem. So again, I play a sound to tell me to check the phone. I thought that mmcli -m 0 -e might fix things but that experiment failed. Sometimes LTE comes back on its own . . .

I'll post if I find anything else of note.


Hmmm. restarting eg25-manager might actually have worked after all. I tried it when LTE service dropped out and it didn't appear to help when I rechecked the output of mmcli -m 0|grep access. But the modem had returned as modem 1, and I was just assuming it would be restarted as modem 0 again. I'll have to wait for the modem to disappear again to retest this.

Possibly Related Threads…
Thread Author Replies Views Last Post
Heart What native PinePhone application would you like to see in the near future? kern707 98 42,952 08-02-2022, 12:27 AM
Last Post: shulamy
  PinePhone Pro battery life Barugon 17 7,433 07-29-2022, 09:23 AM
Last Post: prog-amateur
Rainbow New Pinephone for sale, Beta w Convergence Package megst 0 99 07-26-2022, 11:40 AM
Last Post: megst
  Is the Pinephone good for me? FooTester 5 403 07-20-2022, 08:14 AM
Last Post: FooTester
  SELLING: Pinephone 3GB RAM 32GB ROM gerstavros 9 1,365 07-19-2022, 12:11 PM
Last Post: gerstavros
  To live and die on LTE (with a Pinephone) robthebold 2 380 07-08-2022, 11:57 AM
Last Post: robthebold
  PinePhone sound issues Chief 4 425 07-05-2022, 07:58 PM
Last Post: Chief
  get a KVM switch from pinephone cybercommunist 0 204 06-29-2022, 02:14 AM
Last Post: cybercommunist
  Activating a SIM on Pinephone jhasler 5 843 06-26-2022, 06:47 AM
Last Post: joe_w
  postmarketOS fixed battery issues Deadladyofclowntown 1 376 06-23-2022, 02:44 PM
Last Post: zer0sig

Forum Jump:

Users browsing this thread: 1 Guest(s)