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

Search This thread

ixrs

Senior Member
Aug 2, 2011
121
137
How easy is it to revert back to stock if you decide you don't want to use a custom rom anymore? Are factory images available to flash? Is it as easy as Samsung phones?

Fairly easy (I would just use the all in one toolkit for that). There are also "stock" custom roms, the only difference being that one has root.
 

ImThat1Guy

New member
Jun 1, 2013
2
0
Simple question: does HTC Sync Manager need to be open while you plug in the phone?

EDIT: Accidentally quoted the user above my. My apologies.
 
Last edited:

Joshnor713

Senior Member
Jun 19, 2010
503
64
Is there any way to root without telling HTC about it? Don't fancy voiding my warranty, don't use insurance.
 

distortedloop

Senior Member
Feb 14, 2010
3,200
336
Los Angeles, CA
Nice tutorial.

There's only one thing I'd change. You can save someone a reboot by having them download the superuser file to the phone's sdcard before starting. Or once you've flashed recovery, then rebooted to it from fastboot mode, mount the sdcard from recovery then push the file to the sdcard (adb push UPDATE-SuperSU-v1.25.zip /sdcard/Download/), then flash from within recovery without rebooting first. A small time savings...
 

chong67

Senior Member
Sep 2, 2007
1,238
129
Atlanta
I just want to get my phone rooted so I can install Wifi tether on this phone.

I guess I have to do everything except the install cook rom part.
 
Last edited:

jaysun3000

Senior Member
Jul 26, 2011
592
62
thanks for this tutorial...i was up at 400am last night and successfully rooted and custom booted...this morning i s offed and super cided...i noticed last night however before i s offed and super cid that when i have the usb cord hooked into the computer i can no longer access the storage....it worked every time before i rooted out of the box....the system im plugging into is windows xp...rooted stock rom on the one....is there somthing im missing or did wrong?

Update: nevermind it must be my laptop because it hooked right up to my comp at work thanks.
 
Last edited:

districtkid24

New member
Jun 20, 2013
1
0
wifi bug on cm 10.1 htc one tmobile

so i currently flashed cm 10.1 on my htc one and i am not able to connect to my wifi , if you guys have had this problem and fixed it please comment and tell me!
 

ScouseCarl

Member
Jun 21, 2013
14
0
[I am currently having some problems, I am new to this but have read a lot about rooting.
Basically I am stuck to were you type into the command prompt, I type it in and get the C:/Fastboot it is not recognized as and internal or external command, operable program or batch .

Any ideas what is wrong...
 

chong67

Senior Member
Sep 2, 2007
1,238
129
Atlanta
I just root my Tmo ONE and no problem. I just want to get Wifi Tether to work and it did. Always use it with a VPN app.

OK, why do I need to flash a kernel for the Tmo? I use BulletProof Kernel. I didn't like their 3 dot thing and it didn't work properly. So I did the next thing below.

So I just this "Nocturnal_1.27.531.7_DeOdex" and I think this is the cook rom? It has its on kernel?

Very confused.

Please help.
 
Last edited:

chong67

Senior Member
Sep 2, 2007
1,238
129
Atlanta
I got everything working fine on my phone now. I use "Nocturnal_Unofficial_Tmo_1.29_OTA_DeOdex._v1.0".

Don't know if post #1 need to be updated as I had problem with "1.27" Odex and DeOdex. Someone said it was the kernel.

But 1.29 take care of everything for me.
 

bnbhaohao90

Member
Feb 27, 2012
21
0
Nicely Detailed

Nicely Detailed!!!!!
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.

UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.

Part 1- gaining unlock token

Overview: go to htcdev.com and unlock bootloader

Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).

Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9

Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.

Download these adb/fastboot files: http://d-h.st/RvD

Make a new folder anywhere. We'll use C:/fastboot as an example.

Extract the zip downloaded to the new folder

Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).

Power off your phone. Power your phone on by holding power and volume down.

Highlight 'Fastboot' the volume buttons then press power to "select".

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 by typing cd c:\fastboot for example.*

*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?

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

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.

Part 2

Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!


Download a recovery:

TWRP (the one I use): http://xdaforums.com/showthread.php?t=2173870

CWM 2: http://xdaforums.com/showthread.php?t=2172979

CWM: http://xdaforums.com/showthread.php?t=2173863

Place the Recovery file to the folder where the fastboot.exe is.

Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".

Do the same thing as with the command prompt above. This time, however, you'll be typing:

fastboot flash recovery "name_of_the_recovery.img"

For example:

fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img

then type:

fastboot erase cache

From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!

Turn off phone then turn on (while holding volume down) to boot back into the bootloader.

TAMPERED shows up, boot into recovery and now your recovery should be working!

Part 3- obtaining root

Overview: flash a super tool


Download a super user tool for root:

