kdrag0n / safetynet-fix

Google SafetyNet attestation workarounds for Magisk
MIT License
6.21k stars 329 forks source link

SafetyNet failing and passing randomly #287

Open chaoscreater opened 1 year ago

chaoscreater commented 1 year ago

I'm on Android 13, MIUI 14 and have tried both the SafetyNet fix (latest version) from kdrag0n and displax.

Using YASNAC, I'm able to pass SafetyNet, but sometimes it'll show a failed result. Viewing the JSON, the "apkCertificateDigestSha256" is empty in the failed output. The basic integrity and CTS profile match would fail.

YASNAC did not show any message for "Advice" (e.g. RESTORE_TO_FACTORY_ROM), so it leads me to think that perhaps this is an issue with YASNAC. I've tried another SafetyNet checker app and sometimes it would pass, sometimes it would fail.

The evaluation type is always BASIC.

I'm not sure if the SafetyNet fix is working properly here or not. Has anyone seen this before?

knasiotis commented 1 year ago

I updated to MIUI EU ROM latest stable version and I report the same behavior. @Displax mod fixed it for a time but now it's broken again

knasiotis commented 1 year ago

Now google pay is not working for me at all. I am on the new MIUI EU ROM stable 14.0.9. edit: Used Displax mod 2.3.1 mod 3.0 and everything works properly now