[C2] Mobile network unavailable, ofono crashes badly, continuously, dumps core

Thanks a lot! I can confirm your workaround!

EDIT: Simplification!

My symptoms. Basically after failed SMS ofono lose sanity :wink: . So no mobile network at all. Some did report success after many reboots.

I did try to erase that SMS in the app itself but that didn’t help!

So command line it is.

  1. First check that this is the proper issue: ofono in failed state.
[defaultuser@JollaC2 ~]$ systemctl --failed

Note that for now lxc@multi-user.service and pulseaudio.service can be in this list for reason unknown to me.

  1. If ofono is listed this seems to be the same bug and you should stop ofono during this process as root:
[defaultuser@JollaC2 ~]$ devel-su
[root@JollaC2 defaultuser]# systemctl stop ofono.service
  1. Then find the newest stuck SMS in nonempty tx queue:
[root@JollaC2 ofono]# ls -lR /var/lib/ofono/*/tx_queue/* | grep -B 2 radio
/var/lib/ofono/293400130011175/tx_queue/0-15-B43D6FFB5F8E9DBA53425680E83862CCA4DA7982:
total 4
-rw-------    1 radio    radio           86 Nov 25 15:42 000

Which in this case is obviously file 000 (name is after time) in 0-15-B43D6FFB5F8E9DBA53425680E83862CCA4DA7982.

Optionally double check it’s content (note that due to different codepage in CLI it might seem corrupted):

[root@JollaC2 defaultuser]# cat /var/lib/ofono/293400130011175/tx_queue/0-15-B43D6FFB5F8E9DBA53425680E83862CCA4DA7982/000 
  ��61�e�& pozdrav,
  1. And then remove that file (in this case 000):
[root@JollaC2 defaultuser]# rm /var/lib/ofono/293400130011175/tx_queue/0-15-B43D6FFB5F8E9DBA53425680E83862CCA4DA7982/000 
  1. And finally reboot or even faster:
    [root@JollaC2 defaultuser]# systemctl restart ofono.service
    C2 works as before!
6 Likes