Skip to content
Droid Tools
Home
About UsContact
Editorial PolicyReview Policy
Privacy PolicyCookie PolicyTerms & Conditions
⌘K
Search
FacebookX (Twitter)InstagramThreadsBlueskyTikTokYouTubeRedditTelegramRSS Feed
Trending:
Galaxy S26•Pixel 10•Android 16•Nothing OS•Gemini AI•Smartwatches•Tech Deals•Latest Reviews•How-to Guides
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

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 →
Bypass SafetyNet hardware attestation with an unlocked bootloader
0%
Share on XFacebookBluesky
Follow on Google
Advertisement
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

Key Takeaways

Automated Editorial Synthesis
AI Overview
  • 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.

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.

Advertisement

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

Advertisement
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
529.99
Buy on Amazon
💎Best Android Device
Samsung Galaxy S26 Ultra

Samsung Galaxy S26 Ultra

4.9
$1,212.85$1,499.99-19%
Buy on Amazon
👑A good choice
Apple iPhone 17 Pro

Apple iPhone 17 Pro

4.8
$1,012.97$1,099.00-8%
Buy on Amazon
Google Pixel Watch 4

Google Pixel Watch 4

4.8
396.00$499.99-21%
Buy on Amazon
✨DEAL
Google Pixel 11 Pro

Google Pixel 11 Pro

5.0
1,099.00$1,299.00-15%
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.

Advertisement

Comments & Discussions

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

Advertisement

Latest Stories

01

Honor MagicOS 11 to debut with hidden Power Saving Suggestions feature

02

Galaxy Watch 4 and Watch 4 Classic reach end of software support

03

GrapheneOS merges Secure Paste to limit clipboard access

04

Android 17 quietly blocks apps from detecting Developer Mode status

Advertisement
Amazon Deals
5.0
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

Best Price
529.99
Buy

Top Deals

Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Deal
Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Apple Watch Series 12 vs Pixel Watch 5: how they compare

Deal
Apple Watch Series 12 vs Pixel Watch 5: how they compare

Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon

Deal
Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon
Advertisement
Advertisement
Recommended stories

Continue reading

More from this category →
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
galaxy s25 settings menu
GuidesAug 28, 2026

Before using a new phone, disable these 5 Android settings.

Opening a brand-new phone has a particular excitement. After removing the plastic, you move your pictures, log into your Google account, and begin taking your first snapshot. However, we frequently overlook a few crucial settings that can improve our phone in all that excitement. I looked at a few options on my current phone, a […]

By Robert Haba
How to fix phone that wont turn on
GuidesAug 20, 2026

Android Phone Won’t Turn On? Try These Fixes

If your Android phone won’t turn on, connect it to a tested wall charger for at least 30 minutes, then hold the Power button for several seconds. If nothing happens, inspect the cable, adapter, outlet, charging port, and physical buttons before attempting a forced restart. A phone that appears completely dead may actually have a […]

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.