SuperSU (I use this one): http://xdaforums.com/showthread.php?t=1538053

SuperUser: http://download.clockworkmod.com/superuser/superuser.zip

Alternatively, download this: http://xdaforums.com/showthread.php?t=2266025. This is a stock rooted rom for T-Mobile. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)

Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.

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 downloaded SuperSU/SuperUser zip file and flash it
- Reboot now

If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.

I recommend these kernels: http://xdaforums.com/showthread.php?t=2255900 or http://xdaforums.com/showthread.php?t=2233665&highlight=menu

Download it.

Installing custom rom/kernel ("flashing a rom")

Overview: Download Rom, boot into recovery and wipe and then flash.

According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:

Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.

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 downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
 

Trahald

Senior Member
Feb 25, 2012
196
16
Hi guys, where can I download stock kernel for T-Mobile HTC One? I have looked around but I couldn't find it.

Thanks!
 

Team Darkroom

Member
May 9, 2013
9
2
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.

UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.

Part 1- gaining unlock token

Overview: go to htcdev.com and unlock bootloader

Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).

Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9

Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.

Download these adb/fastboot files: http://d-h.st/RvD

Make a new folder anywhere. We'll use C:/fastboot as an example.

Extract the zip downloaded to the new folder

Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).

Power off your phone. Power your phone on by holding power and volume down.

Highlight 'Fastboot' the volume buttons then press power to "select".

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 by typing cd c:\fastboot for example.*

*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?

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

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.

Part 2

Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!


Download a recovery:

TWRP (the one I use): http://xdaforums.com/showthread.php?t=2173870

CWM 2: http://xdaforums.com/showthread.php?t=2172979

CWM: http://xdaforums.com/showthread.php?t=2173863

Place the Recovery file to the folder where the fastboot.exe is.

Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".

Do the same thing as with the command prompt above. This time, however, you'll be typing:

fastboot flash recovery "name_of_the_recovery.img"

For example:

fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img

then type:

fastboot erase cache

From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!

Turn off phone then turn on (while holding volume down) to boot back into the bootloader.

TAMPERED shows up, boot into recovery and now your recovery should be working!

Part 3- obtaining root

Overview: flash a super tool


Download a super user tool for root:

SuperSU (I use this one): http://xdaforums.com/showthread.php?t=1538053

SuperUser: http://download.clockworkmod.com/superuser/superuser.zip

Alternatively, download this: http://xdaforums.com/showthread.php?t=2266025. This is a stock rooted rom for T-Mobile. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)

Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.

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 downloaded SuperSU/SuperUser zip file and flash it
- Reboot now

If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.

I recommend these kernels: http://xdaforums.com/showthread.php?t=2255900 or http://xdaforums.com/showthread.php?t=2233665&highlight=menu

Download it.

Installing custom rom/kernel ("flashing a rom")

Overview: Download Rom, boot into recovery and wipe and then flash.

According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:

Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.

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 downloaded SuperSU/SuperUser zip file and flash it
- Reboot now

Thanks for the information
 

razball

Senior Member
Jan 1, 2012
665
47
Tampa
I put in my unlock token and I get Unlock Bootloader failed? any ideas guys

---------- Post added at 01:59 PM ---------- Previous post was at 01:39 PM ----------

nvm finally got it
 

gustav30

Senior Member
Jul 20, 2010
1,163
259
LG G8X ThinQ
Since we don't have a t-mobile ruu, can you post the best way for T-Mobile users to get back to a stock Rom, stock firmware, stock hboot, relock bootloader and s-on?

