Skip to content
Droid ToolsDroid Tools
Home
About UsContact
Editorial PolicyReview Policy
Privacy PolicyCookie PolicyTerms & Conditions
⌘K
Search
FacebookX (Twitter)InstagramThreadsBlueskyTikTokYouTubeRedditTelegramRSS 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
  • Apps
  • OS
  • Phones
  • Reviews

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/Bypass SafetyNet hardware attestation with an unlocked bootloader
Guides

Bypass SafetyNet hardware attestation with an unlocked bootloader

Bypass SafetyNet hardware attestation with an unlocked bootloader
Cristian Penisoara
Feb 9, 2021Updated Apr 6, 20263 min read
Cristian Penisoara
Cristian Penisoara
Guides 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.
Profile →
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 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
$459.99$529.99-13%
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

Why overnight charging wears down phone batteries and how Android settings prevent it

Overnight charging exposes phone batteries to sustained high voltage and heat. Learn how Google Pixel and Samsung Galaxy settings stop cell degradation.

→

Latest Stories

whstasapp01

WhatsApp message scheduling spotted in Android beta build

02

Why overnight charging wears down phone batteries and how Android settings prevent it

03

Global smartphone shipments fell 20% in Q3 2026 amid memory shortages

04

Nothing OS 5 update rolls out Android 17 to Phone 3

Amazon Deals
5.0
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

Best Price
$459.99$529.99-13%
Buy

Top Deals

Google sends 30% Pixel 11 discount code to select AI Pro subscribers

Deal
Google sends 30% Pixel 11 discount code to select AI Pro subscribers

Galaxy Watch 7 deal: get the Wear OS watch for $159 at Amazon

Deal
Galaxy Watch 7 deal: get the Wear OS watch for $159 at Amazon

Amazfit September 2026 update adds new coordinate formats and navigation upgrades

Deal
Amazfit September 2026 update adds new coordinate formats and navigation upgrades
Recommended stories

Continue reading

More from this category →
overnight charge
GuidesOct 15, 2026

Why overnight charging wears down phone batteries and how Android settings prevent it

Overnight charging exposes phone batteries to sustained high voltage and heat. Learn how Google Pixel and Samsung Galaxy settings stop cell degradation.

By Luiza Mosneagu
brave for android
GuidesOct 10, 2026

How to block ads on Android with Brave and Private DNS

You can block ads on Android more effectively by pairing Brave’s Aggressive Shields setting with the system’s Private DNS feature. The setup filters ads at both the browser and system levels, takes only a few minutes to configure, and avoids the battery drain and VPN conflicts that come with dedicated ad-blocking apps. Why one ad […]

By Robert Haba
MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout
GuidesSep 12, 2026

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout

Behind a two-tap recharge sits a surprising amount of plumbing. Every prepaid network has its own rules about what can be topped up, in which denominations, and how quickly credit posts to a SIM. MobileTopUP hides that complexity behind a single form: pick a country, enter a number, choose an amount. What the coverage map actually covers […]

By Robert Haba
turn off safe mode in android
GuidesSep 2, 2026

How to turn off Safe Mode on Android

Knowing how to turn off Safe Mode on Android comes in handy, since Safe Mode is a built-in troubleshooting tool that disables every third-party app on a phone and switches on Airplane Mode, making it easier to isolate an app causing lag, battery drain, or other issues. It's also useful for safely deleting a suspected […]

By Robert Haba
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.