In Progress Wrong operator name (Telecom Italiz SpA)


Giangiva

Members
Jul 22, 2013
174
28
Hello,
when connecting my MI2A with MIUI 3.8.16 (multilanguage from miuiandroid.com) to my car via bluetooth, I noticed that the name of my mobile operator is wrong.
It shows: "Telecom Italiz SpA", while it should be: "Telecom Italia SpA".
Personally, I'd prefer something like "I TIM", as it is shown in the upper left corner of my phone.
In any case, Italiz is obviously wrong.
I've done some research by unzipping the latest ROM I installed on my phone and I found the wrong name to be in this library:
/system/lib/libril-qc-qmi-1.so
I patched it with a hex editor and replaced it on my phone: now it shows the correct name.

As I don't like this patchwork (not even if it works and not even if it is for my phone only), is there a way to have it fixed permanently?
 
Its actually a spn.conf file which is the bad rename in /system/etc.

So I'll just patch it with what you said above.
 
Thanks a lot for your help! When changing the name, please consider that this carrier is known in Italy as "TIM" (http://www.tim.it) and not as telecom Italia, which is its mother (or sister) company whose business is on landline phones. so I would suggest "I TIM" as the carrier name.
 
Lost track of days. Forgot today was Friday, forgot to push the change into the repo :/
 
Nevermind: I'll wait... :)
I had a look to the file you mentioned: it's indeed a much cleaner patch than my one.
Can you tell me the ID bound to my carrier? I think I found the id: 22201. Thanks!
I can patch myself that conf file, for the time being...
Thank you again for your efforts!
 
FYI, I tried patching the indicated file (/system/etc/spn-conf.xml) by duplicating one of the existing lines and changing the data on the new line according to my needs.
The final result was:
Code:
<?xml version="1.0" encoding="utf-8"?>
<spnOverrides>
  <spnOverride numeric="23430" spn="EE" />
  <spnOverride numeric="23431" spn="EE" />
  <spnOverride numeric="23432" spn="EE" />
  <spnOverride numeric="23433" spn="EE" />
  <spnOverride numeric="23434" spn="EE" />
  <spnOverride numeric="23486" spn="EE" />
  <spnOverride numeric="20801" spn="Orange" />
  <spnOverride numeric="22201" spn="I TIM" />
</spnOverrides>

But it didn't change anything.
So, for the time being, I'm back to my ugly hack of the library... :-(
 
FYI, I tried patching the indicated file (/system/etc/spn-conf.xml) by duplicating one of the existing lines and changing the data on the new line according to my needs.
The final result was:
Code:
<?xml version="1.0" encoding="utf-8"?>
<spnOverrides>
  <spnOverride numeric="23430" spn="EE" />
  <spnOverride numeric="23431" spn="EE" />
  <spnOverride numeric="23432" spn="EE" />
  <spnOverride numeric="23433" spn="EE" />
  <spnOverride numeric="23434" spn="EE" />
  <spnOverride numeric="23486" spn="EE" />
  <spnOverride numeric="20801" spn="Orange" />
  <spnOverride numeric="22201" spn="I TIM" />
</spnOverrides>

But it didn't change anything.
So, for the time being, I'm back to my ugly hack of the library... :-(


Strange. Wikipedia reports it as being 22201 as well. If you open up MIUIStats, and go the the "preview" stats thing. What does that screen say in regards to carrier?
 
Screenshot_2013-08-24-15-16-26.png
 
Sorry, that was with my patch on the library... :-(

Here is the screenshot with the original library:

Screenshot_2013-08-24-16-22-37.png
 
Please be aware that the second screenshot shows the wrong operator name inspite of the modified spn-conf.xml.