• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to Unlock the Bootloader, install recovery, and Root your HTC One S

It shouldn't matter what software version your phone has. As long as you can unlock the bootloader (through htc dev), this will work fine.



Try flashing TWRP recovery and see if you still have the issues. Most of the reports of this that I remember seeing involve ClockworkMod Recovery (maybe the recovery is the issue?).


How are we supposed to flash with TWRP recovery if we cant get our phones out of clockwork recovery? My phone is stuck in this, my pc wont read it so I cant even load a rom or anything. Ive seen several people ask but no answer.
 
Upvote 0
Hi, I keep getting the error "error:cannot load 'Unlock_code.bin' : Unknown error"
even though i wrote in exactly what is needed...my Unlock_code.bin file is in the same folder as fastboot.exe

C:Users\"username">root\sdk\a\fastboot flash unlocktoken Unlock_code.bin

i am running 64bit window 7. when i downloaded the sdk, i downloaded the 64bit. after opening the folder i coulnt find "installer_r18-windows.exe".


Check for things running on the pc that can communicate with the phone(htc sync,pdanet,easytether,even itunes)

Try different USB ports and.cables. make sure your not using a hub,or using USB 3.0

Copy/paste the command,don't try and type it

Make sure you didn't change the filename or extension of unlock_code.bin

Make sure unlock_code.bin is in your directory with fastboot,and you are working from that directory

If all else fails,try submitting a new identifier token,and getting a new unlock_code.bin

In a lot of situations where things are correct and look like they should be working,success is found simply by trying the process with a different pc :)
 
  • Like
Reactions: spicymeatball
Upvote 0
Hi Android forums!

It's so close to my birthday and my phone has decided to enter an unrooted bootloop. In an attempt to fix this, I figured I would try to root my phone.

I managed to complete every step of this guide except for the "Rooting your phone" section starting with "Download SuperSU" etc..

This is because I am not able to see my phones internal memory at all. The only directory in my computer is C:/

If it helps, here is some information about my set up:

My phone does manage to say FASTBOOT USB in red, which is why I was able to complete most of the steps

The top of the bootloader screen says "TAMPERED" and "UNLOCKED"

My pc only has USB 3.0 ports

