How to Unlock the Bootloader of the OnePlus 5

OnePlus 5 Unlock Bootloader

If you want to gain root access or install mods like a custom recovery and a custom ROM then you’ll first need to unlock the OnePlus 5 bootloader.

OnePlus has become the go-to choice for a lot of people who miss the developer friendly phones that they’ve become accustomed to with Google’s Nexus line. Not to say that the new Pixel series isn’t open for developers, but it has taken developers a while to learn the new systems that Google has put into place (file-based encryption, a/b partitions, etc.). This has resulted in the OnePlus 3 and OnePlus 3T becoming incredibly popular within the developer community.

I don’t see this changing with the OnePlus 5 either, but to use those nifty root apps, custom ROMs, custom kernels and other mods/tweaks, you’ll need to unlock the bootloader of the OnePlus 5. This protection is initially put into place so that you know the software you’re using hasn’t been tampered with in any way. This isn’t a big deal for most people, but if you’re buying the phone from a reseller then that is something you’d want to look out for.

Note – Unlocking the bootloader of the OnePlus 5 will force it to perform a factory reset. So backup as much of your data as possible before you proceed with this guide.

In order to complete the tutorial below, you're going to need some things setup ahead of time. Please follow the how to install ADB and Fastboot tools guide if you haven't done so already. You're also going to need to start the ADB service by executing the "adb devices" command (no quotes) in the Command Prompt. Lastly, you'll need to follow the how to enable Developer Mode guide, as well as the how to enable USB Debugging Mode guide, and make sure to grant USB Debugging access from the PC to your device.

 

OnePlus 5 Unlock Bootloader

  1. Enable the OEM Unlock feature on the OnePlus 5
  2. Boot the OnePlus 5 into Fastboot Mode
  3. Connect the OnePlus 5 to the PC with a USB cable
  4. Type the following command into the Command Prompt. . .
  5. fastboot flashing unlock
  6. . . and press Enter on the keyboard
  7. Press the Volume Down or Volume Up button until the Yes option is highlighted
  8. Press the Power button to confirm and select this option
  9. Wait for the OnePlus 5 to reboot and perform the factory reset
  10. Then wait for the OnePlus 5 to reboot back into the Android OS

Explanation

Just like the instructions above the step by step guide say, you’ll need to have ADB and Fastboot tools setup on your PC before you can proceed. The process can feel troublesome at first, but once those are installed then the rest of it is quite easy to follow. Just make sure you have USB Debugging Mode enabled so that you can go in and toggle the OEM Unlock option on as well. With all of that done, you can then proceed with the real steps of this guide.

This involves booting the OnePlus 5 into Fastboot Mode since we need to execute a Fastboot command. Those commands are ignored unlock your phone is in Fastboot Mode as they require a higher level of access to the hardware and software of your smartphone or tablet. Once you are in Fastboot Mode on the OnePlus 5, you can then connect the device to your PC with a USB cable. Which again, is required to execute this upcoming Fastboot command.

OnePlus 5 Unlock Bootloader Confirm

Before the OnePlus 5 bootloader is actually unlocked, you’ll be asked if you’re sure you want to proceed.

When the OnePlus 5 is in Fastboot Mode and the device is connected to the PC with a USB cable, turn your attention back to the Command Prompt on your PC. You’ll need to enter the fastboot flashing unlock command just as it is written out in Step 5 of this guide. Press enter on the keyboard to execute that command and you should see the screen on the OnePlus 5 change. Most of what is here is simply some information on the bootloader and what unlocking it entails.

So go ahead and press the Volume Up or Volume Down button until you see the Yes option is highlighted. If you’re confused about any of these steps then follow along in the embedded video above. Once the Yes option is highlighted, go ahead and press the Power button to select it and wait for the OnePlus 5 to reboot. It will then perform a factory reset and then you’ll see it reboot again. After this second reboot the OnePlus 5 should boot you back into the regular Android activation screen.

If this tutorial helped you in any way, please consider donating at Patreon or PayPal. If you can't afford to donate then sharing this on social networks such as Facebook, Twitter, etc. will also help a lot.

 

About the author

Doug

I'm working to create an organized and easy to follow central repository of Android tips, tutorials, guides and everything you need to know. With a focus on device specific tutorials now, my goal is to branch out and do more universal tips and tricks that will work on all Android devices.