[Tutorial][Resource][Root]Unlock-Recovery-SuperSU for HTC One(M8)-Sprint-m8_whl

Search This thread

Lurch69

Member
Jun 5, 2010
30
5
In your cmd window type fastboot devices and see if you get your serial number as a reply just make sure it says fastbootusb on your device

Ok, so I'm pretty sure my problem had to do with getting the drivers installed on Windows 8.1. I decided to try to use my old computer w/ Win Vista to root my phone and it worked flawlessly! I just noticed question #18 on the FAQ deals w/ HTC drivers and Win 8 so if someone else if having a problem I'd start there.

In the interest of making this process even more noob friendly, I'd recommend stating that they need to install the HTC Driver exe, the appropriate HTC BMP USB driver msi, and the Universal ADB Driver Setup msi file. Also, I didn't see directions on how to flash SuperSU in your text document, although it was a pretty straightforward thing to figure out.

Thanks again for your help!
 
Last edited:

xPhantom

Senior Member
Apr 16, 2010
240
63
Awesome video! Thanks a lot! I have a question: have any of you tried using GMD Auto Hide to hide the on-screen buttons?
 

pball52998

Senior Member
Jan 1, 2014
648
173
If there's any Mac users. OP said I could get my script in there, and @Lurch69 I would make a super noob windows version if OP allowed me :p that one would take a while since I'm more Mac/Linux oriented in the coding nature. But can do windows some.... bat scripts \(^._.^)/

Sent from my Rezound using tapatalk. CyanogenMod 11. S-off.

---------- Post added at 11:48 PM ---------- Previous post was at 11:45 PM ----------

Also by taking a while I mean less than 2 days....

Sent from my Rezound using tapatalk. CyanogenMod 11. S-off.
 

Anagarm

Member
Apr 8, 2014
8
1
So when you press reboot system it just boots back to twrp?

Yes, that's correct. No matter what I do, it always loads twrp. If it helps, my partition sizes are:
boot (16 mb)
cache (6 mb)
data (0 mb)
system (2173 mb)
And if I did delete the OS, could I load someone else's backup and have it work again?
Once again, thanks for the help.
 

Sloth

Inactive RC / Retired Forum Moderator
Apr 23, 2012
10,699
11,300
Xda-Dev,NV
Yes, that's correct. No matter what I do, it always loads twrp. If it helps, my partition sizes are:
boot (16 mb)
cache (6 mb)
data (0 mb)
system (2173 mb)
And if I did delete the OS, could I load someone else's backup and have it work again?
Once again, thanks for the help.
Seems like you formatted your sdcard
You can try pushing this rom your device...there are a couple small bugs but they are being squashed quickly :)
http://xdaforums.com/showthread.php?t=2705508
While in twrp open a cmd window and type
adb push ROMname.zip /sdcard/
 
  • Like
Reactions: Anagarm

Anagarm

Member
Apr 8, 2014
8
1
Seems like you formatted your sdcard
You can try pushing this rom your device...there are a couple small bugs but they are being squashed quickly :)
http://xdaforums.com/showthread.php?t=2705508
While in twrp open a cmd window and type
adb push ROMname.zip /sdcard/

Thank you so much.
Even if this doesn't work, it helped me realize what I can do to fix it. Thank you for being so kind even though I'm just a new user!
 
  • Like
Reactions: Sloth

Anagarm

Member
Apr 8, 2014
8
1
No worries and good luck :)
Any other questions just post them :)

Alright, I have one more question and I have to go to bed (it's 2 am where I am):
adb isn't detecting my device when it's plugged in. Whenever I enter a command, it says "error: device not found". What can I do to fix this?
Thanks as always.
 

Magnum_Enforcer

Retired Forum Moderator
Jul 14, 2012
5,981
4,089
Birmingham, AL
Make sure your drivers are up to date. You can install HTC Sync for the latest drivers. You can also boot into the bootloader with the phone connected to your computer and it should install some drivers, also.

Sent from my EVO LTE
 
  • Like
Reactions: Anagarm and pbedard

Anagarm

Member
Apr 8, 2014
8
1
I'd like to say that I've gotten it to work. I flashed the google play edition zip and now everything is working. Thanks to everyone who helped me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    Sup XDA :D
    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 :p


    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.

    What's included:
    Read Me Text (instructions,ADB commands, and whatnot)
    ADB Tool
    Latest HTC Drivers v4.2.0.001 and HTC BMP USB Drivers v1.0.5375(32 and 64 bit versions)
    TWRP openrecovery v2.7.0.0
    SuperSU.apk v1.94

    Changelog:


    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 :eek:
    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
    07/20/15 Added link to New Official TWRP download page 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

    wwjoshdew Videos:
    Coming soon.

    filmaker Videos:
    Root the Sprint HTC One M8


    Root Files Below
    AFH
    Mirror
    Stock Recoveries for the Sprint M8 (All stock recoveries including HK).


    Frequently Asked Questions - HTC One-M8-Sprint(m8_whl).

    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.
    17
    Driver problems...get HTC Sync Manager HERE

    Latest version of SuperSU can be found HERE

    New official TWRP download page

    If you are having issues with the "Official" TWRP in the folder I recommend this one... HERE

    Those of you that insist on taking the OTA follow these steps:
    How to go back to stock recovery after unlocking/TWRP/SU to take OTA update and how to revert back afterwards:
    This assumes you have used this procedure to root phone. Doesn’t mean this procedure won’t work if you have used variants of that method or a different method, but whether these steps will work if that’s the case I don’t know.

    1. Turn phone off
    2. Boot into bootloader
    3. Choose fastboot
    4. Connect phone to computer through USB cable
    5. Open elevated command prompt and navigate to folder where the stock recovery is located
    6. Type at prompt: “fastboot flash recovery filename.img” without the quotation marks (where filename is the name of the stock recovery image you want to flash). You’ll see something like this:
    C:\RootM8 (1)>fastboot flash recovery stockrec.img
    target reported max download size of 1830711296 bytes
    sending 'recovery' (24576 KB)...
    OKAY [ 1.721s]
    writing 'recovery'...
    OKAY [ 1.106s]
    finished. total time: 2.830s
    7. Reboot phone
    Your phone now has the stock recovery, and it’s still rooted, but not for long :) . You can now proceed to take OTA update, at which point you will probably lose root, and then follow original procedure to flash TWRP recovery again, and then root again.
    5
    Updated OP added a Stock Recoveries zip to post 1
    4
    Just a few notes on my experience:

    Supersu
    I was running stock lollipop 5.01 on a unmodified One M8. The readme doesn't say anything about supersu like OP says it does. I figured that one out (just flash supersu using twrp). But a problem came with using the supersu in the zip file from the OP. After flashing it, when I ran supersu, it said the binary wasn't present and that it could not install it. I finally figured out I could use a latest beta version of supersu (2.47 I believe). I guess older versions maybe don't support lollipop?

    HTC drivers (and HTC sync manager)
    The ones in the root zip from the OP didn't work for me. They said they installed (64-bit ones for my win8.1 computer), but they didn't appear to be working. Once I installed the HTC sync manager, that worked. Guess it installed the right drivers or at the very least was needed in conjunction with the drivers in the zip from the OP? Really not sure.

    ADB
    I know fastboot.exe requires the adb dll but does it require adb.exe? I didn't see a need in this particular procedure for adb.exe, and the OP says that the readme mentions using ADB commands (instead of fastboot commands). Nitpicky, I know, but could be confusing for some.

    TWRP
    Also, I'd recommend getting the latest twrp instead of using the one in the zip file of the OP (the readme does mention where to get the latest), especially if you're already running stock lollipop 5.xx. I didn't have any problems with the twrp in the zip file from the OP, though. I just thought it was a good idea to run the latest twrp after the problem with supersu and lollipop, especially since I'll be using TWRP for backups (and restores) of lollipop.

    Thanks for the instructions and packaged zip.

    Thanks for the heads up and feedback :)
    SuperSu - Added link in post 2 for the latest.(not sure why I removed the SuperSU instructions)
    HTC Sync Manager/ Drivers - Added a link in post 2 ( I have never had a problem with the supplied drivers...I am on Win 7 though could be the difference)
    ADB - Not seeing any mention of ADB commands in the Read Me.
    TWRP - As you mentioned there are links to all recoveries in the Read Me.
    Made a couple tweaks to post 1 aswell.
    4
    Cool, thanks for putting all this together. I'm not sure it's worth doing it this early if S-OFF may be coming soon...at least by the time some more ROMs show up.
    Well right now no permanent changes can be made to system, unless done from recovery. S-OFF will certainly remedy that, as well as allow for the red disclaimer and tampered flags to be removed.