younglo / cyanogenmod4milestone

Automatically exported from code.google.com/p/cyanogenmod4milestone
0 stars 0 forks source link

National Roaming problem in Poland PLAY network #510

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.Phone in PLAY network in Poland 
MCC : 260
MNC : 06

2.Settings -> Wireless & Networking -> Mobile networks -> Network Operators

What is the expected output? What do you see instead?

- Plus GSM
- PLAY
- Era
- Orange PL

Instead :

- PLAY
- PLAY
- Era
- Orange PL

What version of the product are you using?

0.08-11.04.18 7.0.0

Please provide any additional information below.

I never saw national roaming icons.

Original issue reported on code.google.com by daniel.k...@gmail.com on 19 Apr 2011 at 11:26

GoogleCodeExporter commented 8 years ago
Can you please post "logcat -b radio" from the network scan?

Original comment by kabal...@gmail.com on 19 Apr 2011 at 3:32

GoogleCodeExporter commented 8 years ago
D/RILJ    ( 1789): [1558]> QUERY_AVAILABLE_NETWORKS 
D/RILC    ( 1402): [1558]> QUERY_AVAILABLE_NETWORKS  
D/RILC    ( 1402): [1558]< QUERY_AVAILABLE_NETWORKS  
{PLAY,PLAY,26006,current,PLAY,PLAY,26001,available,Era,Era,26002,forbidden,Orang
e PL,Orange PL,26003,forbidden}
D/RILJ    ( 1789): [1558]< QUERY_AVAILABLE_NETWORKS  [NetworkInfo 
PLAY/PLAY/26006/CURRENT, NetworkInfo PLAY/PLAY/26001/AVAILABLE, NetworkInfo 
Era/Era/26002/FORBIDDEN, NetworkInfo Orange PL/Orange PL/26003/FORBIDDEN]

Original comment by daniel.k...@gmail.com on 19 Apr 2011 at 5:01

GoogleCodeExporter commented 8 years ago
As seen above, instead of the Plus GSM mobile network for the number 26001 here 
we have PLAY mobile network.

Original comment by daniel.k...@gmail.com on 19 Apr 2011 at 5:15

GoogleCodeExporter commented 8 years ago
Do you have a possibility to compare it with output from another android phone?
It looks like issue of the network operator as the network seems to simply 
identify itself as Play instead of Plus GSM.
The network name (Play) is coming directly from proprietary Motorola's RIL 
library response, so I don't suppose it's CM7 specific issue...
You can also try to compare it with "logcat -b radio" output from stock 2.2 
firmware when doing network scan. Is there a difference?

Original comment by kabal...@gmail.com on 19 Apr 2011 at 5:31

GoogleCodeExporter commented 8 years ago
The same phone but with stock froyo :

D/RILJ    ( 1504): [0146]> QUERY_AVAILABLE_NETWORKS 
D/RILJ    ( 1504): [0146]< QUERY_AVAILABLE_NETWORKS  [NetworkInfo 
Play/Play/26006/CURRENT, NetworkInfo Plus/Plus/26001/AVAILABLE, NetworkInfo 
POL-17/POL-17/26017/AVAILABLE, NetworkInfo Era/Era/26002/FORBIDDEN, NetworkInfo 
Orange PL/Orange PL/26003/FORBIDDEN]

Original comment by daniel.k...@gmail.com on 19 Apr 2011 at 5:53

GoogleCodeExporter commented 8 years ago
SHOLS_U2_05.26.3

Original comment by daniel.k...@gmail.com on 19 Apr 2011 at 5:54

GoogleCodeExporter commented 8 years ago
Hmm, but it's info from different location and cell, right? (as there is also 
POL-17 listed that was missing before)

Original comment by kabal...@gmail.com on 19 Apr 2011 at 6:03

GoogleCodeExporter commented 8 years ago
I sit at a desk with the same phone. I only change ROM to stock froyo (nandroid 
restore).

Original comment by daniel.k...@gmail.com on 19 Apr 2011 at 6:06

GoogleCodeExporter commented 8 years ago
Well, then I'm clueless.
The response string array [NetworkInfo PLAY/PLAY/26006/CURRENT, NetworkInfo 
PLAY/PLAY/26001/AVAILABLE, NetworkInfo Era/Era/26002/FORBIDDEN, NetworkInfo 
Orange PL/Orange PL/26003/FORBIDDEN] comes directly from the proprietary closed 
source modem subsystem, (the response is intermediated by 
libril-moto-umts-1.so) which is provided by Motorola, not from CM7 sources.

Original comment by kabal...@gmail.com on 19 Apr 2011 at 11:35

GoogleCodeExporter commented 8 years ago
Do you have any idea what we can do with this problem? Why does the stock Froyo 
is ok, but CM7 is not? Can I safely replace the library from a factory Froyo to 
this version CM7?

Original comment by daniel.k...@gmail.com on 20 Apr 2011 at 6:07

GoogleCodeExporter commented 8 years ago
Naturally, the proprietary closed source files used in CM7 come from stock 
Froyo.

Original comment by kabal...@gmail.com on 20 Apr 2011 at 8:48

GoogleCodeExporter commented 8 years ago
I changed the library at this from the original Froyo and nothing has changed. 
I think it was something wrong with the configuration of CM7.
I noticed that there are still quite common errors shown below, when you search 
for available networks :
"
fails by E_GENERIC_FAILURE
error: com.android.internal
"

Log :

D/RILJ    ( 1755): [0128]> REQUEST_GET_PREFERRED_NETWORK_TYPE
D/RILC    ( 1401): [0128]> GET_PREFERRED_NETWORK_TYPE
D/RILC    ( 1401): [0128]< GET_PREFERRED_NETWORK_TYPE {3}
D/RILJ    ( 1755): [0128]< REQUEST_GET_PREFERRED_NETWORK_TYPE {3}
D/RILJ    ( 1755): [0129]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1401): [0129]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1401): [0129]< QUERY_AVAILABLE_NETWORKS  fails by E_GENERIC_FAILURE
D/RILJ    ( 1755): [0129]< QUERY_AVAILABLE_NETWORKS  error: com.android.internal
.telephony.CommandException: GENERIC_FAILURE
D/RILC    ( 1401): [UNSL]< UNSOL_STK_SESSION_END
D/RILJ    ( 1755): [UNSL]< UNSOL_STK_SESSION_END
D/STK     ( 1755): StkService: ril message arrived
D/STK     ( 1755): StkService: SESSION END
D/RILJ    ( 1755): [0130]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1401): [0130]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1401): [0130]< QUERY_AVAILABLE_NETWORKS  fails by E_GENERIC_FAILURE
D/RILJ    ( 1755): [0130]< QUERY_AVAILABLE_NETWORKS  error: com.android.internal
.telephony.CommandException: GENERIC_FAILURE
D/RILC    ( 1401): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    ( 1755): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    ( 1755): [0131]> OPERATOR
D/RILJ    ( 1755): [0132]> GPRS_REGISTRATION_STATE
D/RILC    ( 1401): [0131]> OPERATOR
D/RILJ    ( 1755): [0133]> REGISTRATION_STATE
D/RILJ    ( 1755): [0134]> QUERY_NETWORK_SELECTION_MODE
D/RILC    ( 1401): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    ( 1755): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    ( 1755): [0135]> OPERATOR
D/RILJ    ( 1755): [0136]> GPRS_REGISTRATION_STATE
D/RILJ    ( 1755): [0137]> REGISTRATION_STATE
D/RILJ    ( 1755): [0138]> QUERY_NETWORK_SELECTION_MODE
D/RILC    ( 1401): [0131]< OPERATOR {PLAY,PLAY,26006}
D/RILJ    ( 1755): [0131]< OPERATOR {PLAY, PLAY, 26006}
D/RILC    ( 1401): [0132]> GPRS_REGISTRATION_STATE
D/RILC    ( 1401): [0132]< GPRS_REGISTRATION_STATE {1,000b,000c4dba,11}
D/RILJ    ( 1755): [0132]< GPRS_REGISTRATION_STATE {1, 000b, 000c4dba, 11}
D/RILC    ( 1401): [0133]> REGISTRATION_STATE
D/RILC    ( 1401): [0133]< REGISTRATION_STATE {1,000b,000c4dba,11,(null),(null),
(null),(null),(null),(null),(null),(null),(null),(null)}
D/RILJ    ( 1755): [0133]< REGISTRATION_STATE {1, 000b, 000c4dba, 11, null, null
, null, null, null, null, null, null, null, null}
D/RILC    ( 1401): [0134]> QUERY_NETWORK_SELECTION_MODE
D/RILC    ( 1401): [0135]> OPERATOR
D/RILC    ( 1401): [0135]< OPERATOR {PLAY,PLAY,26006}
D/RILJ    ( 1755): [0135]< OPERATOR {PLAY, PLAY, 26006}
D/RILC    ( 1401): [0136]> GPRS_REGISTRATION_STATE
D/RILC    ( 1401): [0136]< GPRS_REGISTRATION_STATE {1,000b,000c4dba,11}
D/RILJ    ( 1755): [0136]< GPRS_REGISTRATION_STATE {1, 000b, 000c4dba, 11}
D/RILC    ( 1401): [0137]> REGISTRATION_STATE
D/RILC    ( 1401): [0137]< REGISTRATION_STATE {1,000b,000c4dba,11,(null),(null),
(null),(null),(null),(null),(null),(null),(null),(null)}
D/RILC    ( 1401): [0134]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILJ    ( 1755): [0137]< REGISTRATION_STATE {1, 000b, 000c4dba, 11, null, null
, null, null, null, null, null, null, null, null}
D/RILJ    ( 1755): [0134]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILC    ( 1401): [0138]> QUERY_NETWORK_SELECTION_MODE
D/RILC    ( 1401): [0138]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILJ    ( 1755): [0138]< QUERY_NETWORK_SELECTION_MODE {0}
D/GSM     ( 1755): Poll ServiceState done:  oldSS=[0 home PLAY PLAY 26006  HSPA
CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] newSS=[0 home
PLAY PLAY 26006  HSPA CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly:
 false] oldGprs=0 newGprs=0 oldType=HSPA newType=HSPA
