GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Sync contacts and calendar with microG

Open Vavun opened this issue 1 year ago • 6 comments

Hi

Are there any plans to create Google contacts and calendar sync analogs/providers in microg ? Or other ways to sync contacts and events directly with Google without third-party applications and services like webdav

Currently users are forced to use Google components (com.google.android.syncadapters.contacts and com.google.android.syncadapters.calendarfor) in order to have full synchronization capabilities.

This is inconvenient for several reasons: Lack of much-needed functionality by default You need to install proprietary components Most often, you can’t just install these apks; you need additional actions and the selection of a suitable version of sync provider for your Android.

Vavun avatar Oct 04 '24 10:10 Vavun

I'm not sure about the plans, but about calendar there is an alternative: if you install Google Calendar (even without using it) then sync will start working even in other calendar apps.

ale5000-git avatar Oct 04 '24 20:10 ale5000-git

For DAV: you do not need proprietary components. The FOSS DAVx5, which is available on F-Droid, seems to support Google accounts.

Iey4iej3 avatar Oct 05 '24 14:10 Iey4iej3

I know about different hacks and third-party apps, I wonder if this is planned in microG itself.

ghost avatar Oct 05 '24 14:10 ghost

I know about different hacks and third-party apps, I wonder if this is planned in microG itself.

DAVx5 is working perfectly. Makes not sense to integrate this here.

HyperCriSiS avatar Oct 17 '24 09:10 HyperCriSiS

DAVx5 is working perfectly. Makes not sense to integrate this here.

If I'm not wrong this need a separate log-in, it cannot reuse the Google account of the device. Some people want that.

ale5000-git avatar Oct 17 '24 17:10 ale5000-git

I know its not what you're asking for exactly, but I sync my google contacts just fine.

You have to have google contacts sync adapter and Calendar sync adapters installed. I flash them as an addon from NikGapps but you can also install them as a Magisk module: Magisk module by Tomwigger and dreamwhite

zd3sf avatar Nov 19 '24 17:11 zd3sf

You have to have google contacts sync adapter and Calendar sync adapters installed

Can they be installed as a regular app (for non-root devices)?

rollingmoai avatar Mar 08 '25 05:03 rollingmoai

Can they be installed as a regular app (for non-root devices)?

Kind of, but works partially. As non-root, the sync adapters wont autostart, you have to manually launch one of the sync adapter services using a 3rd party app.

If you dont have root, you can flash them from recovery as part of Gapps, but then edit the zip config and set the flags to 0 for everything except for both sync adapters

zd3sf avatar Mar 12 '25 16:03 zd3sf

For anyone interested. Currently there is a PR in progress #2733 to implement the Contacts Sync Service.

Rikiub avatar Sep 20 '25 15:09 Rikiub