Right ahead, you can find detailed steps showing how to root OnePlus 6 through Magisk running Android 8.1 Oreo OxygenOS. The latest flagship has just started hitting stores and yet, we already have a working root utility available for it. As OnePlus 6 runs a much less modified form of Android — named OxygenOS — developers have been quick to release a proper root utility for it. Also, owing to the same near to stock OS, Android P Beta has also been made available for the device so users can test it out. For our rooting procedure, we would be utilizing Magisk root.
Magisk has been a fundamental utility in providing root access to multitudes of Android devices. Now, added to the list of supported devices, is OnePlus 6. As always, Magisk is quite easy to implement and if you have rooted a phone before with the same utility, this should be a breeze. Linked ahead, you will find the proper patched boot image for OxygenOS 5.1.5 Android 8.1 Oreo running on OnePlus 6 along with Magisk tool.
Why use Magisk to Root OnePlus 6?
For root, there are a couple of options you can choose from. However, the most reliable, secure and efficient still remains to be Magisk. All of these properties are integrated into Magisk by continuous testing of the app in various scenarios and devices. Further, Magisk follows a systemless approach. Simply put, Magisk doesn’t modify the system partition hence allowing for a more cleaner install which can be removed easily if need be.
Also, unique to Magisk, are the Magisk Modules which you can install and operate using Magisk Manager app. These modules add in functionality to your smartphone and also allow you to modify certain functions to your needs. As said previously, you wont be able to run these modules on any other root utility.
Looking to download latest Magisk ZIP package for your device? Read: Download Magisk (All Versions)
How to Root OnePlus 6 on OxygenOS 5.1 / Android 8.1 Oreo
Do make sure you have already done the following things:
You can download the latest Magisk 15.4 zip package from the link below.
Step 1.1 – Download Android SDK from the Android Developers website and install. Also set it up with downloading platform-tools and USB drivers package in SDK. See: How to Set up ADB and Fastboot on Windows.
or
Step 1.2 – Download ADB / Fastboot – Android SDK Platform Tools separate package and install on your computer. Download from the following links depending on your OS and extract it anywhere in your computer.
- Windows: Download platform-tools-latest-windows.zip
- MacOS: Download platform-tools-latest-darwin.zip
- Linux: Download platform-tools-latest-linux.zip
Step 2 – Enable USB Debugging mode in your OnePlus 6.
Step 3 – Download Patched Boot Image for OnePlus 6 on your computer:
File: patched_boot_op6_magisk.img
Step 4 – Flash the patched image to your device by issuing the following two commands. (Make sure you are in the correct directory, where you downloaded the image in Step 3)
fastboot flash boot patched_boot_op6_magisk.img
Step 5 – Once phone boots, install latest Magisk Manager by downloading the APK file: MagiskManager-v5.7.0.apk and install it on your device. If you are having troubles, we have a further article on how to manually install APK files.
Step 6 – In Magisk Manager app, open the settings menu and select Update channel. You would need to change it to Beta.
Step 7 – Revert back to the main scree of Magisk Manager app. Now make sure you have Preserve force encryption and Preserve AVB 2.0/dm-verity both are checked!
Step 8 – Now simply, tap on Install and select Direct Install (Recommended)
Step 9 – Reboot and you shall have a properly rooted device passing SafetyNet, start playing with some Magisk modules!
That’s all to it, you should now have a rooted OnePlus 6 that passes SafetyNet. If you are facing issues following the steps, reach us in the comments and we will help as quickly as we can.