Detecting and reporting the Compatibility Not Tested By Google and Possible Tampering for Android Devices events
Android Device - Compatibility Not Tested By Google and Android Device - Possible Tampering events are detected/reported based on Google SafetyNet assessment.
Google SafetyNet ensures that the device running MTD is secure and free from any potential risks, such as rooted device detection or a device with a custom operating system.
If the SafetyNet check found the device bootloader unlocked then it will detect or report the device is not tested by Google Android Device - Compatibility Not Tested By Google with the recommendation Lock Bootloader.
If the SafetyNet check found the device rooted or custom OS then it will detect or report Android Device - Possible Tampering with the recommendation Restore Factory Firmware.
Events reported will also include the Google Device integrity verdicts CTS Profile Match and Basic Integrity.
Note
ctsProfileMatch
- a stricter verdict of device integrity. If the value ofctsProfileMatch
is true, then the profile of the device running your app matches the profile of a device that has passed Android compatibility testing and has been approved as a Google-certified Android device.basicIntegrity
a more lenient verdict of device integrity. If only the value ofbasicIntegrity
is true, then the device running your app likely wasn't tampered with. However, the device hasn't necessarily passed Android compatibility testing.
The device status could affect the values of CTS Profile Match and Basic Integrity as follows:
Android Device - Compatibility Not Tested By Google represented in the below image with yellow is reported when the CTS Profile Match reported false.
Android Device - Possible Tampering represented in the below image with red is reported when the Basic Integrity reported false.
In the event, when Android Device - Compatibility Not Tested By Google and Android Device - Possible Tampering events are detected/reported, we recommend to restore the device with the factory firmware.
Note
Performing a factory reset will solely remove all data and settings. By restoring the factory firmware, the operating system on the device will be reinstalled.
We suggest restoring the device to its factory firmware.