The SafetyNet Attestation API, one of the APIs under the SafetyNet umbrella, provides verification that the integrity of the device is not compromised. In practice, non-official ROMs such as
LineageOS fail the hardware attestation and thus prevent the user from using a non-compliant ROM with third-party apps (mainly banking) that require the API. Due to this, some consider this a monopolistic practice deterring the entrance of competing
mobile operating systems in the market. It requires a network connection to Google servers and validates the hardware signatures. Amongst the checks, the API looks for
bootloader unlock status, ROM signatures, kernel strings, it also uses
AVB2.0 and
dm-verity attestations. Upon successful checks,
Google Play will mark the device as
Certified. The attestation runs in an environment called DroidGuard (com.google.android.gms.unstable). Google planned to replace it with the
Play Integrity API by the end of January 2025. The transition ended on , breaking applications which hadn't been updated. These attestations are offered by Google Play Services and thus are not available on
free Android environments, like
AOSP. Therefore, developers can require the API to be available and may refuse to execute on AOSP builds. == Google Play Protect ==