yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] Philstadt:
okay, everything worked fine for me :D

thanks to everyone who has helped me...

okay, I also have now Super cid.

when i use now an rue, will i be relocked?

or just unlucked without root?
[One (M7) Original Android Development] gianton:
You don't need to lock/relock the bootloader to flash an RUU, but you won't get OTA updates.
[One (M7) Original Android Development] sand1303:
Hmm, never had luck with the pc. Trying with terminal exactly how instructed. I can see the file in the directory with root explorer but everytime I try to chmod it tells me it can't find revone. I verified I was in the correct directory with terminal and ran su command

I am rooted with viper Rom on sprint version
[One (M7) Original Android Development] Feeling_Free:
have tried many times and still no luck, it keeps said error code = -1 when i executed command ./revone -s 0 -u
[One (M7) Original Android Development] gianton:
After su command, have you changed the file system from Mount R/W to Mount R/O with Root Explorer?
[One (M7) Original Android Development] FL0OD:
Here's what I did. Now let me preface this as I take no responsibility for what you do or happens to your phone, yada yada, I'm just sharing what I did and what worked for me.

I did this on the device not on a PC and was rooted previously.

Download the revone.bin from the OP.

Move the file via what ever root explorer/astro/whatever.

Move it to data/local/tmp

Long press on the revone.bin file and check all of the Execute boxes as well as the other that are checked.

I would then reboot just to make sure everything sticks. Normal reboot NOT fast boot.

Once rebooted I opened Terminal Emulator.

First type su to grant terminal emulator superuser permission.

Then type cd /data/local/tmp

Then ./revone.bin -P

It should then ask you to reboot the device. Again, reboot, NOT fast boot

Once it comes back up go to Terminal Emulator and do the su and cd /data steps again.

Then type ./revone.bin -s 0 -u

If everything went good it should tell you to reboot and and you can do a normal reboot, and NOT fastboot, or if you want to check to make sure you have s-off you can boot into your bootloader.

That's just what I did. Results may very. If you have any reactions like fits of rage, a compulsion to throw your device across the room, a need to scream at me, or a desire to buy a S4, please see a physician immediately.

htc⊙NE - sprint
[One (M7) Original Android Development] DevShaft:
1. Reboot device

2. ./revone -P

3. Reboot again

4. ./revone -s 0 -u
[One (M7) Original Android Development] sand1303:
Had to remove the .bin in root explorer. After that everything went fine. S-off and no tampered warning. Thanks guys!
[One (M7) Original Android Development] andylow4421:
My noob question. Are there possible to restore from S-OFF to S-ON back? Just worrying affected future official update. Please advise.
[One (M7) Original Android Development] craftycarper1:
Yes, read post #2
[One (M7) Original Android Development] roniez:
Just S-OFF'd my device in 5mins works smoothly!

now for custom hbooy splashes! :D i need my Why so Serious splash back. :D
[One (M7) Original Android Development] subarudroid:
Recommended not to -s due to bricking. If you s-off and super cid you don't need to worry about official updates because you can RUU the update. Of course you never get OTA's but that's the price we pay.

Sent from my ONE CM10.1
[One (M7) Original Android Development] wideopen4ever:
Victoryyyyy !!!!

Now it works for me, with my full stock-branded-locked-S-ON(-virgin) HTC One M7 !!!!!

Well, after preparation command (./revone-0.2.1 -P), even if it says "Success.... No need to reboot", I made reboot

with long press on power-off button (around 15 seconds)

,

then I opened a fresh cmd, repeating step 2 in adb shell ("cd /data/local/tmp" and "chmod 755 revone-0.2.1")

then I type "./revone-0.2.1 -s 0 -u", but I had error "[-] Failed to map memory"...

I repeated command "./revone-0.2.1 -s 0 -u" again for 3 or 4 times, till I get :

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

revone successful."

Then I made another reboot

with long press on Power button for 15 seconds

... let the phone reboot, with vol- to go to Bootloader and...

.. Surprise !!! I'm now S-OFF and Unlocked !!!
[One (M7) Original Android Development] Syn Ack:
I'm sure this has been asked a few times already but there's almost 200 pages in 2 days.

Does unlocking and locking the bootloader with Revone wipe data and SD card like the normal method?

Sent from my HTC One
[One (M7) Original Android Development] S2kT68m:
Short answer: No! :) it don't wipe anything.

Sent from my HTC One using OrDroid
[One (M7) Original Android Development] craftycarper1:
No it doesn't
[One (M7) Original Android Development] Barsky:
I have now super CID'd my phone. Can I now S-Off to make it harder to brick the phone and if so is that now a safe process using revone-0.2.1?

Thanks

http://revolutionary.io/revone-0.2.1
[One (M7) Original Android Development] marcviado:
do i need to be on a certain firmware for this to work? im currently on trickdroid running 4.2.2.do i need to go back to the latest stock at&t firmware?
[One (M7) Original Android Development] Theshawty:
S-OFF makes it much easier to really brick your device. Better stay S-ON.
[One (M7) Original Android Development] Pony Express:
s-off actually makes it easier to brick the phone as it allows flashing different hboots whereas s-on the hboot flash attempt will fail.
[One (M7) Original Android Development] Theshawty:
Btw, can I return to S-ON with "fastboot oem writesecureflag 3" and keep the bootloader unlocked?
[One (M7) Original Android Development] Swifty31703:
I had a few problems at first running everything through terminal emu. I ended up re-downloading the .bin file which fixed everything.

Thank you!

Unlocked and S-Off T-Mobile HTC One running TrickDroid 5.6.
[One (M7) Original Android Development] Feeling_Free:
./revone -P success

> Reboot

./revone -s 0 -u

error failed to map memory

> Reboot

./revone -s 0 -u

error code = -1

>Reboot

tried to ./revone -P and loop again
[One (M7) Original Android Development] mortakos:
I just followed the very same instructions and it worked for me. I've been trying all day and on after the specific sequence with rebooting in that order worked for me!!!
[One (M7) Original Android Development] adamlee011:
working on friends att one now. step 1 adb out of date but then it says daemon started succesfully. what gives? rebooted device and pc. same. oh actualy first time it said something after daemonetc.. don't recall what (ok something or other?) second time error device not found. ok after reboot debugging wasn't enabled. that's why the device not found but could someone help with the rest
[One (M7) Original Android Development] dh2311:
For anyone not confident with ADB or FASTBOOT I built a simple tool to run the commands for you

SEE HERE
[One (M7) Original Android Development] Theshawty:
But if people can't follow a guide and write ADB commands, they shouldn't even attempt any of this at all. Basic ADB knowledge is/should be a prerequisite.
[One (M7) Original Android Development] adamlee011:
nevermind i got it. now how do i open adb shell? i think i'm good from there. adb is installed and all. just not sure where i'm supposed to be. I'm in the windows folder where everything sits in terminal "g:\desktop\onetmp>"
[One (M7) Original Android Development] dh2311:
Arguably yes, but even just for lazy people, or people who are scared to make a mistake. I do get what you mean though, S-OFF is risky and noobs shouldn't attempt it.
[One (M7) Original Android Development] Theshawty:
But it's exactly that! If people are too lazy or too scared to write a few commands manually, they shouldn't even attempt this in the first place. This is serious stuff, and of far greater importance than sending a simple file to your phone with adb push. This is the stuff that can brick your device beyond self-repair.

If people can't be arsed to write a few commands of if they're too scared, well then they should leave this thread for good.
[One (M7) Original Android Development] hccssn:
If you leave the CID without change, or you change it for an unbranded CID, for example one of HTC_xxx EUROPE CIDs, you will be able to receive OTAs as well with S-OFF and unlocked status.
[One (M7) Original Android Development] dh2311:
It's been removed anyway, they dont want it redistributed. Which is fair enough. I had asked for permission, and not had a response so I thought i'd release it and see if they had an issue
[One (M7) Original Android Development] subarudroid:
Good point. :D :thumbup:

Sent from my ONE CM10.1
[One (M7) Original Android Development] kmdm:
This is confirmed a few times can everyone please attempt this who is stuck with error: -1.

Post #2 updated.

wide: THANKS.
[One (M7) Original Android Development] Swinkid:
S-OFF'd Super CID, installed new RUU and set CID to HTC__001

Thank you so much!!

will be donating pay day!

I never had to reset the tampered flag though, strange?
[One (M7) Original Android Development] adamlee011:
Sorry for the dumb adb ques. I use terminal.sometimes but never had to get into adb shell from pc. Anyway I get failled to map memory earlier than the rest of you it seems. I get adb server out of date but then it gets in. At ./revone -P it fails to.map memory after trying to gain root and spits that error out like 10 times. This is a stock locked phone

