View Single Post
  #20 (permalink)  
Old 04-07-2011, 11:26 AM
arrrghhh's Avatar
arrrghhh
Testing Extraordinaire
Offline
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: How to set CDMA APNs with new more stable ril

Quote:
Originally Posted by highlandsun View Post
I've written a patch for the Phone.apk that will enable the APN menu in CDMA mode, but stinebd hasn't picked it up yet. For now you'll just have to switch back to GSM mode to add the APN. You need to have the MCC/MNC of your operator, along with any other relevant info needed to make a data connection (username, password...). For most CDMA operators you don't actually need any info, since the phone number is always #777 and most of them don't require username/password authentication.

For future reference: in fake GSM mode, the ril reports a hardcoded operator ID of 310995 to the phone. The default apn_conf.xml always has an APN defined for this ID, with #777 as the number. In real CDMA mode, you should probably add an APN with your own operator ID, but again, in most cases it won't make a difference.
I've tested this patch, and it does indeed work. If anyone wants, I can throw up the system image - I need to talk to sir stine...

I should modify that other stuff (eri.xml, gps fix, etc) and integrate it as well while I'm at it. Perhaps tonight folks.
Reply With Quote
This post has been thanked 4 times.