yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] Athrun88:
ADB isn't a program, it's a way for your computer to control and communicate with your phone. "Installing" ADB is fairly simple to do, let me know if you have done it this way:

1. Uninstall everything relating to your phone (HTC drivers, Android SDK, etc...)

2. Download the full Android SDK via a Google search

3. Download and install HTC Sync via HTC's support site

4. Plug in your phone and let your computer recognize (an autoplay menu may pop up and HTC Sync might pop up, you can close both of these)

5. Open a command prompt window (ensure you select 'Run as Administrator')

6. Browse to where you installed Android SDK by using the 'cd' command without the quotes(mine is C:\Android\SDK\tools\platform-tools)

7. We are going to the 'platform-tools' folder because that is where the ADB modules are stored

8. Run your ADB/Fastboot commands here. Any files you would like to 'push' to your device should also be here for simplicity.

Shoot me a PM if you have any specific questions, be more than glad to try to help.
[One (M7) Original Android Development] komugi:
adb shell kept throwing me errors. I decided to just root it first and run everything from Terminal emulator. Works perfectly from there. Remember to use 'su' before you run the commands.
[One (M7) Original Android Development] Darclite:
Just followed all instructions to the letter, however at step 6 revone failed giving the error:

255|shell@android:/data/local/tmp $ ./revone -s 0 -u

./revone -s 0 -u

revone v0.2.1

revone failed (error code = -1)

The phone got really sluggish and then the screen refused to come on, so I held the power button and reset it but now both soft keys both flash continuously and the power LED is on constantly orange. Any ideas where to go from here are much appreciated!
[One (M7) Original Android Development] DeSaint2:
Put it under bright light(mainly the sensors at the top left) and then do a restart using the power button
[One (M7) Original Android Development] Darclite:
I swear to God I could kiss you right now. Thought I'd made myself a nice expensive paperweight haha!
[One (M7) Original Android Development] davcow:
ADB Access

For an easy start have a look at the HTC One toolkit here: http://xdaforums.com/showthread.php?t=2183942

It will install the required drivers that you need and it includes the ADB and fastboot files in the toolkit as well.
[One (M7) Original Android Development] BB88:
Does anyone have the MD5 of revone with version stamp?

This is what I have, but I'm not sure if it is right

revone-0.2.1: B78A284C1743C28C47BD821F5338A087
[One (M7) Original Android Development] pinpong:
md5sum: b78a284c1743c28c47bd821f5338a087
[One (M7) Original Android Development] crossmission:
It's got nothing to do with age, it's plain experience, first time I tried that sort of thing 5 years ago I knew nothing about it although I could work my way around a PC, one thing is that this process isn't likely to live you with a bricked phone, but not impossible, it's better to have some knowledge on the subject and some basic how-to when it comes to command line, installing/uninstalling/disabling programs. Age has nothing to do with it, the CTO of Intel is 65+ and he's the guy who literally made parts of the language the CPU "speaks" to the rest of the equipment, I would say the same to a 17yo that messes with a piece of electronics that is worth the bigger part of my salary. So either ask someone in here to either help you through Skype or something or watch A LOT of videos of other people doing it. Teamviewer is a good solution but you have to trust the person who you use it with as he take control of your PC for a limited time. Sorry for the long response but I am trying to save you some grief. Enjoy your phone when it comes and if you don't know what s-off does or don't know if you need it you probably DON'T need it.
[One (M7) Original Android Development] DSR_1106:
I can personally attest to the fact that even 90 days after signing a 2 year contract, I cancelled it and said carrier did not want my Note II nor my S3 back.

They did however have no problem sending me a rather LARGE bill of $700.

plus any outstanding monthly service fees.

At least in the US, you own you're devices period. The carriers will bill the crap out of you for breaking contract, but the phones are without question your'es.
[One (M7) Original Android Development] pigr8:
being S-OFF + root + custom recovery + custom rom

if i restore the device to a stock rom + stock recovery + stock hboot can i remove the S-OFF reverting back to S-ON without strange "relocked" message in the bootloader?

just to know.
[One (M7) Original Android Development] gee2012:
Then you`re not doing it the right way ;)

---------- Post added at 07:27 PM ---------- Previous post was at 07:25 PM ----------

Yes, if you would have looked in the OP you would have found this:

Reverting to S-ON (updated)

* ./revone -l

* fastboot oem writesecureflag 3
[One (M7) Original Android Development] adddams:
I was using Google Play edition 4.2.2, tried all night to get S-Off, i got always revone successful but after reboot to bootloader I noticed it was S-ON. So now I changed rom to TrickDroid, did everything as earlier, max 5 minutes and at first time got S-Off and removed TAMPERED.

So If it doesnt work for someone, change rom and do it again from the beginning
[One (M7) Original Android Development] ferincr:
Can someone tell me where I'm screwing up????

I'm trying to get S-off and also get rid of the tampered message

Thia is what I get...

255|shell@android:/ $ cd /data/local/tmp

cd /data/local/tmp

shell@android:/data/local/tmp $ ./revone -P

./revone -P

revone v0.2.1

Gaining root access (thanks to Dan's motochopper)...Success.

revone successful.

shell@android:/data/local/tmp $ ./revone -s 0 -u

./revone -s 0 -u

revone v0.2.1

revone failed (error code = -1)

255|shell@android:/data/local/tmp $ ./revone -s 0 -u

./revone -s 0 -u

revone v0.2.1

Thanks,
[One (M7) Original Android Development] pigr8:
my question was not about if it could be done but if reverting back to S-ON gives any kind of relocked in the hboot or not :)
[One (M7) Original Android Development] happysteveo:
Thank you both.
[One (M7) Original Android Development] gee2012:
Using ./revone -l will say Locked and not Relocked,(also in the OP) :p and Locked/Relocked is a bootloader thing and not a S-Off issue.
[One (M7) Original Android Development] DeSaint2:
Do a reset by holding the power button for 15-30 seconds. Then, begin from step 1 and when you get to the reboot before the actual unlock and s-off command do the same reset by power button. Then continue on. If you get the error just rerun the command until it goes through. That's what worked for me.
[One (M7) Original Android Development] ferincr:
Great!!!

That did it, I'm S-off now I guess to get rid of the tampered message I have to do the whole thing again but run the -t option???
[One (M7) Original Android Development] gee2012:
Just: adb shell, cd data/local/tmp , chmod 755 revone, ./revone -t in cmd and that`s it.
[One (M7) Original Android Development] pigr8:
oh thanks that is what i was missing :D
[One (M7) Original Android Development] ferincr:
Does this takes few tries too????

I tried few times but I keep getting this:

C:\>adb shell
shell@android:/ $ cd data/local/tmp
cd data/local/tmp
shell@android:/data/local/tmp $ chmod 755 revone
chmod 755 revone
shell@android:/data/local/tmp $ ./revone -t
./revone -t
revone v0.2.1

Gaining root access (thanks to Dan's motochopper)...Success.
revone failed (error code = -2)
254|shell@android:/data/local/tmp $
[One (M7) Original Android Development] gee2012:
Try rebooting in fastboot mode and see what happened. If it is not successfull try again.
[One (M7) Original Android Development] ferincr:
I'll keep trying at least the problem now is just cosmetics...

It seems like I alwas get the revone failed (error code = -2)

One thing I noticed is when I'm running the scripts sometimes I get the $ sign and others I get the #, is that important???
[One (M7) Original Android Development] gee2012:
Try opening a 2nd cmd window after entering chmod 755 revone in the first window and type: adb shell, cd data/local/tmp, ./revone -t. Maybe that works, haven`t used the -t command myself so i`am not 100% sure.
[One (M7) Original Android Development] maxal:
I noticed that too. It worked for me when I had the # sign.
[One (M7) Original Android Development] ferincr:
No luck, I'll let it rest for today since I got a couple of nice scares. At one point I thought I bricked it but it just happened that it did a hard reboot by itself with the flashing buttons I almost crapped my pants.
[One (M7) Original Android Development] ferincr:
Wow!!!!Finally!!!!!

It took so many times I was losing hope.

I tried a different PC and didn't work either so went back to my main one and tried different USB ports, nothing.

I might have done the process like a hundred times with t and also tried with T. Idid it so many times I learnt the scripts by memory!

And when I decided this is the VERY LAST time I try this it just happened, finally I managed to get rid of the tampered message!!!!!

Thanks everybody that helped me through this.
[One (M7) Original Android Development] filflame:
lol I was usin the _wlj.. that's why I've got the error -6

so much easy, no sweat :) thanks!
[One (M7) Original Android Development] happysteveo:
How did you get around the error -6?
[One (M7) Original Android Development] odm3xda:
I just wanna get the ota. I know I should restore to get stock kernel back then flash stock recovery in fastboot then relock using revone -l. Then search for the update right?
[One (M7) Original Android Development] bonee:
Has ANyone have a problem doing to bootloader unlock with HTCDEV. can i do the s-off without haveing the bootloader unlocked first????

I just got a new AT&T HTC ONE from insure. and i unlock the bootloader on my first one but for some reason i cant get this one to unlock.
[One (M7) Original Android Development] DeSaint2:
Ya /revone unlocks bootloader as well. I did it while lock stock abd barrel
[One (M7) Original Android Development] Alex1123:
so which version is the newest one guys the one in first post or the 0.2.1 or is the on in the first post updated? also i used the one in the first post and s off but when i went to remove the tampered thing (-t) it said not found any idea? also how do i remove the red text? sorry for being a noob lol

EDIT: Update got the tampered removed but still anyone know how to get rid of the red text on the splash screen?
[One (M7) Original Android Development] joshyth:
take a look at this thread

http://xdaforums.com/showthread.php?t=2316726
[One (M7) Original Android Development] henrybravo:
ieftm and Revolutionary team,

Just ran this procedure and it worked perfectly to a tee. I am now s-off and no longer have the tampered message in bootloader. Thank you.
[One (M7) Original Android Development] tiho5:
They're the same. A few days ago I downloaded and compared the two files.

But in any case, I think that may be the OP could be a little more clear on this, as I saw this question being asked here a few times already. :)
[One (M7) Original Android Development] BenPope:
Second post "ALL previous versions have been replaced with v0.2.1".
[One (M7) Original Android Development] clubs07:
After many failed attempts both using adb shell and terminal window on a T-Mobile HTC One w unlocked boot loader/rooted I followed the post by [MENTION=2648822]floppy22[/MENTION] at Post 1111and it worked at the first try.

I was getting error - 1 before although I was trying the suggestions of 15-30 second resets between s off commands during reboots.

After achieving s off, removing the tampered command worked at the first try.

I am on 4.2.2 stock ROM.
[One (M7) Original Android Development] Magpir:
Just found out . If u repeatedly having failed attempts. Restart yr pc and try. Did this and it rooted on first attempt after a restart
[One (M7) Original Android Development] SkinnyBiggs:
how exactly do i undo s off im going to return my phone due to it keeps shutting down randomly
[One (M7) Original Android Development] SirSigma:
Just got my S-OFF on this. I was on Android Revolution 11.0 and got success. Did it with cmd and Windows 8.

I didn't bother to remove the tamper flag because I see little reason to beyond cosmetics anyway.
[One (M7) Original Android Development] WilliamG:
So I've spent the last 3 hours trying to get S-OFF to work on my HTC One (AT&T flashed to Google Edition 4.2.2 stock). Everything is fine up to the final command ./revone -s 0 -u

No matter what I do (and I have tried EVERYTHING), I get this problem:

I've tried doing it from the command prompt in Windows 7. I've tried it using Terminal on the HTC.

PLEASE HELP, I'm going out of my mind trying to make this work!
[One (M7) Original Android Development] harvin23:
Try : chmod 777 renove

Then : ./revone -s 0 -u
[One (M7) Original Android Development] WilliamG:
Just tried that. Same error code = -1.

:(
[One (M7) Original Android Development] RamsesVI:
I've achieved S-Off after several attempts.

The strange thing was that the phone did not accept various commands after revone achieved root the first time (su, reboot, ls) and I got a:"cannot map memory" error when i executed the script

After I manually have reset the phone and have redone revone, I received a message that root was achieved and a reboot was not necessary, however still no commands were accepted (no su or reboot)

manually rebooted again and retried

I then found out that exiting adb shell an returning to shell showed my phone at root level.. still no commands were accepted though, so I just completed the procedure in user mode and achieved S-off eventually.

Haven't saved my log so cannot show the events.
[One (M7) Original Android Development] gee2012:
Next time uncheck in settings/energy/fastboot and close (at the bottom). That causes a problem.
[One (M7) Original Android Development] Asad_612:
I keep getting error 2 anyone know how to solve this:

C:\fastboot>adb push revone /data/local/tmp/
2944 KB/s (648208 bytes in 0.215s)

C:\fastboot>adb shell
root@android:/ # cd /data/local/tmp
cd /data/local/tmp
root@android:/data/local/tmp # chmod 755 revone
chmod 755 revone
root@android:/data/local/tmp # ./revone -P
./revone -P
revone v0.2.1

revone failed (error code = 2)
2|root@android:/data/local/tmp #

all my adb drivers are in c:\fastboot folder, along with the revone file...
[One (M7) Original Android Development] harvin23:
check your phone

Make sure debugging mode on. No fastboot. Try to root ur phone first. Then run cmd in administrator mode.
[One (M7) Original Android Development] kpkimmel:
Been a while since i have been in the forums. Once i got my One i had to come take a look. This is very nice work and was simple as pie to get s-off. Thank you for your hard work Rev.
[One (M7) Original Android Development] Sloth:
From the OP
[One (M7) Original Android Development] Asad_612:
solved this issue by restarting the phone manually, then restarting the whole process
[One (M7) Original Android Development] Asad_612:
Anyone have any idea how to remove the red text just before we enter CWM recovery after using this method to get S-OFF?

View attachment 2093989

Is the TAMPERED msg everyone keeps taking bout?
[One (M7) Original Android Development] bgcngm:
That can be removed if you flash a custom HBOOT (more info here).

TAMPERED message is another thing and can appear (if flag is set) when you put your phone into bootloader mode.
[One (M7) Original Android Development] bwilborn:
S-OFF, unlocked, no tamper - Total effort 5 minutes

Just wanted to report a smooth unlocking experience. Didn't do anything but follow the instructions in the first post. Did this using my PC and running T-Mo's latest ROM.

Fricking STELLAR work from the Revolutionary dudes, the only thing that could have made this any simpler was an "EASY" button.

-- B
[One (M7) Original Android Development] WilliamG:
I'm at the point of giving up completely.

I don't think my AT&T HTC One running Google Play Edition ROM is able to be made S-OFF.

I've tried everything. Rebooting in between. Running from multiple PCs.

Now none of my PCs can do anything with the device because it says "Device Not Found" when I'm even trying to move the revone file to the correct folder. No idea why that's happening...

The only way I seem to be able to make anything happen is via Terminal on the HTC One, and I get "error = -1" every time I try and run the final command.

At this point I'd be willing to do anything to make it work, but think my phone is just... borked.
[One (M7) Original Android Development] bgcngm:
Well... it helps if you install Google ADB drivers.
[One (M7) Original Android Development] Karish1989:
Maybe a dumb question ( i have already used the search function)

Atm mine device is locked (so didn't use htcdev tool to unlock)..

I want to s-off is this possible ? or should i first unlock mine bootloader..

Ps. the answer i got using the search function is Yes i can use this tool even when the phone is in factory state (so locked) ... but I want no know for sure if I can use this tool!

Tnx
[One (M7) Original Android Development] russel5:
Hello, today i have update on 2.24.401.1

When i want use revone i allways get this error message

Gaining root access (thanks to Dan's motochopper)...Segmentation fault (core dumped)
[One (M7) Original Android Development] SirSigma:
If you're getting "device not found", that makes me wonder if you're trying to do this in fastboot or in the bootloader.

You're supposed to keep the ROM running while doing the commands. It wasn't immediately obvious to me and I had to search around the thread to make sure. Somebody else suggested using "adb devices" or a command like that to list the devices from the adb shell. It would find my phone only when it was on as normal.

In case you're curious, I used Android Revolution, so you don't need perfect stock to get it working.
[One (M7) Original Android Development] WilliamG:
I finally got it to work. The problem was the Google Play Edition ROM. I used Terminal on the HTC One after flashing the latest Cyanogenmod 10.1 nightly. Then from the device itself (per the instructions on post 1111) I was able to do everything without issue. In all cases I was fully booted.

So, for me at least, Google Play Edition ROM + S-OFF = not guaranteed to work. My buddy did it with little trouble with the GPE mod, so your mileage may vary...
[One (M7) Original Android Development] Delgra:
Same here. I can't unlock the Bootloader:\
[One (M7) Original Android Development] jeroenpico:
Same for me...
[One (M7) Original Android Development] Delgra:
Really bad.. I have to restore data by Titanium backup and I can't because I can't unlock bootloader through revone anymore and so I can't flash CWM to gain root permissions. Hope someone here will find a solution. :\
[One (M7) Original Android Development] russel5:
I find a solution.

Now the revone works ONLY when there is a su privileges, even if the revone is run from a computer!

P.S. I not lock my bootloader and success flash ruu and ota (i have S-OFF)
[One (M7) Original Android Development] Delgra:
So what is the solution? unlock the bootloader throught HTCdev and then reroot?
[One (M7) Original Android Development] mugetsu666:
Actually I did revone Completely stock just last week. It took a few tries and I almost ended up unlocking and adding su, but it finally worked. And even after I achieve s-off and added su, I've still had issues trying to lock the bootloader, but after a few tries success again.

Team-Noctural.com/androidtechy.com/droidnow.com
[One (M7) Original Android Development] russel5:
How i sad i don't lock my bootloader, if you lock then you must unlock throught HTCdev

I find a solution on Error message
[One (M7) Original Android Development] ste1164:
If you want to be S-Off and havent installed the 4.2.2 update you can use Revone as normal. If you have installed the update you will need to unlock your bootloader with HTC Dev then root then S-Off. If you are S-Off and want to unlock your bootloader without HTC Dev, flash the newest 1.28 RUU and use revone as normal.
[One (M7) Original Android Development] uncommonaman:
Tried several times but getting failed to map memory error. Will try again after unlocking/rooting. But for the time being I want to undo what I have done. So can you guys please tell me how to delete revone using adb from data/local/temp?
[One (M7) Original Android Development] mugetsu666:
I had that issue as well. I re-downloaded revone, repushed it, several times, and eventually I got it to map, then after I rebooted, it took me a few tries, but now all is well and I never once unlocked.

Team-Noctural.com/androidtechy.com/droidnow.com
[One (M7) Original Android Development] zounduser:
im trying this on my DNA i keep getting error message 2, then after reboot, and trying to push the last command, i get error code 1. there is no way to root the DNA correct? i did this on my ONE no problems

---------- Post added at 09:29 PM ---------- Previous post was at 09:16 PM ----------

Is root a must to make this work?
[One (M7) Original Android Development] uncommonaman:
but the thing is most people are getting this error on 6th step and I am getting it on 4th step. I think it is necessary to root to get past the 4th step.
[One (M7) Original Android Development] mugetsu666:
I got it on the 4th and then the 6th. After I finally pasted the 4th step, then I got it a few times on the 6th, but it's up to u. I'm stubborn and don't give up. Lol

Team-Noctural.com/androidtechy.com/droidnow.com
[One (M7) Original Android Development] uncommonaman:
Was your phone rooted? And did you reboot each time you got error in the 4th step or pasted ./revone -P without rebooting? :confused:
[One (M7) Original Android Development] prunzzz:
Yes

You can use this tool with locked BL

In fact its the better way to unlock BL as well

Because you dont lose system apps with this way which you do by using htcdev way

So go ahead

Gain sOFF and unlock BL

Hit thanks if i helped you
[One (M7) Original Android Development] uncommonaman:
Managed to get past the step 4th. But now facing -1 error :mad:
[One (M7) Original Android Development] prunzzz:
Exactly what is your current status?

What you want to achieve?

And after doing what ,you are getting this error
[One (M7) Original Android Development] sagarsamtani:
Can anyone tell me what is supercid and why its necessary to make supercid 1111111?

---------- Post added at 06:16 AM ---------- Previous post was at 06:10 AM ----------

Is there any guide to fully lock the bootloader as if it was never locked through this soff method?
[One (M7) Original Android Development] DeSaint2:
It's in the op. I believe the /revone command is ./revone -l (as in lima) and the bootloader will show locked.
[One (M7) Original Android Development] silvain24:
Same mistake here, i revert to French CID after OTA, and S-ON the phone. Now i have the good CID, but the bootloader is unlocked and impossible to S-OFF again, same error cause no root permission.
[One (M7) Original Android Development] Delgra:
Try this;

Do the S-Off again, lock your phone and then S-On if you want the perfect stock.

With Unlocked bootloader you can still flash a custom recovery, then flash SU, use revone to S-Off (if you have SU you can still use revone), flash stock recovery, relock bootloader through revone and then S-ON again.

But if in the future you will want to S-Off again with current tools you need root privileges on 1.54 hboot or a firmware with 1.44 hboot (so you'll need to flash an old RUU in order to achieve S-Off again with the current version of revone and then update keeping unlocked the bootloader). IMHO keep it as it is, lock bootloader only in case of return of the device for warranty
[One (M7) Original Android Development] silvain24:
S-OFF impossible now as i update to 4.2.2. Only you last solution is possible, but i prefer waiting a revone update to allow root access on 4.2.2.
[One (M7) Original Android Development] uncommonaman:
I want to instruct revone to grant S-off. But I get revone failed <-1 error>