I assume to have all the drivers since htc sync is installed (however htc sync has always said "no phone connected" since being installed

If there is any other information you guys might need, please let me know

Thank you for your time

Despaired,

spicymeatball
 
Upvote 0
Hi Android forums!

It's so close to my birthday and my phone has decided to enter an unrooted bootloop. In an attempt to fix this, I figured I would try to root my phone.

I managed to complete every step of this guide except for the "Rooting your phone" section starting with "Download SuperSU" etc..

This is because I am not able to see my phones internal memory at all. The only directory in my computer is C:/

If it helps, here is some information about my set up:

My phone does manage to say FASTBOOT USB in red, which is why I was able to complete most of the steps

The top of the bootloader screen says "TAMPERED" and "UNLOCKED"

My pc only has USB 3.0 ports

I assume to have all the drivers since htc sync is installed (however htc sync has always said "no phone connected" since being installed

If there is any other information you guys might need, please let me know

Thank you for your time

Despaired,

spicymeatball

are you trying to access your internal storage with the phone in fastboot?

youll need to be in the booted OS to mount the internal storage as a usb storage device on the pc. you should also be able to mount it as storage in recovery to transfer files.

usb 3.0 is notoriously finicky,have you an older laptop you could use,or a friends pc? youll also want to unistall htc sync,it can cause prollems with adb and fastboot connectiviey.
 
Upvote 0
I've followed the instructions step by step. All seems to have worked fine. I have TWRP recovery and installed the UPDATE-SuperSU and rebooted. Now I check with Root Checker Basic and it tells me not rooted. Also Titanium Backup tells me the same. What could possibly be wrong? Please help with tips to find out why I have no Root. Thanks.
 
Upvote 0
I've followed the instructions step by step. All seems to have worked fine. I have TWRP recovery and installed the UPDATE-SuperSU and rebooted. Now I check with Root Checker Basic and it tells me not rooted. Also Titanium Backup tells me the same. What could possibly be wrong? Please help with tips to find out why I have no Root. Thanks.

sounds like you tried to install the supersu app from the playstore rather than flashing the package in recovery. this is a common error. the post is refering to allready rooted phones to update via the play store,but initial root requires the package to be falshed so that the matching binary is also installed.
 
Upvote 0
I found help elsewhere and I installed Superuser-3.1.3-arm-signed.zip via TWRP and that seems to have done the trick. Not sure why the other file did not work. But thought it might help others. Can't post link yet as new user. Goolge AndroidSU and you can find it

if you were installing the correct zip file from recovery,it may have been a bad download. the supersu superuser has worked fine for me and lots of others. :)
 
Upvote 0
So I have unlocked bootloader and installed trwp and got superuser yet I still can't root my phone can anyone plazas help I'm so lost

So you already unlocked the bootloader and installed twrp?

If you have the latest supersu http://download.chainfire.eu/382/SuperSU/UPDATE-SuperSU-v1.93.zip
You should just use the place the zip file on the phone storage and once booted into twrp, choose install and browse to the location of the zip file.

Reboot when finished and you should be rooted.
 
  • Like
Reactions: scotty85
Upvote 0
Rooting your Phone


  1. Download SuperSU (UPDATE-SuperSU-v1.04.zip).
  2. Place the UPDATE-SuperSU-v1.04.zip on your phones internal memory. (Mount as disk drive, then copy/paste). Remember where you place this.
  3. On your phone, hold the power button down until the it powers off (10 seconds or so).
  4. Press Volume Down and Power to start the device into Bootloader mode.
  5. Highlight "Recovery" and press the Power button. (Use the Volume buttons to select up or down).
  6. To flash the .zip in recovery:
    • Select "install zip from sdcard".
    • Select "choose zip from sdcard".
    • Navigate to wherever you saved the file. Select the UPDATE-SuperSU-v1.04.zip.
    • Select "Yes - Install UPDATE-SuperSU-v1.04.zip".
    • Reboot your phone.

Your Phone is now rooted. :thumbup:

Be sure to check out this thread (One S: All Things Root Guide) for current root/ROM related info!
my phone is stuck on entering recovery screen
what to do ?
 
Upvote 0
Installing ClockworkMod Recovery. (Option #2, S4 version only)



  1. Download the CWM Touch Recovery by Koush.
  2. Place the recovery-clockwork-touch-5.8.3.1-ville.img file in the same location as the fastboot.exe (If you followed my instructions to set up the SDK it would be in c:\Android\android-sdk\platform-tools).
  3. On your phone, hold the power button down until the it powers off (10 seconds or so).
  4. Press Volume Down and Power to start the device into Bootloader mode.
  5. Highlight "Fastboot" and press the Power button. (Use the Volume buttons to select up or down).
  6. Connect the device to the computer via a usb cable.
  7. Open up the command prompt. ( Start > Run > Type CMD).
    agentc13-albums-faq-picture6089-command-prompt.jpg
  8. Navigate to where you put the recovery-clockwork-touch-5.8.3.1-ville.img. (If you followed my instructions to set up the SDK it would be in c:\Android\android-sdk\platform-tools), then you would type in command prompt:
    Code:
    cd c:\Android\android-sdk\platform-tools
  9. Now type:

The CWM Touch Recovery is now on your phone. Now is a good time to make a nandroid backup (backup and restore > backup), after you do that reboot your phone.

i did the 2 step
but i have s3 model
what do i do now?
 
Upvote 0
Installing ClockworkMod Recovery. (Option #2, S4 version only)



  1. Download the CWM Touch Recovery by Koush.
  2. Place the recovery-clockwork-touch-5.8.3.1-ville.img file in the same location as the fastboot.exe (If you followed my instructions to set up the SDK it would be in c:\Android\android-sdk\platform-tools).
  3. On your phone, hold the power button down until the it powers off (10 seconds or so).
  4. Press Volume Down and Power to start the device into Bootloader mode.
  5. Highlight "Fastboot" and press the Power button. (Use the Volume buttons to select up or down).
  6. Connect the device to the computer via a usb cable.
  7. Open up the command prompt. ( Start > Run > Type CMD).
    agentc13-albums-faq-picture6089-command-prompt.jpg
  8. Navigate to where you put the recovery-clockwork-touch-5.8.3.1-ville.img. (If you followed my instructions to set up the SDK it would be in c:\Android\android-sdk\platform-tools), then you would type in command prompt:
    Code:
    cd c:\Android\android-sdk\platform-tools
  9. Now type:

The CWM Touch Recovery is now on your phone. Now is a good time to make a nandroid backup (backup and restore > backup), after you do that reboot your phone.

is this for s3 as well ?? i have s3 nd i did aal the steps (including step 2 )
what should i do now ?
 
Upvote 0
HELP!!!!!!!!!!
Hello and thank you for this post.
But i have one very important question my phone is stuck in the clockworkmod recovery and i cant get out of it no matter what i do.
i tried rebooting system now.
i tried wipe data\factory reset.
any help would be appreciated.please help :(

How did your phone come to be in this state?
 
Upvote 0
Whichever directory has the adb.exe and fastboot.exe is the one that you need to add to the environmental variables. I don't have a Win XP machine to test the specific steps, but it should be similar. And this guide will work with a T-Mobile S4 version (it's what I have).

I'm having the same issue TragikMagik62 had, and I can't seem to find fastboot.exe or adb.exe anywhere. Also, there's a file called adb_has_moved.txt that says,

"The adb tool has moved to platform-tools/

If you don't see this directory in your SDK,
launch the SDK and AVD Manager (execute the android tool)
and install "Android SDK Platform-tools"

Please also update your PATH environment variable to
include the platform-tools/ directory, so you can
execute adb from any location."

I don't really know how to move forward from this. For reference, I installed installer_r22.6-windows.exe to C:\Android, as the guide suggested.
 
Upvote 0
Installing ClockworkMod Recovery. (Option #2, S4 version only)



  1. Download the CWM Touch Recovery by Koush.
  2. Place the recovery-clockwork-touch-5.8.3.1-ville.img file in the same location as the fastboot.exe (If you followed my instructions to set up the SDK it would be in c:\Android\android-sdk\platform-tools).
  3. On your phone, hold the power button down until the it powers off (10 seconds or so).
  4. Press Volume Down and Power to start the device into Bootloader mode.
  5. Highlight "Fastboot" and press the Power button. (Use the Volume buttons to select up or down).
  6. Connect the device to the computer via a usb cable.
  7. Open up the command prompt. ( Start > Run > Type CMD).
    agentc13-albums-faq-picture6089-command-prompt.jpg
  8. Navigate to where you put the recovery-clockwork-touch-5.8.3.1-ville.img. (If you followed my instructions to set up the SDK it would be in c:\Android\android-sdk\platform-tools), then you would type in command prompt:
    Code:
    cd c:\Android\android-sdk\platform-tools
  9. Now type:

The CWM Touch Recovery is now on your phone. Now is a good time to make a nandroid backup (backup and restore > backup), after you do that reboot your phone.

Every time I try to go to the site download the CWM Touch Recovery the site does not load. Unlocked the phone perfectly with the instructions so far. Is anyone still reading this post?
 
Upvote 0
I have a HTC One S on the Virgin Mobile network in Canada. I purchased a new phone from Aliexpress and have had issues with the phone since day one. The phone keeps rebooting till the battery dies. Sometimes it freezes on the HTC logo screen and other times it will boot up and work but then suddenly stop working.

I have tried doing a factory reset but this has not worked. I suspect the bootloader is faulty and wen to the HTC developer site http://www.htcdev.com/ and followed your instruction on unlocking my phone. I was successful in doing this but I am still having the same issues.

In the commmand prompt I typed: "fastboot getvar all" and this is what I got:

version: 0.5
version-bootloader: 2.15.0000
version-baseband: 1.11.50.05.28
version-cpld: None
version-microp: None
version-main: 3.16.401.10
version-misc: PVT SHIP S-OFF
serialno: ********************
imei: ***********************
product: vle
platform: HBOOT-8960
modelid: PJ40*****
cidnum: 11111111
battery-status: good
battery-voltage: 3988mV
partition-layout: Generic
security: off
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: dirty-64bedd38
hbootpreupdate: 11
gencheckpt: 0

Any ideas as to what is happening? Any help would be greatly appreciated.

Thanks.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones