How to Pass SafetyNet on OnePlus 6 Android Pie Open Beta

via Magisk Module or Build.Prop Edit

OnePlus has made available Android Pie for the OnePlus 6 if you are willing to update to their latest Open Beta version of OxygenOS – and even though it’s a fully-featured Android Pie with the latest Material Design, Adaptive Battery, and other Android Pie features, it does have its drawbacks due to being an open beta state – for example, the fact that Google Pay is not (yet) supported, and that your OnePlus 6 will fail the SafetyNet Attestation API test. Which means in a nutshell you cannot use Google Play, log into Snapchat, watch Netflix, or any other app that requires you to pass SafetyNet – even if your OnePlus 6 isn’t rooted (although you can still side-load NetFlix APK, that seems to work).

Typically when a device fails the ctsProfile check but still passes basicIntegrity, it is almost always due to the phone’s individual fingerprint – which is a unique identifier for the ROM you’re using, and checks whether the Android build you’re on (Settings > About > Build) has been verified through Google’s CTS (Compatibility Test Suite).

If the fingerprint does not match a CTS-certified Android build, it will immediately fail. Don’t ask us why OnePlus is pushing an open beta ROM that fails SafetyNet – we’re sure it’ll be fixed in the future. But in the meantime, we need to modify the device’s fingerprint, which is found in your build.prop file.

We have a way around it for you – by following this guide, you’ll be able to pass SafetyNet on the Open Beta version of OxygenOS, and even use Google Pay perfectly fine. We’ll be achieving this via two methods which you can choose – you can use either Magisk and a module which allows you to change your device’s fingerprint, or you can modify the build.prop by yourself – we’ll walk you through both methods. Just follow along carefully, and leave a comment if anything goes wrong.

Modify Build.Prop Yourself to Pass SafetyNet on OnePlus 6

This is typically easier than the Magisk method, so you should start here first if you don’t want to tinker around too much. Your OnePlus 6 needs to already be rooted via Magisk – if it isn’t, you can read Appual’s guide “How to Root the OnePlus 6”.

Once you’re rooted, you need to download a build.prop editor, or use a root file explorer to locate and manually edit it via text editor (MiXplorer is my personal favourite).

Once you’ve installed an application that you can use to modify your build.prop, navigate to the line “” and change the value:

(or whatever the current build fingerprint is), to:

Reboot your device, and you’ll now pass SafetyNet. The downside of doing it this way is that you are making changes to /system, so updating your phone or reflashing your ROM will overwrite this change. You are spoofing the fingerprint of the latest stable release, so to Google, it appears that your Android version has been CTS tested. You will now be able to use Google Pay on Android Pie.

Using a Magisk Module to Pass SafetyNet on OnePlus 6

If you intend on following this method, be warned that it’s a bit trickier – you need to use the new Magisk Canary builds, because Resetprop (which is used for modifying build.prop systemlessly) doesn’t work on Android Pie unless you’re using the latest Magisk Canary build. This has the benefit of allowing you to play games like Fortnite Mobile, but it also brings bugs associated with the Magisk Canary builds – so unless you’re already familiar with Magisk Canary, it’s a better idea to do the manual build.prop edit method.

Once you’ve got that setup, you’ll need to download and install the “MagiskHide Props Config” module, which can be found on the Magisk module repo. Once you’ve done that, download any terminal emulator (Terminal Emulator by Jack Palevich works perfectly fine) and type “props” after its been launched.

You should see this output / menu on your terminal screen:

Magisk Module Props Config Editor

Now you need to press (in this order):

  • “1” (Edit device fingerprint),
  • “F” (Pick a certified fingerprint)
  • 8” (OnePlus)
  • “7” (OnePlus 6 8.1.0)

After that, you need to reboot, and you should now pass SafetyNet.

If you had any issues following either of these methods, please let us know in the comments below so we can help you find a solution.

Kamil Anwar
Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.
Back to top button