How to Fix Google Play Store After Rooting Android

Prerequisites

Make sure you have the following before starting:

  • Rooted Android Device: Your device should already be rooted, and this guide assumes you’re using Magisk.
  • Unlocked Bootloader: Your device’s bootloader must be unlocked.
  • Latest Magisk Version: Get the latest version of Magisk from this link.
  • Busybox for Android NDK: You’ll need to install this via the Magisk module manager.
  • Stable Internet Connection: Some steps will require downloading files or using online tools.

Using Magisk to Pass SafetyNet

Magisk is a popular tool for rooting Android devices, and it also helps to hide root from apps that might refuse to run on rooted devices.

Enable MagiskHide

First, open the Magisk app. Tap the gear icon in the top-right corner to access settings, then scroll down to enable MagiskHide. This feature helps hide root from specific apps.

Install Necessary Magisk Modules

Next, you need to install a few modules:

  • Busybox for Android NDK: Search for this module in Magisk, install it, and reboot your device.
  • MagiskHide Props Config: This module helps change your device’s fingerprint to match a certified one. Install it and reboot.
  • Riru Module: This module is needed for the SafetyNet fix. Install and reboot your device.

Install Universal SafetyNet Fix

Download the Universal SafetyNet Fix module from this link. Install it through the Magisk Manager by selecting “Install from Storage” and choosing the downloaded ZIP file. Then, reboot your device.

Configure MagiskHide

To pass SafetyNet, you need to hide Google Services Framework. In the Magisk app, go to MagiskHide settings and search for Google Services Framework. Enable it, then go to Settings > Apps > Google Play Services and clear its data. Reboot your device.

Verify SafetyNet

Finally, go back to Magisk and tap SafetyNet Check. You should see a success message. You can also open Google Play Store and check if your device is certified under Settings > About > Device Certification.

SafetyNet Fix via Zygisk

Zygisk is a newer feature in Magisk that offers more options for hiding root access. This method can be useful if other methods don’t work for your device.

Enable Zygisk in Magisk

Open Magisk, go to settings, and enable Zygisk. This step is necessary for running certain modules. Reboot your device to apply the changes.

Enforce DenyList

Next, go back to the Magisk settings and enable Enforce DenyList. This setting helps prevent apps from detecting root.

Configure DenyList

In Magisk, go to Configure DenyList. Enable Show System Apps and search for Google Play Services. Make sure all related services, like com.google.android.gms and com.google.android.gms.unstable, are selected.

Install SafetyNet Fix for Zygisk

Download the latest SafetyNet Fix for Zygisk from this link and install it through Magisk. Reboot your device and check SafetyNet status using YASNAC or a similar app.

Clear Data and Verify

Clear the data for both Google Play Services and Google Play Store, then reboot your device. Open Google Play Store, go to Settings > About, and check if your device is certified.

Using Universal SafetyNet Fix

The Universal SafetyNet Fix by Displax is another reliable option, especially if other methods haven’t worked.

Install the Universal SafetyNet Fix

Download the Universal SafetyNet Fix module directly from this link. Install it using Magisk and reboot your device.

Enable Zygisk and Hide Magisk

In Magisk settings, enable Zygisk and hide the Magisk app. This makes it harder for apps to detect root access.

Configure DenyList

Make sure that all important Google services are included in the DenyList. This step is key to passing SafetyNet.

Freeze Magisk with AirFrozen

To further prevent root detection, use AirFrozen to freeze the Magisk app when you’re not using it. This is particularly useful for banking apps.

Verify SafetyNet and Device Integrity

Use this app to confirm that your device passes both SafetyNet and device integrity checks.

Alternative Methods

If none of the above methods work for your device, here are some other things you can try.

Separate User Profile

Create a separate, non-admin user profile on your device. Since root access usually applies only to the main user, this can help avoid detection by certain apps.

Re

-lock Bootloader

If you don’t need root access anymore, you can re-lock the bootloader and restore the factory firmware using the Android Flash Tool. This will fully restore compatibility with Google services.

Custom ROMs with Built-in Fixes

Some custom ROMs come with built-in SafetyNet fixes. Check if the ROM supports SafetyNet before flashing it to your device.

Rooting your Android device doesn’t have to mean losing access to important apps. By following these steps, you can pass SafetyNet and keep using your device without any problems. Ready to get started? With the right tools and a bit of patience, you can keep your rooted device running smoothly.

By following these instructions, you should now be able to enjoy your rooted Android device without any issues from SafetyNet. Remember, the Android world is always changing, so keep your tools and methods up to date to maintain full functionality on your device.