webOS Nation Forums >  webOS apps and software >  webOS Synergy and synchronization > Migrate your Palm Pre profile contacts to Google Contacts for Free
Migrate your Palm Pre profile contacts to Google Contacts for Free

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/05/2009, 05:16 AM   #1 (permalink)
Member
 
DrewPre's Avatar
 
Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
Thumbs up Migrate your Palm Pre profile contacts to Google Contacts for Free

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";
to the MvPre2Gmail script in the section where the googlecsv script is created. Both files have been updated to reflect this change.

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.
Attached Files
File Type: zip MvPre2Gmail.zip (2.4 KB, 454 views) Email Attachment
File Type: txt googlecsv.txt (3.1 KB, 218 views) Email Attachment

Last edited by DrewPre; 10/28/2009 at 12:44 AM.
DrewPre is offline   Reply With Quote
Thanked by GigaS27, titus98
Old 10/05/2009, 06:26 AM   #2 (permalink)
Moderator
 
jbg7474's Avatar
 
Join Date: Jan 2009
Location: SW Ohio
Posts: 3,858
Likes Received: 92
Thanks: 1,019
Thanked 1,061 Times in 715 Posts
Default

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.
jbg7474 is offline   Reply With Quote
Old 10/05/2009, 09:54 AM   #3 (permalink)
Member
 
Join Date: Jun 2005
Posts: 385
Likes Received: 0
Thanks: 75
Thanked 5 Times in 5 Posts
Default

Thats just what im looking for. Now if there was some simple app that which a click of a button will accomplish all that, I would be one happy guy!
myblackz28 is offline   Reply With Quote
Old 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
Default

Quote:
Originally Posted by jbg7474 View Post
By the way, duplicates are not a big deal. Synergy will link them. So deleting Palm profile contacts is not necessary.
Does it? I no longer have them since I manually linked those, but when I got my Pre at launch and ran the desktop migration tool, I had tons of duplicates that just sat there, unlinked.

Is there a criteria that Synergy follows when determining which contacts to link?
Carioca_FL is offline   Reply With Quote
Old 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
Default

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.
__________________
varoomba is offline   Reply With Quote
Old 10/06/2009, 05:19 PM   #6 (permalink)
JRH
Member
 
JRH's Avatar
 
Join Date: Sep 2009
Posts: 128
Likes Received: 0
Thanks: 22
Thanked 32 Times in 18 Posts
Default

yikes....I'll wait for the app/patch
JRH is offline   Reply With Quote
Old 10/06/2009, 08:51 PM   #7 (permalink)
Moderator
 
Gaurav's Avatar
 
Join Date: Nov 2002
Location: All over the place
Posts: 8,301
Likes Received: 7
Thanks: 216
Thanked 267 Times in 146 Posts
Default

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
Gaurav is offline   Reply With Quote
Old 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
Default

Quote:
Originally Posted by Gaurav View Post
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!!
agreed.
myblackz28 is offline   Reply With Quote
Old 10/06/2009, 09:31 PM   #9 (permalink)
Member
 
DrewPre's Avatar
 
Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
Default

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??
DrewPre is offline   Reply With Quote
Old 10/06/2009, 09:37 PM   #10 (permalink)
Member
 
DrewPre's Avatar
 
Join Date: Aug 2009
Location: The HARD Streets of Alpharetta, GA
Posts: 829
Likes Received: 2
Thanks: 44
Thanked 176 Times in 92 Posts
Default

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.
DrewPre is offline   Reply With Quote
Old 10/06/2009, 09:39 PM   #11 (permalink)
Moderator
 
Gaurav's Avatar
 
Join Date: Nov 2002
Location: All over the place
Posts: 8,301
Likes Received: 7
Thanks: 216
Thanked 267 Times in 146 Posts
Default

<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
Gaurav is offline   Reply With Quote
Old 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
Default

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.
edlex is offline   Reply With Quote
Old 10/07/2009, 04:53 PM   #13 (permalink)
Member
 
Join Date: Nov 2008
Posts: 1,318
Likes Received: 4
Thanks: 142
Thanked 303 Times in 186 Posts
Default

Hmmm ... I wish there was a way to move my google contacts to my Palm profile. Would a few minor changes accomplish this?
bpdamas is offline   Reply With Quote
Old 10/11/2009, 02:29 AM   #14 (permalink)
Member
 
cas_esq's Avatar
 
Join Date: Aug 2007
Location: California
Posts: 656
Likes Received: 0
Thanks: 39
Thanked 128 Times in 116 Posts
Default

Quote:
Originally Posted by edlex View Post
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.
If it was that easy, this thread wouldn't exist. Give us some credit! What you propose will only work for new contacts. Any preexisting contacts will remain tied to the Palm Profile.

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.
cas_esq is offline   Reply With Quote
Old 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
Default

Quote:
Originally Posted by bpdamas View Post
Hmmm ... I wish there was a way to move my google contacts to my Palm profile. Would a few minor changes accomplish this?
Well you could export your google contacts at google.com into a Outlook CSV, import this into an new outlook/entourage account on your PC and then use the Palm DTA to import it back on your Pre: Palm.com : Data Transfer Assistant (Windows)
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
gizmo21 is offline   Reply With Quote
Old 10/11/2009, 11:56 AM   #16 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Quote:
Originally Posted by Carioca_FL View Post
Is there a criteria that Synergy follows when determining which contacts to link?
Same (exact) name, same phone number, same IM account, or same email address and they'll link automatically.
jhoff80 is offline   Reply With Quote
Old 10/14/2009, 06:32 PM   #17 (permalink)
Member
 
Join Date: Aug 2009
Posts: 14
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

If anyone knows what the heck sqlite and perl is help! I can find them and junk but I sure as heck dont know how to use um
thebenjamin1 is offline   Reply With Quote
Old 10/15/2009, 07:37 PM   #18 (permalink)
Member
 
Join Date: Oct 2009
Posts: 14
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

exact what i was looking for. but i guess it would be much easier and safer to add the contacts manually to my google account.
Waiting and hoping for ann app for this.
amiroo is offline   Reply With Quote
Old 10/16/2009, 12:47 AM   #19 (permalink)
Member
 
irateb's Avatar
 
Join Date: Feb 2006
Location: The Dec Shawty, GA
Posts: 265
Likes Received: 0
Thanks: 90
Thanked 288 Times in 212 Posts
Default

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
irateb is offline   Reply With Quote
Old 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
Default

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.
liv2surf is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0