With the release of SailfishOS Vanha Rauma 4.4.0.68 with VoLTE support for the Xperia 10 II, we’re seeing many users able to register with IMS with their mobile providers, and so make VoLTE calls and send SMS messages over 4G. However, as the 10 II is an older device, the configuration is a little more manual than it was for the 10 III.
If you’re finding your 10 II doesn’t connect, there’s a chance this is just due to missing config mapping, and you might be able to help us submit the proper config to Sony for inclusion in a future release.
We’re very keen to get as many users up and running with VoLTE as possible. However, the process can be a bit technical and involved, so if you’re at all unsure, please ask here on the forum. We’ll try to help as best we can, and it may even be that someone else is already looking into your provider.
If you’re up for some investigation, here’s what you can do:
Check the SIM config ID set by the modem switcher. Enter this into your console:
getprop persist.vendor.somc.cust.modem0
This should return a result with an S followed by some numbers. If you don’t get this, then your provider isn’t recognized by the switcher.
Look in the following directory:
/vendor/oem/modem-config/
This has lots of subdirectories corresponding to those SIM config IDs, but there are a few missing. They each contain simple text files named modem.conf that point to the firmware modem config files. If you see yours already, then maybe give VoLTE a bit more time to work, or contact your operator as support should already be working. If you have no luck, then it’s possible it’s pointing to the wrong config.
Try to find the corresponding modem config file in the following directory:
/vendor/firmware_mnt/image/modem_pr/mcfg/configs/
These files are part of the base Android firmware flashed by Sony’s EMMA tool that the Sony Open Device Program, stock Android and SFOS are using, and should represent the definitive list of every operator supported by the device. They’re loosely organised by region and country. If you see a match, or want to try a generic one, create a directory in the /vendor/oem/modem-config/ directory corresponding to your SIM ID and create a modem.conf file there that contains the relative path of the actual config file. Crucially, ensure there is no newline character at the end of the line. You can use echo -n to do this if you’re writing the file out from the terminal. Use the other files and our earlier PR as examples.
Reboot your device and see if IMS (“4G calling”) manages to register. If so, let us know so we can collect all of the changes together to submit upstream for inclusion in a future release.
Note that none of this applies to any device other than the Xperia 10 II. The 10 III file structure is very different and there’s currently no VoLTE support for older devices such as the Xperia 10 or XA2.
Checking if there is a config shows that it does not yet exist:
[root@Xperia10II-DualSIM ~]# cd /vendor/oem/modem-config/S114.1
bash: cd: can't cd to /vendor/oem/modem-config/S114.1: No such file or directory
But do we have a modem file maybe:
[root@Xperia10II-DualSIM ~]# ls -l /vendor/firmware_mnt/image/modem_pr/mcfg/configs/mcfg_sw/generic/euro/vodafone/vlvw/uk/mcfg_sw.mbn
-r--r----- 1 system system 47944 Nov 17 2020 /vendor/firmware_mnt/image/modem_pr/mcfg/configs/mcfg_sw/generic/euro/vodafone/vlvw/uk/mcfg_sw.mbn
Looks like it exists. Now I can create the missing folder:
When receiving a call it seems not to drop to 2G/3G which may in turn indicate VoLTE may actually be working on Vodafone UK.
I perform some more tests and will update the list in VoLTE provider support
It looks like a conf for S77.2 already exists, thus this is another issue entirely? How can we help with that? Did someone already contact O2 (Germany only?)?
I have virtual operator Fello (https://www.fello.se), which uses Telia’s network, but I get no id. How can I solve this?
In secondary slot I have Telenor SE (S58.1), but haven’t had any luck in register to VoLTE there.
Both operators support VoLTE according to their information.
Edit: and looking at operator support (VoLTE provider support) Fello is supported on the Xperia 10 III, so there has to be something I can do to fix this
I tested with Three UK. For anyone else using or thinking about going with Three, on the Xperia 10 III it worked immediately, but on the 10 II it required a modem.conf mapping:
Ok, this is a lot harder. There’s a big XML file mapping all of the MCC and MNC ids to those config IDs that you can find in /usr/share/sony-modem-switcher/service_provider_sim_configs.xml. I’m not entirely sure where you get those two values from, but I think they can be coaxed out of ofono somehow. Then I reckon mcfg_sw/generic/euro/telia/vlvw/swe/mcfg_sw.mbn might be what you need. Telenor already seems to be configured correctly, but I guess you could try it in the other slot?
Ok, I used to have access to a modem with AT-interface, where I could find out those numbers, but unfortunately I don’t have that currently. But at least I now know what I’m looking for. When I found them out, how do I know what “S”-number to map it to?
And I’ll try to swap the Telenor SIM to another slot to see if that works better.
Yeah the S id is a pain. I think I found some other similar files on Github. Might have some extra entries, especially in more recent versions.
Edit: if you do dbus-send --system --print-reply --type=method_call --dest=org.ofono /ril_0 org.nemomobile.ofono.SimInfo.GetSubscriberIdentity then the MCC should be the first three digits, and the MNC (MCRN??) the second two. I think.
okay, I don’t know what I found earlier, but the diagnose, that there is only configuration for tef_o2/cz seemed to be wrong.
All files are apparently there, but it is still not working yet:
$ ls /vendor/firmware_mnt/image/modem_pr/mcfg/configs/mcfg_sw/generic/euro/tef_o2/vlvw/de/
mcfg_sw.mbn -lah
-r--r----- 1 system system 45.0K Mar 30 2021 /vendor/firmware_mnt/image/modem_pr/mcfg/configs/mcfg_sw/generic/euro/tef_o2/vlvw/de/mcfg_sw.mbn
$ cat /vendor/oem/modem-config/S77.2/modem.conf
mcfg_sw/generic/euro/tef_o2/vlvw/de/mcfg_sw.mbn
Edit: Netmon shows its working now… (after a reboot, including hard reset with power+vol up). Doesnt work when i call my mailbox however