Re: Linux/Android on CDMA Touch Pro (RAPH800)
well, you can mount the rootfs.img (or possibly remount the root partition rw from android -- not sure if that's possible), and change the apns-conf.xml in /init.etc/.
Once it's read from the conf file, though, the APN information is stored in /data/data/com.android.providers.telephony/databases/telephony.db. The command to add the standard Android APN (now renamed CDMA Generic) is:
sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "INSERT INTO carriers VALUES(NULL, 'Android' , '310995' , '310' , '995' , 'internet' , '*' , '*' , '*' , NULL, NULL, NULL, NULL, 'null' , -1, 'default' , 1);"
You can play with sql commands to add other APN info.
...I'm not really sure what it'll accomplish, though. Normal Android CDMA phones don't even have APN settings, so it's all just a bunch of weird hacks, I think.
|