Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Contacts Sync crash on KitKat [$5] #164

Open
ale5000-git opened this issue Aug 3, 2016 · 7 comments
Open

Google Contacts Sync crash on KitKat [$5] #164

ale5000-git opened this issue Aug 3, 2016 · 7 comments
Labels

Comments

@ale5000-git
Copy link
Member

ale5000-git commented Aug 3, 2016

Google Contacts Sync (GoogleContactsSyncAdapter.apk) crash when syncing.

The analysis here (died link removed) show that it doesn't request android.permission.GET_ACCOUNTS but it request com.google.android.googleapps.permission.GOOGLE_AUTH and com.google.android.googleapps.permission.GOOGLE_AUTH.cp

Possibly related to #144.

Bountysource

@mar-v-in mar-v-in changed the title Google Contacts Sync crash Google Contacts Sync crash [$5] Nov 7, 2016
@mar-v-in mar-v-in added the bounty label Nov 7, 2016
mar-v-in added a commit that referenced this issue Dec 23, 2016
related to #86, #164, #242
@ale5000-git
Copy link
Member Author

ale5000-git commented Dec 24, 2016

@mar-v-in: I have retried with recent versions of GmsCore and apparently it doesn't crash but still fail.
Possibly the HTTP status code 301 Moved Permanently isn't handled correctly.

Here the log from 2 versions of GmsCore:
GmsCore 0.2.4-30 sync error.txt
GmsCore 0.2.4-39 sync error.txt

@mar-v-in
Copy link
Member

@ale5000-git can you point me to the exact version of ContactsSyncAdapter you use? It should not try to reach to google servers via http (which is the reason for the redirect) because that will leak the access token when in public wi-fi. Better disable that ContactsSyncAdapter for now for security reasons!

@mirh
Copy link

mirh commented Dec 24, 2016

Sorry, how is this different from #222?

@ale5000-git
Copy link
Member Author

@mar-v-in: I have extracted ContactsSyncAdapter from here and installed manually in the system partition.

@mirh: I'm asking to get the official contact sync apk working with microG instead #222 ask to reimplement the contact sync completely.

@Lanchon
Copy link

Lanchon commented Dec 25, 2016

my contact sync doesn't crash and i sure hope it is using SSL. why the hell would you use a contact sync from 2011?? go get the most up-to-date pico gapps for your platform and extract the file(s) you want from there.

also, try to install gapps as regular apps. contact and calendar sync both work without having system permissions. see #222.

@ale5000-git
Copy link
Member Author

ale5000-git commented Dec 25, 2016

@Lanchon: This problem is specific to KitKat.
Also I want to find a contact sync apk that works on all Android versions.

@Lanchon
Copy link

Lanchon commented Dec 25, 2016

in the unlikely event that you find it, it will probably stop working across all android soon enough. or it will not work well. or it will be exploitable.

@ale5000-git ale5000-git changed the title Google Contacts Sync crash [$5] Google Contacts Sync crash on KitKat [$5] Dec 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants