explit
21 October 2024 00:06
22
I found manual Solution
The needed files are in /var/lib/ofono
There was neccessary to find the right SIM-Number Folder and place inside this folder a file with the filename cache and following content
[sim]
spn=o2-de
Maybe someone can create a fancy patch for this, @nephros maybe ?
5 Likes
Things like the the X10 triple camera thing notwithstanding, I’d rather not mess with ofono internals.
You can try Custom SIM Names though as a workaround
3 Likes
explit
22 October 2024 08:18
24
The change here is absolutely cosmetic.
When the file cache is non existent in
/var/lib/ofono/XXXXXXXXXXXXXXX/
the the SIM-Card Name will be Unknown.
I don’t know if this problem exists with other SIM-Cards other than o2-de,
but it would be cool to extend the SIM-Card Name Patch with this feature.
At the moment, the Patch can provide additional SIM-Card names, but when this small modification is missing, it looks like
SIM1 Unknown | Work
what is not a solution…
2 Likes
Suppose that should be written by this, jolla stuff:
if (priv->update_imsi_cache && priv->imsi && priv->imsi[0] &&
priv->cached_spn && priv->cached_spn[0]) {
gboolean save = FALSE;
const char *store = SIM_INFO_STORE;
GKeyFile *cache = storage_open(priv->imsi, store);
char *spn = g_key_file_get_string(cache, SIM_INFO_STORE_GROUP,
SIM_INFO_STORE_SPN, NULL);
if (g_strcmp0(priv->cached_spn, spn)) {
save = TRUE;
g_key_file_set_string(cache, SIM_INFO_STORE_GROUP,
SIM_INFO_STORE_SPN, priv->cached_spn);
}
/*
* Since we are most likely running on flash which
* supports a limited number of writes, don't overwrite
* the file unless something has actually changed.
*/
if (save) {
DBG_(self, "updating " STORAGEDIR "/%s/%s",
Then the question would be why there is no proper spn info for this case there.
3 Likes
explit
8 November 2024 09:39
26
It could be the case for the German o2-de+ Network, that MNC of the Network 262-03 is not equal to the MNC on the SIM-Card (262-07). Maybe in this case the spn info is not written. Only my idea.