Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE][S-OFF] Flash Custom Recovery (and ROMs) with bootloader LOCKED.

OP -Duir-

17th July 2014, 07:51 AM   |  #1  
-Duir-'s Avatar
OP Senior Member
Flag California
Thanks Meter: 300
 
547 posts
Join Date:Joined: Feb 2012
More
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)
Procedure:
  • 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.
Attached Files
File Type: txt android-info.txt - [Click for QR Code] (609 Bytes, 114 views)
The Following User Says Thank You to -Duir- For This Useful Post: [ View ]
17th July 2014, 05:50 PM   |  #2  
Member
Thanks Meter: 11
 
51 posts
Join Date:Joined: Oct 2012
More
Can we actually get a guide to S-OFF our device? Zara_CL speaking of course.
17th July 2014, 05:57 PM   |  #3  
Child's Play's Avatar
Senior Member
Thanks Meter: 48
 
407 posts
Join Date:Joined: Apr 2014
More
Quote:
Originally Posted by TehFlash

Can we actually get a guide to S-OFF our device? Zara_CL speaking of course.

We have it http://forum.xda-developers.com/show....php?t=2814086
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes