yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] miggsr:
Go this link download the su zip and flash in recovery that should fix your issue

http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip
[Sprint HTC One (M7)] WillowWik:
It worked Thank you!

Thank you so much it worked. You are my hero.
[Sprint HTC One (M7)] miggsr:
Hitting the thanks button will suffice... Your welcome
[Sprint HTC One (M7)] WillowWik:
Do you know of a way I can do the system update with a custom recovery installed and keep root access?
[Sprint HTC One (M7)] miggsr:
You need to flash a modified firmware zip then flash a Rom based on that updare. Be a bit more specific
[Sprint HTC One (M7)] WillowWik:
Software update

I've rooted and installed a custom recovery on my phone. When I try to do the system update that keeps popping into my notifications it will just reboot my phone into the custom recovery. The Version that is trying to update to is 5.03.561.3 with sense 6. I want to be able to keep root access if I update also.
[Sprint HTC One (M7)] miggsr:
That's why you need to flash a custom rom based on that update. For you to take OTA you need stock recovery... because it will not flash that update with custom recovery.
[Sprint HTC One (M7)] WillowWik:
Can I flash the stock recovery then update and then flash a custom recovery again?
[Sprint HTC One (M7)] miggsr:
That's correct you can do that. Also remember that once you flash the custom recovery again it will check for root on the rom before you boot. It will ask you if you want to install su before booting. Keep in mind that happens in recovery
[Sprint HTC One (M7)] WillowWik:
Where can I find the stock recovery?
[Sprint HTC One (M7)] Sloth:
Post 1 maybe?
[Sprint HTC One (M7)] WillowWik:
I found one on this thread if anyone else needs it. http://xdaforums.com/showthread.php?t=2236418
[Sprint HTC One (M7)] Rrrracer:
Looking at rooting my son's recently acquired secondhand M7:

Android version 4.4.2

HTC Sense 5.5

Software version 4.06.651.9

I'm hoping this method is still valid...? Thanks in advance!
[Sprint HTC One (M7)] Sloth:
Yup still valid. :)
[Sprint HTC One (M7)] Rrrracer:
Much thanks friend, I'll give it a shot tonight!
[Sprint HTC One (M7)] Sloth:
Only way this method will become invalid is if Sprint blocks us from using HTC-Dev to unlock our bootloader.

Sidenote: Sunshine s-off does not require your device to be unlocked...so you could use Sunshine to s-off and unlock bootloader then use the rest of the files in the guide.
[Sprint HTC One (M7)] miggsr:
Very true you can use sunshine s-off with a ***LOCKED*** S-ON device and it will do everything for you. All you need is your custom recovery and a pc with adb and boom lol.
[Sprint HTC One (M7)] Rrrracer:
Thanks. It's been quite a while since I've messed with an HTC device (original Droid Incredible woot!) S-off is required for loading custom roms and kernels yes?
[Sprint HTC One (M7)] miggsr:
S-off is not required for custom roms. Maybe yes for some kernels and custom splash screens
[Sprint HTC One (M7)] killmastern3:
Need some help here. Just unlocked the m7 wls using htc dev. flashed recovery (twrp, philz, cwm) but the device is stuck at entering recovery. Moreover unable to detect the adb drivers but fastboot is working. It shows HTCONE(mtp device) in device manager. Any idea what i can do to root? the phone is stock.

Did a lot of searching for answers over the last day but nothing seems to help. Also tried in win 8.1 and 7. Same problem.
[Sprint HTC One (M7)] Sloth:
This should get your drivers installed correctly.

(If you are using Windows 8.1 this will most likely not work unless your hboot is 1.55 or 1.56)

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
[Sprint HTC One (M7)] killmastern3:
Already tried doing that. When i choose let me pick, it only shows 2 mtp usb device options. Even tried after unchecking the show compatible hardware. I dont get that option. Tried installing various drivers. Didnt help. I myself have a at&t one which does detect properly. My friends sprint one doesnt. I even tried it in a Win 7 pc. Same problem.
[Sprint HTC One (M7)] Sloth:
You know you have to let driver install in fastboot and recovery also right?

If you are not getting it working from OS try from fastboot...usually does the trick.
[Sprint HTC One (M7)] nossman:
in CMD after typing "fastboot flash recovery ...........img it gives error "cannot load revovery...."

any idea what could it be and any fix for it? Please!
[Sprint HTC One (M7)] Sloth:
Sounds like recovery.img is not in the same folder you are using to open the cmd window with
[Sprint HTC One (M7)] nossman:
It is in the same folder where the CMD file is. I tried all recoveries and none of them got flashed. Please advise.
[Sprint HTC One (M7)] Sloth:
Try different usb ports...USB 2 work the best
[Sprint HTC One (M7)] nossman:
I don't think I have different port. I tried front and rear ports of the PC and still

E:\Users\NOSSMAN\Desktop\ROOT + Unlock\Root_HTC_One_Sprint\Root_HTC_One_Sprint-M

7\Root_HTC_One_Sprint>fastboot flash recovery recovery-clockwork-6.0.4.3-m7spr.i

mg

error: cannot load 'recovery-clockwork-6.0.4.3-m7spr.img'
[Sprint HTC One (M7)] Sloth:
Silly question... you are unlocked right?
[Sprint HTC One (M7)] nossman:
I unlocked it had this issue, then re-locked and issue persists

---------- Post added at 10:05 PM ---------- Previous post was at 10:01 PM ----------

I am trying to get it SIM Unlocked and need Root and S-OFF before I do that, so got stock on Recovery Flash
[Sprint HTC One (M7)] Sloth:
If you re-locked then that's why it's not working.
[Sprint HTC One (M7)] nossman:
I just UNLOCKED the Bootloader and I have the same feedback. I will re-instal ADB and re-load PC, who knows...
[Sprint HTC One (M7)] hoganth:
File not found

Clicked the link for root files "AFH". error msg. 404. file not found.

Is there another working link for the root files?

Trying to get my EVO Lte rooted.
[Sprint HTC One (M7)] Sloth:
I just tried the AFH link and it worked fine.
[Sprint HTC One (M7)] hoganth:
File Access

Guess I need to work on my i.e. settings because this is what I get after clicking the link:

404 not found

Can't find it!

Seems like that URL doesn't exist. Or at least we can't seem to find it. We've even looked under the seat cushions and zip, nada, nothing.
[Sprint HTC One (M7)] Sloth:
Hmmm I just tries again worked fine...maybe try a different browser?
[Sprint HTC One (M7)] hoganth:
File not found

Tried 3 different computers with chrome, firefox, and i.e. 11. no joy. finally got the files from your evo 4g LTE thread link.

Strange??????????????????????????????

Thanks for your repliew anyhow
[Sprint HTC One (M7)] Esttebban:
Help

hello, can you help me to download with MD5 sum?? i cant doit you have a program or something?

and other question, i have htc one sprint, i can reinstall with at&t and run the same program? (sprint)

my mail is jackblacknack21@hotmail.com

tks so much
[Sprint HTC One (M7)] Natodu:
This worked really well for me. I have a question about the stock recovery in the folder. If I wanted to use flashify to go back to stock recovery would that be safe to use. Could I just use the file in the folder and flashify ?
[Sprint HTC One (M7)] Sloth:
Updated OP see changelog :)
[Sprint HTC One (M7)] dadaR6:
How can I flash SuperSU.zip with a locked bootloader and being S-OFF?