D/RILJ    ( 1755): [0139]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1401): [0139]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1401): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    ( 1755): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    ( 1755): [0140]> OPERATOR
D/RILC    ( 1401): [0140]> OPERATOR
D/RILC    ( 1401): [0140]< OPERATOR {PLAY,PLAY,26006}
D/RILJ    ( 1755): [0140]< OPERATOR {PLAY, PLAY, 26006}
D/RILJ    ( 1755): [0141]> GPRS_REGISTRATION_STATE
D/RILC    ( 1401): [0141]> GPRS_REGISTRATION_STATE
D/RILC    ( 1401): [0141]< GPRS_REGISTRATION_STATE {1,000b,000c4dba,11}
D/RILJ    ( 1755): [0141]< GPRS_REGISTRATION_STATE {1, 000b, 000c4dba, 11}
D/RILJ    ( 1755): [0142]> REGISTRATION_STATE
D/RILC    ( 1401): [0142]> REGISTRATION_STATE
D/RILC    ( 1401): [0142]< REGISTRATION_STATE {1,000b,000c4dba,11,(null),(null),
(null),(null),(null),(null),(null),(null),(null),(null)}
D/RILJ    ( 1755): [0142]< REGISTRATION_STATE {1, 000b, 000c4dba, 11, null, null
, null, null, null, null, null, null, null, null}
D/RILJ    ( 1755): [0143]> QUERY_NETWORK_SELECTION_MODE
D/RILC    ( 1401): [0143]> QUERY_NETWORK_SELECTION_MODE
D/RILC    ( 1401): [0143]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILJ    ( 1755): [0143]< QUERY_NETWORK_SELECTION_MODE {0}
D/GSM     ( 1755): Poll ServiceState done:  oldSS=[0 home PLAY PLAY 26006  HSPA
CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] newSS=[0 home
PLAY PLAY 26006  HSPA CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly:
 false] oldGprs=0 newGprs=0 oldType=HSPA newType=HSPA
D/RILC    ( 1401): [0139]< QUERY_AVAILABLE_NETWORKS  {PLAY,PLAY,26006,current,PL
AY,PLAY,26001,available,POL-17,POL-17,26017,available,Orange PL,Orange PL,26003,
forbidden,Era,Era,26002,forbidden}
D/RILJ    ( 1755): [0139]< QUERY_AVAILABLE_NETWORKS  [NetworkInfo PLAY/PLAY/2600
6/CURRENT, NetworkInfo PLAY/PLAY/26001/AVAILABLE, NetworkInfo POL-17/POL-17/2601
7/AVAILABLE, NetworkInfo Orange PL/Orange PL/26003/FORBIDDEN, NetworkInfo Era/Er
a/26002/FORBIDDEN]

Original comment by daniel.k...@gmail.com on 20 Apr 2011 at 9:15

GoogleCodeExporter commented 8 years ago
Ok, I resolved problem.

In mmins_telephony.cfg I change parameter :

SERVICE_PROVIDER_NAME_DISPLAY_AVAILABLE = 01

to 

SERVICE_PROVIDER_NAME_DISPLAY_AVAILABLE = 00

Now I have :

D/RILJ    ( 1760): [0153]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1407): [0153]> QUERY_AVAILABLE_NETWORKS
D/RILC    ( 1407): [0153]< QUERY_AVAILABLE_NETWORKS  
{Play,Play,26006,current,Plus,Plus,26001,available,POL-17,POL-17,26017,available
,Orange PL,Orange PL,26003,
forbidden,Era,Era,26002,forbidden}
D/RILJ    ( 1760): [0153]< QUERY_AVAILABLE_NETWORKS  [NetworkInfo Play/Play/2600
6/CURRENT, NetworkInfo Plus/Plus/26001/AVAILABLE, NetworkInfo POL-17/POL-17/2601
7/AVAILABLE, NetworkInfo Orange PL/Orange PL/26003/FORBIDDEN, NetworkInfo Era/Er
a/26002/FORBIDDEN]

Original comment by daniel.k...@gmail.com on 20 Apr 2011 at 10:29

GoogleCodeExporter commented 8 years ago
Very nice, thanks.

Original comment by kabal...@gmail.com on 20 Apr 2011 at 10:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thank you for pointing the direction.

Original comment by daniel.k...@gmail.com on 20 Apr 2011 at 10:33

GoogleCodeExporter commented 8 years ago
I think that it is still a problem. Search networks, and all is well, that is, 
shows a network of 260-01 Plus, when I select it, I coluld register. But after 
registering CM7 still shows that it is in PLAY. There is also no icon roaming. 
Below the logs and screen from the search and registration for the Plus.

Original comment by daniel.k...@gmail.com on 21 Apr 2011 at 6:32

Attachments:

GoogleCodeExporter commented 8 years ago
And here logs and screen from stock froyo. As You see on stock froyo I have "R" 
icon and information Plus|Play.

Original comment by daniel.k...@gmail.com on 21 Apr 2011 at 7:22

Attachments:

GoogleCodeExporter commented 8 years ago
Is this wikipedia article correct?

On 09.06.2006 PLAY signed a domestic roaming agreement with Plus operator - 
Polkomtel. It allows Play subscribers to access Plus' GSM network as well as 
UMTS network. Roaming is nationwide, free and unlimited. In addition, Play 
subscribers can manually pick Plus GSM network despite presence of Play's 
native network. However, Plus' domestic network cannot be used with Play's 
Mobile Broadband products.
http://en.wikipedia.org/wiki/Play_Mobile

If it is correct, then I don't see what is the problem... In such case, the 
indication of roaming would not make sense as there would be no usual roaming 
consequences.

But of course, I'd like to be corrected, if I'm missing something.

Original comment by kabal...@gmail.com on 21 Apr 2011 at 10:28

GoogleCodeExporter commented 8 years ago
It's not exactly true. In PLAY some products that operate in such a way that 
voice call in roaming network PLUS are standard, but the roaming data 
connection you have to pay. Therefore, you need to know whether you are roaming 
or not.

Original comment by daniel.k...@gmail.com on 22 Apr 2011 at 6:35

GoogleCodeExporter commented 8 years ago
As I haven't been abroad lately, can anyone confirm whether even the 
international roaming indication is functional at all in current CM7 for 
Milestone?

Daniel: do you have the "National data roaming" option enabled or disabled?

Original comment by kabal...@gmail.com on 22 Apr 2011 at 8:49

GoogleCodeExporter commented 8 years ago
Enabled.

Original comment by daniel.k...@gmail.com on 22 Apr 2011 at 8:52

Attachments:

GoogleCodeExporter commented 8 years ago
I make more tests and :
- when I disable "National data roaming" and "Dane w roamingu", I see Roaming 
icon, but don't have data access
- when I enable only option "Dane w roamingu", I see roaming icon, and have 
data acces (screen is attach)
- when I enable "National data roaming" option, I don't see roaming icon.

BTW. I modify file com.motorola.android.providers.settings ,add two lines :
roaming_icon=1
two_digit_voice_call_enabled=1

Original comment by daniel.k...@gmail.com on 22 Apr 2011 at 9:07

GoogleCodeExporter commented 8 years ago
Sorry I missing full path :)

/system/etc/motorola/com.motorola.android.providers.settings/settings.mkitso

Original comment by daniel.k...@gmail.com on 22 Apr 2011 at 9:10

GoogleCodeExporter commented 8 years ago
Well, then it works as expected.
"National data roaming" option is there exactly for this - to not indicate 
roaming when doing national roaming. It's there for customers of virtual 
operators that do not have their own network.

I don't suppose that the changes you've made have any effect. Do they? Can you 
check it?

Original comment by kabal...@gmail.com on 22 Apr 2011 at 9:21

GoogleCodeExporter commented 8 years ago
Hmmm...I thinking about this,but I have some doubts.
Imagine that :
- live near the border of country
- you have phone in PLAY network, with the possibility of roaming call voice to 
PLUS network but no data access, if you use the data you have to pay
- If you select "Data Roaming" it is possible that the network will be switched 
to abroad network and you will have to pay for the data
- If you uncheck the option "Data Roaming" and select "National data roaming' 
you not see if you are in roaming

BTW. Can You add information like on screenshot_2.png when phone is on roaming. 
Than I can see what realy network I use.

Original comment by daniel.k...@gmail.com on 22 Apr 2011 at 9:33

GoogleCodeExporter commented 8 years ago
If you want to learn more about why the National Data Roaming option is there, 
you can study e.g. this issue: 
http://code.google.com/p/android/issues/detail?id=3499

Btw., there's still no official solution for MVNO customers in AOSP Android...

How does the screenshot_1.png look when the National Data Roaming is disabled?

I'd like to avoid messing with the logic of SPN and PLMN display.
It's controlled by this code:
https://github.com/CyanogenMod/android_frameworks_base/blob/gingerbread/telephon
y/java/com/android/internal/telephony/gsm/SIMRecords.java#L1353

Can you post the CarrierLabel entries from logcat (main) when you use the 
attached SystemUI.apk? I'm interested what is there when you are connected to 
Plus, and if there is a difference when National Data Roaming is enabled / 
disabled.

Original comment by kabal...@gmail.com on 22 Apr 2011 at 2:23

Attachments:

GoogleCodeExporter commented 8 years ago
"If you want to learn more about why the National Data Roaming option is there, 
you can study e.g. this issue: 
http://code.google.com/p/android/issues/detail?id=3499"

I read this carefully, and I think that is the same problem in Poland.
National Roaming option is working ok, but no information about this like on 
screenshot_2.png or maybe I thinking about create new icons for signal strength 
with letter NR insead R when National Roaming is occurs.

How does the screenshot_1.png look when the National Data Roaming is disabled?

screenshot_6.png is attached.

"Can you post the CarrierLabel entries from logcat (main) when you use the 
attached SystemUI.apk? I'm interested what is there when you are connected to 
Plus, and if there is a difference when National Data Roaming is enabled / 
disabled."

Files are attached. 

Original comment by daniel.k...@gmail.com on 22 Apr 2011 at 8:10

Attachments:

GoogleCodeExporter commented 8 years ago
Uhm, there are no CarrierLabel entries in the log...
Is the SystemUI.apk I attached really in use?

Original comment by kabal...@gmail.com on 22 Apr 2011 at 8:32

GoogleCodeExporter commented 8 years ago
I mean that I wanted to see the log entry (from the previously attached 
SystemUI.apk) like this one:
04-23 10:47:00.444: INFO/CarrierLabel(1807): updateNetworkName showSpn=true 
spn=T-Mobile CZ showPlmn=false plmn=T-Mobile CZ

When you connect to Plus network.

But I guess it will be simply "INFO/CarrierLabel(XXXX): updateNetworkName 
showSpn=true spn=Play showPlmn=false plmn=Plus", am I right?

Original comment by kabal...@gmail.com on 23 Apr 2011 at 8:54

GoogleCodeExporter commented 8 years ago
Hmm, I think so. I move orginal SystemUI.apk to SystemUI.apk.org and adb push 
your SystemUI.apk to /system/app. Then I restart phone.

I use adb logcat -b main, register to Plus wit National roaming enabled and 
disabled and send logs to you.

I try now once time again with logcat -b radio, and I will send you new logs.

Original comment by daniel.k...@gmail.com on 23 Apr 2011 at 10:54

GoogleCodeExporter commented 8 years ago
I attached log from radio, when I register to Plus with NR enabled and disabled.

Original comment by daniel.k...@gmail.com on 23 Apr 2011 at 11:02

Attachments:

GoogleCodeExporter commented 8 years ago
I try with 3 terminals, register to Plus  :
adb logcat -b main |grep CarrierLabel
adb logcat -b events |grep CarrierLabel
adb logcat -b radio |grep CarrierLabel

and I don't have any rows with informations.

Original comment by daniel.k...@gmail.com on 23 Apr 2011 at 11:14

GoogleCodeExporter commented 8 years ago
Ok, I try only adb logcat, and CarrierLabel is there. I attached file.

Original comment by daniel.k...@gmail.com on 23 Apr 2011 at 11:33

Attachments:

GoogleCodeExporter commented 8 years ago
Previous with is disabled NR. With enabled i don't have entry about 
CarrierLabel in logs.

Original comment by daniel.k...@gmail.com on 23 Apr 2011 at 11:39

GoogleCodeExporter commented 8 years ago
Please test the 7.0.1 release.

I've made this change: 
https://github.com/nadlabak/android_frameworks_base/commit/e152b9e91fa3e90be2ea2
817f11f432c887c47fd

Ca you check whether both spn (play) and plmn (plus) are displayed when you are 
connected to plus network?
If it is, I'd like to see also a screenshot of the notification carrier label 
when CyanogenMod settings>Interface>Status Bar Tweaks>Compact carrier label is 
enabled.
Thanks.

Original comment by kabal...@gmail.com on 24 Apr 2011 at 7:37

GoogleCodeExporter commented 8 years ago
It's working great:) thank You.

Original comment by daniel.k...@gmail.com on 24 Apr 2011 at 11:02

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Screenshot

Original comment by daniel.k...@gmail.com on 24 Apr 2011 at 4:51

Attachments:

GoogleCodeExporter commented 8 years ago
@36: I think you shouldn't force displaying PLMN for SPDI networks - it should 
be controlled by SIM card (as referred to TS 51.011) cause some Network 
Operators (eg. Play in Poland) don't want users to know that they are roaming 
nationally and Gingerbread's way is the correct way to handle this: with PLAY 
SIM card you can see no PLMN when logged in to 26006 (home network) or 26001 
(Plus - national roaming) yet you can see PLMN when roaming internationally. 
And personally I think that we should leave this as is and possibly implement 
user-defined overriding of displaying PLMN (by editing spn-conf.xml as seen 
here: http://pastebin.com/wn3vhKAW - it seems that this way works only with 
Samsung Galaxy S).

