Home » Linux » Mobile » Nokia E Series Sync With Evolution Via Bluetooth In Ubuntu

Nokia E-series sync with Evolution via Bluetooth in Ubuntu

nokiaThe Nokia E-series consists of business-oriented smartphones, with emphasis on support for corporate e-mail. Currently Nokia e-series includes: E60, E61, E70, E50, E61i, E65, E90.

This is a howto (provided by Nailor) shows how to sync Nokia E-series phone (Symbian 9.1, Series60 3rd edition) with Gnome Evolution in Ubuntu Edgy Eft (6.10) and Feisty Fawn (7.04). This has been tested with Nokia E50. Information on how to sync Nokia E65 is available here. Kubuntu users may be interested in this.

[digg-me] 1. Add required repositories:

Add following repositories to /etc/apt/sources.list:
deb feisty main
deb-src feisty main

To add key for the repo, do the following:
gpg –keyserver hkp://subkeys.pgp.net/ –recv-keys CB210090B029CB84
gpg –export CB210090B029CB84 | sudo apt-key add –

2. Install required software

sudo aptitude install libopensync-plugin-* libopensync0 opensyncutils msynctool mulstisync-qad bluez-passkey-gnome bluez-gnome

3. Configure msynctool
You can configure opensync via a graphical interface using multisync-qad (using similiar settings as below) or you can use command line. Guide below is for command line. Note, that the command line is reported not to work flawlessly on Feisty. You’ll bet better results with GUI

Add a new group of preferred name (I’ll be using nokia in this example):
msynctool –addgroup nokia

Add plugins to group. If you get errors in this face, they are propably due to missing plugins so check you’ve installed all required plugins.

msynctool –addmember nokia evo2-sync
msynctool –addmember nokia syncml-obex-client

Next is the ‘trickiest’ part. Installed plugins need to be configured. First, you have to find your phone’s MAC. Use hcitool to do that:
hcitool scan

It should return something like:
xx:xx:xx:xx:xx:xx PhoneName

Now, configure the syncml-obex-client:
msynctool –configure nokia 2

Replace the context of the configuration (should be open in separate editor after running previous command) with the following XML:
<config>
<bluetooth_address>xx:xx:xx:xx:xx:xx</bluetooth_address>
<bluetooth_channel>10</bluetooth_channel>
<interface>0</interface>
<identifier>PC Suite</identifier>
<version>1</version>
<wbxml>1</wbxml>
<username></username>
<password></password>
<type>2</type>
<usestringtable>1</usestringtable>
<onlyreplace>0</onlyreplace>
<recvLimit>0</recvLimit>
<maxObjSize>0</maxObjSize>
<contact_db>Contacts</contact_db>
<calendar_db></calendar_db>
<note_db></note_db>
</config>

Where bluetooth_address is your phone’s MAC address you just discovered.

After configuring the syncml-obex-client it’s time to configure evo2-sync. Open configuration file with command:
msynctool –configure nokia 1

And modify it to look like:
<?xml version=”1.0″?>
<config>
<address_path>file:///home/USERNAME/.evolution/addressbook/local/system</address_path>
</config>

Replace USERNAME with your username.

Edgy note: With the latest update from jahn repositories, this works with defaults. You can configure Calendar as calendar_db to syncml-obex-client setup to make calendar syncing work

4. Sync!
You should be good to go now, so you should try synchronizing:
msynctool –sync nokia

SHARE:
Photo of author
Author
My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

12 thoughts on “Nokia E-series sync with Evolution via Bluetooth in Ubuntu”

  1. This almost works fine, but I get a system error on my phone.
    multisync displays the following:

    syncml-obex-client Commited all changes
    evo2-sync Sent all changes

    241 entries received
    All conflicts have been reported

    and freezes there.
    The remove, edit and refresh buttons are greyed out.

    Any ideas??

    Reply
  2. Hi guys,

    FYI, i'm syncing my E61i with evolution. Calendar, contacts and tasks are syncing correctly.

    The only problem I have found is that msynctool does crash when the tasks on the phone are configured with an alarm.

    Didrik

    Reply
  3. i've used the same configuration as specified in the ubuntu link except that I have splitted the synchronisation of the calendar and the contacts in two differnt msynctool profiles.

    At the moment, eveything works fine except that changes made into my evolution calendar does not seem to be detected by msynctool …

    I can provide my configuration file if needed.

    Didrik

    Reply
  4. hi This works fine for me.

    Now I am trying it in reverse order. I just changed one of the contacts on PC.

    And When I do sync on my NOKIA mobile I could sync nothing. The only thing I saw in hcidump was the connection being established and suddenly disconnecting. This time I was running

    $msynctool –sync my-nokia –wait

    Synchronizing group "my-nokia"

    This waited forever.

    Do I need something like a server running on my PC to let the mobile initiate the sync?

    Help please.

    Thanks in advance.

    Reply
  5. it works for ALL Nokia Phones with syncml Client includet and that are almost all new ones.

    BUT: NOKIA uses different channels on different models, so you need

    hcitool scan to get the AMC addr from your phone

    sdptool browse xx:xx:xx:xx:xx <- MAC Address here

    to get the channel where SYNCML CLIENT is.

    Service Name: SyncMLClient

    Service RecHandle: 0x10009

    Service Class ID List:

    UUID 128: 00000002-0000-1000-8000-0002ee000002

    Protocol Descriptor List:

    "L2CAP" (0x0100)

    "RFCOMM" (0x0003)

    Channel: 6

    "OBEX" (0x0008)

    Language Base Attr List:

    code_ISO639: 0x454e

    encoding: 0x6a

    base_offset: 0x100

    Profile Descriptor List:

    "" (0x00000002-0000-1000-8000-0002ee000002)

    Version: 0x0100

    Reply
  6. @mower, I tried this with my N82 and it works well, but Notes are not getting synced.

    have you tried it? May be Notes are not supported in Evolution.

    Somehow we need to trick to make multisync believe that Notes in phone=Memo in Evolution

    Reply
  7. hello,

    did anybody succeed in setting up an N70? I've spent hours but all I get is a list of "Unable to commit change. Error 500".

    Reply

Leave a Comment