Fixing Safetynet Problem


The kernel patch isn't always needed anymore as magisk patches these in software since v9 as long as you enable the magisk hide in magisk manager.
There are different issues with some kernels/roms that trips up the basic integrity check though which also trips the cts check. I'm not sure exactly what does this yet though.

One thing that is needed though is to change the build fingerprint to match a stable release as described in post on xda,
search for "xda mi-5-passing-safetynet-unlocked-t3557845" and you should find it ( I can't post links yet).

This isn't always enough on xiaomi.eu rom however, I've tried it on mi5 with xiaomi.eu 7.1.20 and 7.2.16 with magisk v11.1 installed and it still fails basic integrity as well as cts profile, whereas it passed on lineage os.
 
Yeah I'm working on it, but not sure what the blocking issues is currently.
I don't think it's a lost cause though, this person reports success on a mi5s:
xiaomi.eu / community / threads / does-android-pay-work-on-with-eu-rom-on-mi-5s-plus.36909/#post-341063
Though his steps are just generic permissions for android pay, nothing to do with safetynet. As such I've no idea how he succeeded.
 
  • Like
Reactions: naeco
@ingbrzy
Mi4C xiaomi.eu 7.6.22 magisk v12 + universal-safetynet-fix-v2-beta-1.zip safetynet pass ;)
BVIvy9Nl.png
GskbS7cl.png

source:https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431
 
Last edited:

Similar threads

  • Locked
HyperOS 1.0 24.3.25
Replies
169
Views
65K
  • Locked
HyperOS 1.0 24.3.18
Replies
115
Views
42K
  • Locked
HyperOS 1.0 24.3.4
Replies
150
Views
47K
  • Locked
HyperOS 1.0 24.3.11
Replies
128
Views
45K
  • Locked
HyperOS 1.0 24.2.26
Replies
161
Views
54K