@Daniel: my suggestion is that you leave "Dane w roamingu" disabled and 
"National data roaming" enabled - this would allow you using your data packets 
with Plus network and would prevent data transfers when roaming internationally.

Original comment by kszaqui...@gmail.com on 25 Apr 2011 at 5:53

GoogleCodeExporter commented 8 years ago
Very thanks, for comment.
Now I using "Dane w roamingu" disabled and "Nationa data roaming" enabled. In 
Play Poland, if you using stock froyo, you see information about PLAY - Plus.

Original comment by daniel.k...@gmail.com on 25 Apr 2011 at 6:05

GoogleCodeExporter commented 8 years ago
The "Froyo way" wasn't actually a feature, it was a bug. ;) It was fixed here: 
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=commitdiff;h=d26
924d8d7c29cbcbfaf43c408d3b54e50b7a7ce

I can see your point I would too prefer to know that I am roaming nationally 
(just out of curiosity) but I can assure you that "Gingerbread" way is correct 
and it's done that way on every other non-Android phone.

Original comment by kszaqui...@gmail.com on 25 Apr 2011 at 6:16

GoogleCodeExporter commented 8 years ago
Hmmm, I read this and I have to admit that you're right...
Maybe we can add option "Force displaying PLMN for SPDI networks" to CM7, for 
people like me :)?

Original comment by daniel.k...@gmail.com on 25 Apr 2011 at 6:23

GoogleCodeExporter commented 8 years ago
Thanks for the input.
Yes, I'm aware that by that change I'm actually breaking the standards, and I'm 
not too happy with that.
That's also the reason why I haven't closed this issue yet.
But I also understand the need to be aware of what network the phone is 
connected to, when it can imply different charges.
I actually planned to make it optional from the start. I was just rather busy, 
so take the change introduced in 7.0.1 as only temporary quick hack. The proper 
solution (as an option) will follow.

Original comment by kabal...@gmail.com on 25 Apr 2011 at 7:38

GoogleCodeExporter commented 8 years ago
Hi, I've added a menu option (in CMParts->Interface->Status bar tweaks) to 
choose whether to force PLMN display or not. As I don't really know how to 
submit these changes for review (the change was made to multiple projects - 
I'll have to read how to do this), I'm attaching my .diff file. It is for 
latest CyanogenMod (not 4milestone) tree.

Original comment by kszaqui...@gmail.com on 27 Apr 2011 at 2:12

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It's a great news.

Original comment by daniel.k...@gmail.com on 27 Apr 2011 at 5:53

GoogleCodeExporter commented 8 years ago
I just noticed that there is an issue with my patch (a result of writing code 
at 4 A.M.) - is forces to show PLMN on HPLMN as well - easy to fix, will use 
solution from #36. I also think that I shouldn't split this feature into 2 
packages, so I'll put that option into Network Settings menu.

I'm also planning to introduce a choice whether to display "R" icon when 
National Data Roaming is enabled.

Original comment by kszaqui...@gmail.com on 27 Apr 2011 at 11:18

GoogleCodeExporter commented 8 years ago
I am having problems with uploading this patch to CyanogenMod Gerrit (ssh 
doesn't authenticate), so I'm posting my solution here. Confirmed to work on 
HTC Desire and PLAY (26006) SIM card. I left the setting in CMParts, because 
I'd need to modify two projects anyway if wanted to add this to "Network 
settings".

Original comment by kszaqui...@gmail.com on 27 Apr 2011 at 8:40

Attachments:

GoogleCodeExporter commented 8 years ago
Kabaldan,

could you add this changes ?

Kszaqui,

very thanks for hard work.

Original comment by daniel.k...@gmail.com on 28 Apr 2011 at 9:37