yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] mrrogers1:
I just s-off/rooted a buddie's device over Remote Desktop for Chrome lastnight and before even getting started, I installed drivers that I know work for us. Download this zip http://mrrogers1.org/PPC Utilities/HTC_drivers_Win7_x64.zip (assuming you are on W7 x64) and extract to a new folder. Plug your phone in and then go into the Device Manager on the computer, find the "Android Phone" in the list and right click, update drivers and navigate to the folder with the new drivers. Update them, unplug the phone, restart the computer (and phone for good measure) and then when the laptop comes back up, plug your phone in. You should see a prompt that it's installing drivers.

Secondly, I know this isn't your first, second nor third foray but I want to make sure you have actually used ADB with one, two or all three of those previous forays. Reason being, you need more than just the phone and drivers to use ADB. If you have not, I have little ADB setup all packaged I'll share with you that makes it ridiculously easy to get ADB going. (Easy as in double click on cmd.exe to open command window and start going with your commands)

Good luck
[Sprint HTC One (M7)] bullfrog527:
what am i doing wrong?

C:\Users\Schleeter\Desktop\theONE\OneDrivers_Fastboot\Fastboot>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

FA35FS911699 recovery

C:\Users\Schleeter\Desktop\theONE\OneDrivers_Fastboot\Fastboot>adb shell

~ # ←[6necho "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

warning: seek lseek64 failed

12+0 records in

12+0 records out

12 bytes (12B) copied, 0.008301 seconds, 1.4KB/s

~ # ←[6nadb reboot bootloader

adb reboot bootloader

/sbin/sh: adb: not found

~ # ←[6n
[Sprint HTC One (M7)] Indirect:
ctrl+c out and then use adb reboot bootloader....
[Sprint HTC One (M7)] bullfrog527:
copy

got it, unlocking bootloader and rooting now!
[Sprint HTC One (M7)] dadaR6:
How to root without flashing a recovery (keep the stock one) and S-OFF? What are the steps?

Thanks.
[Sprint HTC One (M7)] naturecannon:
Where is this?
[Sprint HTC One (M7)] bullfrog527:
I just skipped writing the flashing twrp step. I guess I implied it in my post
[Sprint HTC One (M7)] Ricky623:
Tampered, relocked to early, and stuck on bootloader

My device is stuck on bootloader screen on 1.31, tampered, and relocked. I forgot to run echo before I relock is there anyway to unlock it now
[Sprint HTC One (M7)] Sloth:
Have you tried flashing your unlock token again?
[Sprint HTC One (M7)] Ricky623:
YEAH

Nope but i tried now i'm outta the bootloader and into recovery. Didn't even cross my mind. HaHa. i just ran "fastboot flash unlocktoken Unlock_code.bin" from the CMD prompt window and bam. Thanks alot bro. Good lookin out!
[Sprint HTC One (M7)] Sloth:
No worries :D

PM me if you have any questions
[Sprint HTC One (M7)] XaoSilentrzk:
[MENTION=3854041]Indirect[/MENTION] I found an easier way than doing all them commands you posted. I simply took a chance and ran the RUU flat out. It worked like a charm...
[Sprint HTC One (M7)] vangoor:
Hello, I have a problem with my HTC One. Last accidentally removed everything from the phone, I have uploaded a new rom by ADB Sideload, but after a while you start your phone resets and this happens all the time. S-On HBOOT 1.44.0000, unlocked. Help!
[Sprint HTC One (M7)] Sloth:
Do you have a Sprint One? If so did you flash a Sprint rom?
[Sprint HTC One (M7)] vangoor:
yes, I have the Sprint HTC One and uploading roms Sprint
[Sprint HTC One (M7)] XaoSilentrzk:
Just run the RUU... Skip all those other steps. I ran the RUU and that was all I needed to get back s-off with revone
[Sprint HTC One (M7)] dadaR6:
With your bootloader locked or unlocked? rooted, not rooted?
[Sprint HTC One (M7)] Jim8ean:
HTC One predicament

