OnePlus 5: Install Custom Recovery | Flash TWRP | Rooting

Installing a Custom Recovery​

custom recovery is also like stock recovery with some additional features custom recovery is Third-Party recovery to use hidden features like wipe your device,install custom zip fies,take entire backup of your device and much more

Gaining Root Access​

You can gain root by either flashing via recovery a pre-rooted custom rom, or flashing a zip containing the SuperSU binaries or by FlashingMagisk Zip for a system less root. A custom recovery is necessary to do this.

ADB and Fastboot Installation

1. Download the ADB For Windows from here
2. Run the .exe file downloaded from above as Administrator.
3. Press ‘Y’ every time the installer asks for.
4. Continue Driver Installation.

Now, ADB and Fastboot have been installed on your PC and should be Working as desired.

Things To Remember

Battery

Make sure that your phone has at least 60% battery remaining, and that your PC is plugged in and wont shut down spontaneously during the process. If device shut down during this process it may brick your device.

Backup

Take backup of the important files available on your device.its optional step nothing is deleted in custom recovery and rooting process.its only if something got wrong during process.

USB Debugging

On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings >Developer options > Enable USB debugging.

Enable OEM Unlocking

On your phone go to Settings > Developer options. Then enable the ‘OEM Unlocking’ option. Also make sure that from now on, OEM unlocking option is enabled before you reboot as sometimes, it might get disabled itself.

How to Install Custom Recovery on OnePlus 5

First of all enable USB debugging on your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings >Developer options > Enable USB debugging.

Enable OEM Unlocking on your phone go to Settings > Developer options. Then enable the ‘OEM Unlocking’ option. Also make sure that from now on, OEM unlocking option is enabled before you reboot as sometimes, it might get disabled itself.Download all the files, place SuperSU or Magisk on Device Internal Memory and TWRP img in the Android Folder under the Platform Tools folder in C Drive

Then boot it into fastboot/bootloader mode by holding volume up + power or selecting the reboot to bootloader via advanced reboot options.

Open a new command prompt in the same location were you place your files and run the following commands:Code

fastboot flash recovery (file name).img

After flash recovery process is completed unplug your device and manually reboot into recovery by pressing volume down and power button at same time or you can also use this comand.

code:

fastboot boot recovery.img

Custom recovery is now successfully installed on your use it as you want

4. Download & Transfer no_verity_op5.zip to the device over MTP from here
5. Go to “Install” section, select no_verity_op5.zip, and swipe to confirm the flash
6. Transfer latest Magisk/SuperSU to the device over MTP to your Oneplus 5 & Swipe to confirm the flash
7. Reboot System* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.
Congrats! That is all! Your Device now has a custom recovery installed and is rooted along with your preference of staying encrypted or decrypted.