How to sync contacts and calender with DAVx5
PainHowto] Sync Google calendar/contacts with DAVx⁵(DAVdroid)
Description:
Some people still uses or need to sync with Google Contacts and/or Calendars, this tutorial explains how to sync Contacts and Calendars without the need of Google Sync Adapters.
Details:
All calendars follow the same URL https://www.google.com/calendar/dav/[CalID]/events
.
CalID can be found on Google Calendar > Calendar settings > (selected calendar) Integrate calendar
NOTE:
Accounts with 2FA need an app password.
Go to Google App passwords and create a new app password.
How to sync Calendars/Contacts
NOTE: In these examples will be used username@gmail.com
as username.
- Install DAVx⁵(DAVdroid) from F-Droid
- https://f-droid.org/en/packages/at.bitfire.davdroid/
- Add new account (Plus icon)
- Select "Login URL and user name"
- Base URL:
https://www.google.com/calendar/dav/username@gmail.com/events
- Username:
username@gmail.com
(your Google/Gmail username) - Password: <Your Google/Gmail password or App password if 2FA enabled>
Sync other calendars
- Find the CalID of the calendar you want to sync (Google Calendar > Calendar settings > (selected calendar) Integrate calendar (Calendar ID) )
- Follow the same has above but replace username with CalID
- Example with Portugal Holidays
- Base URL:
https://www.google.com/calendar/dav/portuguese__pt_br@holiday.calendar.google.com/events
- Username:
username@gmail.com
(your Google/Gmail username) - Password: <Your Google/Gmail password or App password if 2FA enabled>
Do the same with other calendars.
Source reddit