Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APN config doesn't save #10

Open
snmatias opened this issue Sep 18, 2015 · 7 comments
Open

APN config doesn't save #10

snmatias opened this issue Sep 18, 2015 · 7 comments
Labels

Comments

@snmatias
Copy link

When I modify the MCC and/or MNC fields, whole APN config is deleted.

@jack21xda
Copy link

The problem is very particular. Actually, it saves APN but it is hiding the just-created-apn because it can't detect the MCC and MCN of my carrier VODAFONE ITALY.

So:

  • The phone doesn't detect the MCC and MCN of my carrier, so APN list is empty.
  • Creating a new apn request to the user also MMC/MNC, that normally are fields filled by the system (retrieved from the SIM that is inserted).
  • It saves APN that you have created but it is hiding it because MMC/MCN is not recognized with the one of the SIM

Logcat report this:
Telephony Provider: Failed setting numeric 'null' to the current operator

So, MMC and MNC codes of current operator (SIM inserted in the phone) are recognized as 'null'.
The result is that Android can't apply APN because if MMC/MNC code of SIM is recognized as 'null' and APN is set (for example) to work with 222 10 (Vodafone Italy) it can't apply setting.

Tried also to change Baseband (via libs replace) and also to flash FAT.BIN from stock Samsung .tar.md5
Baseband changes correctly but nothing to do for APN. So no mobile data for now.

PLEASE NOTE THAT other carrier's SIM (here in Italy TIM and H3G) currently makes APN work perfectly.

A WORKAROUND may be to set 'null' in the MMC/MNC section of apns-configuration XML that belongs to the carrier that have the 'not-recognized-problem', so that Android will apply that setting.

i think that is a carrier-related bug of this build.

PS: This may be helpful http://matt.bionicmessage.net/blog/2010/07/01/The%20curious%20case%20of%20the%20missing%20APNs

@jack21xda
Copy link

Ok, so unavailable APN is only a mirror effect. The problem is that IMSI and other codes are not detected, so there are also other problems: you can't manually chose your own Carrier (from Network setting) - You can't enable / disable / use a SIM with PIN enabled - You can't know your phone number from Android Settings.

But callings and texts are working... And this issue is present only with certain Carriers

EDIT: Tried with other 3 different basebands and a recent NFC SIM From Vodafone
Nothing to do :( - The new sim has the pin and is detected only if i disable PIN from other phone

@snmatias
Copy link
Author

Mine works with only apn, user, and password fields filled

@jack21xda
Copy link

So that's another bug 👍

What is your carrier? Can you read your phone number under Setting - Info - Status?

@snmatias
Copy link
Author

My carrier is Personal (Argentina), and I can read my phone number under Setting - Info - Status

@jack21xda
Copy link

Nothing to do, i tried everything but with this build Vodafone IT (the 2nd carrier in Italy) can't work
Sorry to rollback to stock rom but i need mobile 3g connection :(

I can only say that a part of Android can communicate (i think RIL) with sim, but modem and other apps that use modem stack to read information about SIM not)

@jfernandz
Copy link

I've got the same issue :( I cannot use RIL what a pity, whole system works so fine :( I would like a fix, but I cannot do anything, I've tried to add manually one APN but doesn't work and I cannot see my telephone number in settings - info. I'm in Spain with Movistar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants