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

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-10-31 18:50:11 +0200

Media Data not working after switching SIM card

Hello,

I stayed a couple of months abroad where I used a local SIM card. It worked, data was available. I also performed system upgrades on my phone during my stay. My system is now SailfishOS 2.0.4.14 (Fiskarsinjoki).

But back in my home country, I put back my home SIM card in the phone and could not use any more mobile data, even phone's configuration was correct. I tried to reset my mobile data configuration (as explained here: https://jolla.zendesk.com/hc/en-us/articles/202505018#22) and reboot the phone but it did not work.

As I finally found out how to solve it, here is the workaround, awaiting for a real bug fix.

  1. Stop Ofono service by typing systemctl stop ofono.service in a console
  2. Go to the folder /var/lib/ofono/ and list its content. You will have two sub-folders for each SIM card you inserted in your phone, and other files. Folders names are a numeric sequence. In my phone, it looks like "206...86", "206...86-3", "310...50", 310...50-3", "525...15" and "525...15-3".
  3. Identify to which operator which folder is linked. Check the file gprs in each folder not ending by -3 to find useful information.
  4. Edit the file /var/lib/ofono/ril. Its content will look like this:
    [Settings]
    DefaultDataSim=206...86

    Just replace the numeric sequence after DefaultDataSim by the one corresponding to your current SIM card (identified at step 3).
  5. Restart ofono with the command systemctl start ofono.service
  6. It should work now...

I suspect that this bug is linked to the multi SIM support for Jolla C, as having a default SIM for data is useful if your phone has several SIMs inserted in it at the same time but not so much if you can only have one SIM card in it at the same time...

Media Mobile Data not working after switching SIM card

Hello,

I stayed a couple of months abroad where I used a local SIM card. It worked, data was available. I also performed system upgrades on my phone during my stay. My system is now SailfishOS 2.0.4.14 (Fiskarsinjoki).

But back in my home country, I put back my home SIM card in the phone and could not use any more mobile data, even phone's configuration was correct. I tried to reset my mobile data configuration (as explained here: https://jolla.zendesk.com/hc/en-us/articles/202505018#22) and reboot the phone but it did not work.

As I finally found out how to solve it, here is the workaround, awaiting for a real bug fix.

  1. Stop Ofono service by typing systemctl stop ofono.service in a console
  2. Go to the folder /var/lib/ofono/ and list its content. You will have two sub-folders for each SIM card you inserted in your phone, and other files. Folders names are a numeric sequence. In my phone, it looks like "206...86", "206...86-3", "310...50", 310...50-3", "525...15" and "525...15-3".
  3. Identify to which operator which folder is linked. Check the file gprs in each folder not ending by -3 to find useful information.
  4. Edit the file /var/lib/ofono/ril. Its content will look like this:
    [Settings]
    DefaultDataSim=206...86

    Just replace the numeric sequence after DefaultDataSim by the one corresponding to your current SIM card (identified at step 3).
  5. Restart ofono with the command systemctl start ofono.service
  6. It should work now...

I suspect that this bug is linked to the multi SIM support for Jolla C, as having a default SIM for data is useful if your phone has several SIMs inserted in it at the same time but not so much if you can only have one SIM card in it at the same time...