How to Restore / Enable Bootloader on OnePlus Devices

Restoring a bootloader typically involves reinstalling the software that manages the boot process of your device. The exact steps to restore a bootloader can vary depending on the operating system and device you are using, the process we share below works on Mediatek based Oneplus smartphones:

  1. Setup Python: download python on your computer & Install it
  2. Setup tools: download patch tool from here & extract the zip, after that open cmd and run below code
  3. pip3 install --upgrade git+https://github.com/R0rt1z2/oplus-unlock
  4. Flashing Process: make sure your device has a unlocked seccfg Installed or you can do it just by unlocking the bootloader using mtkClient, Now Move stock lk in tool dir and run below code
  5. oplus-unlock lk.bin [-o patched_lk.bin]
  6. then flash Patched Lk using mtk client, reboot device, success!