I just want to root the phone and keep everything else stock (recovery, OS) without going through HTCDev.
[Sprint HTC One (M7)] Sloth:
As far as I know you can't without custom recovery.
[Sprint HTC One (M7)] dadaR6:
Ok, I guess I need to then. I tried to flash TWRP recovery but it does not allow me either. I get this error:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery.img
downloading 'boot.img'...
OKAY [ 1.490s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.500s

Someone mentioned to put the recovery in a zip to make it work, but I cannot find a place that explain how to do it. :crying:

Any simple way?
[Sprint HTC One (M7)] Sloth:
fastboot flash recovery recovery.img
[Sprint HTC One (M7)] dadaR6:
Sorry it was a typo from my part when typing it here. The error is the same:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12044 KB)...
OKAY [ 1.490s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.530s
[Sprint HTC One (M7)] Sloth:
Hmmm weird my bootloader is locked I can still flash recovery.

Is the .img in the correct folder...the one you are using to open the cmd window?
[Sprint HTC One (M7)] dadaR6:
yes, same folder. See below:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12044 KB)...
OKAY [ 1.490s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.530s

C:\Program Files (x86)\Minimal ADB and Fastboot>dir
Volume in drive C has no label.
Volume Serial Number is XXXX-9999

Directory of C:\Program Files (x86)\Minimal ADB and Fastboot

01/08/2015 11:09 AM <DIR> .
01/08/2015 11:09 AM <DIR> ..
10/17/2014 06:36 PM 1,009,664 adb.exe
10/17/2014 06:36 PM 96,256 AdbWinApi.dll
10/17/2014 06:36 PM 60,928 AdbWinUsbApi.dll
04/10/2012 11:31 PM 59,904 bz2.pyd
10/17/2014 06:36 PM 196,608 fastboot.exe
07/17/2013 11:13 PM 1,582,231 library.zip
04/10/2012 11:31 PM 2,303,488 python27.dll
07/17/2013 11:13 PM 18,944 py_cmd.exe
07/17/2013 10:24 PM 128 py_cmd.py
01/07/2015 11:54 AM 12,333,056 recovery.img
04/10/2012 11:31 PM 9,728 select.pyd
01/07/2015 11:57 AM 4,000,729 SuperSU.zip
04/10/2012 11:31 PM 686,592 unicodedata.pyd
01/07/2015 02:49 PM 2,675 unins000.dat
01/07/2015 02:48 PM 719,521 unins000.exe
04/10/2012 11:31 PM 49,664 w9xpopen.exe
04/10/2012 11:31 PM 285,184 _hashlib.pyd
17 File(s) 23,415,300 bytes
2 Dir(s) 11,993,038,848 bytes free
[Sprint HTC One (M7)] Sloth:
I'm kinda out of ideas sorry.
[Sprint HTC One (M7)] dadaR6:
I just tried to create a RUU to flash the recovery. I put the android-info.txt and recovery.img inside TWRP.zip, then did this:

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.050s]
finished. total time: 0.050s

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot.exe flash zip TWRP.zip
target reported max download size of 1514139648 bytes
sending 'zip' (11594 KB)...
OKAY [ 1.620s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,8
(bootloader) [RUU]UZ,recovery,17
(bootloader) [RUU]UZ,recovery,25
(bootloader) [RUU]UZ,recovery,30
(bootloader) [RUU]UZ,recovery,38
(bootloader) [RUU]UZ,recovery,47
(bootloader) [RUU]UZ,recovery,68
(bootloader) [RUU]UZ,recovery,73
(bootloader) [RUU]UZ,recovery,81
(bootloader) [RUU]UZ,recovery,89
(bootloader) [RUU]UZ,recovery,98
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
OKAY [ 4.210s]
finished. total time: 5.840s

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot reboot
rebooting...

finished. total time: 0.040s

So everything should be good, but when I reboot, I still have the stock recovery!

Am I missing something here?

---------- Post added at 06:02 PM ---------- Previous post was at 05:11 PM ----------

Got it to work somehow. I do now have the custom recovery and also flashed SuperSU. Thanks!
[Sprint HTC One (M7)] Sloth:
Nice work congrats.
[Sprint HTC One (M7)] aweosomeabhijeet:
Newbie to HTC

I'm getting HTC One from Sprint which is network unlocked to use GSM/WCDMA networks and I will use it in India.

Did a lot of research and found out that to install Indian RUU I need to change MID and CID.

My question is, if I install Indian RUU after that, can I install Custom ROMs for International version? In this thread it is mentioned that if I flash GSM ROM I'm most likely to brick my device.

OR

Would it even be possible that I get no signal on Indian RUU on GSM/WCDMA networks?

So, as no where is mentioned after changing CID and MID and flashing specific RUU if the problem retains.

Any help would be appreciated.

Thank you
[Sprint HTC One (M7)] Sloth:
You can only flash roms/RUUs that are Sprint compatible.

Changing MID and CID is not a good idea.
[Sprint HTC One (M7)] TuckingFypos:
This is my third time Rooting an M7 (SPR) and I'm running into an issue I've never had before. My device is unlocked, with TWRP installed, but I don't have Root access. TWRP isn't prompting me for it, either. I've tried to re-flash the custom recovery but it doesn't seem to be making any difference. Am I missing something here?

My device is showing "Tampered" and "Unlocked" at the bootloader, I'm trying to use SuperSU.
[Sprint HTC One (M7)] Sloth:
Try using the latest version of SuperSU found HERE
[Sprint HTC One (M7)] TuckingFypos:
Thanks for the updated file, and the quick reply. I flashed that over and then, in my curiosity, broke something else. Apparently "Fix Permissions" in TWRP breaks Lollipop. Now I'm stuck at the "htc One" boot screen. Bootloader works, and I can still get into Recovery. Any suggestions?

Edit: After a bit of digging it seems like the best option (I don't care about data loss at this point) is to flash a factory image and start over. That's fine, but are there any up to date images available?
[Sprint HTC One (M7)] Sloth:
Restore your backup? You did make one right?
[Sprint HTC One (M7)] TuckingFypos:
Nope. I didn't have any way to backup system data on Lollipop without root. I've wiped Data, Cache, Dalvik, and formatted Data but I'm still stuck at that boot screen. Now that I'm searching more, it seems like a lot of people are having this issue... but I'm not seeing many solutions.

Edit: and after more fiddling, I'm up and running on Viper One, with Root. My 4G is down, but I'm guessing that's something to take up on the Viper thread, not here? Either way, thanks for the responses so far - and thanks for the files / guide. It helped a lot, and if it weren't for my overzealous tapping of things I should't tap, I'm sure the process would have gone perfectly smooth.
[Sprint HTC One (M7)] kskio:
Sloth or whomever else, could you answer some quick questions? I recently bricked my LG G2 LS980 and would like not to brick this HTC One m7. I already have the boot-loader unlocked.

1. Is the method on the first post still viable with Lollipop 5.0.2 stock?

1a. I see from the other posts that SuperUser.apk needs to be updated, is there anything else?

2. Which custom recovery is more stable/better on the m7, TWRP or Clockwork?

3. Before I go off flashing ROMs, is there anything I need to backup? Apparently my G2 was not like my old indestructible Samsung Prevail SPH-M820 and I overwrote some EFS file or something and lost some important files.
[Sprint HTC One (M7)] Sloth:
1. Yes still viable...as long as HTC allows us to unlock the bootloader via HTC-Dev it should always work regardless of android version.

1a. I would stick with SuperSU as it gets updated more frequently...might need to use the latest version of TWRP ( should be links to both on the first page)

2. See the end of 1a. :D ...but seriously I prefer TWRP others love CWM it's personal preference I think.

3. I would backup anything important to your PC.

3.a Only flash roms that have Sprint support or you will soft brick.

Any other questions feel free to post here or PM.
[Sprint HTC One (M7)] kskio:
Thanks again.

Also, if anyone has a problem with not being able to view the TWRP folder after installing, use an updated TWRP (twrp.me/devices/htconem7sprint.html). Either that fixed my problem or something about going into the phone's file system via windows (USB) while in still in TWRP. It's been a long day already and I'm not about to find out which, but I hope it helps.
[Sprint HTC One (M7)] Killer-B:
still getting the same thing? Tried updating drivers through the device manager and failed, still says my HTC under android devices and it has ! Within a yellow box on it?

any idea why its doing this. I had no problem rooting the LTE several times
[Sprint HTC One (M7)] budeone:
Are you in the right command window?

make sure you are see fastboot.exe in the directory.

also hit the power and see if your computer dings.

---------- Post added at 11:52 AM ---------- Previous post was at 11:44 AM ----------

That was very well done. That should make this process very easy for people that have never done this before.
[Sprint HTC One (M7)] wwjoshdew:
Thanks man, I appreciate it! I am working on the 2nd part now, installing custom recovery and rooting. It takes a while to get everything down right. Here are some screenshots of what I have already. I had three audio sources and I pick the best one and make that the only audio source for the video. Plus I have backup audio. It's hard to explain. Call it a fail safe if one of them POPS/CRACKS real loud or doesn't record right. It's hard to explain. This will be up tonight though! :)

http://i.imgur.com/vyjkWwc.png and then http://i.imgur.com/TXWfTms.png and then I pick the best of the three and start editing. It's a lot of work, but the end product looks great and sounds great too!

Update: Getting closer! This one is going to sound much better than yesterdays video. It will be up in a couple hours or so.
[Sprint HTC One (M7)] Biofall:
I'm having the same issue. In fastboot, my computer says that the device isn't recognized..
[Sprint HTC One (M7)] budeone:
Interesting, seems to be quite a bit out there withthe same issue.
[Sprint HTC One (M7)] Biofall:
What do you mean "all the drivers"? I installed HTC Sync Manager and my phone can be recognized by windows 8 when it is in normal boot mode. When I plug it in while in fastboot mode for HTC dev unlock my computer says there is a problem with the device.
[Sprint HTC One (M7)] budeone:
Sorry, I edited my post when I saw how long you been doing this.

---------- Post added at 05:14 PM ---------- Previous post was at 04:59 PM ----------

I would go into device manager and delete the device and reboot.. then plug back in and let it re-install the drivers and see if that works.
[Sprint HTC One (M7)] Sloth:
I actually had the "Device not recognized" problem too I just re-installed all the drivers including Sync Manager again and everything worked fine for me. Unlocked and flashed TWRP. The problem may be Win 8 I know a lot of folks have issues with the drivers on Win 8.
[Sprint HTC One (M7)] Biofall:
What do you mean "all the drivers"? Again, all that you can do to install the drivers is htc sync manager, which includes them, correct? I have uninstalled and reinstalled them several times.

I read somewhere else: http://www.teambamf.net/topic/4566-unable-to-see-device-in-fastboot/ that the problem could be usb3 ports. That's all my compy has, so I'm going to go use a university computer.
[Sprint HTC One (M7)] Sloth:
I re-installed the drivers I included in the folder. Yes usb3 ports may also be the problem I have usb2. You can try the pdnet drives another member told me that helped him google pdnet
[Sprint HTC One (M7)] Biofall:
So here's what I did:

To fix the driver problem:

Uninstalled everything again.

Rebooted computer

Reinstalled drivers from your folder (thanks!)

To fix the usb3 problem

I learned this stupid trick from months of screwing around with external HDDs:

Turn off computer and unplug power adapter (don't reboot, actually shut down)

Turn on computer with device plugged in

It should show up in device manager without issues now

Good to go...

Thanks for the help guys. You might want to add that in for people who have the issue.
[Sprint HTC One (M7)] Sloth:
Glad you got it going :D I'll add a link to this post in post 2
[Sprint HTC One (M7)] wwjoshdew:
The 2nd Part (How to install custom recovery and root) is up!

http://youtu.be/T7GCnbjO1zw

Thanks for the awesome thread bigdaddy619!
[Sprint HTC One (M7)] Sloth:
Thanks Josh added to OP :D
[Sprint HTC One (M7)] ssdave:
I have just finished making my Root and Unlock video for the Sprint HTC One. I have put a lot of effort into making this video but it was a learning experience for me to edit so many videos together. My objective for this video was to make a short as possible how to video so there wasn't so much dead time in between the steps. I hope you all enjoy and find it useful.

http://youtu.be/yJrsftr4no0
[Sprint HTC One (M7)] Sloth:
Thanks I'll add it to the OP :D
[Sprint HTC One (M7)] benny3:
Thanks again, Im pretty sure i did this once in this thread but it appears its MIA
[Sprint HTC One (M7)] t3hcyborg:
Thanks for all your work, Bigdaddy. Everything worked perfectly!
[Sprint HTC One (M7)] Pirated Android:
Mine's stuck on Sending "Recovery" I've tried several times.

---------- Post added at 12:38 AM ---------- Previous post was at 12:12 AM ----------

Nevermind I got it to work! Thanks!
[Sprint HTC One (M7)] letmeputdatipin:
I would like to say WOW!!! and THANK YOU!!! for all this wonderful work done so quickly on the ONE. I just got my ONE today and I unlocked, rooted and disabled system Write in less than an hour. Everything worked beautifully! Flawless step by step instructions and videos, fantastic!!! :good:
[Sprint HTC One (M7)] Sloth:
:D Thank You for your kind words
[Sprint HTC One (M7)] Sloth:
Nice video Tim :D

Btw you left your unlock token in Your folder you must have forgotten to remove it before you zipped up Your files.
[Sprint HTC One (M7)] tuscolavol:
I must be more of a noob than I thought I was. Can't get the drivers to install after plugging my phone into the pc. I'm going to delete and start over but one question. Which option is checked in USB network setting?

NVM... Got it. uninstalled it and installed HTC sync. Worked fine after that.
[Sprint HTC One (M7)] filmaker:
Would this method work on all HTC Ones or just the sprint model?
[Sprint HTC One (M7)] Sloth:
It should work on all you would have to find the correct version of TWRP or CWM depending on your preference for you model
[Sprint HTC One (M7)] Sloth:
Android DISSECTED Blog

:D
[Sprint HTC One (M7)] Sloth:
Dev-Host seems to be having some issues posted a mirror to AFH I will add Dev-Host link back later when it's sorted out :D

Update Dev Host link is hot again :D
[Sprint HTC One (M7)] NF-1087:
I was getting the device not recognized error until I plugged into a usb 2.0 slot. Now I'm in the middle of rooting recovery. Thanks again for this guide guys!
[Sprint HTC One (M7)] gonowhere:
Much thanks for your work!! Unlocked, recovery and SuperSU all complete.

---------- Post added at 09:58 PM ---------- Previous post was at 09:55 PM ----------

Well done on the videos. :good:
[Sprint HTC One (M7)] Sloth:
Updated OP see Changelog :D
[Sprint HTC One (M7)] SantinoInc:
I just ordered this phone so I should be putting this to good use very soon. Thanks OP.
[Sprint HTC One (M7)] Sloth:
You are very welcome :D
[Sprint HTC One (M7)] cabezapreta:
1.29.651.10

I updated my phone to this version to fix the issues with the back button.

Can I still use this method to root? Will the stock rom work fine after rooting or are there any known issues?
[Sprint HTC One (M7)] Sloth:
Yes you can use this method to root, as for the stock there shouldn't be any issues but don't quote me on that I'm using a custom rom :D

Sent from my "Blue" One :p
[Sprint HTC One (M7)] nowei:
I rooted using this method, but want to do the HTC update. Can someone provide steps to do so? Will I have to wipe the device again?

Thanks!