I'm looking to change the value of property gsm.sim.operator.alpha
(it's being set to "Android" by default).

What I've tried so far:

 1. adb shell setprop gsm.sim.operator.alpha changes the setting, but
it does not persist on reboot.
 2. modified operator name in qemu modem code in a custom emulator
build (ref. 
https://android.googlesource.com/platform/external/qemu/+/emu-1.5-release/android/telephony/modem.c
).
But it only changes "gsm.operator.alpha". I'm looking to also change
"gsm.sim.operator.alpha"

Any insights or pointers on where the default setting for this
property is obtained by the system would help. I see these log lines
in "logcat" during boot.

"""
04-22 11:30:26.920 V/KeyguardUpdateMonitor( 1409): SubInfo:{id=1,
iccId=89014103211118510720 simSlotIndex=0 displayName=CARD 1
carrierName=T-Mobile US nameSource=0 iconTint=-16746133 dataRoaming=0
iconBitmap=android.graphics.Bitmap@3bec430 mcc 310 mnc 260}
...
04-22 11:30:27.080 V/KeyguardUpdateMonitor( 1409): SubInfo:{id=1,
iccId=89014103211118510720 simSlotIndex=0 displayName=CARD 1
carrierName=T-Mobile US nameSource=0 iconTint=-16746133 dataRoaming=0
iconBitmap=android.graphics.Bitmap@257f6e2e mcc 310 mnc 260}
...
04-22 11:30:27.340 V/KeyguardUpdateMonitor( 1409): SubInfo:{id=1,
iccId=89014103211118510720 simSlotIndex=0 displayName=Android
carrierName=T-Mobile US nameSource=0 iconTint=-16746133 dataRoaming=0
iconBitmap=android.graphics.Bitmap@3283f35c mcc 310 mnc 260}
"""

The value for "displayName" (which I think is the same as
gsm.sim.operator.alpha) is set to "CARD 1" a couple of times and then
it's set to "Android".


Thanks,
Magesh

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to