[GUIDE][S-OFF] Flash Custom Recovery (and ROMs) with bootloader LOCKED.
This requires S-OFF to use, follow at your own risk!
This guide will help you to install a custom recovery on an S-OFF device without needing the bootloader to be unlocked.
Once you have the custom recovery installed, you'll be able to flash custom ROMs at your leisure.
You can also use this method to flash custom kernels as well if they're provided separate from a custom ROM.
Before you begin:
If you don't already have it installed, I recommend installing 7zip as I've written this guide around using this program. If you don't want to use it, it will be up to you to figure out how to adapt these instructions for use with your preferred archiving software.Requirements:
- ADB installed on your computer
- Drivers for your phone installed (HTC Sync Manager will take care of that for you)
- The recovery (or boot) image that you want to flash
- An archiving program (as mentioned above 7zip is used for this guide)
- Create a new folder on your desktop and call it 0P4EIMG (that's a zero not an O)
- Copy the recovery (or boot) image that you want to flash into that folder
- Download the attached andriod-info.txt file from the bottom of this post and put it into that folder.
- Select both files [CTRL+A]
- With the files selected, hold CTRL and Right-Click in an empty space in the window.
- Mouseover 7-Zip in the list that pops up and then select Add to "0P4EIMG.zip"
- Plug your phone into your computer
- Copy the newly created 0P4EIMG.zip to the root folder of your external SDCARD
- Open a command prompt and navigate to your ADB folder
- Type adb reboot bootloader and press enter
- If your phone displays FASTBOOT and not HBOOT hit the Power button and it will switch
- Once in HBOOT it will scan your external SDCARD for the 0P4EIMG.zip file and load it if you copied it successfully.
- Once found follow the prompts on screen to flash the file and reboot the device.
- When your device reboots make sure to remove/rename the file or it will be loaded every time you boot into the bootloader.
- With your phone plugged into your computer and from a command prompt in your adb folder you can type adb reboot recovery and press enter to reboot into the newly flashed recovery.
That's it! Your custom recovery is installed and you can begin flashing ROMs at your leisure. Being S-OFF also means that if a ROM includes a boot.img the custom recovery will flash it for you. If you are only wanting only to use a custom boot.img and not installing a custom ROM, you can use these same steps to install that as well.