Google SafetyNet attestation workarounds for Magisk
Go to file
2022-03-12 21:05:44 -08:00
.github github: Add issue template for bug reports 2022-03-12 20:51:46 -08:00
docs readme: Rewrite, split details for developers 2022-03-12 21:05:44 -08:00
java java: Rename package to safetynetfix 2022-03-12 20:27:52 -08:00
magisk magisk: Allow limited installation on Android 7 and older 2022-03-12 20:40:53 -08:00
zygisk zygisk: Remove template readme 2021-11-15 22:02:55 -08:00
.gitignore
.gitmodules
build.sh java_module: Rename to java 2022-03-10 22:16:04 -08:00
CHANGELOG.md Add CHANGELOG.md 2022-02-07 22:09:56 -08:00
LICENSE Remove Riru implementation 2021-10-30 18:33:29 -07:00
README.md readme: Rewrite, split details for developers 2022-03-12 21:05:44 -08:00
update.json Add CHANGELOG.md 2022-02-07 22:09:56 -08:00

Universal SafetyNet Fix

Magisk module to work around Google's SafetyNet attestation.

This module works around hardware attestation and recent updates to SafetyNet CTS profile checks. You must already be able to pass basic CTS profile attestation, which requires a valid combination of device and model names, build fingerprints, and security patch levels.

If you still have trouble passing SafetyNet with this module, use MagiskHide Props Config to spoof a certified device profile. This is a common issue on old devices, custom ROMs, and stock ROMs without GMS certification (e.g. Chinese ROMs).

Android versions up to 13 Developer Preview 1 are supported, including OEM skins such as Samsung One UI and MIUI.

Download

Download latest version

Install the downloaded module in Magisk Manager, then enable Zygisk in Magisk settings.

There is also a Riru version for Magisk v23 and older.

How does it work?

See Details for details about how this module works.

ROM integration

Ideally, this workaround should be incorporated in custom ROMs instead of injecting code with a Magisk module. See the ProtonAOSP website for more information.

Support

If you found this module helpful, please consider supporting development with a recurring donation on Patreon for benefits such as exclusive behind-the-scenes development news, early access to updates, and priority support. Alternatively, you can also buy me a coffee. All support is appreciated.