Skip to content
Droid ToolsDroid Tools
Home

Explore

  • News
    417
  • OS
    261
  • Apps
    226
  • Phones
    180
  • Guides
    175
  • Wearables
    99
  • Reviews
    16

Latest Articles

  • Honor Magic 9 series leads 2026 Android flagship sales in China
    Phones

    Honor Magic 9 series leads 2026 Android flagship sales in China

  • Galaxy S27 launch could happen earlier than usual amid Samsung schedule changes
    Phones

    Galaxy S27 launch could happen earlier than usual amid Samsung schedule changes

  • Garmin CIRQA vibration alerts arrive with firmware update 4.20
    Wearables

    Garmin CIRQA vibration alerts arrive with firmware update 4.20

  • Pixel update schedule shifts as older devices reach end of life
    OS

    Pixel update schedule shifts as older devices reach end of life

  • Vivo introduces OriginOS Time-Based Lighting and dual Control Center layouts
    OS

    Vivo introduces OriginOS Time-Based Lighting and dual Control Center layouts

Live Offers

Deal Alerts

Browse reported discounts on phones, wearables, and accessories. Check the retailer for the current price and availability.

View All Deals

Latest Deal Alerts

  • Sony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discount
    🔥 Offer

    Sony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discount

  • Walmart cuts iVANKY ultra-slim magnetic power bank to $15 in 50% discount
    🔥 Offer

    Walmart cuts iVANKY ultra-slim magnetic power bank to $15 in 50% discount

  • 🔥 Offer

    Amazon offers $749 Pixel 10 Pro XL deal as memory prices climb

  • Moto Tag 2 price increases to $29.99 as introductory discount ends
    🔥 Offer

    Moto Tag 2 price increases to $29.99 as introductory discount ends

  • Samsung Galaxy S26 discounts continue on Amazon after October Prime Day
    🔥 Offer

    Samsung Galaxy S26 discounts continue on Amazon after October Prime Day

About UsContact
Editorial PolicyReview Policy
Privacy PolicyCookie PolicyTerms & Conditions
⌘K
Search
Official Channels10 Profiles
FacebookX (Twitter)InstagramThreadsLinkedInBlueskyTikTokTelegramMastodonRSS Feed
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Stay informed with hands-on coverage from mobile tech experts.

Explore

  • News
  • Phones
  • Apps
  • Android OS
  • Wearables
  • Guides
  • Reviews
  • Deals

Legal & Info

  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap
  • XML Sitemap
© 2026 Droid Tools. All rights reserved.
Home/Guides/Pass SafetyNet on Android after rooting or installing a custom ROM
Guides

Pass SafetyNet on Android after rooting or installing a custom ROM

Google and the community have been playing a cat and mouse game for a long time over evading SafetyNet. The community enjoys tinkering with the software on their phones, which usually starts with bootloader unlocking. However, this trips SafetyNet, causing a number of popular apps to cease working on the phone, some of which are ...

Cristian Penisoara• Guides Writer · Android Power User
Apr 20, 2022•Updated•7 min read
safetynet
0%
Share on XFacebookBluesky
Follow on Google
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

Google and the community have been playing a cat and mouse game for a long time over evading SafetyNet. The community enjoys tinkering with the software on their phones, which usually starts with bootloader unlocking. However, this trips SafetyNet, causing a number of popular apps to cease working on the phone, some of which are justifiably so because they rely on a tamper-proof environment for execution.

SafetyNet is aimed at app creators, but they can choose whether or not to use it. However, as an ordinary end user, you have two options: give up on Android’s modding potential and pass the SafetyNet compatibility tests, or risk being blacklisted by software publishers. This guide should let you pass SafetyNet even if you’ve rooted or installed a custom ROM on your smartphone.

safetynet

What is SafetyNet?

Android is built to run without granting the end user any privileged access to the underlying subsystems. If a person with administrative (a.k.a. “superuser”) capabilities on an Android device has similar access to administrative (a.k.a. “root”) permissions on a Linux machine, they can virtually change or replace Android system applications and settings. From the standpoint of an app developer, this means that the device on which their program is operating may be compromised. Some form of abuse detection mechanism should be in place to check the device’s software and hardware surroundings and reassure app developers that everything is fine. This is when SafetyNet enters the picture.

safetynet

While modding is an important component of the Android ecosystem, security standards sometimes necessitate a high level of rigor in the operating system. The Google Play Services include a set of abuse-detection APIs called SafetyNet. Third-party applications can use the SafetyNet Attestation API to see if the device’s software environment has been tampered with in any way. The API compares the current state of the target Android device and verifies the integrity of the environment against a known’safe’ value on the server-side by checking for things like bootloader unlock status, signs of superuser binaries, and more.

SafetyNet tripping and its consequences

SafetyNet tripping is caused by a series of events that differ from the factory setup of an Android device. Even if you simply unlock your phone’s bootloader and leave the factory-installed OS alone, the SafetyNet check may fail due to a “CTS profile mismatch” (where CTS stands for the Compatibility Test Suite) issue. You’ll almost certainly wind up with a SafetyNet failed status if you root your Android device or replace the base firmware with a custom ROM. As a result, you won’t be able to utilize apps or games on the device that use SafetyNet validation. This is particularly true for banking and other financial apps like Google Pay, which rely solely on the SafetyNet Attestation result and will not accept anything else.

When it comes to games, developers use SafetyNet for assessing the device’s integrity so that they can prevent rogue players from cheating or modifying in-game variables for unfair advantages. Last but not least, you can also come across examples where publishers are simply misusing Google’s tamper detection mechanism for no practical reason, which is why power users want to evade the detection routines.

You may also likeRelated
GuidesHow to turn off Pixel camera AI features on newer Google devicesOct 28, 2026→GuidesHow Pixel Watch Find Hub Settings Helped Recover a Lost Device at Airport SecurityOct 26, 2026→GuidesGoogle Pixel update schedule and device lifespan guideOct 23, 2026→

In a nutshell, the modding community will have to choose between having access to root/custom ROMs/kernels/etc. or their preferred apps and games. This might sound like the end of aftermarket development on Android, but there is hope.

Pass SafetyNet attestation

There is no true universal solution to avoid the inspections because Google modifies the backbone of the SafetyNet Attestation API on a regular basis. Because the limits are based on a variety of criteria, you may be able to get around SafetyNet in a modified environment by faking the most important characteristics on legacy devices, but the same approach may not work on later phones. Because of the ever-changing nature of the anti-abuse API, the aftermarket development community has come up with a number of approaches for passing the SafetyNet tests. However, keep in mind that a general implementation isn’t viable. This is a cat-and-mouse game; one day you’ll be ahead, the next day you won’t.

Google is depending on the security of the phone’s Trusted Execution Environment (TEE) or dedicated hardware security module (HSM) for tamper detection as it moves toward a hardware attestation method. Finding a serious security flaw in a device’s isolated secure environment and exploiting it to spoof SafetyNet’s client-side response isn’t a viable strategy, but there are alternative options.

1. Restoring the original firmware and relocking the bootloader

This is perhaps the simplest way to pass SafetyNet, but it has its own merits and demerits. All you need to do is find the correct firmware for your Android device, flash it, and finally re-lock the bootloader. Of course, you’ll lose most of the bells and whistles of Android modding, but it actually makes sense when you need to use your device in a managed environment with strict security policies or you’re trying to sell your device.

2. Using Magisk

If you own a legacy Android smartphone, Magisk is your best bet to pass SafetyNet without much hassle. Even though the current Canary channel of Magisk doesn’t feature MagiskHide anymore, you can still stick to last stable release (v23.0) and utilize MagiskHide to hide root status from apps. Furthermore, you can install Magisk modules like MagiskHide Props Config to change the device fingerprint in order to pass SafetyNet.

Talking about the Canary channel, the new “DenyList” feature of  Magisk is an interesting development, which allows users to assign a list of processes where Magisk denies further modifications and reverts all changes it had done. With an appropriate configuration, it can also be used to pass SafetyNet in some scenarios.

Magisk XDA Forums

Lastly, there’s Shamiko — a work-in-progress module written on top of Zygisk (Magisk in the zygote process). It reads the list of apps to hide from Magisk’s denylist to hide Magisk root, Zygisk itself, and Zygisk modules to circumvent SafetyNet. However, Shamiko can only work after disabling the DenyList feature.

3. Using Universal SafetyNet Fix

Bypassing Google’s hardware-backed SafetyNet attestation technique is a tad bit difficult, but it’s not entirely impossible. The Universal SafetyNet Fix project by XDA Senior Member kdrag0n cleverly accomplishes this feat by forcing the basic attestation over the hardware-backed checks.

Notably, Universal SafetyNet Fix has a dependency on Magisk when it comes to passing the basic attestation part. The developer offers two different builds of the fix: The Zygisk variant for Magisk Canary and the Riru variant for stable Magisk.

Universal SafetyNet Fix: GitHub Repo |||  XDA Discussion Thread

4. ih8sn

In case you don’t want to rely on Magisk to pass SafetyNet attestation, you can try out an experimental add-on named ih8sn. After applying, it can spoof a plethora of prop values in order to circumvent SafetyNet checks like the MagiskHide Props Config module, but there’s no dependency on Magisk in the first place.

The ih8sn tool is maintained by several LineageOS developers, but the LineageOS project doesn’t officially endorse it yet. To know more, take a look at its codebase by following the link below.

ih8sn GitHub Repo


Verification

After applying one of the aforementioned SafetyNet passing methods, you may wish to verify the result. The Magisk app comes with an option to initiate the SafetyNet checking routine right from its main menu, which is really handy. You can also opt for an open source app named YASNAC (short for Yet Another SafetyNet Attestation Checker) to check the status and (optionally) examine the JSON response.

Download YASNAC from Google Play

That’s how you can use your phone to pass SafetyNet. With a little effort and care, you can restore Android’s true modding capability without having to worry about SafetyNet Attestation failures. We’ll be adding more SafetyNet passing ways to this guide in the future, so check back!

Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source
Tags:#android#custom rom#magisk#pass#rom#root#SafetyNet
Recommended Deals
1 / 9
Apple Watch Series 12

Apple Watch Series 12

5.0
$389.99
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Cristian Penisoara
Cristian PenisoaraGuides Writer · Android Power User

Cristian Penisoara is a Guides Writer and Android specialist at Droid Tools. An Android user since version 2 and a professional event photographer, he combines technical curiosity with a detail-oriented approach - every guide he publishes is tested step-by-step on a real device before it goes live.

Next Story in Guides

How to turn off Pixel camera AI features on newer Google devices

Learn how to turn off Pixel camera AI features like Auto Best Take and Auto Edit on newer Google phones to prevent unwanted photo adjustments.

→

Latest Stories

Six Pixel features Samsung Galaxy phones still need01

Six Pixel features Samsung Galaxy phones still need

02

Honor Magic 9 series leads 2026 Android flagship sales in China

03

Galaxy S27 launch could happen earlier than usual amid Samsung schedule changes

04

Garmin CIRQA vibration alerts arrive with firmware update 4.20

Recommended Deal
-13% OFF
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0(1,771 reviews)
$459.99$529.99
Buy on Amazon

* As an Amazon Associate, Droid Tools earns from qualifying purchases.

Top Deals

Sony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discount

Deal
Sony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discount

Walmart cuts iVANKY ultra-slim magnetic power bank to $15 in 50% discount

Deal
Walmart cuts iVANKY ultra-slim magnetic power bank to $15 in 50% discount

Amazon offers $749 Pixel 10 Pro XL deal as memory prices climb

Deal

Continue reading

More from this category →
google pixel camera
GuidesOct 28, 2026

How to turn off Pixel camera AI features on newer Google devices

Learn how to turn off Pixel camera AI features like Auto Best Take and Auto Edit on newer Google phones to prevent unwanted photo adjustments.

By Luiza Mosneagu
How Pixel Watch Find Hub Settings Helped Recover a Lost Device at Airport Security
GuidesOct 26, 2026

How Pixel Watch Find Hub Settings Helped Recover a Lost Device at Airport Security

A traveler recovered a lost smartwatch in ten minutes using Pixel Watch Find Hub settings. Learn how to configure location toggles and ring missing devices.

By Cristian Penisoara
Google Pixel update schedule and device lifespan guide
GuidesOct 23, 2026

Google Pixel update schedule and device lifespan guide

Track the Google Pixel update schedule, including seven-year lifespans for newer models, quarterly patch shifts, and dual Android OS release windows.

By Cristian Penisoara
How to fix Android time zones amid Canadian daylight saving changes
GuidesOct 23, 2026

How to fix Android time zones amid Canadian daylight saving changes

Google explained how to manage Android time zones as Canadian regions end seasonal time changes, offering steps for automatic and manual clock adjustments.

By Cristian Penisoara
Next in queue

Read the next article

The next story loads as you reach the end. You can also load it using the button.

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.