If you’re looking for a way to Root your OnePlus 5T using Magisk and without installing TWRP, then this guide is exactly what you need. I will show you the complete steps to Root this device with Magisk. The steps are easy enough that even a beginner can follow along.
Rooting your device will give you access to all sorts of excellent features, such as being able to install custom ROMs, systemless Xposed framework, and other mods that would have otherwise been unavailable on an unrooted Android device.
The process outlined in this blog post requires no knowledge of flashing or rooting devices whatsoever; it’s easy enough for anyone who knows how to use a computer and has some time on their hands, even if they’ve never rooted a phone before.
- 1 What is Rooting Android?
- 2 Pre-requirements
- 3 Steps to Root OnePlus 5T using Magisk
- 4 Conclusion
What is Rooting Android?
Rooting Android is a process that users do not limit the use of their device. It enables modifying your device’s operating system and gives access to core files.
The main intention of this process is to remove all default restrictions set by the manufacturer so you can modify and delete anything you want from the ROM of your device.
Once rooting Android has been completed, users are given admin privileges, which means they have full control over every setting in the phone or tablet. This means removing bloatware (unnecessary software) will be easier than ever before.
Also read: How to fix OnePlus 5T common problems
Advantages of Rooting
- Easy to install Custom ROMs
- Flash Magisk Modules
- Removing pre-installed OEM apps
- Ad-blocking for all apps
- Installing incompatible apps
- More display options and internal storage
- Greater battery life and speed
- Making full device backups
- Access to system files
- CPU Clocking
- More tweaking
Also read: Download OnePlus Camera for OnePlus 5T
Disadvantages of Rooting
- It can brick your device
- No more warranty
- Root and superuser access
- Tweaking risks
- Update problems
Related Guide: How to Hard Reset & Factory Reset OnePlus 5T
- The process will wipe all data from the device, so please back up any information you don’t want to be lost before proceeding with this installation.
- Before moving to the steps, fully charge your OnePlus 5T device to avoid any errors in between the process.
- You need to download and install ADB drivers on your PC. If you don’t have drivers, your phone will not be recognized by your computer.
Steps to Root OnePlus 5T using Magisk
Installing Magisk on your phone simplifies the process of rooting. There are two steps to installing it, unlocking the bootloader and flashing a modified boot image.
Unlocking allows you to flash unofficial images and modify system files.
Step 1: Unlock Bootloader on OnePlus 5T
Android phones often include secure locks a locked Bootloader, which prevent users from installing custom operating systems, flashing, rooting their devices.
Unlocking the bootloader on an Android phone allows you to install Custom ROMs and Root your device, but it’s not easy. For example, unlocking can be difficult with a locked bootloader in a position like OnePlus 5T phone, especially if you’re unfamiliar with how this process works.
You can follow this article to learn how to unlock the bootloader on the OnePlus 5T .
Step 2: Install Magisk App and Patch Boot Image
First, you need to Download the Stock firmware file for OnePlus 5T device. There are various sources from where you can download the OnePlus firmware.
Once we get the firmware, we extract it, and we will get the boot image file. We will patch this boot image file with the help of the Magisk application and then flash it on the phone to obtain root access.
- After you have downloaded the firmware file, extract it.
- Open the extracted folder and copy the boot.img file to your phone.
- Download the latest Magisk App and Install it.
- Open the Magisk App from the app drawer.
- Go to Install > tap on “Select and Patch a File.”
- Navigate to the location where you copied boot.img file and select it.
- Once you selected the file, tap on “LET’S GO.”
- Wait until Magisk patches the boot image file. The patched boot image (magisk_patched.img) file can be found in the “Downloads folder.”
- Rename magisk_patched.img to boot.img again.
- Copy the boot.img file to your PC/laptop.
Step 3: Flash Magisk patched boot image
Once you have copied the boot image file to PC, now you need to move this file to this location – C:\adb.
- Once you are inside the ADB folder. Type “cmd” in the address bar.
- Now command prompt window will appear on your screen.
- Connect your OnePlus device to your computer.
- On the command line window, type the below command and hit Enter.
- This will show the list of connected devices. Check if your device is showing on the command line windows. If it is showing, that means your phone is successfully connected to your computer.
adb reboot bootloader
- The above command will boot your phone into fastboot mode. Next, type the below command to flash the boot image file and again hit Enter.
- For A/B partition system:
fastboot flash boot boot.img
- For Non-A/B partition system:
fastboot flash boot_a patched_boot.img fastboot flash boot_b patched_boot.img
- For A/B partition system:
- We have successfully flashed the boot image file. Now Reboot your phone by entering the below command.
- That’s it. Your OnePlus 5T smartphone is successfully Rooted using Magisk.
Step 4: Verify Root Access on OnePlus 5T
To check if your OnePlus device is rooted successfully or not, you can follow the below steps.
- Open Magisk App from the app drawer.
- You will see the option to “Uninstall Magisk,” which indicates that your phone is rooted successfully.
If you encounter issues after Rooting and you want to remove Magisk from OnePlus 5T device completely. You follow this article on how to uninstall magisk and remove root access.
We hope you have found our tutorial on Rooting OnePlus 5T with the help of Magisk to be informative. With these instructions, your device will be rooted in a few simple steps and running smoothly again.
If there are any additional questions, please feel free to reach out, and we will get back to you as soon as possible!