One of the things I miss most on Ubuntuphone is to sync addresses and calenders using CalDAV and CardDAV. At least for addresses I found a working solution in syncevolution.
Based on this article I successfully set up my Ubuntuphone to sync my addresses hosted on posteo.de.
The OS on my phone ist Ubuntu 14.10 (r16) where syncevolution already is pre-installed.
So the first steps to install syncevolution mentioned in the article are not neccessary any longer.
Syncevolution is configured on the command line.
I used the adb-shell on my Ubuntu-computer to do this but you also can use the terminal-app on the phone.
In both cases the root-password you are asked for is the same than the one you use to unlock your phone.
To open the shell in the computer just type
adb shell in the terminal. Ensure that your device is connected with the computer and unlocked. Type in the password when you are asked for it.
To become root type in
su – phablet.
When using the terminal on your device you are prompted to type in the root-password.
In the following I use my provider posteo.de as example. With some modifications this should work with any other CardDAV-Server as well.
To set up syncevolution type in the following commands. Ensure that you change things like username or password accordingly.
syncevolution --configure --template WebDAV username=[youremailaddress]@posteo.de password=[yourpassword] syncURL=https://posteo.de:8843/addressbooks/[youremailaddresswithoutdomain]/default/ keyring=no target-config@posteo
syncevolution --configure database=https://posteo.de:8843/addressbooks/[youremailaddresswithoutdomain]/default/ backend=carddav target-config@posteo myaddressbook
syncevolution --configure --template SyncEvolution_Client sync=none syncURL=local://@posteo username= password= posteo
syncevolution --configure sync=two-way backend=addressbook database= posteo myaddressbook
syncevolution --sync slow posteo myaddressbook
This should start the initial sync with your addressbook.
To sync the addressbook later again you just have to enter the command
syncevolution posteo myaddressbook
I tried to modify this to set up sync of my calendar hosted at posteo.de as well.
This however failed with the following error:
unsupported media type or format (local, status 10415)
If anybody has ideas on this issue I would be thankful to hear.
Edit 2015/03/31: You need to have developer mode enabled on your ubuntuphone to get this work!
This is done in settings / Info … (I do not know the exact menu name as my phone is set on german language)