I'm not a Dev so this is my contribution to the HTC One-(M8)-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 One-Sprint (M7).
Unlock your bootloader - www.htcdev.com Follow the instructions at HtcDev to unlock your bootloader.
Flash TWRP Recovery - (refer to the Read Me First Text on how to fastboot flash TWRP Recovery)
Flash SuperSU - (copy to sdcard and flash from TWRP) (Lollipop may require the latest version of SuperSU...link in post 2)
<---- If this guide helped you buy me a coffee
Using this method will NOT give you S-OFF it will help you unlock your bootloader(HTC-DEV) flash a custom recovery(TWRP for now CWM and PhilZTouch may come in the future ) and install the Superuser app of your choice.
Read Me Text (instructions,ADB commands, and whatnot)
Latest HTC Drivers v4.2.0.001 and HTC BMP USB Drivers v1.0.5375(32 and 64 bit versions)
TWRP openrecovery v18.104.22.168
03/28/14 Initial Release
03/31/14 Edited ReadMe to reflect that you can choose "HTC One M8" rather than "All other devices" at Htc Dev when unlocking bootloader. Thanks @rhe12 for the heads up.
03/31/14 Added Stock Recovery if you feel the need to go back to stock and take an OTA
04/01/14 Updated ReadMeFirst text with feedback given by @rhe12
04/07/14 Updated adb and fastboot goodies
04/11/14 Added links to alternate recoveries in Post 2
05/31/14 Added Stock Recovery zip below
11/06/14 Updated Stock Recovery zip
11/18/14 Updated SuperSU to 2.16
11/18/14 Updated PhilZ Touch to 6.26.6
11/18/14 Added Captain_Throwbacks version of TWRP
03/01/15 Added a link to latest SuperSU in post 2
03/01/15 Added a link to HTC Sync Manager in post 2
I would like to thank:
Zedomax (this is and updated version of what he did for the HTC Evo 4G LTE)
TeamWin (for TWRP)
Captain_Throwback for his version of TWRP
Chainfire (for SuperSU)
The Awesome XDA Community
Root the Sprint HTC One M8
Root Files Below
Stock Recoveries for the Sprint M8 (All stock recoveries including HK).
Frequently Asked Questions - HTC One-M8-Sprint(m8_whl).
* 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 will update this thread as updates become available.