HopelessFantasy / openetna

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

MVNO support only works when roaming is enabled #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Bob (Austrian Provider)
2.
3.

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

The phone displays that it is registered to A1 instead BOB
It is necessary to activate roaming to get a internet connection.

See http://code.google.com/p/android/issues/detail?id=3499

It worked fine in stock image 1.5

What version of the boot.img and system.img are you using?

Boot.img v1.4 System.img v4.2

Can you provide logcat output during that error?

Please provide any additional information below.

Original issue reported on code.google.com by andre%ma...@gtempaccount.com on 22 Aug 2010 at 4:58

GoogleCodeExporter commented 9 years ago

Original comment by polyth...@gmail.com on 18 Sep 2010 at 3:19

GoogleCodeExporter commented 9 years ago
Is your phone showing the R on the network list when you're connected to Bob ? 
If yes, it's the bug listed on the android link, and it we need to wait for 
knowing what change Samsung has done on their version. Have you tried Data 
controller?

If the cell is logged without the R, so try to delete/add a new APN with the 
correct MCC/MNC and restart (but I don't think so due to the bug on froyo).

I had a similar problem on a shared network in France (F Contact), I needed to 
add a new APN with a copy paste of my operator (Bouygues) but changing the 
MCC/MNC to make it working with data roaming. (Even with data roaming, the /!\ 
was stuck without the APN on 4.2 -screenshot-).

Original comment by atomcomp...@gmail.com on 10 Oct 2010 at 11:34

Attachments:

GoogleCodeExporter commented 9 years ago
As this report is very old, i think you should ask first if OP was able to 
reproduce this on latest release (system v6.0-rc6/boot v2.2 just released).

Original comment by Tetsuo6...@gmail.com on 11 Oct 2010 at 11:58

GoogleCodeExporter commented 9 years ago
This issue can be also reproduced in 6.1 rc3

I found out a few new things

if you do a getprop i will get this output

[gsm.sim.operator.numeric]: [23211] <-- wrong should be 23201
[gsm.sim.operator.alpha]: [] <-- I think should be Bob (virtual Provider)
[gsm.operator.alpha]: [A1] <-- wrong should be Bob (Provider)
[gsm.operator.numeric]: [23201] <-- right entry
[gsm.operator.isroaming]: [true] <-- i guess this is the result of the 
difference between 23211 and 23201 
[gsm.version.baseband]: [] <-- i don't know if this entry is important

Maybe this is a useful link for this issue 

http://mcbridematt.dhs.org/mobile/blog/?p=39 

it's not really related to this issue but I think it could be the right
section in the source.

Original comment by andre%ma...@gtempaccount.com on 29 Oct 2010 at 10:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ok, I think i found the line in the source

in 

android_frameworks_base / telephony / java / com / android / internal / 
telephony / gsm / GsmServiceStateTracker.java

the line 1283 should be changed in

String spn = 
SystemProperties.get(TelephonyProperties.PROPERTY_ICC_OPERATOR_ALPHA, "");
instead of

String spn = 
SystemProperties.get(TelephonyProperties.PROPERTY_ICC_OPERATOR_ALPHA, "empty");

Original comment by andre%ma...@gtempaccount.com on 29 Oct 2010 at 11:27

GoogleCodeExporter commented 9 years ago
So I'm a bit confused.
I thought this issue is solved with rc3 because it is solved in the cyogenmod 
branch.

You can see it in the CHANGELOG of rc3

bc097e9 Changing string for apn from empty to  when no string is provided by
SIM Card. This fixes the roaming problem with some virtual network providers,
since some of them have an empty string (check with getprop
gsm.sim.operator.alpha). For sure no provider will write empty in their SIM
cards. Data roaming can be disabled after that. Roaming in foreign countrys
will still work since it checks the MCC (Mobile Country Code). Thanks to my
friend Sewi for helping me finding this. :)

So I'm not so familiar with github but it still remains "empty" instead of "" 
in GsmServiceStateTracker.java and I also in CdmaServiceStateTracker.java

maybe Polytheus can have a look ;)

Original comment by andre%ma...@gtempaccount.com on 8 Nov 2010 at 1:26

GoogleCodeExporter commented 9 years ago
Is this solved?

I believe it is.

Original comment by trmfrei...@gmail.com on 8 Feb 2011 at 6:51

GoogleCodeExporter commented 9 years ago
fixed for me! thanks a lot!!!
The only thing is if you come back to your home network you have to activate 
the airplane modus to get back you internet connection.
But there are no more roaming fees ;)

Original comment by andre%ma...@gtempaccount.com on 9 Feb 2011 at 12:58

GoogleCodeExporter commented 9 years ago
Ok.

Closing this issue.
If you have any other problem please open a new issue.

Thank you

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 9:52