Skip to content
Droid ToolsDroid Tools
Home

Explore

  • News
    427
  • OS
    264
  • Apps
    230
  • Phones
    190
  • Guides
    175
  • Wearables
    104
  • Reviews
    16

Latest Articles

  • Samsung sleep apnea detection expands to Galaxy Ring and Galaxy Watch
    Wearables

    Samsung sleep apnea detection expands to Galaxy Ring and Galaxy Watch

  • Google Photos RAW images could soon get a dedicated section in Collections
    Apps

    Google Photos RAW images could soon get a dedicated section in Collections

  • One UI 9.5 beta firmware surfaces for Galaxy S26 Ultra as beta program nears
    News

    One UI 9.5 beta firmware surfaces for Galaxy S26 Ultra as beta program nears

  • Google Messages pinned chats redesign rolls out to beta users
    Apps

    Google Messages pinned chats redesign rolls out to beta users

  • Silicon-carbon batteries deliver huge capacity, but charging speeds have slowed down
    News

    Silicon-carbon batteries deliver huge capacity, but charging speeds have slowed down

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
© 2026 Droid Tools. All rights reserved.
Home/Guides/Bypass SafetyNet hardware attestation with an unlocked bootloader
Guides

Bypass SafetyNet hardware attestation with an unlocked bootloader

Over the last few years, the challenge of bypassing SafetyNet Attestation has evolved from a simple cat and mouse game between Google and the modding community to a burgeoning battle full of obscure barriers. Thanks to the rise of hardware-backed certification techniques, it is very difficult to bypass the boot image integrity verification routine and ...

Cristian Penisoara• Guides Writer · Android Power User
Feb 9, 2021•Updated•3 min read
Bypass SafetyNet hardware attestation with an unlocked bootloader
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

Over the last few years, the challenge of bypassing SafetyNet Attestation has evolved from a simple cat and mouse game between Google and the modding community to a burgeoning battle full of obscure barriers. Thanks to the rise of hardware-backed certification techniques, it is very difficult to bypass the boot image integrity verification routine and hide root access. Installing Magisk on its own would not be enough to circumvent the latest update to SafetyNet, especially on newer devices. This is where the Universal SafetyNet Fix Magisk module comes in.

While legacy device owners, as well as custom ROM users, often use modules such as MagiskHide Props Config to spoof the CTS profile to pass basic certification, as long as the method in question relies on a valid combination of device and model names, fingerprint building, and security patch levels, there is no guarantee that the root hiding trick will remain useful in the future. This is due to the fact that Google Play Services is starting to use CTS profile validation hardware certification in many cases, even when a basic certificate is selected.

In case you have an Android device that has an unlocked bootloader (or locked using custom verified boot keys) and thus doesn’t pass hardware attestation, then the Universal SafetyNet Fix Magisk module may fix that. Created by Danny Lin AKA XDA Senior Member kdrag0n, the module works by taking advantage of the opportunistic nature of the hardware attestation routine. Quoting the developer:

… it (hardware attestation) falls back to basic attestation if key attestation fails to run — and prevent GMS from using key attestation at the framework level. This causes it to gracefully fall back to basic attestation and pass SafetyNet with an unlocked bootloader.
…
The “not implemented” error code from Keymaster is used to simulate the most realistic failure condition to evade detection, i.e. an old device that lacks support for key attestation.

The workaround is already available pre-integrated on the ProtonAOSP ROM from the same developer, which lets you pass SafetyNet without Magisk on fairly modern devices such as the Google Pixel 5. If you are a custom ROM maintainer and you wish to integrate this method with your build, you can do so by cherry-picking the necessary patches from this repository. On the other hand, the latest version of the ready-to-flash Magisk Module variant can be found here. Note that MagiskHide is still required if the target device is rooted.

Universal SafetyNet Fix: XDA Thread ||| GitHub Repo

Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source
Tags:#apps#bootloader#bypass#hardware#play services#play store#SafetyNet#unlocked
Recommended Deals
1 / 9
Ring Indoor Cam 2K

Ring Indoor Cam 2K

5.0
$99.99$119.98-17%
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

Google Photos Ask Photos update may add multi-step tasks01

Google Photos Ask Photos update may add multi-step tasks

02

ColorOS 17 rollout begins with initial support for OnePlus and Realme devices

03

Huawei Nova 17 series leak points to 200MP camera and Kirin 8 chip

04

Sony releases Xperia 10 Android 17 update with missing flagship features

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.