Advertisements

So, you’ve successfully rooting your Android 12 or Android 13 device, unlocking a world of endless possibilities and customization! However, with great power comes great responsibility – in this case, the challenge of passing the dreaded SafetyNet Test. Google’s SafetyNet API is specifically designed to detect modifications on your device and may restrict access to certain apps like banking and streaming services if the test fails. But fear not! In this comprehensive guide, we will walk you through two highly effective methods to effortlessly breeze through the SafetyNet Test on your rooted Android 12/13 device. By doing so, you’ll be able to explore a vast world of possibilities while ensuring your apps remain intact and fully accessible. So, let’s get started on this exciting journey!

What is SafetyNet in Android?

SafetyNet is Google’s watchful eye that safeguards the security and integrity of Android devices. When you root your device, it triggers a safety flag, prompting the SafetyNet Test. This test checks whether your device has been tampered with or modified in any way, and it’s a prerequisite for accessing certain apps that require a secure and unmodified environment.

Consequences of Failing the SafetyNet Test

Failing the SafetyNet Test can put a damper on your rooted adventure. Banking apps might refuse to cooperate, and streaming services could slam their doors shut, leaving you in the dark. Even games like Pokemon Go might throw a fit and refuse to play nice.

Understanding the basicIntegrity and ctsProfile Tests

Before we dive into the methods, let’s understand the two critical components of the SafetyNet Test:

  • basicIntegrity Test: This checks the basic security of your device, including its bootloader status, system integrity, and official firmware usage.
  • ctsProfile Test: The Compatibility Test Suite (CTS) profile ensures your device complies with Google’s compatibility standards and can work seamlessly with Google Play Services.

To pass the SafetyNet Test successfully, both basicIntegrity and ctsProfile tests must yield positive results.

How to Pass SafetyNet on Rooted Android 12/13

Below, we present two proven methods to successfully tackle the SafetyNet Test on your rooted Android 12/13 device:

Method 1: Pass SafetyNet using Magisk Hide Props Config [OLD]

This method employs the nifty Magisk Hide Props Config module to trick the system into thinking your device has Basic Attestation, making it easier to bypass the robust Hardware-based Attestation.

Step 1: Install MagiskHide Props Config

  • First, download the MagiskHide Props Config module from GitHub or XDA and install it through the Magisk App.
  • Now, give your device a quick reboot to implement the changes.

Step 2: Force BASIC Attestation

  • Install a terminal emulator app like Termux on your device.
  • Grant Superuser access, and fire up the MagiskHide Props Config with the “su -c props” command.
  • Choose option 2 to force BASIC Key Attestation.
  • Select an appropriate value from the device list, such as Nexus 6P or Pixel 3A.
  • Reboot your device once again to activate the changes.

Step 3: Install Riru Module

  • Obtain the Riru Module from GitHub and install it via the Magisk App.
  • Give your device another reboot.

Step 4: Flash SafetyNet Fix

Step 5: Enforce Deny List and Enable Zygisk

  • Navigate to the Magisk settings and enable both Zygisk and Enforce Deny List.
  • You know the drill – reboot your device.

Step 6: Configure DenyList

  • Tap on “Configure DenyList” under Magisk Settings.
  • Optionally, you can hide root from specific user apps.
  • Checkmark Google Play Protect Services, Google Play Services, Google Play Store, and any other apps you’d like.
  • You guessed it – another restart is in order.

Step 7: Hide Magisk App

  • Still under the Magisk settings, select “Hide the Magisk App.”
  • Give it a quirky name and press OK.
  • Why not? Add a home screen shortcut too for that extra convenience.

Step 8: Delete Play Service and Play Store Data

  • Head to Settings > Apps > See All Apps.
  • Clear all data from Google Play Service, Google Play Store, and Google Play Protect Service.

Step 9: Check SafetyNet Results

  • Since the latest Magisk update removed the option to check SafetyNet, use a third-party app like YASNAC.
  • Run the SafetyNet Attestation in YASNAC and revel in your “Pass” results for both basicIntegrity and ctsProfile sections.

Method 2: Pass SafetyNet without Magisk Hide Props Config [NEW]

This newer method is sleeker and eliminates the need for Magisk Hide Props Config, thanks to the ingenious Universal SafetyNet Fix Module.

Step 1: Hide Magisk App

  • In the Magisk settings, enable “Allow apps from this source.”
  • Rebrand the Magisk App with a random name and, hey, why not add a home screen shortcut?

Step 2: Enable Systemless Hosts

  • Go back to the Magisk settings and enable “Systemless hosts.”

Step 3: Enable Zygisk

  • One more time – enable Zygisk in the Magisk settings and give your device the customary reboot.

Step 4: Flash Universal SafetyNet Fix Module

Step 5: Configure Denylist

  • Enforce the Denylist through the Magisk settings and tap on “Configure Denylist.”
  • Checkmark Google Play Service, Google Play Store, Google Service Framework, and any other apps of your choosing.
  • Not again – you know the drill; restart your device (mandatory this time).

Step 6: Delete Data

  • Erase the app data of Google Play Service, Google Play Store, Google Play Protect Service, and any other apps from which you’ve hidden root.
  • Restart your device one more time (don’t worry; we’re almost there).

Step 7: Check SafetyNet Results

  • Use YASNAC or a similar app to check SafetyNet results. Smile as both basicIntegrity and ctsProfile sections proudly display “Pass.”

Update for Android 13

For Android 13 devices, select Pixel 3 as the device and Android 10 as the OS in Step 2.

Conclusion

Rooting your Android device can be an exciting journey, but it comes with its own set of challenges. Thanks to these two effective methods, you can now embrace the freedom of root access while keeping your essential apps intact. Always remember to proceed with caution and follow the steps diligently to avoid any potential issues.


7. Frequently Asked Questions (FAQs)

  1. Is rooting my Android device safe?
    • Rooting provides extensive customization options, but it voids warranties and may pose security risks if done carelessly.
  2. Which method is better, Method 1 or Method 2?
    • Both methods are effective, but Method 2 offers a simpler approach without the need for additional modules.
  3. Can I still enjoy my favorite apps after passing SafetyNet?
    • Absolutely! By successfully passing the SafetyNet Test, you can continue using banking apps, streaming services, and other apps that rely on SafetyNet verification.
  4. Will these methods work on other Android versions?
    • While primarily designed for Android 12/13, these methods might work on older versions as well. However, exercise caution and conduct thorough research.
  5. What if I encounter issues during the process?
    • If you encounter any difficulties during the process, reach out to the Android community or seek help from experienced users to resolve the problem.

x
Advertisements