[Tutorial][Resource][Root]Unlock-Recovery-SuperSU for HTC One(M7)-Sprint-m7wls

Sloth

Recognized Contributor / Retired Forum Moderator
Apr 23, 2012
10,699
11,295
0
Xda-Dev,NV
Sup XDA :D
I'm not a Dev so this is my contribution to the HTC One-Sprint community.

This is a DIY root method. By doing it yourself you will learn some basic knowledge about using cmd windows,using ADB,using fastboot.
This is also the same method used in my Guide for the HTC Evo 4G LTE.

Unlock your bootloader - www.htcdev.com Follow the instructions at HtcDev to unlock your bootloader.

Flash TWRP-CWM-PhilZ_Touch Recovery - (refer to the Read Me First Text on how to fastboot flash TWRP-CWM-PhilZ_Touch Recovery)

Flash a Superuser app of your choosing - (refer to the Read Me First Text on how to flash SuperSU)


<---- If this guide helped you buy me a coffee :p


Using this method will NOT give you S-OFF it will help you unlock your bootloader(HTC-DEV) flash a custom recovery(TWRP or CWM) and install the Superuser app of your choice.

What's included:
Read Me Text (instructions,ADB commands, and whatnot)
ADB Tool
Latest HTC Drivers v4.0.1.001 and HTC BMP USB Drivers v1.0.5375(32 and 64 bit versions)
TWRP openrecovery v2.5.0.0
CWM v6.0.3.1
[m7spr][CWM Advanced Edition] PhilZ Touch
SuperSU.apk v1.25

Changelog:


04/22/13 Added CWM v6.0.3.1 Classic and Touch as a second recovery option
04/22/13 Added a cmd shortcut to make it easier run all the commands
04/24/13 Added a link in Post 2 for troubleshooting driver and USB 3 ports (thanks Biofall)
05/21/13 Added SuperSU v1.30
05/22/13 Added some older versions of SuperSU and Superuser to Post 2
06/04/13 Added a link to HTC Sync Drivers in Post 2
06/08/13 Added SuperSU v1.32 to Root Files
07/16/13 Updated TWRP to v2.6.0.0
07/16/13 Updated CWM Classic to v6.0.3.2
07/16/13 Updated CWM Touch to v6.0.3.3
07/16/13 Updated SuperSU to v1.41
07/16/13 Added [m7spr][CWM Advanced Edition] PhilZ Touch for a 3rd recovery option
07/16/13 Updated drivers to v4.2.0.001
09/04/13 Added TWRP v2.6.1.0 to Root Files
09/04/13 Added PhilZ Recovery v5.11.2 to Root Files
09/04/13 Added SuperSu v1.55 to Root Files

09/24/13 Added a way to Backup your apps and app data before HTC-Dev Unlock and Restore your apps and app data once complete in Post 2 Thanks Zedomax
10/07/13 Updated TWRP to 2.6.3.0
10/07/13 Updated CWM Classic and CWM Touch to 6.0.4.3
10/07/13 Updated PhilZ Touch to 5.15.0
10/07/13 Updated SuperSU to 1.65
10/07/13 Added Universal ADB Drivers( May help folks using Windows 8.1)
10/24/13 Added a link in post 2 ( May help folks using Windows 8.1)
10/28/13 Added HTC Drivers 4.8.0.002
10/28/13 Updated PhilZ Touch to 5.18.5
01/14/14 Updated SuperSu to 1.86
01/14/14 Updated PhilZ Touch to 6.08.9
05/31/14 Added Stock Recovery zip below
11/18/14 Updated SuperSU to 2.16
11/18/14 UpdatedTWRP to 2.8.1.0
11/18/14 Updated PhilZ Touch to 6.48.4

I would like to thank:
Zedomax (this is and updated version of what he did for the HTC Evo 4G LTE)
TeamWin (for TWRP)
Flyhalf205 (for posting CWM)
Phil3759 (for PhilZ_Touch Recovery)
Chainfire (for SuperSU)
-viperboy- (for how to Disable System W Protection until it is baked into all custom roms)
Biofall (for his troubleshooting skills :D)
The Awesome XDA Community

wwjoshdew Videos:
How To Unlock the HTC One's Bootloader!

How To Root and Install Custom Recovery on the HTC One!
How To Unroot your HTC One and Flash it stock!

ssdave Video:
Root and Unlock Sprint HTC One


Article from:
Android DISSECTED


Download Root Files Below
AFH
Mirror
Stock Recoveries for Sprint M7 (there are 5-6 recoveries included)


Frequently Asked Questions - HTC One-Sprint(m7wls)

Disclaimer:
Code:
* Standard disclaimer: 
* Your warranty is now void.  Use at your own risk.
* In other words: It is your choice to use these files.
* I am not responsible for any damage or problems you may have!
I suggest extracting it to a folder on your desktop so you can find it and start by reading the Read Me Text.



I will update this thread as updates become available.
 

Attachments

Last edited:

Sloth

Recognized Contributor / Retired Forum Moderator
Apr 23, 2012
10,699
11,295
0
Xda-Dev,NV
Problems installing drivers or issues with USB 3 look here (Thanks @Biofall)

PdaNet Drivers

[ADB/FB/APX Driver] Universal Naked Driver 0.72 (Thanks @1wayjonny)

Drivers that MAY help you folks using Win 8.1 Thanks @starbase64 and @eyosen

Device not recognized?
On your PC go to device manager and find your phone(usually M7WLS), right click and select properties
Select the driver tab
Select update driver
Select browse my comp
Let me pick
Look for ADB USB device or similar should be one of the first couple choices
Select MyHTC install and you should be good :D


Older versions of TWRP

Backup your apps and app data before HTC-Dev Unlock:
Code:
For Mac:
cd Downloads
cd Root_HTC_One_Sprint
chmod 755 *
./adb-mac backup -apk -all -f backup.ab

For Linux:
cd Downloads
chmod 755 *
cd Root_HTC_One_Sprint
./adb-linux backup -apk -all -f backup.ab
Restore your apps and app data:
Code:
For Mac:
./adb-mac restore backup.ab
For Linux:
./adb-linux restore backup.ab
 
Last edited:

guitarpager

Senior Member
May 10, 2008
205
70
0
Winfield
The rooting method was flawless and very easy. Thank you very much for that. Now I would like to ask what to expect next. Since I didn't install a new rom after rooting and I'm still on stock what should I do if an OTA update comes out? Is it safe to take the update?

---------- Post added at 10:03 AM ---------- Previous post was at 10:02 AM ----------

Is wi-fi tether working after root?
Yes I was able to get tether to work.
 
  • Like
Reactions: Sloth

Sloth

Recognized Contributor / Retired Forum Moderator
Apr 23, 2012
10,699
11,295
0
Xda-Dev,NV
The rooting method was flawless and very easy. Thank you very much for that. Now I would like to ask what to expect next. Since I didn't install a new rom after rooting and I'm still on stock what should I do if an OTA update comes out? Is it safe to take the update?

---------- Post added at 10:03 AM ---------- Previous post was at 10:02 AM ----------



Yes I was able to get tether to work.
Thanks for the kind words :D I have been told to never take an OTA while rooted.
 

Sloth

Recognized Contributor / Retired Forum Moderator
Apr 23, 2012
10,699
11,295
0
Xda-Dev,NV

Sloth

Recognized Contributor / Retired Forum Moderator
Apr 23, 2012
10,699
11,295
0
Xda-Dev,NV
Does the HTC root method still completely (and needlessly) wipe the device? I remember it doing this from my EVO 3D days...
All this method will do is unlock your bootloader(HtcDev) install TWRP or CMW and flash a superuser app of your choice AFAIK it won't wipe anything

Step 13 (HtcDev)

On your phone you will now see the disclaimer. Please read this carefully as this action may void your warranty. Use the Volume buttons to highlight your choice, and the Power button to make your selection. If you select Yes, your phone will be reset to its’ factory default settings, and your bootloader will be unlocked. If you select No, your phone will reboot and no modifications will have been made.
 
Last edited:
  • Like
Reactions: vayman

youkosnake

Senior Member
Jan 7, 2011
549
184
0
Unlocking phone bootloader does indeed completely wipe everything save for system software.

Sent from my HTCONE using xda app-developers app
 
Last edited:
  • Like
Reactions: vayman

TonyStark

Retired Moderator - R.I.P.
May 20, 2008
11,232
10,868
0
Malibu Point
Please STOP with the general chit-chat. This was put here strictly to be used as a [Resource][Guide][Root].

Please bring any Q&A to that section. If you feel a resource is missing then let the OP know.

Thank you
 
  • Like
Reactions: vayman and Sloth

wwjoshdew

Recognized Contributor
Dec 30, 2008
1,389
1,399
0
Seattle
tinyurl.com
Video is recorded. Now I just need to edit it. I am DETERMINED to get it up tonight. I didn't simply point my camera at my monitor. I recorded my screen with camtasia in crystal clear 1080p and then I'll have the phone as an overlay for the best video quality possible. This is going to take at least a few hours to edit.

http://i.imgur.com/k01rmZ6.jpg

Apply some crop: http://i.imgur.com/UTZ0o48.png

Then move it: http://i.imgur.com/qd3e7pB.png
 
Last edited:
  • Like
Reactions: vayman and Sloth