**Setting Up ADB and Preparing for Rooting**
To begin the rooting process, we need to set up ADB on our PC. This involves installing the necessary drivers and software. If you haven't already done so, please refer back to my previous video on setting up ADB.
Once ADB is installed and configured, we can proceed with the rooting process. We will open the Command Prompt window and type in `adb devices` to verify that our device can be detected by ADB. This ensures that our device is recognized by ADB and that we are ready to move forward.
Next, we need to connect our device to our PC via a USB cable. Once connected, we will type in the command `adb reboot bootloader` and press enter. Our device will then boot into bootloader mode. While in bootloader mode, we can verify that our device is detected by ADB by typing in the command `fastboot devices`.
If our device is not detected, please refer back to my previous video on troubleshooting and fixing common issues with ADB.
Once our device is detected, we need to unlock the bootloader using the command `fastboot OEM unlock`. This will prompt us to erase user data, which we must select by using the power button. After our device reboots, we need to go back into Settings > About phone and enable Developer options, which may require multiple taps on the build number.
Next, we need to enable USB debugging and OM unlocking in Developer options. If you encounter issues with USB debugging, please refer back to my previous video on troubleshooting and fixing common issues with ADB.
Once our device is connected via USB, we can use the Command Prompt window to push the necessary files onto our device. We will type in `adb push supersu zip slash sdcard flash` to transfer the necessary files.
After pushing the files, we need to reboot our device into bootloader mode by typing in the command `adb reboot bootloader`. Once in bootloader mode, we can verify that our device is detected and type in the command `fastboot devices` to confirm.
Next, we need to install the recovery image using the command `fastboot flash recovery covery IMG`. This will complete the rooting process.
**Bootloader Mode and Recovery Installation**
Once the installation is complete, we need to unplug our device from the PC. To access the recovery mode, we need to manually boot into it by holding down both the volume down and power buttons simultaneously. Keep holding them until we see the OnePlus logo, then release the power button but continue holding the volume down button.
Next, we will tap on "Install" in the Recovery Mode menu and navigate through the options until we see SuperSU at the bottom of the screen. Tap on it to select, then swipe to confirm the installation.
After installing SuperSU, we need to wipe the cache and dalvik files using the recovery menu. Once complete, we can reboot our device into system mode by tapping "Reboot System" in the Recovery Mode menu.
**Enabling Root Access**
Once our device reboots into system mode, it will prompt us if we want to disable the stock recovery or replace it with a custom recovery. We must select "Disable" to keep the TW RP recovery.
Next, we need to open the Play Store and search for "Root Checker." Install it and open it to grant root access. Once granted, you should see SuperSU in your app drawer, indicating that you have successfully rooted your device.
**Conclusion**
And that's it! You have now successfully rooted your Oneplus phone using ADB and recovery mode. I hope this video helped guide you through the process. If you have any questions or concerns, please feel free to ask in the comments section below.
If you enjoyed this video, please thumbs up it and share it with others who may find it useful. You can also subscribe to my YouTube channel for more videos on how to get the most out of your devices. Additionally, follow me on social networks at Unlocker for exclusive content and updates. Thanks for watching!