How do I unlock if I already relocked my bootloader... I did this because I thought I had version 1.29 but I have 1.31 so I was going to restore to stock with RUU but now my OS is fugged and Im stuck with relocked bootloader, tampered and security warning on top but my twrp and backup should still exist but my backup is messed up because I tried flashing 1.29 and that changed my cdma so my internet nor wifi worked and it makes my phone restart after a few minutes.. recovery is no good now because I just locked my bootloader. I was rooted too. Need help please? :( Should I try to get s off with fastboot? but I have a locked bootloader now so how? P.S. I couldn't find how to reunlock the bootloader any suggestions... :confused:
[Sprint HTC One (M7)] Jim8ean:
I get error 140 wrong RUU utility or something when doing the process. My phone started up but only starts partially no internet or wifi black back ground. It also says system not responding upon boot.

---------- Post added at 02:32 PM ---------- Previous post was at 02:22 PM ----------

I apologize for my massive amount of posting but I tried to redo the unlocking process and never worked in the past but I got it to work now? All confusing.
[Sprint HTC One (M7)] XaoSilentrzk:
Originally... I had unlocked and all that and tried running the commands posted. I don't think they worked so I said **** it and flashed the RUU from OMJ thread. I ran the exe instead of flashing the RUU.

Now I'm back s-off unlocked with no ailments. I was relocked when I ran RUU. I don't think it will work if you ARE ROOTED!
[Sprint HTC One (M7)] Sloth:
I don't really think there is any way of knowing whether it worked or not other then when it says 12 files in 12 files out.

So you may or may not have gotten lucky :D
[Sprint HTC One (M7)] XaoSilentrzk:
I think I saw it say that, but I also saw it say something about "failed". I got irritated and just took a chance on it lol
[Sprint HTC One (M7)] Sloth:
It does say it fail also

Sent from? :p
[Sprint HTC One (M7)] XaoSilentrzk:
Oh so that's a part of it that actually works? I ran the command like 5 times and thought I was being a Noob messing things up
[Sprint HTC One (M7)] Sloth:
Nope :D

http://xdaforums.com/showpost.php?p=44465284&postcount=24
[Sprint HTC One (M7)] XaoSilentrzk:
I'm such a dumbass
[Sprint HTC One (M7)] rlsl88:
Amazing!!

Thank you so very much!

I was in the same boat as everyone else it seems. Not sure why it took me so long to find this thread.
[Sprint HTC One (M7)] clavin78:
I cant get the RUU to complete. I ran the adb command but was unable to do the adb reboot. The phone hung for a few minutes and then I could acces twrp, reboot to bootloader. The RUU now recognizes this as the 1.29 and starts to run but wont finish. I ran it after pushing the stock recovery and relocking.

Edit: Disregard. It ended up working but took an unusually long time compared to the last time I ran the RUU.
[Sprint HTC One (M7)] hazadiz81:
bricked htc one

Hello I have a question I bricked my sprint htc one because I tried to go back to stock and my phone was already on 1.31 whenever you have a chance can you help me restore it?
[Sprint HTC One (M7)] jdjohn:
From what I have read, it seems that just unlocking is sufficient for these phones. S-off will allow radio and bootloader flashing, but I have seen mixed reviews on changing radios, and the stock unocked bootloader fits almost all needs. Maybe I'm missing something?
[Sprint HTC One (M7)] Sloth:
HTC has a way of making it harder for us to do anything to our phones with every update
[Sprint HTC One (M7)] jdjohn:
Agreed. My point is that for just flashing custom ROMs and recoveries, unlocking the bootloader is all that is needed. Getting S-Off doesn't seem to add any additional functionality except for the ability to flash radios and bootloaders. And a lot of people who flash different radios end up going back to stock in a lot of cases I have read.

Why go through the trouble and risk of s-off if it's not really needed, and doesn't add much 'value'?
[Sprint HTC One (M7)] TriBeard:
I think the reason it's tempting for some people, myself included, is that it allows you to change the bootloader back to locked instead of relocked and tampered. Who knows if anyone would even check that before taking the phone back for warranty or exchange, but the fact that you can make it totally stock again is nice.
[Sprint HTC One (M7)] jdjohn:
That makes sense (no pun intended).
[Sprint HTC One (M7)] EPayne123:
Well, it does make things easier to go back to Bone Stock Unrooted Locked without Tampered. I am also on 1.31.651.2 and can easily downgrade to unroot if I want to just by running an RUU instead of installing and removing blah blah blah just to be able to Downgrade... S-Off allows me to do it anyways o matter what lol
[Sprint HTC One (M7)] Pandaboy77:
So I have managed to execute all the commands except for "adb reboot bootloader". I receive an error saying "unable to find device". I rooted my HTC one and just really want it unrooted and fully stock ASAP.
[Sprint HTC One (M7)] Sloth:
Type exit after the echo blah blah command
[Sprint HTC One (M7)] Pandaboy77:
Just, "exit"?
[Sprint HTC One (M7)] Sloth:
adb shell
echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
[B]exit (to exit the adb shell)[/B]
adb reboot bootloader
fastboot oem lock
[Sprint HTC One (M7)] XaoSilentrzk:
Haha thanks [MENTION=3854041]Indirect[/MENTION] again bro. I S-Off my girlfriend RED HTC ONE just Monday using this method
[Sprint HTC One (M7)] Pandaboy77:
I tried all the commands, and all went well, except when I went to check the software version, It is still the same.
[Sprint HTC One (M7)] Sloth:
Software = rom base

Firmware = radios and such

So SW version won't change until you flash a rom with a different base
[Sprint HTC One (M7)] Pandaboy77:
So, now that I have run all the commands..This means I can go ahead and run the RUU to return me back to 100% stock non-rooted android?
[Sprint HTC One (M7)] Sloth:
Correct
[Sprint HTC One (M7)] Pandaboy77:
I ran the RUU, and both my image file and the one I was trying to restore to were different. I ended up getting a USB error. Please help me out.
[Sprint HTC One (M7)] Sloth:
Are you using the 1.29.651.10 RUU?
[Sprint HTC One (M7)] Pandaboy77:
Yes, and inside the RUU I ran the "setup" to do the proscess for me. But I received that error.
[Sprint HTC One (M7)] fachadick:
I just did this - worked a charm, and didn't have to downgrade either. Thanks
[Sprint HTC One (M7)] Pandaboy77:
Do you think you can make a more in-depth explanation on this method of yours, please? I'd greatly appreciate it.
[Sprint HTC One (M7)] Ramtron:
I'm not even sure if I need S-Off at this point, I'm having an entirely different problem, but this method is perfect for downgrading.

I have an HTC One, 1.31 stock, rooted, android 4.1, no changes have been made whatsoever

As some of you may know, android 4.3 OTA was just released, being rooted it seems OTAs will refuse to install

I understand the main fix to the problem is using the stock recovery, which I've obtained and flashed with no avail using multiple stock recoveries.

Including the recovery in the framework folder of the 4.3 update itself.

I've tried plenty of other methods such as "OTA Root Keeper", again, with no avail..

Looking at the options I have left, it looks like downgrading to a 1.29 RUU using this DD method to remove root and (hopefully) be able to install 4.3 via stock recovery, however I'm not interested resetting my phone.

Again.

I'm curious if someone here has another suggestion to install the OTA Android 4.3 update that won't require me to lose everything!

I'd definitely be willing to throw some $$$, "PayPal donations" as someone else offered, to get me pointed in the right direction.

Thanks!
[Sprint HTC One (M7)] Sloth:
Check the other thread :D
[Sprint HTC One (M7)] Apk07:
I'm on CMJ's rom based off 1.31, rooted, insecure, TWRP, and unlocked bootloader. How can I keep everything the way it is, but gain S-Off? (if thats possible). My real goal is just to flash the newer radio...

I just hopped on this train coming from Samsung where everything was fool-proof with ye ol' Odin
[Sprint HTC One (M7)] djlast:
Thanks!!

Just a big thanks to Indirect and everyone else involved. His trick helped me go from rooted 1.31 back to stock 1.29 with the RUU and then OTA back to 1.31 and now to the OTA 3.04 (4.3 release - wanted the OTA because I wanted to avoid flashing firmware/radios separately or dealing with any unexpected bugs - awesome work by O.M.J. and others in the rooted version BTW!!! I will be digging into their stuff soon). What was nice is I was able to stay S-on the whole time (didn't really want to mess around with that unless I absolutely had to.) I don't care about any tampered/relocked flags in the bootloader so I skipped the revone part. I will keep stock/unrooted for some time and then jump back in after I get bored. Being new to HTC, it took some doing to understand the methods involved, so reading all the expert posts is a big help. Nice work all, best website ever!!!

:highfive:
[Sprint HTC One (M7)] ThePhoneGeek:
Uh... Wow this was like two months ago and I've slept since then and most of my knowledge has leaked out...

So what area would you like more detail about?

MG
[Sprint HTC One (M7)] Pandaboy77:
SOLVED

Alright, so I have seen many many posts of people being unable to revert back to stock or unroot. Theyre are many methods, the most common being running the RUU on windows, but I found a "work around" for this. I want to help everyone out, and create a post on how to do this. Where would be the appropiate place to post such a thing for the HTC one?
[Sprint HTC One (M7)] organicbassd:
Thank you! worked out like a beauty
[Sprint HTC One (M7)] an0ther:
I am working on a friends sprint phone and have an att one myself. When you say flash an ruu, are you talking about "install in twrp" or "fastboot oem rebootRUU" I downloaded the encrypted file as I am used to the "rebootRUU" but I just wanted to make sure that is what you are talking about. Thanks in advance.
[Sprint HTC One (M7)] Solid$nake008:
Man i had to register to thank Indirect, i was stuck for hours thinking i bricked it which wouldn't be surprising since i am a noob to this. Words can not describe when i succeeded after i followed this workaround and loaded the stock RUU from my Computer, LESSON LEARNED. I think im going to stick to Stock for a while before i try to get some roms again but before i do i will backup and S-OFF for sure. Thanks again Indirect you saved my phone
[Sprint HTC One (M7)] jaywill13:
i just need help finding the adb in TWRP? i don't see it?
[Sprint HTC One (M7)] aschlect:
Need some help here - I am rooted, S-On, 1.31. I would like to go back to unrooted/stock, then go to 4.3. Will I need to do the steps above, or can I just OEM Relock, then run the 1.29 RUU? Also, if I need to follow these steps, do I type the commands from a cmd prompt, or is this an emulator in SDK tools, which I have installed, but not having any luck getting an emulater to work.

Thanks
[Sprint HTC One (M7)] Sloth:
You only need to follow these step if you want to get s-off which I highly recommend

BTW its never a good idea to take and OTA
[Sprint HTC One (M7)] aschlect:
Thanks. I did try it this morning,and it did not work. The RUU said the bootloader was invalid. I did more investigating and I think i can handle the adb entries now.

I don't bother w/ S-Off as I only root just to install older apk's of apps and tether. I don't flash any ROMs or new radios/kernels.

Thx
[Sprint HTC One (M7)] tonyrance:
I think bigdaddy619 was just letting u & everyone know that, if u s-off, when u want to return to stock or need to get out of a mistake that we all get ourselves in. It's so much easier to correct the issue, if u take the time now, to get s-off. Saves u a big headache latter:D TRUST me!

In the end-it's ur call...Enjoy

Edit: b4 u can run the RUU, u need to relock ur bootloader.

"fastboot oem lock"
[Sprint HTC One (M7)] aschlect:
Thanks, yeah I am realizing that maybe I should go ahead and S-Off. I did relock before I ran the RUU, so yeah, I need to follow the adb steps, which I have another question about -

echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

is there a file that adb must have access to for this, or is this residing in 1.31 and that's where it is pulled from?

Thx
[Sprint HTC One (M7)] PillowMetal:
This is modifying the misc on your phone, no file is referenced, it is using the dd command inside if adb shell.
[Sprint HTC One (M7)] FlowingAway:
Does this still work if you're s-on with the new 4.3 OTA and HBOOT 1.55? I'd really like to RUU back to 1.29 and start over, I think I've mucked some stuff up.
[Sprint HTC One (M7)] aschlect:
OK thanks - I will give this a try tonight.
[Sprint HTC One (M7)] PillowMetal:
Probably not... it takes advantage of the fact that the hboot version didn't change between 1.29 and 1.31 and this allows the RUU to still run when you are s-on. However, the new 3.01 hboot is version 1.55 so the RUU will now fail. But you could give it a shot and let us know. If you are s-off you don't even have to perform the instructions in the OP, you can just run the RUU straight up.
[Sprint HTC One (M7)] ssiefman:
so i checked my adb while connected when booted up and it worked fine, but when i ran adb devices while booted to twrp it says List of devices attached... could this be because of drivers?
[Sprint HTC One (M7)] jerronchua55:
I'm on the International version of HTC One, but I'm in the same situation as well. I'm on a hboot that has the same version as my RUU, but I can't run the RUU because my current rom and firmware is of a later version than that of the RUU and I'm S-ON. Would using similar commands (changing the echo command to match the version of my RUU) work for my HTC One?
[Sprint HTC One (M7)] FlowingAway:
You were correct. The RUU spit it out pretty early on, right after "sending". The bootloader said something about wrong HBOOT or HBOOT doesn't match. I sent my phone to HTC to get a replacement camera, I'm hoping they 4.3 RUU me since I borked something in the past day or so. I've got 4.3 firmware but it bypassed a couple of files in the process of flashing, then tried RUUing back to 1.29 after that. My stock recovery can't mount sd card and anything I select in stock recovery says invalid command or something and restarts immediately. Also relocking the bootloader sends my phone into immediately bootloop. Unlocking the bootloader immediately causes the phone to behave. Very strange.
[Sprint HTC One (M7)] aschlect:
# ←[6necho "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

warning: seek lseek64 failed

12+0 records in

12+0 records out

12 bytes (12B) copied, 0.008301 seconds, 1.4KB/s

~ # ←[6nadb reboot bootloader

adb reboot bootloader

/sbin/sh: adb: not found

~ # ←[6n

I'm getting the same response.....I'm still learning these steps here w/ adb.......ctrl+c out of where, and adb reboot bootloader where? I thought I had to enter that in the cmd prompt? Little confused - can you give a step by step here? thx
[Sprint HTC One (M7)] dadaR6:
Enter 'exit' before the adb reboot command (You need to exit the adb shell first)
[Sprint HTC One (M7)] PillowMetal:
You are still in the adb shell... after the echo command either press CTRL+C or type exit so that you are back at a regular command prompt. Then execute the adb reboot bootloader command.
[Sprint HTC One (M7)] aschlect:
Thanks - got it to work!

Appreciate all the help here!
[Sprint HTC One (M7)] james341:
Hello

I'm on 4.3

Can I use this method ?
[Sprint HTC One (M7)] Sloth:
Nope :(
[Sprint HTC One (M7)] james341:
So how can i do s-off to my stock 4.3?

I've tried the revone method and I'm getting an error.

Maybe If I will flash other 4.3 it will work?
[Sprint HTC One (M7)] Sloth:
S-OFF won't work on the newer hboot you will have to wait for a new S-OFF exploit
[Sprint HTC One (M7)] james341:
Ok

Can I download the hboot? In some way?
[Sprint HTC One (M7)] Sirricharic:
When i tun the commands it says dd' is not recognized as an internal or external command
[Sprint HTC One (M7)] Sloth:
You need to open the cmd window from you android sdk/platform tools folder

Sent from my ??? :p
[Sprint HTC One (M7)] bugaloo78:
So, I was on OTA 4.3 and I did this. So I'm still S-on and getting an Error 155 when I try to run the RUU. How do I go back to the previous settings or unbrick? I have TRWP recovery, but no ROM. I can't get TWRP to sideload.
[Sprint HTC One (M7)] suparnemo:
Does this require you unlock with htc dev? Can I go from fully stock 1.31 back to 1.29?
[Sprint HTC One (M7)] bowenac:
Thanks worked great.
[Sprint HTC One (M7)] Indirect:
Use impactor for root. No promises it will work but you can try.

Sent from my One true love.
[Sprint HTC One (M7)] pbedard:
No way
[Sprint HTC One (M7)] imLIT_:
C:\Users\Cisco>adb shell
adb server is out of date. killing...
* daemon started successfully *
~ # ←[6nadb devices
adb devices
/sbin/sh: adb: not found
~ # ←[6necho "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
warning: seek lseek64 failed
12+0 records in
12+0 records out
12 bytes (12B) copied, 0.006776 seconds, 1.7KB/s
~ # ←[6n^C
C:\Users\Cisco>adb reboot bootloader

C:\Users\Cisco>fastboot oem lock
... INFOLock successfully...
INFOmipi display off
INFOmipi_dsi_cmds_tx_ext
INFOpm8921_vreg_disable function, vreg_id = 38
INFOpm8921_vreg_disable function, vreg_id = 1
INFOTZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)
INFOUse PSHOLD to reset device.
FAILED (status read failed (Too many links))
finished. total time: 1.187s

C:\Users\Cisco>

Is this normal or??
[Sprint HTC One (M7)] Sloth:
The failed part? Yes that is normal.
[Sprint HTC One (M7)] imLIT_:
Okay, thanks. I got scared for a second. Haha.
[Sprint HTC One (M7)] Sloth:
This will still work if you happened to take the 3.05.651.5 or 3.05.651.6 OTA. I don't think Rumrunner will work with 3.05.651.5 or 3.05.651.6. I have not seen any reports saying it did.

Pre-requisite:

Same as this OP(refer to post 1) unlocked bootloader and a custom recovery and

***You MUST have hboot 1.55***

I take no responsibility if you try this with hboot 1.44 and you brick your phone.

You can however flash the Full Unmodified Firmware (follow the instructions in the thread to do so) that will update your hboot to 1.55

Change this:

echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

To this:

echo "3.04.651.2" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

^^^^ copy and paste so there are no typos ^^^^

Note after running the echo command it will say failed in the cmd window...this is normal

Follow the rest of the instructions from post 1

Run the 3.04.651.2 RUU

Profit :D

Thanks [MENTION=5220966]nickmilla15[/MENTION] and [MENTION=5375206]Kdenery[/MENTION] for having the stones to try and confirming it worked :D
[Sprint HTC One (M7)] tdhite:
Have to do the wife's phone since it's looking worse and worse each firmware update -- rooted her a while ago, but she didn't want to go to s-off at that point (rooting was a war in the first place -- probably rightfully so to a non-tech savvy person).

Anyway -- seems to me after RUU to 3.04.651.2 rumrunner should work, no? Why go revone (I'm not certain I read every last post, but there appear to be probs with hot-reboot after revone in some instances)?
[Sprint HTC One (M7)] Sloth:
Yup after the 3.04.651.2 RUU you will have to flash Benny3/OMJ stock rooted rom..I have also had success with 420 Aftermath Rumrunner will work fine.
[Sprint HTC One (M7)] dadaR6:
I just S-OFF my phone running the 1.31 version with revone and the temp root that is coming with firewater. I did not have to downgrade my hboot (from July) at all, just run those. It worked first time.

If there are still some people running this version they might be interested in this as I did not have to use HTCDev to unlock my bootloader at all! :good: