How can I change the name of a SIM card?

With my good old nokia phone, it was possible to assign a name to a SIM card. Is this also possible with SFOS? Could not find such a function in the SIM card settings.

4 Likes

That is quite odd, isn’t it?
Those “dumb phones” could do some stuff our nowadays ‘smart phones’ cannot handle anymore.

Can anyone remember editing SIM contacts (Name 16char and one number only) directly?

1 Like

There is a Patch in Patchmanager, which can change the names of SIM-Cards

2 Likes

Thanks @explit ! What’s the name of this patch?

It is called Custom Sim Names.

2 Likes

On the Volla Phone, I could install the patch but on activating Patchmanager said ‘Couldn’t install patch’.

Are developer options enabled?

1 Like

Yes (20 charakters…)

Have you checked the patch log?

1 Like

This is the log:

 ----------------------------------
pm_apply 2023-01-14T15:37:17+00:00
---------------------------------- 
patch-named-sims 
Using patch file: /usr/share/patchmanager/patches/patch-named-sims/unified_diff.patch 
----------------------------------
Test if already applied patch
---------------------------------- 
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur /usr/lib/qt5/qml/Sailfish/Messages/ChatTextInput.qml
|--- /usr/lib/qt5/qml/Sailfish/Messages/ChatTextInput.qml	2021-10-15 23:01:00.956964474 +0200
|+++ /usr/lib/qt5/qml/Sailfish/Messages/ChatTextInput.qml	2021-10-15 23:23:30.593274317 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 41
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur /usr/lib/qt5/qml/Sailfish/Telephony/SimManager.qml
|--- /usr/lib/qt5/qml/Sailfish/Telephony/SimManager.qml	2021-09-28 13:09:47.633627622 +0200
|+++ /usr/lib/qt5/qml/Sailfish/Telephony/SimManager.qml	2021-09-30 11:47:04.391416703 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
4 out of 4 hunks ignored
checking file usr/share/jolla-settings/pages/multisim/multisim.qml
Unreversed patch detected!  Ignore -R? [n] 
Apply anyway? [n] 
Skipping patch.
2 out of 2 hunks ignored 
----------------------------------
Dry running patch
---------------------------------- 
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur /usr/lib/qt5/qml/Sailfish/Messages/ChatTextInput.qml
|--- /usr/lib/qt5/qml/Sailfish/Messages/ChatTextInput.qml	2021-10-15 23:01:00.956964474 +0200
|+++ /usr/lib/qt5/qml/Sailfish/Messages/ChatTextInput.qml	2021-10-15 23:23:30.593274317 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 41
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur /usr/lib/qt5/qml/Sailfish/Telephony/SimManager.qml
|--- /usr/lib/qt5/qml/Sailfish/Telephony/SimManager.qml	2021-09-28 13:09:47.633627622 +0200
|+++ /usr/lib/qt5/qml/Sailfish/Telephony/SimManager.qml	2021-09-30 11:47:04.391416703 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
4 out of 4 hunks ignored
checking file usr/share/jolla-settings/pages/multisim/multisim.qml 
*** FAILED *** 

There seems to be some error messages, but I don’t understand them.

Just read in the patch notes, that tge patch only works on multisim devices.

1 Like

It is a multi SIM device, but in slot 2 there is no SIM card but a SD memory card.

Have you enabled the 64bit compatibility in Patchmanager?

1 Like

Do you have the “SIM cards” submenu in Settings?

I forget the details bit it’s possible you actually need two cards for that to appear.

2 Likes

Also, are you sure haven’t manally hacked that file? (the one we’re trying to patch)

1 Like

Oh yes, if the Volla port is 64bit you need to enable that switch in Patchmanager Settings and try again.

1 Like

@miau Thank you for guiding me through troubleshooting! Now it works. In ‘Settings/SIM cards’ I have now two extra lines for input SIM name and could give SIM 1 a name, that appears now beside:
‘SIM 1 | name’.
SIM 2 not present (SD card there), but this causes no error.

@nephros Yes I have and I haven’t tweaked/hacked anything here. :innocent:

2 Likes