1nikolas / play-integrity-checker-app

Get info about your Device Integrity through the Play Intergrity API
MIT License
333 stars 47 forks source link

Meaning of this #6

Closed VisionR1 closed 2 years ago

VisionR1 commented 2 years ago

IMG_20220804_215950 meaning of all this or the first one say device, my phone Xiaomi Poco X3 NFC android 10, my other phone Sony Xperia Z5 android 7.1.1 pass the first 2 of this

HuskyDG commented 2 years ago

You have unlocked bootloader or your device is not certified

1nikolas commented 2 years ago

Probably you have root and unlocked bootloader. My understanding for the 3 flags is: 1 -> software integrity (root etc) 2 -> device certification (if your device is certified to have playstore) 3 -> hardware integrity (bootloader)

But I can't know exactly as this is not documented well. This is all speculation

VisionR1 commented 2 years ago

Thanks, yeah I have magisk root and unlocked bootloader

j0110 commented 2 years ago

I got exactly the same result. However I can pass Safety Net, so I was thinking that Software Integrity wasn't an issue for me anymore...

1nikolas commented 2 years ago

@Dev0110 Here is the deal. Apps like Google Pay started checking for the first check (MEETS_DEVICE_INTEGRITY) and they can use this as a root check basically. SafetyNet is going to get discontinued in 2024 and apps like banks will have to use Integrity API then

j0110 commented 2 years ago

Do you know how to pass device integrity ? I'm a little bit confused since I'm already using root hiding techniques (shamiko) and some others tricks (universal safety net fix) that are working for Safety Net...

1nikolas commented 2 years ago

@Dev0110 yes. Unfortunately, a proper solution hasn't been found yet. In the meantime there are forks of the universal safetynet fix which change your device fingerprint to show an older android version. That way, it thinks it can't do all the necessary checks and just passes (using checks for older devices). You can find lots of info on the "Magisk Google Pay" thread on xda

j0110 commented 2 years ago

OK great I'll look about that on XDA ! Thanks for your help !!