yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] RaptorMD:
I have been trying for about an hour to get S-Off using Revone (most current version) first pass is successful, the second pass results in

revone failed (error code = -1)

I have seen many comments about error code -2 and the only comment I have found on error code -1 is in this thread http://xdaforums.com/showthread.php?t=2316832 where member kmdm said "If revone fails with error code (-1), the output of running this immediately after that: ./revone -P" and I did ./revone -P and then I get revone successful - no need to reboot which is also what I get after the first go round. So is S-Off done, not done, keep retrying, etc?

Fastboot in power in off, I have root, and verified root with Root Checker and Rom Toolbox has SU access as well so that isn't an issue.

Info requested in that original thread:

* revone error code / description / sympton A: error code -1

* Your CID (fastboot getvar cid) A: CID BS_US001

* Your HBOOT version (fastboot getvar version-bootloader) A: HBOOT 1.44.0000

* Your software version (fastboot getvar version-main) A: 1.29.1540.17

* Your kernel version (adb shell uname -r) Not sure how to get this info.

Thoughts comments and suggestions. I know to keep trying but if I am missing something I could use a bit of help.

******EDIT****** I went back and re-read the thread I commented on. IF you get the error code (-1) as I read you should follow the directions and hold down the power button for 15 seconds which will soft reboot the phone and do the second set of commands in terminal emulator and voila I now have S-Off. I also removed the "Tampered" as well.
[One (M7) Original Android Development] angusc:
Change your CID to 11111111

Then you will down grade by flashing RUU. DO NOT RELOCK YOUR BOOTLOADER.

Sent with desire from My One
[One (M7) Original Android Development] tmlrem:
How did you downgrade hboot? When i install ARHD or other 4.1.2 roms my screen doesnt respond when i press inside the login screen.

Any ideas what to do?

Skickat från min HTC One via Tapatalk 2
[One (M7) Original Android Development] GCbard:
I am just about to order the HTC one. I would like to switch the phone to soff in order to update the firmware. Should I switch to soff before or after unlocking the boot loader?
[One (M7) Original Android Development] gee2012:
You can get S-Off and unlock the phone at the same time. Follow instructions in the OP and you`ll see ./revone -s 0 -u eventualy to get S-Off and unlock the phone. Only works on Hboot 1.44.000 though so don`t update to 4.2.2 first.
[One (M7) Original Android Development] Sneakyghost:
Doesn't matter I think but it should say it in post one. It's important to read everything.

Also, when you buy your ONE, check that it still has the old boatloader 1.44.0000 before buying it if you can. The devices before July still have it and you can check date by serial number which is on the box. There's a thread called "serial numbers decoded" where you can learn how to read the date in the serial.

mobile post
[One (M7) Original Android Development] GCbard:
Thanks for the reply. I had the intentions of following the following thread for unlocking the bootloader and rooting....

http://xdaforums.com/showthread.php?t=2273376

Than I was going to proceed to turn s-off and update the firmware

If i understand you right I can skip the instructions in the above thread and just use revone to acheive s-off and unlock the bootloader at the same time?

---------- Post added at 08:40 AM ---------- Previous post was at 08:36 AM ----------

If it is the new bootloader I should not buy it if I want to achive s-off since revone only works with bootloader version 1.44.000?
[One (M7) Original Android Development] gee2012:
Yes, no need for the unlock token on htcdev.com as revone does that for you and HTC will not know you unlocked the phone :p.
[One (M7) Original Android Development] Sneakyghost:
Htc doesn't give much about it anyway as support has no way to look at your phone. The responsibility for granting or denying warranty lies entirely with the service centers and they are not checking HTCdev database. They only determine lock and security status and deny warranty if your issue is related to unlocking and/or S-OFF. They follow strict HTC guidelines but they don't check any database. I know that for sure because I complained about HTC not being able to manipulate the decisions of the service centers and escalated an issue I had last year until I could speak with someone outside the support system. I had many month of fuss with them, all well documented in a long thread over in the OneS forum. It was about the helicoptering issue that phone had.

Unlocking with revone or HTCdev really doesn't make any difference.

Relock however does, as revone provides an easy way to change lock status from relock to lock...

mobile post
[One (M7) Original Android Development] GCbard:
i take it that fastboot can be used instead of abd shell and the same commands can be used with fastboot as with abd shell?
[One (M7) Original Android Development] gee2012:
Question: is it possible to flash a modified Hboot is you are S-On? I guess not but just checking.