Sent from my HTC One using Tapatalk 4 Beta
 

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.

    UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.

    Part 1- gaining unlock token

    Overview: go to htcdev.com and unlock bootloader

    Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).

    Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
    x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9

    Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.

    Download these adb/fastboot files: http://d-h.st/RvD

    Make a new folder anywhere. We'll use C:/fastboot as an example.

    Extract the zip downloaded to the new folder

    Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).

    Power off your phone. Power your phone on by holding power and volume down.

    Highlight 'Fastboot' the volume buttons then press power to "select".

    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 by typing cd c:\fastboot for example.*

    *Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?

    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

    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.

    Part 2

    Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!


    Download a recovery:

    TWRP (the one I use): http://xdaforums.com/showthread.php?t=2173870

    CWM 2: http://xdaforums.com/showthread.php?t=2172979

    CWM: http://xdaforums.com/showthread.php?t=2173863

    Place the Recovery file to the folder where the fastboot.exe is.

    Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".

    Do the same thing as with the command prompt above. This time, however, you'll be typing:

    fastboot flash recovery "name_of_the_recovery.img"

    For example:

    fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img

    then type:

    fastboot erase cache

    From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!

    Turn off phone then turn on (while holding volume down) to boot back into the bootloader.

    TAMPERED shows up, boot into recovery and now your recovery should be working!

    Part 3- obtaining root

    Overview: flash a super tool


    Download a super user tool for root:

    SuperSU (I use this one): http://xdaforums.com/showthread.php?t=1538053

    SuperUser: http://download.clockworkmod.com/superuser/superuser.zip

    Alternatively, download this: http://xdaforums.com/showthread.php?t=2266025. This is a stock rooted rom for T-Mobile. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)

    Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.

    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 downloaded SuperSU/SuperUser zip file and flash it
    - Reboot now

    If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.

    I recommend these kernels: http://xdaforums.com/showthread.php?t=2255900 or http://xdaforums.com/showthread.php?t=2233665&highlight=menu

    Download it.

    Installing custom rom/kernel ("flashing a rom")

    Overview: Download Rom, boot into recovery and wipe and then flash.

    According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:

    Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.

    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 downloaded SuperSU/SuperUser zip file and flash it
    - Reboot now
    2
    This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.

    UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.

    Part 1- gaining unlock token

    Overview: go to htcdev.com and unlock bootloader

    Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).

    Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers: x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9

    Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.

    Download these adb/fastboot files: http://d-h.st/RvD

    Make a new folder anywhere. We'll use C:/fastboot as an example.

    Extract the zip downloaded to the new folder

    Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).

    Power off your phone. Power your phone on by holding power and volume down.

    Highlight 'Fastboot' the volume buttons then press power to "select".

    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*

    *Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?

    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

    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.

    Part 2

    Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!


    Download a recovery:

    TWRP (the one I use): http://xdaforums.com/showthread.php?t=2173870

    CWM 2: http://xdaforums.com/showthread.php?t=2172979

    CWM: http://xdaforums.com/showthread.php?t=2173863

    Place the Recovery file to the folder where the fastboot.exe is.

    Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".

    Do the same thing as with the command prompt above. This time, however, you'll be typing:

    fastboot flash recovery name_of_the_recovery.img

    For example:

    fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img

    then type:

    fastboot erase cache

    From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!

    Turn off phone then turn on (while holding volume down) to boot back into the bootloader.

    TAMPERED shows up, boot into recovery and now your recovery should be working!

    Part 3- obtaining root

    Overview: flash a super tool

    Download a super user tool for root:

    SuperSU (I use this one): http://xdaforums.com/showthread.php?t=1538053

    SuperUser: http://download.clockworkmod.com/superuser/superuser.zip

    Alternatively, download this: http://xdaforums.com/showthread.php?t=2266025. This is a stock rooted rom. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)

    Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.

    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 downloaded SuperSU/SuperUser zip file and flash it
    - Reboot now

    If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.

    I recommend these kernels: http://xdaforums.com/showthread.php?t=2255900 or http://xdaforums.com/showthread.php?t=2233665&highlight=menu

    Download it.

    Installing custom rom/kernel ("flashing a rom")

    Overview: Download Rom, boot into recovery and wipe and then flash.

    According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:

    Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.

    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 downloaded SuperSU/SuperUser zip file and flash it
    - Reboot now

    Thanks for this awesome tutorial man. It definitely should help give noobs a much better understanding!

    Sent from my HTC One using xda premium
    2
    I get an error when I try to do flash recovery.

    C:\Users\Ninja\Downloads\HTCOneRoot>fastboot flash recovery openrecovery-twrp-2.
    5.0.0-m7.img
    < waiting for device >
    sending 'recovery' (7916 KB)...
    FAILED (data transfer failure (Unknown error))
    finished. total time: 0.004s

    Tried this several times at different situations with power turning off and accessing the bootloader. But it continues this crap. Like why?

    I know it doesn't work on Windows 8 & usb 3.0 w/o a workaround. If that's not the problem then I don't know what's wrong. =/
    1
    thanks! this worked great. perfect for all the noobs
    1
    Hi. First, thanks for this tutorial. I bought a Htc one from a person, I just rooted (SuperUser), and now I want to update. But, after read foruns, I really don't know how can I proceed with caution.


    ----
    What I know:
    Android 4.4.2
    System Version: 5.14.531.1
    Radio: 4T.27.3218.14

    HTC Recovery Mode says that:
    *Tampered*
    *Unlocked*
    S-On
    ---

    I just wanna to back my phone to the original settings and update. I saw at Htc website the Update (T-mobile) (RUU_M7_UL_L50_SENSE60_MR_TMOUS_7.18.531.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421697_signed), but i don't know what to do.

    Can anyone help me please?? Thank you very much!!!
    Follow these steps:
    • Relock your bootloader with the phone showing FASTBOOT USB
      Code:
      fastboot oem lock
    • Download RUU 6.10.531.10 to your PC and run in Windows with the phone connected to the PC
    • After it successfully completes then run the RUU.exe file you downloaded in the same manner.