Sent from my S-off Viper One
[One (M7) Original Android Development] Swinkid:
Did you CHMOD correctly? I get this error when I have forgotten to CHMOD.
[One (M7) Original Android Development] adamlee011:
I did. I didn't get an error from that

Sent from my S-off Viper One

---------- Post added at 01:18 PM ---------- Previous post was at 01:17 PM ----------

After that command it just have the prompt again

Sent from my S-off Viper One
[One (M7) Original Android Development] Theshawty:
[MENTION=4118840]kmdm[/MENTION] If I S-ON with the method mentioned in post #2, will it relock the bootloader or anything bad?
[One (M7) Original Android Development] adamlee011:
tried to chmod again. operation not permitted.
[One (M7) Original Android Development] kmdm:
./revone -l

is optional - and will re-lock the bootloader.

If you don't want that just don't run that command and skip directly to the fastboot command. :)
[One (M7) Original Android Development] Theshawty:
Thanks!
[One (M7) Original Android Development] gianton:
If you don't lock it it will stay unlocked.
[One (M7) Original Android Development] abzillard:
Is this permanent s-off?
[One (M7) Original Android Development] superchilpil:
I believe this is true radio s-off so yes it's permanent
[One (M7) Original Android Development] Pony Express:
Permanent s-off requires the Pro Version. :silly: j/k

yes, it is.... unless you use the option to s-on again.
[One (M7) Original Android Development] 3c:
Success at last!

After doing the procedure a hundred times, it finally worked, I just stumbled across this post and did the same:

. So much thanks to wideopen4ever and OP and everybody who allowed this to happen! After all I won't have to return this device!
[One (M7) Original Android Development] hccssn:
Some people tried to flash an older RUU with older HBOOT version and it was successfully downgraded and then upgraded, without the change of S-OFF.

So, it seems, that this is a permanent S-OFF, like the HTC internal S-OFF with the java card and clean diag files.
[One (M7) Original Android Development] Swinkid:
type this into shell...

exit

adb reboot

once rebooted

cd /data/local/tmp

chmod 755 revone

./revone -P
[One (M7) Original Android Development] Feeling_Free:
thank you so much wide!! i tried your method and it worked on the first try!!

finally after 3 hours stucked with error code = -1
[One (M7) Original Android Development] Marusaia:
Successful s-off and unlocked with first released. Now locked with s-off for receiving OTA I hope.

Thx for your great work.

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) Original Android Development] NOFSBIGE:
what if I change the CID to an actual CID will I receive ota for that carrier?
[One (M7) Original Android Development] gianton:
If ro.cid has that CID then yes.
[One (M7) Original Android Development] :
That's the same version I had. I used the first version or revone but after hours of trying I finally got S-OFF
[One (M7) Original Android Development] NOFSBIGE:
How do I check that?
[One (M7) Original Android Development] gianton:
adb shell getprop "ro.cid"
[One (M7) Original Android Development] boroboy69r:
Can i have link to thread please
[One (M7) Original Android Development] NOFSBIGE:
awesome thanks! it stats the same as my bootloader so I am good to go... does the bootloader need to be locked or can it be unlocked?
[One (M7) Original Android Development] adamlee011:
About one page after what you just quoted
[One (M7) Original Android Development] gianton:
It doesn't matter, only CID in ro.cid is. Let us know how it went.

---------- Post added at 09:38 PM ---------- Previous post was at 09:36 PM ----------

Here mate http://xdaforums.com/showthread.php?t=2316726
[One (M7) Original Android Development] Swinkid:
is it safe to remove revone once I've relocked and S-ON'd ?
[One (M7) Original Android Development] NOFSBIGE:
Awesome thank you! I used the Brightstar RUU and it made it all stock for me!
[One (M7) Original Android Development] gianton:
Did you get any OTA?
[One (M7) Original Android Development] NOFSBIGE:
No I think I am at the latest so far... 1.29.1540.16 is that correct?
[One (M7) Original Android Development] designgears:
Here are a few tips... (For AT&T branded)

