We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

Mobile network related settings are sometimes missing after boot

asked 2016-07-09 16:55:30 +0200

luen gravatar image

On Fairphone 2 with Sailfish OS 2.0.0.10, mobile network related settings (mobile network, internet sharing, PIN code and message settings) are sometimes missing after boot. I have succeeded to reproduce the problem by immediately after boot swipe to the events screen and pull down the shortcuts from the top, including the shortcuts to toggle mobile data and internet sharing on/off. If I do this quick enough, those two shortcuts are missing and the network related settings are missing from the settings menu. If I remove mobile data and internet sharing from the shortcuts, I can't reproduce it anymore. My theory is that if the action to show the network shortcuts is triggered before mobile network is fully initialised, this causes some error that blocks network settings from being added to the settings menu.

I have saved journald logs both from when it works and when it not works, and in the logs from when the settings are missing, there are these lines:

jul 02 20:30:25 fp2 lipstick[1177]: [C] FavoritesModel::updateItems:294 - favoritesmodel.cpp 294 Path not found: "system_settings/connectivity/mobile/context0"
jul 02 20:30:25 fp2 lipstick[1177]: [C] FavoritesModel::updateItems:294 - favoritesmodel.cpp 294 Path not found: "system_settings/connectivity/tethering/wlan_hotspot_switch"
jul 02 20:30:25 fp2 lipstick[1177]: [C] FavoritesModel::updateItems:294 - favoritesmodel.cpp 294 Path not found: "system_settings/connectivity/mobile/context0"
jul 02 20:30:25 fp2 lipstick[1177]: [C] FavoritesModel::updateItems:294 - favoritesmodel.cpp 294 Path not found: "system_settings/connectivity/tethering/wlan_hotspot_switch"
jul 02 20:30:26 fp2 lipstick[1177]: [C] FavoritesModel::updateItems:294 - favoritesmodel.cpp 294 Path not found: "system_settings/connectivity/mobile/context0"
jul 02 20:30:26 fp2 lipstick[1177]: [C] FavoritesModel::updateItems:294 - favoritesmodel.cpp 294 Path not found: "system_settings/connectivity/tethering/wlan_hotspot_switch"

I don't remember seeing the problem on my old Jolla phone, so it would be interesting if someone could reproduce it on some other device than Fairphone 2. There is a similar problem here but I'm not sure it is the same problem.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2016-07-12 13:41:27 +0200

mal gravatar image

This is a known timing related bug (ofono is not ready early enough) caused by a mismatch between the middleware and UI packages. This mismatch is due to the fact that Fairphone 2 and many other new ported devices need a newer ofono than the one included in 2.0.0.10 or 2.0.1.11. There is a hack in the alpha1 release which attempts to fix this but it's not always working. The same problem occurs on most recent community ports some of which have a different hack for the issue but I had problems with that in the past so I went with my version. The problem should go away after 2.0.2 is released.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-07-09 16:55:30 +0200

Seen: 313 times

Last updated: Jul 12 '16