answered
2018-05-15 19:52:29 +0200
I have the same issue. Xperia X (SF 2.1.4.14) loses connection after restarting
in a few minutes.
I'll try to shed some light on the issue in my case.
Here are the facts that I gathered while investigating.
When I'm sharing internet connection from the phone the connection stays longer
on when data is transferred eg. YT video or even setting up ping.
When nothing is transferred and the phone is left on its own after a few minutes
it seems to auto-disconnect from the network.
The connection gets back only if:
1. I restart the phone.
2. I switch plane mode off->on (sometimes twice)
3. I restart the ofono service using terminal (also twice)
Using the advice linked in this thread
https://together.jolla.com/question/177574/mobile-network-issues/
I managed to gather logs from ofono service.
This is log after restart:
The error "Requested file structure differs... " seems to be irrelevant.
May 15 17:36:56 Sailfish ofonod[16278]: [grilio] Deserializing RIL1
May 15 17:36:56 Sailfish ofonod[16278]: SIM card OK
May 15 17:36:56 Sailfish ofonod[16278]: [grilio] Cancelled RIL1 request 73 (0000000e/0000000e)
May 15 17:36:56 Sailfish ofonod[16278]: [mce] Name 'com.nokia.mce' is owned by :1.1
May 15 17:36:56 Sailfish ofonod[16278]: [mce] Display is currently off
May 15 17:36:57 Sailfish ofonod[16278]: Requested file structure differs from SIM: 6fb7
May 15 17:36:57 Sailfish ofonod[16278]: Registered interface org.ofono.NetworkTime, path /ril_0
May 15 17:36:57 Sailfish ofonod[16278]: data reg changed 0 -> 2 (searching), attached 0
May 15 17:36:57 Sailfish ofonod[16278]: Requested file structure differs from SIM: 6fb7
May 15 17:36:58 Sailfish ofonod[16278]: read_info_cb: 6f4a not found
May 15 17:37:00 Sailfish ofonod[16278]: export_entries_one_storage_cb with ME failed
And the log from ofono stops.
In this state I have no connection whatsoever.
Restarting again:
May 15 17:39:54 Sailfish ofonod[16707]: [grilio] Opened /dev/socket/rild
May 15 17:39:54 Sailfish ofonod[16707]: [grilio] Serializing RIL1
May 15 17:39:54 Sailfish ofonod[16707]: [grilio] Connected, RIL version 11
May 15 17:39:54 Sailfish ofonod[16707]: SIM card OK
May 15 17:39:54 Sailfish ofonod[16707]: [grilio] Deserializing RIL1
May 15 17:39:54 Sailfish ofonod[16707]: [grilio] Cancelled RIL1 request 73 (0000000e/0000000e)
May 15 17:39:55 Sailfish ofonod[16707]: Requested file structure differs from SIM: 6fb7
May 15 17:39:55 Sailfish ofonod[16707]: Registered interface org.ofono.NetworkTime, path /ril_0
May 15 17:39:55 Sailfish ofonod[16707]: data reg changed 0 -> 2 (searching), attached 0
May 15 17:39:55 Sailfish ofonod[16707]: Requested file structure differs from SIM: 6fb7
May 15 17:39:55 Sailfish ofonod[16707]: data reg changed 2 -> 0 (unregistered), attached 0
May 15 17:39:56 Sailfish ofonod[16707]: data reg changed 0 -> 5 (roaming), attached 0
May 15 17:39:56 Sailfish ofonod[16707]: Activating context: 1
May 15 17:39:56 Sailfish ofonod[16707]: setting up data call
May 15 17:39:56 Sailfish ofonod[16707]: read_info_cb: 6f4a not found
May 15 17:39:58 Sailfish ofonod[16707]: export_entries_one_storage_cb with ME failed
May 15 17:40:08 Sailfish ofonod[16707]: sms received, smsc_len is 8
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> RESPONSE_VOICE_NETWORK_STATE_CHANGED
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> 0000: 01 00 00 00 ea 03 00 00 ........
May 15 17:40:12 Sailfish ofonod[16707]: drivers/ril/ril_network.c:ril_network_state_changed_cb()
May 15 17:40:12 Sailfish ofonod[16707]: drivers/ril/ril_network.c:ril_network_poll_state()
May 15 17:40:12 Sailfish ofonod[16707]: RIL1< [0000019d] OPERATOR
May 15 17:40:12 Sailfish ofonod[16707]: RIL1< 0000: 16 00 00 00 9d 01 00 00 ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1< [0000019e] VOICE_REGISTRATION_STATE
May 15 17:40:12 Sailfish ofonod[16707]: RIL1< 0000: 14 00 00 00 9e 01 00 00 ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1< [0000019f] DATA_REGISTRATION_STATE
May 15 17:40:12 Sailfish ofonod[16707]: RIL1< 0000: 15 00 00 00 9f 01 00 00 ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> [0000019f] OK
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> 0000: 00 00 00 00 9f 01 00 00 00 00 00 00 0b 00 00 00 ........ ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0010: 01 00 00 00 35 00 00 00 ff ff ff ff 08 00 00 00 ....5... ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0020: 30 00 32 00 65 00 36 00 39 00 39 00 30 00 31 00 0.2.e.6. 9.9.0.1.
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0030: 00 00 00 00 02 00 00 00 31 00 34 00 00 00 00 00 ........ 1.4.....
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0040: ff ff ff ff 02 00 00 00 32 00 30 00 00 00 00 00 ........ 2.0.....
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0050: 05 00 00 00 35 00 39 00 30 00 31 00 35 00 00 00 ....5.9. 0.1.5...
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0060: 03 00 00 00 32 00 31 00 39 00 00 00 08 00 00 00 ....2.1. 9.......
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0070: 34 00 38 00 36 00 36 00 36 00 38 00 38 00 31 00 4.8.6.6. 6.8.8.1.
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0080: 00 00 00 00 ff ff ff ff ff ff ff ff ........ ....
May 15 17:40:12 Sailfish ofonod[16707]: drivers/ril/ril_network.c:ril_network_parse_response() roaming,(null),02e69901,14,lte,(null),20
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> [0000019e] OK
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> 0000: 00 00 00 00 9e 01 00 00 00 00 00 00 0f 00 00 00 ........ ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0010: 01 00 00 00 35 00 00 00 04 00 00 00 65 00 36 00 ....5... ....e.6.
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0020: 38 00 37 00 00 00 00 00 08 00 00 00 30 00 32 00 8.7..... ....0.2.
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0030: 65 00 36 00 39 00 39 00 30 00 31 00 00 00 00 00 e.6.9.9. 0.1.....
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0040: 02 00 00 00 31 00 34 00 00 00 00 00 ff ff ff ff ....1.4. ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0050: ff ff ff ff ff ff ff ff 01 00 00 00 30 00 00 00 ........ ....0...
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0060: ff ff ff ff ff ff ff ff 01 00 00 00 30 00 00 00 ........ ....0...
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0070: ff ff ff ff ff ff ff ff 01 00 00 00 30 00 00 00 ........ ....0...
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0080: ff ff ff ff ....
May 15 17:40:12 Sailfish ofonod[16707]: drivers/ril/ril_network.c:ril_network_parse_response() roaming,e687,02e69901,14,lte,(null),(null)
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> [0000019d] OK
May 15 17:40:12 Sailfish ofonod[16707]: RIL1> 0000: 00 00 00 00 9d 01 00 00 00 00 00 00 03 00 00 00 ........ ........
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0010: 0d 00 00 00 50 00 4c 00 41 00 59 00 20 00 28 00 ....P.L. A.Y. .(.
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0020: 4f 00 72 00 61 00 6e 00 67 00 65 00 29 00 00 00 O.r.a.n. g.e.)...
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0030: 0d 00 00 00 50 00 4c 00 41 00 59 00 20 00 28 00 ....P.L. A.Y. .(.
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0040: 4f 00 72 00 61 00 6e 00 67 00 65 00 29 00 00 00 O.r.a.n. g.e.)...
May 15 17:40:12 Sailfish ofonod[16707]: RIL1 0050: 05 00 00 00 32 00 36 00 30 00 30 00 33 00 00 00 ....2.6. 0.0.3...
This time it has a connection.
After the screen turns off, the console stops sending log either.
So I press the wake button to get the console working again.
To my surprise the logs show that ofono service is also restarting for no reason
May 15 16:27:03 Sailfish systemd[1]: Stopping Telephony service...
May 15 16:27:03 Sailfish ofonod[7216]: [grilio] Cancelled RIL1 request 123 (00000191/00000191)
May 15 16:27:03 Sailfish ofonod[7216]: Exit
May 15 16:27:03 Sailfish systemd[1]: Stopped Telephony service.
May 15 16:27:03 Sailfish systemd[1]: Starting Telephony service...
May 15 16:27:03 Sailfish systemd[1]: Started Telephony service.
And of course after a while the connection is lost.
Then the log contains only: Frames beginning with DATA_CALL_LIST_CHANGED
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_list_changed_cb()
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_list() 11 cell(s):
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=1,mcc=260,mnc=6,ci=1198430,pci=191,tac=12,strength=19,rsrp=105,rsrq=11,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=279,tac=2147483647,strength=15,rsrp=103,rsrq=10,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=195,tac=2147483647,strength=15,rsrp=115,rsrq=20,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=286,tac=2147483647,strength=15,rsrp=109,rsrq=16,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=279,tac=2147483647,strength=12,rsrp=107,rsrq=8,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=0,tac=2147483647,strength=31,rsrp=0,rsrq=0,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=0,tac=2147483647,strength=31,rsrp=0,rsrq=0,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=0,tac=2147483647,strength=31,rsrp=0,rsrq=0,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=0,tac=2147483647,strength=31,rsrp=0,rsrq=0,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=0,tac=2147483647,strength=31,rsrp=0,rsrq=0,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_cell_info.c:ril_cell_info_parse_cell_lte() [lte] reg=0,mcc=2147483647,mnc=2147483647,ci=2147483647,pci=0,tac=2147483647,strength=31,rsrp=0,rsrq=0,rssnr=2147483647,cqi=2147483647,t=0x7fffffff
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_cells_changed_cb()
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_0 removed
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_1 removed
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_2 removed
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_3 removed
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_4 added
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_5 added
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_6 added
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_7 added
May 15 16:47:23 Sailfish ofonod[7272]: plugins/sailfish_manager/sailfish_cell_info_dbus.c:sailfish_cell_info_dbus_update_entries() /ril_0/cell_8 added
May 15 16:47:23 Sailfish ofonod[7272]: RIL1> DATA_CALL_LIST_CHANGED
May 15 16:47:23 Sailfish ofonod[7272]: RIL1> 0000: 01 00 00 00 f2 03 00 00 0b 00 00 00 01 00 00 00 ........ ........
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0010: 00 00 00 00 ff ff ff ff 00 00 00 00 01 00 00 00 ........ ........
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0020: 06 00 00 00 49 00 50 00 56 00 34 00 56 00 36 00 ....I.P. V.4.V.6.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0030: 00 00 00 00 0b 00 00 00 72 00 6d 00 6e 00 65 00 ........ r.m.n.e.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0040: 74 00 5f 00 64 00 61 00 74 00 61 00 30 00 00 00 t._.d.a. t.a.0...
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0050: 10 00 00 00 31 00 30 00 2e 00 31 00 33 00 37 00 ....1.0. ..1.3.7.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0060: 2e 00 32 00 33 00 2e 00 31 00 35 00 38 00 2f 00 ..2.3... 1.5.8./.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0070: 33 00 30 00 00 00 00 00 1b 00 00 00 38 00 39 00 3.0..... ....8.9.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0080: 2e 00 31 00 30 00 38 00 2e 00 31 00 39 00 35 00 ..1.0.8. ..1.9.5.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 0090: 2e 00 32 00 30 00 20 00 38 00 39 00 2e 00 31 00 ..2.0. . 8.9...1.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 00a0: 30 00 38 00 2e 00 32 00 30 00 32 00 2e 00 32 00 0.8...2. 0.2...2.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 00b0: 31 00 00 00 0d 00 00 00 31 00 30 00 2e 00 31 00 1....... 1.0...1.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 00c0: 33 00 37 00 2e 00 32 00 33 00 2e 00 31 00 35 00 3.7...2. 3...1.5.
May 15 16:47:23 Sailfish ofonod[7272]: RIL1 00d0: 37 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 7....... ........
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_data.c:ril_data_call_list_parse() version=11,num=1
May 15 16:47:23 Sailfish ofonod[7272]: drivers/ril/ril_data.c:ril_data_call_list_parse() [status=0,retry=-1,cid=0,active=1,type=IPV4V6,ifname=rmnet_data0,mtu=1280,address=10.137.23.158/30, dns=89.108.195.20 89.108.202.21,gateways=10.137.23.157]
May 15 16:47:23 Sailfish ofonod[7272]: RIL1> SIGNAL_STRENGTH
I suppose that the problem occurs due to some power-saving mode which makes ofono
service fail and when restarted impossible to reconnect. Is there a way to prevent services from freezing?
I would do further investigation because my phone is simply unusable right now unless left with
Youtube playing all the time.
What should I check now to further investigate the issue?
same here. sometimes its enough to just change e.g. 3g preferred to 4g preferred but its annoying
NuklearFart ( 2017-10-18 14:10:15 +0200 )editSame here.
NikosAlexandris ( 2017-10-18 16:53:08 +0200 )editShort version: I think the network stack is broken in Sailfish. Hopefully Jolla has the skills and will allocate the needed resources for fixing this critical part of a mobile device.
Longer + rant: My experience with cell network management/coverage/recovery Jolla devices was and is awful. Things went from bad to worse at 2.0 update (around dual sim support addition time). This is by very far my main concern with the phone.
What I have seen on both Jolla1 and JollaC:
These issues have been reported so often and all we got is that embarrassing "restart your phone" workaround.
I was in doubt on who to blame: the modest hardware in Jola1 and JolaC or SailfishOS itself. Given your post related to XPERIA, it seems to be SailfishOS (ofono?ril?), so upgrading to XPERIA won't solve my main problem. XPERIAs pack good hardware. Past experience shown reliable cell connectivity. I don't own a F5121, but reviews are good on the matter.
I start wondering if Jolla owns the engineering knowledge to address these issues at all (this may sound insulting, but it's not my intention - I know skilled engineers in this very narrow and specialised area are not legion)
Whichever at work between lack of skills and/or interest in allocating resources for fixing the basic features of a phone, the result is unreliable network. Unless you live hooked on a bird-frying 4G base. If the latter is the use-case considered by Jolla, I won't see a fix anytime soon :).
rtr2001 ( 2017-10-19 09:36:54 +0200 )edittoday there are much less problems with mobile internet
NuklearFart ( 2017-10-19 15:25:32 +0200 )edit@NuklearFart: I have not noticed any recent mobile network improvement on my say - 2-3y on Jolla1 or since 2nd batch of JollaC has been dispatched. I sincerely hoped it's the hardware, and that XPERIA +SFOS would match Android in this area.
rtr2001 ( 2017-10-20 00:58:38 +0200 )edit