---------- Post added at 09:12 AM ---------- Previous post was at 09:08 AM ----------

You can also do the revone procedure on the phone with su on a terminal emulator. Adb shell grants superuser permissions ( # ), revone doesn`t work in fastboot. The device has to be turned on normaly, not in bootloader mode.
[One (M7) Original Android Development] angusc:
I think you need to update your recovery to make touch control work with the new HBOOT.

Sent with desire from My One
[One (M7) Original Android Development] Sneakyghost:
No. All partitions except recovery, system, boot and data are apparently now protected by security. Hboot always was. Last year some other partitions were still unprotected and could be abused but the ONE seems to be further locked down from what I gathered.

mobile post

---------- Post added at 09:25 AM ---------- Previous post was at 09:23 AM ----------

For the new touch drivers a new recovery (TWRP 2.6.0.1) is required but that of course makes only the recovery touch work. For the android system touch to work, the android system needs to be updated to 4.2.2.

mobile post
[One (M7) Original Android Development] GCbard:
Got it. but if one uses su the phone must be rooted, and to root it must first have the bootloader unlocked?

---------- Post added at 09:54 AM ---------- Previous post was at 09:41 AM ----------

some more questions if you are willing...

1. the first line in op says "Download revone (above) and push it to your device: adb push revone /data/local/tmp/"

If you want to access /data/local/tmp/, don't you need root access. and to get root doesn't the bootloader need to be unlocked?

2. Can I use revone with an htc one fresh out of the box without any other prep being done to the phone aside from having the proper drivers?

My excuses for all the questions. I do not have the phone yet. I had a moto atrix 4g first and now I have a google nexus. The moto was a pain to root and unlock bootloader and the genex was a breeze. I am trying to read and prep myself to get down to business when I receive the HTC ONE. I know which rom I want, but I also wanted to have the firmware updated before loading a ROM in order to have the latest and greatest.

Thanks for you help!

update: I just watched the qbking77 videos, it looks like you need to root first, then activate s-off, and then you can unlock bootloader. Although it looks like you can unlock the boot loader before activating s-off.
[One (M7) Original Android Development] tmlrem:
So there isnt anyway of downgrading hboot from 1.54 to 1.44?

Skickat från min HTC One via Tapatalk 2
[One (M7) Original Android Development] Cambridge:
Thanks Revone team!

Worked straight away on the first try without an error. (CID-HTC__102)
[One (M7) Original Android Development] Theshawty:
I think the CID is what prevents you from installing RUU's for other carriers. Basically, if you're on say TMO and want it unbranded, you achieve SuperCID, flash an unbranded RUU and then change the CID to the unbranded region.
[One (M7) Original Android Development] sapplegater:
You can flash roms from other carriers no matter the CID it's the RUU's and Radios that are able to be flash once CID is changed. Say an AT&T user who bought their phone directly from AT&T wanted to remove the AT&T branding they could obtain SuperCID and install the Developer Edition RUU and have a completely stock phone as if they bought it from HTC.
[One (M7) Original Android Development] chakra:
yes I did install adb, its on there
[One (M7) Original Android Development] munchy_cool:
does this work on AT&T HTC One? asking coz I dont see a thread in the ATT HTC One dev but do see one in the Sprint HTC One?
[One (M7) Original Android Development] david279:
Yea
[One (M7) Original Android Development] mojolive:
I 2nd that request.. please a video or a guild to show us not so skilled can enjoy also !:) Please
[One (M7) Original Android Development] dh2311:
you need to do ./adb
[One (M7) Original Android Development] thekalby:
But when you flash a rom with a base from the dev edition, dont you in essence remove all carrier branding? What more can you do with SuperCid?
[One (M7) Original Android Development] nofriendsbz3:
worked first try for Sprint user on ViperONE Rom. Did not work when I was using anything but ViperONE rom.

Thanks!!!!
[One (M7) Original Android Development] sapplegater:
Yeah it does work on AT&T as far my device is concerned. AT&T One with Android Revolution HD 10 4.2.2 Silver 32GB Edition
[One (M7) Original Android Development] gianton:
Thank you, very easily done S-OFF achieved with first try!

I just had to run revone -t for the tampered sign removed.

CID: 02__102

HBOOT: 1.44.0000
[One (M7) Original Android Development] Deltafox79:
But after put htc one on S-Off and chang CID and remove tampared if I relock whit fastboot oem lock I see the diciture Relocked or Locked?

If relocked is possible to change in locked?

Regards
[One (M7) Original Android Development] sapplegater:
Well when you get SuperCid it also gives you the chance of receiving all updates directly from HTC like the developer edition devices. As long as you flash the RUU.
[One (M7) Original Android Development] tjsooley:
Google edition cid here I come when it's released
[One (M7) Original Android Development] thekalby:
I see, so if I have the ATT vertion, and flash the dev ruu, then install a custum rom, I will still get ota dev updates from htc?
[One (M7) Original Android Development] ger0nim0:
Awesome Guys - My Silver 64GB HTC__039 is now S-Off and SuperCID.

Fantastic work.
[One (M7) Original Android Development] Deltafox79:
Double post sorry
[One (M7) Original Android Development] gunnyman:
This. Very much this
[One (M7) Original Android Development] sapplegater:
Well if you want the updates you have to stay off the custom roms. To get the updates you need to be completely stock. The ota's check for certain files and changes and will not install unless the requirements are met.

To get the OTA's

Run the RUU and then get the OTA's.
[One (M7) Original Android Development] gee2012:
Not atm bro, we`ll have to wait for a modfiied exploit to gain S-Off.
[One (M7) Original Android Development] samflorin:
If you are s-off it is possible. If you are S-ON you are stuck with it.
[One (M7) Original Android Development] gee2012:
Not asking for ETA but i wish we would hear anything from the devs regarding Hboot 1.54.000 :)
[One (M7) Original Android Development] Sneakyghost:
Well you can with a jtag device but that's not everyone's kinda business, Tecardo has one but he says opening the ONE without physical damage isn't possible so...

Pretty much a NO then. Sorry.

[EDIT]

Oh there is that "brick downgrade" method for the HTC OneS which uses a binary (emmc_recover) written by [MENTION=4519372]Fuses[/MENTION] originally for a different purpose on the sensation. He is also hanging out with the revolutionary guys here I think.

Not sure that works on the ONE as it was already very limited in functionality on the 2012 devices, think it worked only on two or three of them.

Maybe you try to reach out to them guys on irc, although they have EXTREME rules there and you'd probably end up with a kick ban just for breathing in there.
[One (M7) Original Android Development] daleski75:
Would asking them if they are aware of the issues with hboot 1.54 result in a ban?
[One (M7) Original Android Development] gee2012:
Big chance on that. But i guess they know by now.
[One (M7) Original Android Development] daleski75:
Better not risk it then.
[One (M7) Original Android Development] Black-FR:
You don't need root.

You can use revone to unlock and s-off the One, without beeing rooted before.

It works as long as your hboot is still 1.44.0000.

Gesendet von meinem HTC One mit Tapatalk 4 Beta
[One (M7) Original Android Development] Magpir:
Please people I have stated in the other thread . Do not use the fw which are unmodified. They have the boot.Img and recovery.Img . These will screw up yr bootloader

---------- Post added at 10:34 AM ---------- Previous post was at 10:33 AM ----------

Is there a guide to revert to 1.44?
[One (M7) Original Android Development] donmarkoni:
OMG! People! Do you read anything or just ask questions?!

And WTF is with all these wrong answers?!

He is S-OFF. No need for RUU, just flash HBOOT, I did it few times already.

And if you didn't know he is S-OFF, then you should said that he can't downgrade HBOOT.

No need for RUU, you are S-OFF, just flash HBOOT from HERE. There are original HBOOTs there and a great guide, thanks to Sneakyghost

As I wrote, if you are S-OFF, just flash HBOOT from HERE. There are original HBOOTs there and a great guide, thanks to Sneakyghost

EDIT: I would like to apologize to the OP and Admins/Mods for such a big off-topic post, but I can't just watch people making mistakes.
[One (M7) Original Android Development] saugstauber:
Hey guys,

I made a video for setting S-Off to the One through the method shown here.

I hope it can help some of you ;)

Greets,

saugstauber

[YOUTUBE]85FdsVMdJGM[/YOUTUBE]
[One (M7) Original Android Development] cc999:
Hmm

OK lets see if I have this correctly, I have a Developer Edition that is S-off, flashed this zip to become full GE. Of course hboot went from 1.44 to 1.54 but s-off remains.

Now I want to go back to the stock Sense Developer Edition (to sell for ex) You are saying all I need to do is

put back the 1.44 hboot?

I also have a copy of my hboot 1.44 that I did before converting, is that better to use?

I am a little confused...

CC
[One (M7) Original Android Development] crossmission:
Got s-off on my first proper try, truth is that the OP needs a little more clarification and step by step analysis, it's not the first time that I did something like that but I had to use my own knowledge to get the results and not the way the guide says. Anyhow, thank all the guys for the hard work on this and keep it up.
[One (M7) Original Android Development] GCbard:
All of you on this thread have been very helpful. I do have some more questions if you will permit me.

After the phone is set to s-off with the bootloader unlocked and rooted I wanted to look into updating the firmware. I have heard that the new firmware increases the sensitivity of the hard key buttons for easier longpress.

1. To do that do I need to first update the "hboot" from 1.44.0000 to whatever the latest is before upgrading the firmware to the latest? On a side note I do understand that the hboot version has to be 1.44.0000 for revone to work to activate s-off.

2. Or does hboot have nothing to do with updating firmware?

I see that a lot of custom ROMS are based on different or later firmware for Android version 4.2.2. For example, TrickDroid 8.0.0 is based Android 4.2.2. with firmware version 2.19.401.1. If I flash that custom ROM, does it automatically update the firmware? I have read that if you want the latest firmware updates you need to flash the firmware first before flashing a custom ROM. That would suggest that the firmware version your phone has is not linked to the ROMS formware version. In addition, the process of flashing the new flirmware requires you to re-lock the bootloader again.

So it seems one needs to unlock bootloader, flash recovery, root, activate "s-off," relock bootloader, flash latest firmware (maybe updating hboot beforehand), then re-unlock the bootloader and flash recovery again and then root again.

I am just confused on the order of things and the need for flashing the latest firmware before flashing a custom rom if the custom rom is already based on a set firmware. I am also confused on where the whole updating hboot process falls in place (understanding that the hboot version HAS TO BE 1.44.0000 in order for revone to work in setting the phone to "s-off.")

Any help setting all this in order would be great. I have done a lot of searching on the internet and have found a lot of help with youtube videos from qbking77 and also the following threads...

http://xdaforums.com/showthread.php?t=2314582

http://xdaforums.com/showthread.php?t=2182823

http://xdaforums.com/showthread.php?t=2273376

I just wanted some help pulling all this together in order to understand all that I am doing and why. If this is not the right thread to post this please let me know. I did do a search on this before posing this question, so this is not just a "hey, let me ask this question without researching." I am NOT new to flashing and to the rooting world, but the points I posted do confuse me some.

Thanks!
[One (M7) Original Android Development] donmarkoni:
Yeah, just flash HBOOT and that's it.

I was 1.44 Unlocked S-OFF, went 1.54, still S-OFF (there was no doubt it would be), then returned to 1.44, S-OFF and unlocked stay of course. :)

I guess there is no difference between DEV and SHIP edition, or I would read it somewhere around here. Also, HBOOT 1.54 you are using now is probably just the same as any. You can always binary compare them your 1.44 and from the OP.

BTW, I hope this is not too much off-topic, as we are just confirming when S-OFF stays and when is gone.
[One (M7) Original Android Development] angusc:
Well as there is a DEV Edition RUU then all you need is superCID and lock bootloader then run the RUU.

Sent with desire from My One
[One (M7) Original Android Development] Sneakyghost:
Just so you guys know I'm currently trying to work out a good comprehensive guide on all these firmware questions as there is too much confusion and not enough comprehensive information. I see loads of people running into problems. I'll have that in my hboot thread today or tomorrow. You are invited to discuss any partition flashing stuff there then. I'll help as good as I can. Please take these discussions away from this thread as it's growing way too fast and its hard for S-OFF help then. I'm sure the clutter isn't really appreciated. HTH.

Sneaky

mobile post
[One (M7) Original Android Development] donmarkoni:
I have HBOOT 1.44 and custom ROM based on 2.19.401.1 FW, so... I'll let you draw conclusion by yourself. ;)

Now seriously, don't relock! I don't know what's with this relocking disease. :eek:

Don't get me wrong, this is not meant to you directly, I guess you have been reading and just succumbed to the disease spreading around here. ;)

From what is known here (on One forums), once you are Unlocked and gain S-OFF, there is almost no way of loosing it, if you don't do it yourself. So, don't. :cowboy:

Now that you (and everybody who had the balls) are S-OFF, you can flash HBOOT, radio, recovery, kernel, ROM, even a splashscreen, piece by piece independent of each other, but it's up to you to choose, so choose smart.

Cheers mate! :cool:

BTW, IMHO, all this confusion is from the people who would like to be S-OFF but to stay somewhat stok-ish and receive OTA updates. WTF?! You are either full custom or stock, there is no in-between.

---------- Post added at 01:13 PM ---------- Previous post was at 01:06 PM ----------

OMG! After all that has been said... :(
[One (M7) Original Android Development] GCbard:
got it. Thanks.
[One (M7) Original Android Development] ttocs99:
Im getting realy stressed at this im doing everything right but when i type in -s 0 -u it says it fails do they have to be in capitals and is it a zero or a letter o this guide should be made more clear
[One (M7) Original Android Development] Reiki13:
Hello,

I have a problem with command " ./revone -u" for re-unlock my One hi say :

" Gaining root acces <thanks to Dan's motochopper>...Segmentation fault <core dumped> "

I relock for update firmware to 2.24 and now i can't unlock... iI tryed to unlock with standard method but this method flash old firmware :/

You can help me please ?
[One (M7) Original Android Development] angusc:
Read what he asked mate. He wants stock.....and as you have a whole 106 posts to your name you must be good.

You would also know there is no need to post an entire thread as your quote ;p

Sent with desire from My One
[One (M7) Original Android Development] Sloth:
Copy and paste is your friend :D assuming you are doing it from your PC
[One (M7) Original Android Development] DeSaint2:
/revone doesnt work on the 1.54 hboot. You will need to use htcdev unlock.

---------- Post added at 12:41 PM ---------- Previous post was at 12:39 PM ----------

No they are not capital letters and yes it is a zero. What error are you getting?
[One (M7) Original Android Development] Reiki13:
I tryed it but this method erase 2.24 firmware to 2.17 :/
[One (M7) Original Android Development] ttocs99:
Im geting a error code =1
[One (M7) Original Android Development] donmarkoni:
So...? Was anything I said wrong? Flashing HBOOT 1.44 and then everything else is the right way. Even if he wants it locked (not relocked) and S-ON as a last step.

There is a distinct difference between a thread and a post. ;) FYI, I did it purposely and if you don't like it, just skip it.

Oh, and you are judging me by post count? :laugh: You should know better.
[One (M7) Original Android Development] angusc:
HTC DEV Edition comes unlocked so flashing the RUU poses no threat of losing that right.

Sent with desire from My One
[One (M7) Original Android Development] cc999:
NO

If I did that it would be a disaster!

CC
[One (M7) Original Android Development] angusc:
Good nite.wish you very well. Check out my signature some time on your PC.

Sent with desire from My One
[One (M7) Original Android Development] DeSaint2:
Ok do a manual reboot by holding down power button for ~15 seconds and restart from the beginning. Once you get the -P command done manual restart again. When you get to the -s 0 -u just keep running the command until it goes through. Might take awhile but it's how I did it.
[One (M7) Original Android Development] donmarkoni:
Of course. But it doesn't have anything to do with your judgment of my knowledge, which your post was aimed to.

If I make incorrect statement, please correct me, and I will stand corrected, but please don't try to underestimate me.

I will not argue any more with you, as this is already to much off-topic.
[One (M7) Original Android Development] uzman1243:
See im on stock firmware and hboot 1.44.000. In order to get S-off do I have to be rooted?
[One (M7) Original Android Development] Magpir:
no. u S-off first then root yr phone

I think u need to understand the process better

yr phone comes locked with something called locked bootloader.

This is the barrier to yr phone . U need to unlock this barrier first before u do anything

u have to unlock bootloader - Use revone

Change recovery to custom recovery after unlock - use fastboot to flash TWRP

Root . TWRP will install the root for u at first run
[One (M7) Original Android Development] Ronaldo_9:
Hello,

I am on 4.2.2 but seeing this issue

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

./revone -l

revone v0.2.1

Gaining root access (thanks to Dan's motochopper)...Segmentation fault (core dum

ped)

139|shell@android:/data/local/tmp $

"

I think it is do to with 4.2.2 security pop up to grant access which is not happening on HTC one like it does on Nexus.

Any ideas what I can do to re-lock?

Thanks