Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,777 Members 41,846 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
-Duir-
Old
#1  
-Duir-'s Avatar
Senior Member - OP
Thanks Meter 283
Posts: 519
Join Date: Feb 2012
Location: California
Default [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)
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, 71 views)

Phone: hTC One (M8) S-OFF
Recovery: TWRP 2.8.0.1
Kernel: ElementalX 1.06
ROM: Android Revolution HD 11.1




Misc
My ZARA_CL Google Drive
The Following User Says Thank You to -Duir- For This Useful Post: [ Click to Expand ]
 
TehFlash
Old
#2  
Member
Thanks Meter 11
Posts: 51
Join Date: Oct 2012
Can we actually get a guide to S-OFF our device? Zara_CL speaking of course.
 
Child's Play
Old
#3  
Child's Play's Avatar
Senior Member
Thanks Meter 34
Posts: 314
Join Date: Apr 2014
Quote:
Originally Posted by TehFlash View Post
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes