View Single Post
  #1957 (permalink)  
Old 04-07-2010, 11:04 PM
makkonen's Avatar
makkonen
TouchPro Android Guy
Offline
Threadstarter
 
Join Date: May 2007
Posts: 585
Reputation: 3280
makkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote