[Tutorial]Root, Unlock, Recovery and flashing a Custom ROM


Senior Member
Mar 20, 2011
Just a quick step by step tutorial to get a Custom ROM working on your One S.

Step 1: Unlock

  • Go on http://www.htcdev.com and create yourself an account on HTCDEV.
  • Download These Fastboot Files
  • Make a new folder on your C:/ drive called fastboot.
  • Extract The Zip downloaded in step 2 to the new folder
  • Go Here http://www.htcdev.com/bootloader/ and select "All Other Supported Models" and "then begin unlock bootloader"
  • Yes, Tick both Boxes, Proceed
  • Skip up to step 8 as we have all we need for the first 7 steps
  • Power off your phone by holding the power button down for 10 seconds
  • Power your phone on by holding power and volume down
  • Highlight Fastboot With Volume+or- then press Power
  • Plug your phone into your PC and open a Command Prompt.
  • (windows XP - Click Start > Run > type CMD in box then press OK
  • (Windows 7 - Click Start > type CMD in search box then press Enter)
  • Change directory to your folder where we put fastboot files cd c:\fastboot
  • Type this into your command prompt window fastboot oem get_identifier_token
  • Select & copy the text as per step 9 on the HTCDev website
  • Paste your identifier token into the box at the bottom and submit
  • You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
  • Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files to in step 2
  • Type this into your command prompt window fastboot flash unlocktoken Unlock_code.bin
  • The Display Will change on your phone, press Vol + to accept and power to confirm.

Thanks to bagofcrap24 for this part!

Step 2: Recovery

Step 3: Root

Make sure you are on the stock kernel!

  • Now root your phone with SuperSU by Chainfire, thanks a lot!
  • Download SuperSU from the end of the thread
  • Flash it with the Recovery:
  • Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader
  • Navigate with VOL and Power to Recovery
  • Now flash the .zip:

    - install zip from sdcard
    - choose zip from sdcard
    - select the CWN-SuperSU-v0.87.zip file and flash it
    - Reboot now

Now you are able to flash any Custom ROM.


Paul for the Recovery: http://forum.xda-developers.com/showthread.php?t=1579584
Chainfire for SuperSU: http://forum.xda-developers.com/showthread.php?t=1538053

Video-Tutorial by Flow-Wolf (thanks buddy):

Bootloader Unlock:

Recovery Installation:


Custom ROM Installation:

If this helped you, make sure to thank me and to donate to Paul, Chainfire, koush or/and Flow Wolf!
Last edited:


Senior Member
Jun 12, 2010
The Site is working fine :)
But when u try to click "Begin unlock Bootloader" nothing happens.

I know, i should wait for a s-off tool.. but dude.. i need my root:D


Senior Member
Oct 31, 2008
i think the website is having problems, i have one S connected via usb with debuggins system, i open up the website and choose "All Other Supported Models" , I click begin and nothing, completely nothing happens :/


Senior Member
May 3, 2011
Orlando, Fl.
Does anyone know if this works on TMO in the states I know the phone hasn't been released yet bit I'm not to sure if the specks are the same.

Sent from Samsung Galaxy S II


Senior Member
Jul 30, 2005
Thx for replies! What does "not whole warranty" mean? :rolleyes: For which cases will it exist, for which not?
I think they will employ the same policy as before. In the past, it was often said that even roted / S-OFFed / SuperCID modded devices received service with no problems when it was very obvious that the problem was hardware related (screen dead, etc.)

What kind of defects they will consider "software/rooing related" is anybodys guess and could only be clarified by emailing the HTC support for your country I assume.


Senior Member
Oct 13, 2011
Ah alright. I mean, the most probable case for needing help of the htc support is any hardware related problem since software related problems can be solved on oneselfs own. But I already assume that they are quite good at relating hardware issues to the root (OC etc..)


Jun 13, 2007
Having some issue with the CWM right here:
I'm trying to get to the "Install zip from sdcard option", but shortly after pressing the voldown once to highlight that option, CWM kind of resets (screen goes black for a second and I'm back at option 1 ("reboot system now").

Unlock went fine and flashing CWM was not problem either - although I used the r2 from the modaco website.
And I am not sure about the kernel. Anyway to make sure I have the stock one?
(It's a HTC Dev Device)

Thanks for help in advance!

---------- Post added at 01:27 PM ---------- Previous post was at 01:22 PM ----------

haha, okay, simply touching the option does the trick. seems like only the vol rocker is not "supported" ;D sorry
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone