OnePlus 9 and 9 Pro can be rooted using Magisk without using the TWRP recovery. The steps are a bit tricky, but that is for the first time. From next time, it will be a piece of cake. ..

What is Rooting?

Rooting an Android device can give you more control over your device and allow you to access hidden system files and folders that are usually locked off for the user. This can promote yourself from a system user to an administrator and give you the added freedom and risks that come with more control over your device. With great power comes great responsibility, so be sure to take advantage of all the opportunities that rooting provides!

Adding root to Android means becoming a superuser, which is a Linux function that you may be familiar with. In many ways then, you could view this more as restoring a function that should have been there, from the beginning.

Some people may still prefer to root their Android device in order to take advantage of the more interesting features that can be found on custom ROMs. However, rooting no longer always needs to be done in order to do this. ..

How Rooting Actually Works?

However, there is a way to root your device without having to go through these steps. This method is called “fastboot oem unlock.” ..

If your device’s bootloader can be unlocked, you’ll need to follow the instructions provided on the manufacturer’s website. After following those instructions, you’ll need to install a custom recovery image. A custom recovery image is a software program that allows you to restore your device back to its factory state. You can find many custom recovery images online or on your device’s storage. After installing a custom recovery image, you’ll need to reboot your device into it. Once your device is in the custom recovery image, you’ll be able to flash a new ROM or update your firmware. ..

To unlock the bootloader and then switch to a custom recovery, you first need to gain access to the bootloader. This can be done by either unlocking it with a computer or using a third-party tool like TWRP. Once you have access to the bootloader, you can use your new recovery to flash a zip file that will give you root access. ..

Steps to Root OnePlus 9 and 9 Pro

Step1: Setup Fastboot and ADB

What is ADB

To use ADB, you need to install it on your computer. Then, you can use the following command to start it: adb start

What is Fastboot

Fastboot is a protocol that is used to re-flash the system partition on your Android device. It is a small yet powerful tool that comes with the Android SDK (Software Developer Kit), which is an alternative to all the recovery mode installations and updates. While re-flashing the system partition Fastboot requires a device with an unlocked bootloader. ..

  1. A command line tool used to flash Android firmware onto devices
  2. A feature in the Android OS that allows users to downgrade or uninstall apps
  3. A way for manufacturers to unlock devices

A protocol for communication between your phone hardware and a computer.Software that runs on the phone when in Fastboot/bootloader mode.The executable file on the computer you use to make them talk to each other.

Some Android devices have a Fastboot mode that is accessible just after Nexus devices have enabled the fastboot mode by default. Some independent Android developers and tech enthusiasts make the Fastboot mode possible on some different phones.

If you are looking to set up fastboot and ADB in your operating system, we have written a comprehensive guide that can help. In this guide, we will cover everything from setting up fastboot and ADB to using them effectively.

If you want to install ADB and Fastboot on your Android device, there are a few things you need to do first. First, make sure that you have the correct software installed on your computer. You can download the ADB and Fastboot tools from the Google Play Store or from the official website. Once you have the software installed, open it up and click on the “Install ADB and Fastboot” button. This will install both ADB and Fastboot onto your computer. Now, you need to connect your Android device to your computer using a USB cable. Once it is connected, open up a command prompt (on Windows) or terminal (on MacOS) window and type in the following commands: adb devices This will show you a list of all of your connected devices. If you see “Android Device” listed here, then everything is set up correctly. If not, please follow these instructions again to set up ADB and Fastboot on your computer. Next, type in the following command: adb reboot bootloader This will reboot your device into bootloader mode. Once it has rebooted, type in the following command: fastboot oem get_unlock_code This will show you a code that needs to be entered into order to unlock your device’s bootloader. Once you have entered this code, type in fastboot flash recovery recovery-filename .zip This will flash recovery onto your device. Finally, type in fastboot reboot ..

Step 2: Unlock Bootloader

The bootloader is the software that starts up the phone’s operating system and recovery. When you turn on your phone, this is the first software to run. ..

