How to restart mobile network without restarting device?
(edit; fixed the log to look better and added a log from working case...)
Once in a while my XperiaX loses mobile network and os not able to reconnect, similarily as removing and reinserting simcard. My sw version is 3.1.0.11 and I vaguely remember it used to be possible to resgart networking simply by activating and deactivating airplane mode...
Restarting ofono does not help, so I wonder what ks the proper way to restart the whole network stack like from poweroff state but keeping the device fully powered all the time?
FAILURE-log looks like this;
[root@Sailfish nemo]# systemctl status ofono.service
● ofono.service - Telephony service
Loaded: loaded (/lib/systemd/system/ofono.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2019-08-27 17:55:18 EEST; 4s ago
Main PID: 20976 (ofonod)
CGroup: /system.slice/ofono.service
└─20976 /usr/sbin/ofonod -n --nobacktrace --noplugin=,he910,dun_gw_bluez5,hfp_bluez5,cdma_pro...
Aug 27 17:55:18 Sailfish ofonod[20976]: Excluding SpeedUp modem driver
Aug 27 17:55:18 Sailfish ofonod[20976]: Excluding Phone Simulator driver
Aug 27 17:55:18 Sailfish ofonod[20976]: Excluding CDMA AT modem driver
Aug 27 17:55:18 Sailfish ofonod[20976]: Excluding External Hands-Free Profile ...in
Aug 27 17:55:18 Sailfish ofonod[20976]: Excluding Dial-up Networking Profile P...ns
Aug 27 17:55:18 Sailfish ofonod[20976]: Excluding CDMA provisioning Plugin
Aug 27 17:55:18 Sailfish ofonod[20976]: Register Profile interface failed: /bl...ag
Aug 27 17:55:18 Sailfish ofonod[20976]: RIL1 version 11
Aug 27 17:55:18 Sailfish ofonod[20976]: SIM card OK
Aug 27 17:55:18 Sailfish ofonod[20976]: Power request failed: GENERIC_FAILURE
WORKING_OK-log looks like this;
● ofono.service - Telephony service
Loaded: loaded (/lib/systemd/system/ofono.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2019-08-27 18:48:05 EEST; 1h 49min ago
Main PID: 831 (ofonod)
CGroup: /system.slice/ofono.service
└─831 /usr/sbin/ofonod -n --nobacktrace --noplugin=,he910,dun_gw_bluez5,hfp_bluez5,cdma_pro...
Aug 27 19:40:36 Sailfish ofonod[831]: sms received, smsc_len is 8
Aug 27 19:40:55 Sailfish ofonod[831]: sms received, smsc_len is 8
Aug 27 19:44:32 Sailfish ofonod[831]: data reg changed 1 -> 0 (unregistered), attached 1
Aug 27 19:44:32 Sailfish ofonod[831]: Deactivating context: 1
Aug 27 19:44:32 Sailfish ofonod[831]: data reg changed 0 -> 1 (registered), attached 1
Aug 27 19:44:32 Sailfish ofonod[831]: Deactivating context: 1
Aug 27 19:44:32 Sailfish ofonod[831]: Deactivating context: 1
Aug 27 19:44:32 Sailfish ofonod[831]: Clearing active context
Aug 27 19:44:33 Sailfish ofonod[831]: Activating context: 1
Aug 27 19:44:33 Sailfish ofonod[831]: setting up data call
I think, I am hit by this problem, too: Xperia X with version 3.1.0.11, mobile turns off and can't be reanabled.
This question is about restarting mobile data. Is there a more general question about this issue "Jolla, please fix this specific bug", too? I would like to vote for it.
It is good, to be able to "repair mobil data", if it is broken. But it would be way better, if the device would repair itself automatically. I don't want to check and manually repair "mobile data" every hour. But I don't want to miss chat messages, too.
ralooyar ( 2019-09-13 10:19:32 +0200 )edit