Android I run: **Complete GingerBread Bundle!!** GBX0A - Alpha! Camera!
Put apns-conf.xml in /system/etc, go to mobile network -> APN, menu key, reset to default, system will load the APNs from apns-conf.xml and add APNs which match your carrier's operator ID.
After enable data connection, android seems not pass selected APN's info to ril (such as APN name,user,password)
Quote:
D/RIL ( 1422): requesting data connection to APN '(null)'
APN got null value from system, then use default user/password to connect(default is dummy/dummy). So if user/password is not dummy/dummy, data connection will not work.
The new ril handled MMS, we can set the correct APNs for MMS receive.
Android I run: **Complete GingerBread Bundle!!** GBX0A - Alpha! Camera!
Put apns-conf.xml in /system/etc, go to mobile network -> APN, menu key, reset to default, system will load the APNs from apns-conf.xml and add APNs which match your carrier's operator ID.
After enable data connection, android seems not pass selected APN's info to ril (such as APN name,user,password)
APN got null value from system, then use default user/password to connect(default is dummy/dummy). So if user/password is not dummy/dummy, data connection will not work.
The new ril handled MMS, we can set the correct APNs for MMS receive.
I appreciate the info. I'm not sure how to merge it into the system file, hopefully somebody will come out with a build with the new RIL. (preferrable GB) or I'll just wait until it's committed.
I believe a simpler approach will be just to re-enable the APN Settings option in Phone Settings menu for CDMA phones. I don't have a CDMA phone to test this with, but something like this patch ought to do the trick:
(I literally just copied and pasted that out of the gsm_umts_options.xml file.)
Enabling this setting should make life easier for packaging, because then we don't need to worry about shipping with correct APN info pre-loaded for every carrier... But someone who can recompile the Phone app and run on CDMA will have to try this out and report back.
I gave it a try with apk manager, but might have done it a little wrong. All I ended up with was a fatal error in MAIN when I clicked the wireless and networks button. Force Close. I'm not sure I should be jumping in this deep yet.
I gave it a try with apk manager, but might have done it a little wrong. All I ended up with was a fatal error in MAIN when I clicked the wireless and networks button. Force Close. I'm not sure I should be jumping in this deep yet.
Yeah, looks like there's more to it than just that first patch. I'm still looking...
OK, since Phone.apk is a system app, it's not straightforward to just build a new one and drop it into place. The apps are cryptographically signed, and you need to have the same key on your build machine as was used to create it originally. I was running FRX06 and I don't have their release keys, so I replaced all of my /system with my own build of the Froyo tree. But even that wasn't enough, because /data/system still had records of the original keys. I found out about that here
After I did these edits on /data/system/packages.xml I was able to boot with my new system image (without first deleting all of my /data).
So here's the changes I made to the Phone.apk:
First, instead of leaving the APN setting in the GSM-specific options, I moved up to the generic Network Settings instead, so it can be used by both GSM and CDMA:
The resulting phone.apk still works for me. I'm pretty sure it will work for CDMA too, but you either need to build it yourself, or one of the xdandroid dev team will have to give us a patched Phone.apk signed with their release key.
I don't run CDMA so I can't test this even though I run self-build source builds.
That link is very outdated and I am having problems getting it to work, so far it has been about a month since I started trying to get it working. GingerBread will not compile doing what they say, I am about to try Froyo. Oh and I will be covering GSM only.
That link is very outdated and I am having problems getting it to work, so far it has been about a month since I started trying to get it working. GingerBread will not compile doing what they say, I am about to try Froyo. Oh and I will be covering GSM only.
I didn't realize there was a more up-to-date one...?
Those directions worked great for me on Froyo, I haven't tried since gb was released TBH...
That link is very outdated and I am having problems getting it to work, so far it has been about a month since I started trying to get it working. GingerBread will not compile doing what they say, I am about to try Froyo. Oh and I will be covering GSM only.
As far as I know the only differences for GB is it requires a 64bit OS and a different version of Java IIRC.
There are still quite a few of folks who run Gingerbread on their … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?