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

Error getting token from Google when checking Google Play Integrity on Pixel 6 with CalyxOS #2758

Open
AZthemute opened this issue Jan 22, 2025 · 6 comments
Labels

Comments

@AZthemute
Copy link

Describe the bug
After installing the new version of CalyxOS with microG 6.3.0, I tried the Play Integrity API Checker app, which just gives the error "Error getting token from Google: Unknown internal error." I do not have an unlocked bootloader and Magisk is not installed either.

This isn't much information, but I don't know how to get more from the app. If anyone knows how to check easier what the actual issue is, please let me know and I will provide more info.

The specific app I'm using is https://play.google.com/store/apps/details?id=gr.nikolasspyr.integritycheck&hl=en_GB but no apps I've used that require play integrity work either.

In microG's Google SafetyNet page, there no apps listed that are using SafetyNet, despite the fact that I have multiple apps which do use Play Integrity.

Screenshots
Image

System
Android Version: 15
Custom ROM: CalyxOS 6.3.0
microG version: 0.3.6.244735-27 (e7e4dbc)

Please let me know how to get more information about the specific issue.

@AZthemute AZthemute added the bug label Jan 22, 2025
@ale5000-git
Copy link
Member

I'm not completely sure but maybe it is the problem fixed by #2740

@AZthemute
Copy link
Author

I tried another app, this is what I got:
Image

And for safetynet:
Image

All combinations of settings give the result.

I'm not completely sure but maybe it is the problem fixed by #2740

No, I'm past that commit. Again, my microG version is 0.3.6.244735-27 (e7e4dbc). I believe this is the version that came with my updated CalyxOS, but just in case, I have the F-Droid repo added too, and F-Droid reports that there are no updates. Can't seem to find commit e7e4dbc though so I'm not sure what's going on there, maybe just a calyx thing?

@ale5000-git
Copy link
Member

ale5000-git commented Jan 22, 2025

The one linked by me is a pull request not yet merged, so it isn't included unless CalyxOS developers have picked it manually.

@AZthemute
Copy link
Author

The one linked by me is a pull request not yet merged, so it isn't included unless CalyxOS developers have picked it manually.

Ah, right. Do you know how I can manually update microG on my phone to have that PR? I doubt just installing an APK, even through adb, wouldn't break things.

@ale5000-git
Copy link
Member

You have to wait it to get merged and then wait for a new version of microG released.

Or alternatively you have to compile it yourself but then the apk would have a different signature and you will have to remove the previous one (so losing all microG settings and GCM registrations) and install your compiled one.

@AZthemute
Copy link
Author

Earlier I managed to get some information about SafetyNet which may or may not be relevant.
Image
The result in microG has a warning sign saying:

Attestation: Warning: CTS profile does not match
Bootloader is not locked

My bootloader is locked and OEM unlocking is disabled in developer settings. Issue persists even after a restart.

Or alternatively you have to compile it yourself but then the apk would have a different signature and you will have to remove the previous one (so losing all microG settings and GCM registrations) and install your compiled one.

Is it not possible to backup the settings and other data?

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

2 participants