Skip to content
Droid ToolsDroid Tools
Home

Explore

  • News
    438
  • OS
    278
  • Apps
    240
  • Phones
    195
  • Guides
    179
  • Wearables
    111
  • Reviews
    16

Latest Articles

  • Huawei Mate X8 Foldable Could Launch on November 24 With External Teleconverter Lens
    Phones

    Huawei Mate X8 Foldable Could Launch on November 24 With External Teleconverter Lens

  • Google Voice RCS code suggests upcoming messaging upgrade
    Apps

    Google Voice RCS code suggests upcoming messaging upgrade

  • New camera tech could boost low-light smartphone photography
    News

    New camera tech could boost low-light smartphone photography

  • Google releases Android 17 QPR3 Beta 4 with fixes for Pixel memory leaks and battery drain
    News

    Google releases Android 17 QPR3 Beta 4 with fixes for Pixel memory leaks and battery drain

  • Samsung starts One UI 9.5 internal builds for Galaxy S25
    OS

    Samsung starts One UI 9.5 internal builds for Galaxy S25

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

Google lists Quick Share automatic backup to Windows PCs in new release notes

Quick Share automatic backup will let Android users save photos and videos to Windows PCs via Google Play services v26.43, rolling out gradually.

→

Latest Stories

Google links Google Wallet in Gemini for spending analysis and budgeting01

Google links Google Wallet in Gemini for spending analysis and budgeting

02

Huawei Mate X8 Foldable Could Launch on November 24 With External Teleconverter Lens

03

Google Voice RCS code suggests upcoming messaging upgrade

04

New camera tech could boost low-light smartphone photography

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 lists Quick Share automatic backup to Windows PCs in new release notes
GuidesNov 13, 2026

Google lists Quick Share automatic backup to Windows PCs in new release notes

Quick Share automatic backup will let Android users save photos and videos to Windows PCs via Google Play services v26.43, rolling out gradually.

By Luiza Mosneagu
How Google Home Wi-Fi presence detection improves Home and Away routines
GuidesNov 12, 2026

How Google Home Wi-Fi presence detection improves Home and Away routines

Google Home Wi-Fi presence sensing uses local network connections to prevent accidental triggers and improve the accuracy of Home and Away routines.

By Cristian Penisoara
How to Sideload APKs Safely and Keep Them Updated on Android
GuidesNov 10, 2026

How to Sideload APKs Safely and Keep Them Updated on Android

Learn how to sideload APKs safely by checking signatures, reviewing permissions, using APK Analyzer, and tracking updates with Obtainium or APKUpdater.

By Robert Haba
How to use Gemini hands-free on your phone
GuidesNov 9, 2026

How to use Gemini hands-free on your phone

Learn how to use Gemini hands-free to control device settings, place calls, dictate messages, and handle tasks from the lock screen.

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.