The most successful combination, flash the RUU I leaked, flash recovery, root your device (don't rely on the revone built in root), turn off fast boot under power settings, completely power down, power back up and proceed with instructions in the OP.
[One (M7) Original Android Development] NOFSBIGE:
I was able to follow the original with out rooting but I did have to make sure my bootloader was unlocked... now I am running the developer edition RUU for the US
[One (M7) Original Android Development] designgears:
My first was very smooth too, I had one that I did that was a huge pain.
[One (M7) Original Android Development] NOFSBIGE:
haha I didnt mention it took me about 4 hours to figure out while doing it with a mac
[One (M7) Original Android Development] wildanw2:
Error code = -2

I get the same situation. Everythings are stock (ROM, kernel, etc). Any suggestions?
[One (M7) Original Android Development] :
Changed my CID to HTC__001 and just got the OTA update 1.29.401.12 I did have superCID before thanks!
[One (M7) Original Android Development] gianton:
Great! :good: Was your bootloader unlocked and you had S-OFF?
[One (M7) Original Android Development] NOFSBIGE:
Surprisingly enough mine never said tampered...
[One (M7) Original Android Development] :
Bootloader locked and S-OFF but it failed. it said something about modified system version. But I have stock 1.28.401.7. Everything is stock:

Locked bootloader

Stock recovery

Not rooted

Just did the S-ON (fastboot oem writesecureflag 3) and trying update again.

---------- Post added at 05:29 AM ---------- Previous post was at 05:19 AM ----------

Okay after having S-ON I tried the update again and I still get this:
[One (M7) Original Android Development] METHOD1911:
It's been said about 100 times in this thread. If you get any errors(-6 or -2), any successfuls but it didn't take, how do I remove the tampered error, how do I change the red letters on the splash screen, etc. Reboot keep trying, reboot keep trying, reboot keep trying. Speaking from experience, just keep trying it eventually you will get it. The red letter's on the splash screen you will need a modified hboot (correct me if I'm wrong).

One method1911
[One (M7) Original Android Development] COCODRILO45:
thanks dude can get no better then dis guide :good !!!!
[One (M7) Original Android Development] hawknest:
S-off and removed HTC red writing = happy hawk

Sent From My EclipticONE
[One (M7) Original Android Development] babakmaham:
i have a problem.

every time i restart my phone a message is appearing that say "android is upgrading"

what is this message?
[One (M7) Original Android Development] daddioj:
i get this as well everything stock. what gives?
[One (M7) Original Android Development] Adrianiii:
Ok i cant put the revone in my device, can u please help me only how to start?
[One (M7) Original Android Development] vomer:
we can now flash radios/basebands I believe .. in general it's good to be free!!
[One (M7) Original Android Development] kcolatay:
is revone moved to the folder where adb.exe is located?
[One (M7) Original Android Development] Ajthescot:
its cooler than it saying s-on
[One (M7) Original Android Development] gianton:
That I would like to know too. A backwards procedure exists?
[One (M7) Original Android Development] superchilpil:
We could do this before s-off, we gain alot of other things like being able to set the lock flag and change the splash screens now

Not to meantion removing the red text when the device boots up
[One (M7) Original Android Development] ClydeB1:
http://xdaforums.com/showpost.php?p=42325854&postcount=151
[One (M7) Original Android Development] Adrianiii:
yes it is.
[One (M7) Original Android Development] xxquicksh0txx:
Sweet, worked first try for me. Had to go back and use ./revone -t to remove the tampered mark though. :good:
[One (M7) Original Android Development] Unoath:
Worked PERFECT first try! AT&T w/ CID CWS__001 :D

Thanks to the team who made this happen! AMAZING work!
[One (M7) Original Android Development] iElvis:
I just downloaded revone to my phone and went from there. Pushing is not necessary as long as it's in the right folder.
[One (M7) Original Android Development] kmdm:
No, you really don't.

*UNLOCK IS NOT REQUIRED.*
[One (M7) Original Android Development] 1BadHEMI:
How is the red text removed when the device boots up? Mine is S-OFF and the TAMPERED flag has been reset, yet I still have the red text on boot up?
[One (M7) Original Android Development] MstDK:
WOW

After runnning into bootloops after step 4a, i went to recovery which started the TWRP splash screen and suddently crashed/rebooted...

Then as if god heard my prayers, it booted right into ARHD :victory:

Was scared that i had bricked my phone, but wouldnt end it at that, so i redone the whole process and it worked the second time without any troubles :good:

Had to remove the "tampered" flag twice after thou but who cares :D
[One (M7) Original Android Development] bigup7:
Can you revert back to s-on Incase you need to send phone back for warranty work?
[One (M7) Original Android Development] ClydeB1:
Awesome work guys, what HTC doesn't know about my device the better :D
[One (M7) Original Android Development] iElvis:
Has to be removed with a different hack. S-off alone doesn't do it. Patience.
[One (M7) Original Android Development] horsetastic:
Awesome. Might have to write a hta for this.....win!
[One (M7) Original Android Development] superchilpil:
Someone has to hex edit a hboot to remove it, it will come out soon enough
[One (M7) Original Android Development] jureca:
as is done SuperCID???????
[One (M7) Original Android Development] WastedJoker:
I s-off'd and now any custom rom I installed doesn't install superuser?
[One (M7) Original Android Development] :
Whatever it is HTC has done a good job of making things difficult.
[One (M7) Original Android Development] sp5it:
Done s-off and bootloader unlock wth revone.

