3G in General and APN

A working 3G data connection shows up in the top status row of the Pre. That row shows either 3G, G or E (both for 2G) on the left of the signal strength icon on GSM models, provided that the WiFi is off or WiFi is not connected. Once WiFI is connected its icon will overwrite the 3G icon. That way you always know what connection is active for data connections.
Many have reported 3G data connection problems, especially when using the Pre on 'non-supported networks' (to be defined). An APN is an Access Point Name, that is required to connect to that named network. One of the contributing factors to 3G problems is that APN and information about that network such as a passwords are sometimes not correct in the Pre's database of networks/operators. This Wiki is intended to solve 3G (and APN) problems.

Type of 3G or APN Problems

Connection to networks in countries where the Pre is not sold through Palm's channels: some work out of the box, some experience problems as follows.

Network operator not present in the Pre Carrier database: reported in the forum that this can be solved, see case 2

Network operator present, but entries in Database are wrong: reported in the forum that this can be solved, see case 3

Manual settings on Phone preferences cannot be saved: not sure, probably network operator not present in database, see case 2

Data connection not established while DB entries seem OK: can be solved in many cases, see case 5

Voicemail number wrong or not present: can be solved, see case

Tools needed

This information covers WebOS version 1 only. WebOS version 2 does not use SQLite any longer.

If the problem cannot be solved by using manual settings under Phone preferences, you need some tools to modify some Pre files. (List of tools to be added)

If you have a PC, probably WebOS Quick Install is easy to install and use for beginners [1]

How to Determine which Problem Case(s) is (are) Applicable

This is tricky and needs some work.....

Check whether your carrier/operator is listed in the Pre carrier database. Some copies of the carrier database are availablke in this thread [2]. If your carrier is not listed, you'll have to modify an existing other carrier's data into your carrier. It requires both a modified carrier DB entry and one or more modified data entries. See case 2.

Check whether the data section of a listed carrier contains the right information. If the settings are not right, you have to modify the data section of your carrier. Probably modifying it by manual settings under phone preferences is easiest, for some nice screen shots see Marc's Blog [3]. If manual settings does not work for you, you'll have to change the databases located on the Pre, see case 3.

Some have reported that even though all setting look OK, still there is no 3G data connection. One of the causes is that as of 1.3.1 some networks/carriers require PPP options for user name and password, see case 5.

Forum threads that discuss or solve the 3G problem

Since this How to is just starting, the following threads contains many working suggestions. Please add any thread you find valuable.

Case 2: carrier/operator not present in the Pre carrier database

This information covers WebOS version 1 only. WebOS version 2 does not use SQLite any longer.

Thanks to Capitano69
Anyway, also if the procedure is not perfect and complete I will write down for all users:

1) Obtain the Carrier Database using one of the method at the beginning of the post

2) Open the file as explained at the beginning of the post with an SQL Editor (I used SQLite)

3) Select the tab "Browse data"

4) From the popup menu on the left upper corner select the table ".._CarrierNetworkSettings"

5) Create a new record with the button on the right upper corner "New Record"

6) Insert the corresponding mcc and mnc of your carrier; you can find a complete list at the following address Mobile Network Code - Wikipedia, the free encyclopedia.
E.G. in my case I needed the Orange Operator in Moldova so I inserted mcc=259 and mnc=1

7) Insert the name of your operator in the following field: "qOperatorShortName" and "qOperatorLongName"

8) Insert "1" in the following fields: "gsmNumSimPDP" and "umtsNumSimPDP". This should be activate the EDGE and 3G connection... at least it worked in my case, with other carrier maybe different so try other options; look in the same column at the other carrier settings.

9) Insert the sms center number of your carrier in the following field: "smscNumber". This should activate the possibility to send SMS. E.G in my case it was +37369101030

10) The most of the other fields related to sms have intuitive names (eg. "smsMessageSize" that corresponds to the number of caracter for a single sms that usually is 160); in case of doubt leave the field blank

11) Insert the settings for the mms provided by your carrier in the following fields: "mmscWapgateway", "mmscUrl" and "mmscPortNumber". E.G in my case it was "192.168.127.125", "http://mms/mms" and "9201"

12) As for sms other fields have intuitive names (eg. "mmscMessageSizeLimit" or "mmsMaxPictureHeight"); insert the value according to the most common value from the other carriers settings

13) At the very end of the record ther is the 13digit number as explained at the beginning of the post; write down this number. It's the field simply indicated as "id"

