You may have thought about rooting your OnePlus 5, but have thought twice about hearing SafetyNet stop you from using apps like Google Pay, Pokémon GO, or Netflix. These are valid fights if you root with traditional methods. There are no such worries when using Magisk as it masks the fact that your device has been changed.
This means you can have and use your financial apps. You can play your favorite games. Magisk is a kind of "clean" root that goes directly to the boot partition to make changes instead of changing system files. Since Magisk does not modify system files directly, it can remain undetected by apps that are incompatible with root.
The Rooten has always been a cat and mouse game. For any modder who finds a way to bypass security to gain root access, another developer creates a patch to prevent future access. Another good thing about Magisk is that it is constantly updated to keep your root intact and keep your apps working. You'll need to use a device with a bootloader that can unlock Magisk, but that's pretty easy with the OnePlus 5.
Before You Begin
First, you should create a full backup of your OnePlus 5 deletes your data when you unlock your boot loader. If you have personal information that you want to save (and who can not?), There are several apps that can help you back up data in the cloud or on a separate storage device.
Most of these apps require root or custom recovery that you probably do not have yet. So you can either connect your phone to your PC and copy important files this way or use a non-root backup solution like helium.
You should also make sure that your OnePlus 5 is 1
Use your USB cable to connect to your phone with your PC or Mac. The cable that came out of the box with your OnePlus 5 often works best.
If you have not already done so, you should first check your developer options are enabled. To do this, go to Settings -> By Phone. Tap your build version seven times until you say you're a developer. From there, go to Settings -> Developer Options and make sure that the "OEM Unlock" setting is enabled.
You need to unlock your phone's bootloader – here you will lose your existing data. Steps 1 and 2 in our Guide to Unlocking the Boot Loader on OnePlus 5 and Installing TWRP are all about getting the bootloader unlocked in minutes.
Now you need TWRP. Team Win Recovery Project is a custom recovery tool that allows rooting and installation of custom ROMs. TWRP also provides a simple and intuitive user interface to make the process a little easier. The ease and functionality associated with TWRP can also help you perform full backups, delete your device, or even install a custom kernel if you so desire. However, before you can take advantage of it, TWRP must be flashed as described in steps 3 through 5 below.
The Magisk Manager app not only helps you to install modules and settings Optimize when you are done with the Roots, but also offers one of the most important tools to Roots – a current Magisk ZIP file. Download the latest Magisk APK file below directly to your OnePlus 5. You can long press the link and select "Download Link" depending on the browser. The downloaded file is displayed in the notification bar.
Tap the APK file and install it when prompted. Enable downloads from unknown sources (press "Allow from this source") if necessary.
When you launch the Magisk Manager app, you will be asked if you want to install the Magisk framework. Tap "Install", then select "Download Zip Only" and click "Allow" on the permission request. If the install request does not appear, and instead displays the message "Invalid update channel" above, try closing and reopening the app.
Another option is to download the ZIP file to your PC and transfer it to the internal memory of your device via the MTP link. You can just copy and paste; no need to use ADB. You may need to turn off encryption, and you should ensure that TWRP is properly installed when you flatten the file in the next step. Further information can be found under the following link.
Give your phone the ability to download the file, but when it's done, it's time to boot into your new TWRP -Restoration. To do this, turn off your OnePlus 5 while holding down the volume for a few seconds. If you have enabled Advanced Reboot within Developer Options, all you need to do is press and hold the Power key, tap Restart, Restore, and then Touch to Reboot your OnePlus 5 by Magisk ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>