I've starting this thread for the unlocked GSM Pre as a place to summarise what I've learnt from other threads in this forum (many thanks to Dick99999 for the post buried in
this thread) , and also to make sure I got the steps right since I need to do this once I get my GSM Palm Pre
I assume that one will have 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.
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)
Step 1) Copying the carrier network database file to your PC
Several methods
a) Obtain the database from the
webosdoctor image
Download the image appropriate for your device
Use
7zip to unpack the file
The file is found in :
webosdoctorp100eww-wr\resources\webOS\nova-cust-image-castle.rootfs.tar\nova-cust-image-castle.rootfs\usr\lib\luna\CarrierNetworkSettings.db3
b)Obtain the database from the device itself:
you can
1) SSH to to your Pre using Putty, type
cp /usr/lib/luna/CarrierNetworkSettings.db3 /media/internal. This will copy the database file to the internal storage.
Put your Pre into USB disk mode and copy the database file to your machine.
or
2) use
Internalz
navigate to /usr/lib/luna/
and copy CarrierNetworkSettings.db3 to /media/internal
Put your Pre into USB disk mode and copy the database file to your machine.
or
3) Use
WebOS Quick Install tool
Put your Pre in Developer Mode
Attach to PC and select Just Charge
Launch WOQI
Select Receive File from the menu
enter /usr/lib/luna/CarrierNetworkSettings.db3
select destination folder in your PC
Step 2) Editing the database on your PC
I suppose it is prudent to back up the file before making modifications
a) Obtain a free SQLite database editor
-
SQLite Database Browser
or
-
Firefox SQLite manager extension
b) Open the carrier network db3 file in SQLite database browser
Click on the Browse Data tab
- From the drop down menu, select the ..._CarrierNetworkSettings table
- Locate your carrier by browsing or searching the table
- Note the 13 digit number such as 2199023255831 ID value of the carrier at the end of the record on the right hand side
- Change the voicemail number if desired: Locate your carrier by browsing or searching the table
- check and enter the field voicemailNumber
- From the drop down menu, select the ..._DataConnectionSettings table
- Locate that same ID in the dataconnections table
Now you can edit the APN , username and password if these have been changed by your carrier but not updated in the Palm database
Save the file
Step 3) Copying the database back to the device
Use Jason Robitaille's WebOS Quick Install tool
Click on Tools - Send File and point it to the amended database file.
As the destination folder use /usr/lib/luna/ and click Send To Device!
Repeat this, only this time use /var/luna/data/ as the destination folder.
Reset your Pre. That should be it. I hope.