Rooting the device and installing a custom OS are the only ways to change the core operating system. ..

OnePlus 9 and 9 Pro users can unlock their bootloader using a guide we have written. To do so, you will need to first unlock your device’s bootloader using our guide. Once you have done so, you can then use the following steps to unlock the bootloader on your OnePlus 9 and 9 Pro:

  1. Unlock your device’s bootloader using our guide.
  2. Use the following steps to unlock the bootloader on your OnePlus 9 and 9 Pro: a. First, unlock your device’s bootloader using our guide. This will require you to enter into a few simple commands into your device’s touchscreen interface. Once you have unlocked your device’s bootloader, use the following steps to continue unlocking it: b. Next, use a computer or phone to connect to the OnePlus9 or OnePlus9 Pro through its USB port and run one of the following commands: adb reboot recovery adb shell pm-key-unlock –device=composite –key=composite

If you own an OnePlus 9 or 9 Pro, you can unlock the bootloader using a few simple steps. First, connect your OnePlus 9 or 9 Pro to a computer and create a new recovery image. Then, use that recovery image to unlock the bootloader.

Step 3: Download Stock Firmware

OnePlus has not yet released the firmware for their devices to their official website, but XDA-Developers has already provided download links for these firmware. ..

Step 4: Extract boot.img File from Firmware

This can be a tricky step, as you will have to install Python and do a few more things to extract the boot.img file from the downloaded firmware. We are not going to discuss every step in this article. But for your convenience, we are linking a great guide written by Sadique Hassan (from DroidWin), read that article and you will be good to go.

If you want the fully extracted boot.img files then use these below links to download the latest boot.img files, we always recommend you extract the files by yourself. ..

Step 5: Patch boot.img File via Magisk

To root the device, we will patch the boot.img file with Magisk. ..

To install Magisk on your Android device, first go to this Github repo and install the latest Magisk Manager available. The latest release will be there under the asset section.Install the apk file and then open the Magisk Manager from the app drawer. On opening the Magisk Manager, you will see a button named ‘Install’ in front of the Magisk section.Click on that button and then select the ‘Select and Patch a file’ radio button. This will open the file explorer, from there navigate to the previously extracted boot.img file. Select the boot.img file, and then let Magisk Manager patch it with its built-in patching tool. ..

The Magisk Manager will automatically download the patch file when you complete the installation process. Save it in a safe place (the ADB directory on your PC will be a perfect place).

In case you don’t want to all these hazel then use the below-patched boot.img files, we always recommend you patch the files by yourself. If you don’t want to patch the files yourself, we have a guide on how to do it.

Step 6: Boot into Fastboot Mode

adb If you are using a Mac, you can use the following command: ./adb ..

fastboot oem unlock

fastboot mode This will show you the fastboot mode.

If you get the same serial number followed by the fastboot keyword, then the connection is successful.

Step 7: Root OnePlus 9 and 9 Pro by Flashing the Patched File

To root the device, we will need to use the ADB command line tool. First, we need to make sure that our device is connected to our PC. To do this, open the terminal and type “adb devices”. If you see a list of devices connected to your PC, then you are ready to proceed. If not, please see Step 6 for instructions on how to connect your device. Once your device is connected, we can start rooting it by typing the following command: “adb root”. This will take a few minutes to complete and once it has finished, you will be prompted to reboot your device. Type “yes” and press Enter to reboot your device. Once it has restarted, you will be able to use Android Studio again (Step 7). ..

sudo apt-get update This will update your package list. ..

reboot system

Final Verdict

OnePlus 9 and 9 Pro users can now root their devices using the following steps:

  1. Download the rooting tool from the link below.
  2. Extract the rooting tool to a location on your computer.
  3. Launch the rooting tool and click on the “Root OnePlus 9” or “Root OnePlus 9 Pro” button to begin rooting your device.
  4. Follow the on-screen instructions to complete the rooting process. ..

In case you didn’t understand any of the steps in this article, or you have any other questions about it, then feel free to comment down below and we will be more than happy to assist you.