How to Pass SafetyNet on Rooted Android Devices with Magisk Hide Props

SafetyNet is a Google service that checks the integrity and compatibility of Android devices. It is used by many apps and services, such as Google Pay, Netflix, Pokémon Go, and banking apps, to prevent them from running on rooted or modified devices. If you have rooted your device or installed a custom ROM, you may have encountered the dreaded “CTS profile mismatch” or “basic integrity fail” errors when trying to use these apps.

Fortunately, there is a way to bypass SafetyNet and use your apps on your rooted device. In this blog post, I will show you how to use a Magisk module called Magisk Hide Props Config to spoof your device’s properties and pass SafetyNet.


What is Magisk Hide Props Config?

Magisk Hide Props Config is a Magisk module that allows you to edit your device’s build. prop file and other system properties. By changing these properties, you can trick SafetyNet into thinking your device is unmodified and compatible with its requirements.

Magisk Hide Props Config also has a feature called “Force Basic Attestation”, which makes SafetyNet use a simpler and less strict method of checking your device. This can help you pass SafetyNet even if your device has a custom kernel or ROM.


How to Install Magisk Hide Props Config?

Before you proceed, make sure you have the following requirements:

  • A terminal emulator app, such as Termux

  • A file manager app with root access, such as MiXplorer

  • A backup of your device’s data, in case something goes wrong


To install Magisk Hide Props Config, follow these steps:

  1. Download the Magisk Hide Props Config module from GitHub or XDA and send it to your device.

  1. Open the Magisk app and tap on the puzzle icon at the bottom.

  1. Tap on the “Install from storage” button and select the Magisk Hide Props Config zip file that you downloaded.

  1. Tap on “Install” and wait for the installation to finish.

  1. Reboot your device.


How to Use Magisk Hide Props Config?

After installing Magisk Hide Props Config, you must configure it to pass SafetyNet. To do this, follow these steps:

  1. Open the terminal emulator app and type su to grant root access.

  1. Type props to launch the Magisk Hide Props Config menu.

  1. Select option 1 (“Edit device fingerprint”) and then option f (“Pick a certified fingerprint”).

  1. Choose a fingerprint that matches your device’s model and Android version. For example, if you have a OnePlus 6T running Android 10, you can choose “OnePlus 6T - Oxygen OS 10”.

  1. Confirm your choice and wait for the module to apply the fingerprint.

  1. Go back to the main menu and select option 2 (“Force BASIC key attestation”).

  1. Choose option y (“Yes”) to enable this feature.

  1. Go back to the main menu and select option 5 (“Reboot device”).

  1. After rebooting, open the Magisk app and tap on the shield icon at the top.

  1. Tap on “Check SafetyNet” and wait for the result.

If everything went well, you should see two green check marks, indicating that you passed both the CTS profile match and basic integrity check.

Congratulations! You have successfully passed SafetyNet on your rooted device with Magisk Hide Props Config.


Troubleshooting

If you encounter any issues while using Magisk Hide Props Config, here are some possible solutions:


  • Check to see if you have an active internet connection and try again later if you receive an error message that reads, "Unable to fetch SafetyNet status."

  • In the event that you receive a red cross, meaning that the CTS profile match or basic integrity check failed, double-check that all the instructions were correctly completed before trying a different fingerprint or attestation method.

  • Make sure Zygisk mode is enabled in Magisk settings and that Deny List is properly configured if you receive a yellow exclamation mark indicating that you passed the CTS profile match but failed the fundamental integrity check.

  • Check to see that Google Play Services and Google Play Store are updated to the most recent version and that their data and cache have been cleared if you see a blue question mark indicating a SafetyNet API error.

  • If none of these options work, you can try removing Magisk Hide Props Config and passing SafetyNet using a different module or technique.


Conclusion

Magisk Hide Props Config is a powerful and easy-to-use module that can help you pass SafetyNet on your rooted device. By spoofing your device’s properties and forcing basic attestation, you can use apps and services that require SafetyNet without compromising your root access or custom ROM.


I hope this blog post was helpful to you. If you have any questions or feedback, feel free to leave a comment below.


Comments