How to Root OnePlus 5 and Install TWRP Recovery

Do you want to root OnePlus 5? Here I will show you How to Root OnePlus 5 and Install TWRP. TWRP is a custom recovery which provides touchscreen enabled interface. It allows users to flash rooms, backup current system and do lots of additional stuff which is not supported by stock recovery images which comes pre-installed with OnePlus 5.

This guide will show you how to install latest TWRP recovery for OnePlus 5 and root it. Here we will install latest TWRP and root OnePlus 5. Download TWRP for OnePlus 5 from below and follow steps carefully. If you install TWRP on your OnePlus 5, you can then flash Custom Roms, Custom Kernel, Custom Mods and any zip files like xposed installer. Also do check how to enable screen gestures in OnePlus 5

OnePlus 5 comes with a 5.5 inch display with 1080 × 1920 pixels which gives it PPI of around 401 pixel per inch. It is powered by 1.9GHz octa-core Qualcomm Snapdragon 835 processor and comes with a 64 GB internal storage that cannot be expanded. It has 6 GB ram for super-fast performance. It sports a 20-megapixel primary rear camera and an 16-megapixel secondary front shooter. It runs on Android 7.1.1 and is powered by a 3300 mAh non removable battery.

Benefits of rooting OnePlus 5:

  • Able to install custom Roms onOnePlus 5 and explore new features.
  • Increase performance of your device by tweaking kernel and overclocking device.
  • Increase performance by hibernating battery consuming apps using apps like greenify..
  • Increase performance by uninstalling ram-hogging inbuilt apps.


  • Rooting will void OnePlus 5 warranty.
  • Follow all steps correctly otherwise you will end up with a bricked phone. We are not responsible for any damage to your phone. Proceed at your own risk.
  • Make sure you have 70% charge or more.

Disclaimer: This process will erase all your data including phone settings, contacts and sms. Please make sure to Backup data.

Requirements for rooting and installing TWRP on OnePlus 5

Make sure to rename it to recovery.img and place it in ADB folder.

  • Latest dm verity and forced encryption disabler -Download Here

Steps to Root OnePlus 5 and Install TWRP

  1. First enable the USB debugging option inOnePlus 5.
  • To enable USB debugging option we first need to make the developer options active for that go to your Settings -> About Phone -> now tap the build number 7-8 times until you see a message ‘you are now a developer’.
  • Now as we have enabled developer options, go back to Settings-> developer options -> and now enable USB debuggingalso enable OEM unlock.

Note: First we will need to Unlock the Bootloader in order to flash TWRP and root OnePlus 5

2. Now go to folder where you installed the adb and by holding the Shift Key, right-click on any blank space and select Open command window here.

3. Now connect theOnePlus 5 to Pc/Laptop using USB.

4. Now we need to reboot phone into fastboot mode by typing the following command.

adb reboot bootloader

5. Your device will reboot into fastboot mode. If it doesn’t, check if your USB cable is connected properly and you have drivers installed properly. You can check a list of connected device by typing the following command.

fastboot devices

6.Now to start flashing the recovery, type the following command.

fastboot flash recovery recovery.img

That’s it! You have installed TWRP recovery on OnePlus 5.

How to Root OnePlus 5 using TWRP Recovery

  1. Move to root of your phone's internal memory. (By root I mean not in any folder just enter into your internal storage and place the file there and not in any folder.)
  2. Boot your device in recovery mode by pressing Volume Up+ Power button simultaneously.
  3. Now without leaving TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP and flash it.
  4. Go to “Wipe” section and tap “Format Data”, and type “yes” (If you want to mount internal storage)
  5. Now from main menu click on Install menu and select the file you placed in root of internal storage to root OnePlus 5. Now swipe to install

6. That’s it you have rooted and installed TWRP recovery on your OnePlus 5.

This was complete guide on How to Root OnePlus 5 and Install TWRP on it. If any questions let me know in comments below.