Home » OnePlus » OnePlus 5 » How to Unlock the Bootloader of the OnePlus 5 and OnePlus 5T
OnePlus 6 Bootloader Unlock

How to Unlock the Bootloader of the OnePlus 5 and OnePlus 5T

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  and OnePlus 5T 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 or OnePlus 5T. 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 set up ahead of time. Please follow the how to install ADB and Fastboot tools guide if you haven't done so already. Then you will need to follow the how to enable Developer Mode guide, as well as the tutorial that shows you how to enable USB Debugging Mode.

You will then need to open a command prompt within the within the same folder as your ADB and Fastboot tools and execute the "adb devices" command (without quotes) to start the ADB service. Then connect the device to the PC with a USB cable and you should see the prompt to grant USB Debugging Mode access from the PC the phone is connected to.

Once granted, you can then test this by running the command "adb devices" again (without quotes) in a command prompt or PowerShell to make sure the computer recognizes the 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 or OnePlus 5T, 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 or OnePlus 5T should boot you back into the regular Android activation screen.


If this tutorial helped you in any way, please consider donating via PayPalPatreon, Cryptocurrency, or GoFundMe. If you can't afford to donate then sharing this on social networks such as Facebook, Twitter, XDA, forums, etc. will also help a lot. I would also appreciate suggestions for Android tips and tutorials that you would like to see in the future.


 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top