Sync your Android Contacts, Calendars and Notes at home with Yunohost

After a year or so of running YunoHost at home, I finally stopped treating my phone’s contacts, calendars and notes as data that had to live somewhere else. They now sync between my Android device and my own Nextcloud server, through a small stack of simple apps: Fossify Calendar, Fossify Contacts, Nextcloud Notes and DAVx⁵. I am never going back to Google sync — or anybody else’s.

The server side is the Nextcloud app on my YunoHost box, at cloud.yorili.com. It holds the address books, the calendars and the Markdown notes. Android does not talk to it directly: DAVx⁵ is the bridge that pulls CalDAV and CardDAV data into Android’s own contact and calendar storage, and the Fossify apps are what I use to read and edit it.

Smartphone and calendar on a desk
One phone, one home server, and no Google account in the middle. Photo: Pexels.

Why I moved it home

Google sync works. That is almost the problem: it is so easy that I stopped thinking about what I was handing over. Your contact list is your social graph. Your calendar says where you are, when, and often with whom. Your notes are the things you did not want to forget. All of that was sitting in somebody else’s account, governed by somebody else’s terms.

Mozilla taught me the difference between “encrypted in transit” and “under your control” when I moved Firefox Sync. The same distinction applies here. I am not claiming Google loses data or reads my calendar. I am saying I no longer need to take that on trust.

I did not need a better contacts app. I needed my contacts to stop being somebody else’s row in a database.

What is running at home

Nextcloud is installed through the YunoHost app store as version 35.0.3~ynh1. The status endpoint reports a clean install with no maintenance mode, and the CalDAV and CardDAV endpoints are live. They return HTTP 401 without credentials, which is exactly what you want from a private server.

Service / Login Flow URL: https://domain.tld/
Base URL for DAVx⁵:       https://domain.tld/remote.php/dav
CardDAV (contacts):      https://domain.tld/remote.php/carddav
CalDAV (calendars):      https://domain.tld/remote.php/caldav
WebDAV (files):          https://domain.tld/remote.php/webdavCode language: JavaScript (javascript)

YunoHost takes care of the reverse proxy, the TLS certificate and the service, so the only thing I manage is the data inside Nextcloud. That data is part of my normal server backups — a very different feeling from hoping a cloud provider keeps a copy.

The Android apps I use

There are four pieces, and each does one job. The important detail from the DAVx⁵ manual is that DAVx⁵ is not a contacts or calendar app and not a storage backend. It synchronises Android’s system Contacts and Calendar providers with the server. That is why the Fossify apps work so well with it: they read and write those same Android providers.

  • Fossify Contacts — an open-source address book with groups, favourites, custom fields and vCard import/export. It has no Internet permission and does not run a sync service of its own.
  • Fossify Calendar — an open-source calendar that reads events from the Android calendar provider, so it sees whatever DAVx⁵ has synced.
  • DAVx⁵ — the CalDAV/CardDAV client. It owns the connection to Nextcloud and pushes data into Android’s contact and calendar storage.
  • Nextcloud Notes — the Android client for Nextcloud’s Notes app. Notes sync as Markdown files, not through DAVx⁵.

The Fossify apps are the view. DAVx⁵ is the pipe. Nextcloud is the disk.

Setting up DAVx⁵ the official way

The DAVx⁵ documentation lists Nextcloud as tested and recommends its service login. Since DAVx⁵ 4.3.9 you can authenticate through the browser without typing a password into the app at all. This is the method I would use first.

  • Install DAVx⁵ from F-Droid and open it.
  • Tap + Add account and choose Nextcloud.
  • Enter the root URL https://domain.tld/ and tap Login.
  • Authenticate in the browser that opens, then close it. DAVx⁵ finishes creating the account.
  • Grant the contacts and calendar permissions, and exempt DAVx⁵ from battery optimisation when Android asks. Several vendors, including Xiaomi and Huawei, also need an autostart permission.
  • Enable the address book and the calendars you want, then force a sync.

If the login flow is not available, the fallback is base URL + app password. Use https://domain.tld/remote.php/dav, your Nextcloud username, and a device-specific password generated under Nextcloud’s Settings → Security → Devices & sessions. Do not put your account password into DAVx⁵; an app password can be revoked per device and is required anyway if you use two-factor authentication.

One subtlety: when you create a new contact in Fossify Contacts or an event in Fossify Calendar, choose the DAVx⁵ account as the storage location. Contacts saved locally stay on the phone and will not appear in Nextcloud. DAVx⁵ also notes that Nextcloud’s Contacts app uses per-contact categories for groups, which is why group handling can look slightly different from Google’s.

Notes are a different app

Notes do not travel over CalDAV or CardDAV. I have the Notes app enabled in Nextcloud, and on Android I use Nextcloud Notes together with the Nextcloud Files app for login. Once both are signed in to the same server, notes sync as plain Markdown files inside Nextcloud.

That is a small but meaningful difference. A note is a file I can back up, copy, open in another editor and keep long after any particular phone app disappears. It also means the notes are part of the same server backup as everything else.

What it looks like day to day

Most of the time I notice nothing, which is the point. I add a contact on the phone and it appears in Nextcloud’s Contacts web app. I change an event in Nextcloud and it turns up in Fossify Calendar after the next sync. I jot a note on Android and read it in the browser later. All of it stays inside my own backup routine.

Sync is infrastructure. The best compliment I can give it is that I never think about it.

Things to know before you try it

  • DAVx⁵ mirrors deletions. Delete a contact on the phone and it disappears from the server too. Keep real backups.
  • DAVx⁵ is not a backup tool — the manual says so explicitly. Your Nextcloud backups are the safety net.
  • Battery optimisation will quietly stop background sync unless you whitelist DAVx⁵.
  • Local contacts and events do not sync automatically; save new ones to the DAVx⁵ account.
  • Nextcloud’s experimental WebDAV Push extension can make updates nearly instant, but it is still marked experimental.
  • Nextcloud Notes needs the Files app for authentication, and offline behaviour is not as polished as Google’s client.
  • Use a per-device app password, not your main account password.

Verdict

A year into YunoHost, this is the setup I would keep if I had to rebuild from scratch. Nextcloud stores the data, DAVx⁵ moves it, and the Fossify apps let me use it without ads, tracking or a vendor account. It is not as frictionless as Google’s default — you have to understand where a new contact is saved, and you have to whitelist a background sync — but the trade is mine to make.

I am not going back. Not to Google, not to Microsoft, not to any other provider’s idea of “convenient” sync. My address book, my calendar and my notes are on a disk I own, and that is worth a few extra taps.

Resources

Written in November 2026 with Nextcloud 35.0.3~ynh1 on YunoHost. App menus and Android permissions change between versions — check the DAVx⁵ and Nextcloud documentation for your own build before following the steps exactly.

Similar Posts