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:
- Setup Python: download python on your computer & Install it
- Setup tools: download patch tool from here & extract the zip, after that open cmd and run below code
-
pip3 install --upgrade git+https://github.com/R0rt1z2/oplus-unlock
- 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
-
oplus-unlock lk.bin [-o patched_lk.bin]
- then flash Patched Lk using mtk client, reboot device, success!