FriendlyNeighborhoodShane / MinMicroG

Sources and scripts for MinMicroG installers. You shall find no prebuilt releases here.
GNU General Public License v3.0
306 stars 30 forks source link

Google Sync adapters #24

Closed kielichwina closed 2 years ago

kielichwina commented 2 years ago

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

FriendlyNeighborhoodShane commented 2 years ago

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.]

kielichwina commented 2 years ago

~ $ 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

kielichwina commented 2 years ago

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

FriendlyNeighborhoodShane commented 2 years ago
~ $ 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?

kielichwina commented 2 years ago

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

FriendlyNeighborhoodShane commented 2 years ago

: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.

kielichwina commented 2 years ago

:P Thanks for help

kondors1995 commented 2 years ago

: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 ?

FriendlyNeighborhoodShane commented 2 years ago

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.

kondors1995 commented 2 years ago

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

kondors1995 commented 2 years ago

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

FriendlyNeighborhoodShane commented 2 years ago

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.