In this guide, we will show you how to relock the bootloader on your OnePlus devices. This guide is valid for all the OnePlus variants, running any Android and OxygenOS version. For the unaware, Bootloader is a software program that instructs the underlying OS which all apps do it needs to load during the boot-up time. Furthermore, it also helps in booting your device to Fastboot or Bootloader mode (remember the adb reboot bootloader command?). There are literally tons of advantages associated with an unlocked bootloader.
These include the ability to flash a custom recovery, most noticeably TWRP. Once we are in control of TWRP, there is a plethora of tweaks possible via it. For example, installing ZIP and IMG files, flashing the custom and GSI ROMs, and all become a cakewalk if done via TWRP. Likewise, the icing on the cake is the ability to take a backup of all the device partitions (including data) in the form of Nandroid Backup. And if you aren’t satisfied with it, you could even flash the Magisk ZIP installer and obtain administrative rights. Well, there are tons of other modifications possible.
But since you are reading this guide, most of you might already have an unlocked bootloader and would be aware of the associated perks as well. However, what many don’t seem to know is that with these goodies comes some uninvited risks too. More often than not, owing to these risks, many users wish to revert on their bootloader unlocking decision. If you have a OnePlus device and share similar thoughts as these users, then you have landed in the right place. Today we will show you how to relock the bootloader on any OnePlus device. But first, let’s check out the need to do so. After that, we will list out the detailed instructions set. Follow along.



Hello,
After successfully executing the “adb reboot bootloader command, the “bootloader devices” command does not return anything. What can I do?