14) Now select form the popup menu the table ".._DataConnectionSettings" and create a new record

15) In the 1st field named ".._CarrierNetworkSettings_id" insert the 13 digit number you wrote down

16) In the field "apn" insert the apn provided from your carrier. E.G in my case it was "wap.orange.md"

17) in the fields "cshuUserName" and "cshnPassword" insert the User Name and Password if specified in the settings from your carrier; leave them blank if you do not nedd username and password

18) In the fields "supporteService" and "serviceDefault" insert the number "1". This should activate the data connection.

19) In the field "regionName" insert the name of the settings provided by your carrier

20) Leave other fields blank in case of doubt or insert the most common number from other carriers. E.G. in the field "_class_id" all other carriers have number "1" so I inserted the number 1 also for my carrier...

This should be everything... I want to be clear that this procedure is based on an empiric process of several tries i made and it worked in my case (I inserted some settings and sent the file to the Pre, reset it and tried to see how the modifications worked)
Maybe it will not work in other specific situations... in this case i cannot be of help, you should make changes and try several times until the settings will work for your carrier..

This information covers WebOS version 1 only. WebOS version 2 does not use SQLite any longer.

(thanks palmdoc2005 for his excellent writeup)
Please WiKi-expert,format the lists and sublists below

Assuming one has an unlocked GSM Pre which is activated, has network access via Wifi but may have 3G data connection problems due to incorrect carrier connection settings. Also assuming manual (data) setting under Phone preferences is OFF. (need a separate case how to handle ON)
Modifying the file CarrierNetworkSettings.db3 found in /usr/lib/luna/ may fix the problem
You of course also need to first check what the correct data network settings (APN/login/username etc) for your carrier are (call them up if you are unsure). Need some reference here of a list of carrier settings ......

The lines that are marked with # in front of them seem not to be required. They have been tried out to solve this problem. So just add your user/password lines in there and that should solve the problem. There are also reports that just having empty strings for user and passwords (so just "") works sometimes. And there are reports that the vodafone setting works on other networks that would need a different setting. If it does notwork, find the right settings for your network/operator. (need a web reference for those)

While no one is sure yet, why this problem has occurred since the 1.3.1 update - it's good to see it has been resolved. It has been reported in the forum this works for webOS 1.3.5.2 (GSM) and for 1.3.5.1 (Spint on a GSM model)

Case 6: Voice mail number not working on tap and hold key 1

This information covers WebOS version 1 only. WebOS version 2 does not use SQLite any longer.

When tap & hold key 1, a stored voice mail number is automatically dialed. If the Pre does not have
the voicemail number on record, it asks to provide one (as of webOS 1.4?). This
procedure however does not seem to work for the GSM models.For GSM models there are voicemail number entries in the Pre carrier database. However, about 50% of the 350 provider entries in the Pre's Carrier database have not filled out that
entry.

Manually entering a voice mail number into the CarrierDB makes the 1 short key working. Instructions to edit the voicemail number, see Case 3

There is one exception. If manual settings on phone preferences has been activated once before the
voicemail number is entered manually in the CarrierDB, the changed voice mail number will
not be copied again to the manual settings DB. Manual setting apparently copies the complete
record of the current provider as an override in a DB called PalmDatabase.db3.

So if manual setting has been activated before the carrier DB is changed, this PalmDatabase.db3 has to be updated too!
There is a fairly complicated way to do this for sure on the Pre itself, see[13]

There is a simple way to check which record/database is being used. Just give the regular carrier DB a different voicemail number compared to the PalmDatabase. Check preferences on the phone App and it displays which voicemail number is active.

If you are prepared to take some (limited?) risk, one could do the following. A small risk is that the DB will be changed on your Pre during the time you edit it on the PC. So close all apps on the Pre.
need more details here......

Try this procedure first, and stop before copying the DB back to the Pre. Then do it quickly all over again

Terminate all programs running on the Pre

The database to be changed is /var/luna/data/dbdata/PalmDatabase.db3

Copy the DB to your windows PC.

Run SQlite (freeware), open PalmDatabase.db3

Find the record/table called com_palm_data_carriernetworksettings_DataConnectionSettings (same name a normal procedure)

Change the voicemail (just by clicking, no SQL)

Copy the PalmDatabase back to the Pre.

Boot the Pre

A small risk is that the DB will have been changed on your Pre during the time oine edits that DB on a PC. So close all apps
first. Try this procedure first, then do it quickly all over again, I have done this
and it worked.