FriendlyNeighborhoodShane/MinMicroG

Google Sync adapters

Closed this issue · 12 comments

Google Sync adapters for android 11 (Arrow OS) not working. No callendar, no contacts.

Go to a root terminal or adb shell and run:

npem

What does it say?

Have you logged in and turned on device registration in microg settings? Make sure sync is turned on in Android Settings > Accounts > [your google account.]

~ $ su
:/data/data/com.termux/files/home # npem
package com.google.android.gms found
already has permission android.permission.FAKE_PACKAGE_SIGNATURE
package com.android.vending found
already has permission android.permission.FAKE_PACKAGE_SIGNATURE
package com.google.android.gms found
already has permission android.permission.ACCESS_COARSE_LOCATION
package org.microg.nlp.backend.ichnaea found
already has permission android.permission.ACCESS_COARSE_LOCATION
package org.fitchfamily.android.dejavu found
already has permission android.permission.ACCESS_COARSE_LOCATION
package org.microg.nlp.backend.apple found
already has permission android.permission.ACCESS_COARSE_LOCATION
package com.google.android.gms found
already has permission android.permission.ACCESS_FINE_LOCATION
package org.microg.nlp.backend.ichnaea found
already has permission android.permission.ACCESS_FINE_LOCATION
package org.fitchfamily.android.dejavu found
already has permission android.permission.ACCESS_FINE_LOCATION
package org.microg.nlp.backend.apple found
already has permission android.permission.ACCESS_FINE_LOCATION
package com.google.android.gms found
already has permission android.permission.ACCESS_BACKGROUND_LOCATION
package com.google.android.gms found
already has permission android.permission.RECEIVE_SMS
:/data/data/com.termux/files/home #

Screenshot_20220119-105514_Ustawienia_1

Screenshot_20220119-105604_Ustawienia_1

There's no calendar or contacts inside sync window

Sync is turned on
Screenshot_20220119-115108_Ustawienia_1

MicroG all selfchecks enabled.

Screenshot_20220119-115428_Usługi microG

Screenshot_20220119-115332_Usługi microG

~ $ su
:/data/data/com.termux/files/home # npem
package com.google.android.gms found
already has permission android.permission.FAKE_PACKAGE_SIGNATURE
package com.android.vending found
already has permission android.permission.FAKE_PACKAGE_SIGNATURE
package com.google.android.gms found
already has permission android.permission.ACCESS_COARSE_LOCATION
package org.microg.nlp.backend.ichnaea found
already has permission android.permission.ACCESS_COARSE_LOCATION
package org.fitchfamily.android.dejavu found
already has permission android.permission.ACCESS_COARSE_LOCATION
package org.microg.nlp.backend.apple found
already has permission android.permission.ACCESS_COARSE_LOCATION
package com.google.android.gms found
already has permission android.permission.ACCESS_FINE_LOCATION
package org.microg.nlp.backend.ichnaea found
already has permission android.permission.ACCESS_FINE_LOCATION
package org.fitchfamily.android.dejavu found
already has permission android.permission.ACCESS_FINE_LOCATION
package org.microg.nlp.backend.apple found 
already has permission android.permission.ACCESS_FINE_LOCATION
package com.google.android.gms found
already has permission android.permission.ACCESS_BACKGROUND_LOCATION
package com.google.android.gms found
already has permission android.permission.RECEIVE_SMS

... You actually don't seem to have the sync adapters installed at all. Sure you're using a package which has them? That is, MinMicroG-Standard?

Oh, I have android 12 not 11! My mistake!
I flashed minmicroG in TWRP as system:
system-MinMicroG-Standard-UPDATELY-20211205132841.zip

:P

The reason for you not having your contacts and calendar synced is because MinMicroG doesn't have the sync adapters for android 12.

MinMicroG gets the latest sync adapters from opengapps and even they don't have them yet. When they add them there, I'll be adding them here.

Until then you can use DAVx5 or something instead to sync those things.

:P
Thanks for help

:P

The reason for you not having your contacts and calendar synced is because MinMicroG doesn't have the sync adapters for android 12.

MinMicroG gets the latest sync adapters from opengapps and even they don't have them yet. When they add them there, I'll be adding them here.

Until then you can use DAVx5 or something instead to sync those things.

Way not use ones from nikgapps ?

Way not use ones from nikgapps ?

Well, I don't know who they are or what their reputation is. And it doesn't seem like they host a version-controlled source like https://gitlab.opengapps.org to conveniently get the newest version of their assets from either.

with files are needed for sync adapter i might try to update them my self

Other option would be to use contacts adapter from gapps shipped with rom like Arrow gapps

source
https://gitlab.com/yaosp/vendor_google_gms/-/tree/twelve/proprietary/product/app/GoogleContactsSyncAdapter

with files are needed for sync adapter i might try to update them my self

ContactSyncAdapter, CalendarSyncAdapter and BackupTransport are the 3 packages you need.