Nothing else.

Now I want to s-on.

Will red text disappear after it?

Mike
[One (M7) Original Android Development] kennynguyen20:
i got stuck at "waiting for device" when changing the CID

fastboot oem writecid 11111111

What do i do?

Edit: NVM i got it :)
[One (M7) Original Android Development] Theshawty:
I RUU'd back to stock, set S-ON with revone and I managed to install an update from 1.28.401.7 to 1.29.401.12 and I didn't get anything telling me I've modified anything. Unrooted as well.
[One (M7) Original Android Development] sp5it:
Stock, locked bootloader?
[One (M7) Original Android Development] :
Are you in fastboot when doing it?
[One (M7) Original Android Development] kennynguyen20:
i wasnt, just realized it and its all good now, cheers :)
[One (M7) Original Android Development] g3rm3n:
First Locked bootloader ./revone -l

Second S-ON fastboot oem writesecureflag 3

And finally ...i must install ruu with your cid
[One (M7) Original Android Development] :
Did you have your original CID or SuperCID?
[One (M7) Original Android Development] babakmaham:
help me please

I done s_off and removed tempered by revone.

But bootloader is still unlocked. can I lock bootloader by fastboot oem lock?

Or thas is possible only with revone adb commends?

I am on ARHD rom.how can I do flash a Ruu rom?

My cid is htc__203.

Thanks a lot.
[One (M7) Original Android Development] g3rm3n:
Why do you want locked bootloder ?
[One (M7) Original Android Development] pbedard:
Can this be done via the phone in termeinal ?? Or does it need a ASB shell
[One (M7) Original Android Development] DigitaL BlisS:
You need to use -l command to lock it again.

./revone -s 0 -l
[One (M7) Original Android Development] TheMathMan:
Would definitely like a dev to clear up if you definitely need to hex edit blk19 or not
[One (M7) Original Android Development] g3rm3n:
Locked bootloader with code ./revone -l
[One (M7) Original Android Development] gusto5:
revone-0.2.1 working on Rogers HTC One, completely stock, no HTCDev unlock.
[One (M7) Original Android Development] jawonder:
For those trying it on Mac remember for adb it's ./adb and for fastboot it's ./fastboot . Just drop the revone folder in the folder where you have adb and fastboot and run the commands from there. To find out the path where you are working from just right click on one of the files in the folder you drop revone and you'll get a menu, click on "Get Info" from that menu then you'll get a popup, from that popup copy "where" that's the path of the folder you are working from. Type in "cd" without the quotes then space then paste what you copy from "Where" and you should be working from the folder where your SDK is . Just remember adb is ./adb and fastboot is ./fastboot . now you should be good to go on a Mac . Works for me all the time with my android devices .
[One (M7) Original Android Development] babakmaham:
for flashing a RUU and downgrade radio!

why i cant use HTCDev unlock/lock method after s_off?!
[One (M7) Original Android Development] g3rm3n:
ok, Locked bootloader with code ./revone -l
[One (M7) Original Android Development] bobsie41:
Yes, but isn't your device originally x.xx.401.x ? If this is the case you would do.
[One (M7) Original Android Development] Theshawty:
Yup.

My original one. I had superCID first but went back to my original one.

Yeah, it is.
[One (M7) Original Android Development] adamlee011:
Update. Gave up on my friend's att One. Dev unlocked, installed twrp, trick droid, then soff in terminal. No prob.thanks

Sent from my S-off Viper One
[One (M7) Original Android Development] drakeymcmb:
Worked fine 1st try on att HTC one
[One (M7) Original Android Development] hotaru2k3:
i'd recommend doing the ruu before s-on, to be absolutely sure you have the stock hboot. hboot not signed by htc + s-on is one of the easiest ways to hard brick.
[One (M7) Original Android Development] Theshawty:
What? If anything, that's what the S-ON flag is for!
[One (M7) Original Android Development] alonso_91:
Tried this a good few times and it finally worked.. now I'm s-off and unlocked