If you are looking to restore your bootloader, there are a few things you will need to do. First, you will need to backup your data. Next, you will need to boot into recovery mode. Once in recovery mode, you will need to format your data partition. Finally, you will need to flash a custom recovery image.