Ask / Submit

[Bug fixed] mobile network gets lost / crossing borders [answered]

asked 2017-11-27 22:10:06 +0200

Loenneberga gravatar image

updated 2017-12-13 00:41:40 +0200

homescreen.jpg settings.jpg

When I leave Germany with my Sailfish X (OS / t-mobile 4G network), roaming: always allowed, mode: 4G preferred, automatic carrier selection active, I encounter the following problem:

As soon as I don't have a t-mobile germany connection anymore and the foreign mobile network is available, the Sailfish X seems to lose mobile network connection permanently. Upon my arrival at my destination, in the upper right corner instead of 4G and the signal strength I can see a greyish square (see attachment "homescreen"). And the device has deactivated mobile data and roaming (see second attachment "settings"), while it seems to be searching for a 4G network.

I can't switch on data connection manually, but switch off and on the phone. Then I can turn on mobile data connection again manually - in Germany and abroad.

When I drive home again, i.e. foreign mobile network --> t-mobile germany it's the same problem.

What I already tried is to check and change APN settings. It didn't help.


When I bought my Sailfish X, I first used another sim card in it. After some days I put the t-mobile sim inside. That's why I thought today, this might be the problem:

I installed Ofono Log. But it didn't help solve the problem as described in the above helpdesk instructions.



When I crossed the german border this evening coming home from a neighbouring country, I was able to watch the Sailfish X all the time, i.e. as soon as the foreign network was out of reach, the phone chose a german mobile network (t-mobile) correctly - as it should - but then approximately 5-10 minutes later lost all mobile conncection - as described in my first posting here.

I opened network settings, but the settings weren't accessible anymore, but greyed out and not reactive. In the last line where usually your network operator can be found it said "Netz: Registrierung läuft" which means "Network: registration ongoing".


Today I tried out crossing the border using 3G (UMTS) only ("prefer 3G"), since @peperjohnny below in the comments gave this hint. Well in my case unfortunately it makes no difference. No matter "prefer 4G" or "prefer 3G": the issue persists.

I also tried to cross the border with flight mode active, i.e. I activated flight mode in germany then drove to the neighbouring country and deactivated flight mode. The device showed similar behaviour, i.e. all mobile network connection lost permanently.

The only workaround: reboot.

---update 4 = the solution---

Jolla helpdesk send me a bug fix by email, i.e. an rpm which changed ofono version from ofono-1.19+git34.1-1.56.1.armv7hl to ofono-1.20+git5-1.13.1.armv7hl. I installed this and afterwards crossed the border to and from my neighbouring country including network change (home country network to foreign network and vice versa) without any problem, i.e. without permanently loosing the the mobile network connection in the country that I was driving to. Problem solved. Thanks! They told be that the fix should be included in OS update 2.1.4.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Loenneberga
close date 2017-12-13 00:29:59.570724



This sounds similar to an issue recently reportet by @sbo : Unfortunately I don't know if this really is caused by the same reason or if any solutions have been found yet. Maybe @sbo can tell us that?

ghling ( 2017-11-28 09:07:25 +0200 )edit

I'm not with t-mobile but e-plus or o2 whatever they are called this days. I had the same issue I think. What helped me was to not use 4g as prefered but 3g. After that I could connect data without problems.

peperjohnny ( 2017-11-28 10:05:12 +0200 )edit

I had the very same issue with Czech T-mobile when I was traveling to Germany. My xperia x couldn't find the network so I changed the settings from automatically find network to manual and back and everything was fine after that.
Does your device works with mobile data? I have problem to connect to mobile data (I always got an error that I already reported to Jolla) with my t-mobile sim card.

sepuka ( 2017-11-28 10:31:23 +0200 )edit

Had this a while ago ;-) Finally found my APN was still as it was a decade ago. Now "internet.telekom" is working nicly. Other settings I have are Protokol as "IP", Authentifizierung as "CHAP", user-name and password don't matter, just something there is sufficiant.

reakolia ( 2017-11-28 23:42:21 +0200 )edit

I remember that my Xperia X received the wrong APN settings from my provider when I powered it on for the first time (only 3G worked). That was no big deal for me since I could simply correct it, but if you roam a lot this may become a problem. That sounds like a possible explanation for your issue. I'd contact Jolla via their customer care about it (and point towrads this suspicion).

ghling ( 2017-11-29 09:03:25 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-12-01 23:09:45 +0200

Loenneberga gravatar image

updated 2017-12-02 22:49:06 +0200

Well, I'd say this could be the beginning of an answer to the problem.

I recorded a logfile with Ofono when the connection to the mobile network was lost either way, i.e. going from germany to abroad and from abroad to germany.

It's always the same. I cross the border with an established mobile network connection from where I'm coming, then as soon as this network is out of range, the phone connects to the network of the country I'm driving to. So far, so good. But then after a few minutes mobile connection is lost permanently.

Here are some excerpts of the logfile. When the connection is lost permanently, it always starts with this line, which appears right before:

2017-12-01 09:27:17.118 src/stk.c: handle_command_refresh() NAA Initialization and Full File Change Notification

Then it goes one with these lines, that only appear when the connection is lost (these are only excerpts of the log):

2017-12-01 20:10:55.650 src/modem.c: flush_atoms() ...

2017-12-01 20:10:55.756 plugins/nettime.c: nettime_remove() Network time remove for modem: 0x8ee7b0 (/ril_0) ...

2017-12-01 20:10:55.756 plugins/nettime.c: nettime_netreg_watch_done() /ril_0 ...

2017-12-01 20:10:55.772 src/call-barring.c: call_barring_remove() atom: 0x8dd1d0 ...

2017-12-01 20:10:55.772 drivers/ril/ril_call_barring.c: ril_call_barring_remove() ...

2017-12-01 20:10:55.799 plugins/sailfish_pushforwarder.c: pf_sms_watch() unregistered ...

2017-12-01 20:10:55.799 plugins/push-notification.c: push_notification_cleanup() 0x8ed7e8 ...

2017-12-01 20:10:55.830 drivers/ril/ril_sim_card.c: ril_sim_card_update_sim_io_active() SIM I/O for slot 0 is active ...

2017-12-01 20:10:55.950 drivers/ril/ril_sim.c: ril_sim_io_response_ok() error: File not found ...

2017-12-01 20:10:55.950 RIL1> [0000048a] GENERIC_FAILURE ...

2017-12-01 20:10:55.997 RIL1> [0000048d] GENERIC_FAILURE ...

2017-12-01 20:10:56.071 RIL1> [00000493] GENERIC_FAILURE ...

2017-12-01 20:10:56.105 RIL1> [00000496] GENERIC_FAILURE ...

2017-12-01 20:10:56.151 drivers/ril/ril_sim_card.c: ril_sim_card_update_sim_io_active() SIM I/O for slot 0 is inactive ...

I'll send the log to Jolla, but maybe anyone else knows what this means?

edit flag offensive delete publish link more



Thanks for sharing the log file. I'm no expert in this area, but especially this line looks suspicious:

 2017-12-01 20:10:55.950 drivers/ril/ril_sim.c: ril_sim_io_response_ok() error: File not found ...

Let's hope that Jolla finds the reason for this issue. The best case would be some minor bug which can be fixed easily.

ghling ( 2017-12-02 20:17:55 +0200 )edit

In the meantime I was asking myself, if the device would show the same behaviour, if connection was lost (out of range / somewhere out there where is no coverage) and reestablished in my home country without crossing borders, too. I'll pay attention to this and let you know.

Loenneberga ( 2017-12-03 21:59:29 +0200 )edit

Waiting for Jolla helpdesk to reply, this evening I tried to edit /var/lib/ofono, because when I got my device I first used another sim inside - and here I found a possible solution for an issue caused by the usage of more than one sim card: and here

Indeed in "iccidmap" I found more than one sim number and I deleted the first one. When I edited "ril" there was absolutely nothing inside. So I entered: [Settings] DefaultDataSim= ... and the second number in "iccidmap" that I didn't delete i.e. presumably the number of my sim. Then I rebooted the device and everything worked at first.


Finally it didn't change anything. Same problem as before after crossing a national border...

Loenneberga ( 2017-12-06 00:50:56 +0200 )edit

Today I got a reply from Jolla. They are working on a fix. :-)

Loenneberga ( 2017-12-08 00:16:26 +0200 )edit

I got the fix from Jolla helpdesk and it solved the problem. Thanks again!

Loenneberga ( 2017-12-12 21:46:10 +0200 )edit

Question tools



Asked: 2017-11-27 22:10:06 +0200

Seen: 745 times

Last updated: Dec 13