You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
ipdev99 a2267d100f
Update to the current Magisk installer script.
5 months ago
.github github: Fix typo in issue template 5 months ago
docs readme: Rewrite, split details for developers 9 months ago
java java: Rename package to safetynetfix 9 months ago
magisk Update to the current Magisk installer script. 5 months ago
zygisk zygisk: Clarify unloading in non-GMS processes 5 months ago
.gitignore magisk: Add new module template 1 year ago
.gitmodules zygisk: Import Zygisk module template 1 year ago changelog: Label footer 5 months ago
LICENSE Remove Riru implementation 1 year ago readme: Update Android version compatibility 5 months ago java_module: Rename to java 9 months ago
update.json version: 2.3.1 5 months ago

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 Beta 3 are supported, including OEM skins such as Samsung One UI and MIUI.


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.


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.