App Compatibility
Common concerns around device attestation and app compatibility
Contents
Device attestation
Device attestation is a way for an app to ask if a phone and its software are legitimate. Your phone answers with the creation of proofs in the form of a signed report on its own state with details such as what operating system (OS) it runs and whether it has been modified. The app, or the server behind it, then decides whether or not to trust your device based on those proofs.
A common use of device attestation is fighting spam and bot activity. However, it is also used by banking and government apps as a security measure on Android devices.
Play Integrity
When we talk about attestation in Android, we often hear the name Play Integrity. This is Google’s solution that only approves OSes by OEMs (device manufacturers) that come with Google’s app suite, including Google Play Services.
While Play Integrity takes away the burden of security from app development, it creates a walled garden. Many apps treat “not certified by Google” as unsafe and lock out secure, privacy-respecting OSes such as CalyxOS while doing little to stop dedicated attackers.
Play Integrity is the biggest obstacle to app compatibility with CalyxOS and other Android-based FOSS OSes (custom ROMs). Even though apps would work fine without it, we are locked out by every app/server that decides to opt into Play Integrity because of the restrained certifying process by Google.
Play Integrity has three attestation levels:
- BASIC: The device passes basic checks for tampering and that the device is physical. CalyxOS reaches BASIC.
- DEVICE: This level requires Google approving the OS (i.e. certification). On newer Android versions, this also requires a locked bootloader with a signing key that Google recognizes. CalyxOS isn’t certified by Google so it can’t pass this level of attestation, even though it runs with a locked bootloader.
- STRONG: Requires hardware attestation, which uses secure hardware on your device to create a proof of the OS running on your device, and cannot be easily spoofed.
Getting Play Integrity to work in CalyxOS
CalyxOS doesn’t include Google Play Services. Instead, it ships with microG, an FOSS implementation of the Play Services, which you can choose to turn on or off per profile. microG re-implements the Play Integrity API, and attestation can be enabled under microG Settings → Device attestation. We do not enable it by default. It is worth noting that enabling this option will download a proprietary binary from Google for performing the attestation. However, since around December 2025, Google started requiring app license verification to get a result from Play Integrity. Without it, not even the BASIC level can be passed. To get it to work, follow these steps:
- Enable microG in CalyxOS.
- Enable “Answer license verification requests” in microG Settings → Play Store services.
- Optionally, also enable “Automatically add free apps to library” on the same page.
- Enable “Device attestation” in microG settings.
- Log into a Google account in microG Settings.
- Log into Aurora Store with the same Google account.
- Reinstall your app again from Aurora Store.
- Reboot the device.
To check if Play Integrity is working, you can use the app Play Integrity API Checker. On CalyxOS, the expected result is that BASIC level of attestation is passed while DEVICE and STRONG are not.
Not every compatibility issue is attributed to Play Integrity
If you have issues with banking, e-ID, or payment apps, it is not always Play Integrity at fault. These apps might use other checks such as:
- Root detection
- Build type checking
- CalyxOS uses “user” builds while most other custom ROMs use “userdebug.”
- License verification (without Play Integrity)
- Checking of installation source
- CalyxOS spoofs apps installed with Aurora Store as if they were installed by the Play Store to pass the check.
- Invasive checking of other installed apps and their installation sources
- Apps such as accessibility services and custom keyboards require specific access (e.g. reading screen/keyboard) and take actions on behalf of the user so that they can work. Certain banking, e-ID, or payment apps may detect this and treat it as a security loophole.
An app may not always be clear as to what is failing: they may just log you out, send you a vague error message, crash when opened, or behave oddly. When this is the case, the best thing to do is to go through the above list and check each item. Of course, some apps will always require DEVICE and STRONG Play Integrity levels, and as such will not work on CalyxOS.
Not all banks depend on Play Integrity
Many of our users have no issues with banking apps since their banks do not rely on Play Integrity for device attestation. Additionally, there are reports of apps having issues when Play Integrity is enabled.
Play Integrity and solutions alike for device attestation can lead to invasive collection of data exhaust. Be mindful about your data exhaust and only enable “Device attestation” in microG if you hit issues without it.
How do I know if an app I need/want to use will work?
A very useful resource is Plexus: a crowd-sourced compatibility database for devices running microG, which spans across many alternative OSes. On Plexus many users share their experience with the app and any needed steps to get apps working. You can download the Plexus app to find app reviews or contribute to it when you are using CalyxOS!