10/05/2009, 05:16 AM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
Script to migrate your Palm Pre's contacts from your Palm Profile to Google gMail contacts. FOR FREE!
MvPre2Gmail ![]() The script does everything mentioned at PalmDatabase.db3 File - WebOS Internals and is performed on a backup copy of the Palm Database, PalmDatabase.db3. What this script does not do: It will not remove the contacts from your Palm Pre Profile. It will not remove the Gmail account from your Pre's Contacts App. It will not migrate more than 3 emails or 3 phone numbers per contact. It will not separate facebook, gmail, or palm pre contacts. It migrates ALL contacts. UPDATE: Run delete_contacts.sql on your live PalmDatabase.db3 to delete all your contacts from your Palm Pre Profile prior to adding and syncing your Gmail account with your Palm Pre. There are some error handling and checking to see if certain things are installed or not [root access, filesystem rw, sqlite3, and perl]. Some assumptions are made... You've rooted your Pre, Installed Optware-bootstrap and Quilt per webos-internals.org 'Next Steps'....[needed for ipkg-opt] Would love for ppl to try it out and give me feed back. I have some ideas on how to improve the script further. I'll wait to hear what ppl think so far tho. Installation/Usage: 1. download zip file and extract. 2. copy the file to root on the Palm Pre [WebOS QI or sFTP or via USB drive] 3. Log into Pre as root and make file executable chmod 755 MvPre2Gmail 4. Run MvPre2Gmail I've also attached my googlecsv. This shell script automagically generates a copy of this Perl script. Had to give it a TXT extension to upload it. Remove that if you chose to modify and use it. My contacts are all in the Google Cloud now!! Credit for this script goes to Hopspitfire, DCPedit, and wsobel over at webos-internals.... PalmDatabase.db3 File - WebOS Internals UPDATE: Added the line Code:
print SQLDEL ".load /usr/lib/sqlite3_palm_extension.so\n"; If you run, delete_contacts.sql [automagically generated] on your live PalmDatabase.db3 file, it will successfully remove all your contacts from your Palm Pre Profile!! You will NOT have to manually delete ALL of the Pre contacts one by one. PLEASE BE CAREFUL WITH THIS. Make sure your contacts are accurate and have been successfully uploaded to Gmail and run delete_contacts.sql prior to adding your Gmail account to your Pre's contact app. Last edited by DrewPre; 10/28/2009 at 12:44 AM. |
10/05/2009, 06:26 AM
|
#2 (permalink) |
|
Moderator
![]() Join Date: Jan 2009
Location: SW Ohio
Posts: 3,858
Likes Received: 92
Thanks: 1,019
Thanked 1,061 Times in 715 Posts
|
So if someone could write a script to do this whole thing, that would be a great service. By the way, duplicates are not a big deal. Synergy will link them. So deleting Palm profile contacts is not necessary.
|
10/05/2009, 10:25 AM
|
#4 (permalink) | |
|
Member
![]() Join Date: Oct 2005
Location: Fort Lauderdale, FL
Posts: 1,046
Likes Received: 25
Thanks: 85
Thanked 98 Times in 71 Posts
|
Quote:
Is there a criteria that Synergy follows when determining which contacts to link? |
|
10/06/2009, 05:04 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Nov 2002
Posts: 205
Likes Received: 0
Thanks: 10
Thanked 7 Times in 6 Posts
|
I don't mind rooting my pre - but the above seems pretty complicated to me - and I don't know that I understand it all. I agree totally that this would be a great patch or application for someone to write - maybe one that simply exports a csv file of the databels and saves it on the device - or better yet ques it as an attachment in an email draft.
|
10/06/2009, 08:51 PM
|
#7 (permalink) |
|
Moderator
![]() Join Date: Nov 2002
Location: All over the place
Posts: 8,301
Likes Received: 7
Thanks: 216
Thanked 267 Times in 146 Posts
|
Since the output file is a cvs file, you could easily use that to sync with outlook, ymail or whatever! I would love if as other users have stated someone could create a script for this so users could export their contacts out of the Pre whenever they wanted. If this could be integrated into WOQI that would be awesome!!
__________________
_________________ aka Gfunkmagic Current device: Palm Pre Device graveyard: Palm Vx, Cassiopeia E100, LG Phenom HPC, Palm M515, Treo 300, Treo 600, Treo 650, Treo 700p, Axim X50v, Treo 800w Please don't PM me about my avatar. For more info go here. Restore your Pre to factory settings using webos doctor and follow these instructions |
10/06/2009, 08:56 PM
|
#8 (permalink) | |
|
Member
![]() Join Date: Jun 2005
Posts: 385
Likes Received: 0
Thanks: 75
Thanked 5 Times in 5 Posts
|
Quote:
|
|
10/06/2009, 09:31 PM
|
#9 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
You know I love learnng new things, but I am clueless about scripts. Are there any coders out there that can show me a few pointers? Links? How does one get started writing scripts??
|
10/06/2009, 09:37 PM
|
#10 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
|
And I should add that the hardest parts of the above was deleting all the old contacts manually from the Palm Pre account [cuz the script for that, doesn't work] and also validating the csv file was accurate.
Those 2 processes took about 90 minutes. The rest took, 15. |
10/06/2009, 09:39 PM
|
#11 (permalink) |
|
Moderator
![]() Join Date: Nov 2002
Location: All over the place
Posts: 8,301
Likes Received: 7
Thanks: 216
Thanked 267 Times in 146 Posts
|
<moved>
__________________
_________________ aka Gfunkmagic Current device: Palm Pre Device graveyard: Palm Vx, Cassiopeia E100, LG Phenom HPC, Palm M515, Treo 300, Treo 600, Treo 650, Treo 700p, Axim X50v, Treo 800w Please don't PM me about my avatar. For more info go here. Restore your Pre to factory settings using webos doctor and follow these instructions |
10/07/2009, 04:49 PM
|
#12 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Miami, Fl
Posts: 660
Likes Received: 0
Thanks: 10
Thanked 68 Times in 57 Posts
|
To move the pre contacts to google contact don't you just have to enter your google address into the contacts accounts and it will sync automatically. You can also choose which you want as the default palm or google contacts.
|
10/11/2009, 02:29 AM
|
#14 (permalink) | |
|
Member
![]() Join Date: Aug 2007
Location: California
Posts: 656
Likes Received: 0
Thanks: 39
Thanked 128 Times in 116 Posts
|
Quote:
As nervous as I am about this situation (especially since the Sidekick debacle), I think I'll give some webOS genius a chance to develop a patch to fix the problem. I don't trust myself not to screw up my phone. |
|
10/11/2009, 07:03 AM
|
#15 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
|
Quote:
BUT be sure not to link it google in the last step of the tutorial cause this would be rather ridiculious - hehe, use Palm Profile
|
|
10/16/2009, 12:47 AM
|
#19 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2006
Location: The Dec Shawty, GA
Posts: 265
Likes Received: 0
Thanks: 90
Thanked 288 Times in 212 Posts
|
Yeah, this is a great start, and like OP said, not difficult to do, but there is still too much manual effort even past these instructions. I assume exporting all the info out of the Palm Profile (like addresses) would be a formatting nightmare, and so I'll be manually putting those into Google. But at least I have most phone numbers and emails in more than 2 places now...
__________________
My 11 year Sprint journey: Denso Touchpoint --> Samsung A500 --> Palm Treo 650 --> Palm Treo 700P --> Palm Treo 700P w/755P ROM hack --> Palm Pre --> Sprint Palm Pre Plus & unlocked AT&T Palm Pre Minus --> iPhone 4s |
10/16/2009, 01:40 AM
|
#20 (permalink) |
|
Member
![]() Join Date: Feb 2005
Location: NorCal
Posts: 82
Likes Received: 0
Thanks: 62
Thanked 1 Time in 1 Post
|
In Contacts, Google (with 1200+ contacts) is my default account and my Palm profile only has 2 contacts. New contacts default into the Google account. (so I guess my Contacts are safe -- I guess I could try to export to csv from Google.com and evaluate the output file). I agree with one suggestion above that it would be cool if programs such as PreWare or WebOS Quick Install or another app (in counjunction with USB disk mode export to desktop machine) would help us back up our data. I guess there are several apps for this including HotSync to Palm Desktop 6.2 using Classic.
__________________
PalmPilot Professional > Palm Vx (RAM upgraded by 3rd pty) > Treo 600 >Treo 650 > Treo 700p > 2 x Pre (mine and my wife's)
Last edited by liv2surf; 10/16/2009 at 01:47 AM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



