yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] kmdm:
Either keep retrying or if still unsuccessful please provide your rom and kernel versions...
[One (M7) Original Android Development] Theshawty:
No one knows, I think. It just is that way.
[One (M7) Original Android Development] tacotoy:
worked perfect on t-mo one

now i have to remember how to supercid, last time i did it was on a samsung device.....
[One (M7) Original Android Development] :
You can receive OTA updates if you have the right CID but installing it will be another matter. Because I discovered the OTA updates and RUU looks at what the model ID of your phone. For example my HTC One's model ID is PN0711000 (bought in Australia and is same model ID as the Asian HTC One). I changed my CID to HTC__001 and when I run the 1.28.401.7 RUU I get ERROR 130 (MODEL ID ERROR). So I thought I will use SuperCID and run the 1.28.401.7 RUU and it install fine. I then change my SuperCID to HTC__001 and I get OTA update (1.29.401.12) notification. After trying to install the updates I then get this window:

So I switched back to SuperCID and I ran the 1.29.707.3 RUU and then changed my CID to HTC__044. I get the OTA update norification (1.29.707.16), the OTA update installs and then I get this window:

So people have to pay attention to what model ID number they have. Otherwise any attempt to run a RUU with a specific CID and wrong model ID number will result in ERROR 130 (MODEL ID ERROR). And any attempts to install OTA updates with wrong model ID number will always get the "Variant system version" window.
[One (M7) Original Android Development] TheMathMan:
Ah, so you narrowed it down to being the MID then?
[One (M7) Original Android Development] cschmitt:
FYI, you can install any OTA onto any stock firmware without regard to the device MID, CID, stock recovery, etc.

Just a couple of edits to the updater-script and then flash it in TWRP or CWM.
[One (M7) Original Android Development] slegrand:
Everything worked flawlessly even the removal because I had to remove it today in order to do a warranty exchange mine has the gap issue. :(
[One (M7) Original Android Development] Gerton:
Mine has a blown up top speaker so i have to send it in for warranty,

I can set back my nand from Before the flashing so i have stock recovery and rom,

After that, is the only thing i have to do revone -l and write security 3?? Will it then be relocked and s-on again?

Thanx for the response
[One (M7) Original Android Development] Skizzy034:
I don't understand. Back and forth where?

---------- Post added at 03:22 PM ---------- Previous post was at 03:18 PM ----------

Is this gonna give us problems if we want the OTA updates from Google?

---------- Post added at 03:24 PM ---------- Previous post was at 03:22 PM ----------

I thought all that was needed to run the different RUUs and get OTAs was supercid? That's how it was on other devices with supercid. You have to change the cid back in order to get OTAs? That doesn't make sense. Supercid is supposed to let you do anything I thought.
[One (M7) Original Android Development] atrako1973:
Fastboot working here , prior to soff unchecked it. After soff checked it and it works
[One (M7) Original Android Development] :
Updates from google? From play store you mean?

SuperCID only allows you to use any RUU but in order to get OTA you will need to change your SuperCID to a normal CID that matches the RUU. BUT if you have different model ID (like what I was doing) then the OTA will fail to install. The OTA update looks in to your MID and if that's not the same then it will fail to install.

---------- Post added at 05:51 AM ---------- Previous post was at 05:47 AM ----------

Yes you could but that defeats the purpose of just being fully stock and not having to install TWRP or any custom recovery. The idea is to get OTA updates and get it to install by itself not editing the update script and flash with custom recovery.
[One (M7) Original Android Development] cschmitt:
Some like it stock, some like it not. To each his own.
[One (M7) Original Android Development] gianton:
fastboot oem writecid 11111111
[One (M7) Original Android Development] :
That's right. And for now I like it stock. I don't want any custom recovery. I like my OTA update to install automatically.
[One (M7) Original Android Development] stevedebi:
I don't think it is fastboot, it is the "reboot" feature. I don't have S-Off, but I'm following the discussion.
[One (M7) Original Android Development] phewBAR:
6. Instruct revone to grant you S-OFF and unlock status by running the command: ./revone -s 0 -u

Mine "crashes" here. First attempt I get failed error code = -1

Then I try again and It just hangs after I type the command and phone powers off.

Done this 3-4 times in a row now and the phone feels kind of sluggish. Just swiping screens seem choppy.

Running ARHD10.0
[One (M7) Original Android Development] iuly_vn:
Excuse me, but I need to understand these situations. I have 3 important questions. I'd like to clarify it to myself

Case 1. There are Stock shiped rom, H-boot and recovery on the pfone, with "revone" Unlock and S-OFF bootloader. It is clear, that if I lock it -S-ON and Lock with the commands from post 2, without re-flash stock rom, or stock img or H-Boot again, no problem. Is it Right?

Case 2. There are stock shiped rom and recovery, with "revone" unlock bootloader - Unlock and S-OFF status, but I've root the rom with program "SU" and uninstalled some not important, but system applications. Then I want to unroot the rom again and lock the bootloader- "S-ON" and "Locked" status, with the "revone" post 2 komands.

Should I re-flash any stock RUU + img + H-bboot and which of the three, or I can to lock and S-ON bootloader directly /with revone post 2/, without dangerous to brick the pfone?

Case 3. There is Unlocked and S-OFF bootloader, with revone S-OFF/Unlock metod and instaled custom rom and rekovery, but I want to lock bootloader again Locked/S-ON, with revone metod post 2. What should I do before, to avoid hard brick?

Thanks in advance!
[One (M7) Original Android Development] whitetiger_0603:
I keep getting "revone cannot execute permission denied" after i put in the codes after root@android

I copied the file into the data/local/tmp folder rather than push it through with adb. Any advice?
[One (M7) Original Android Development] eyeisdasteve:
Anyone have an idea?
[One (M7) Original Android Development] Tabtoub:
Guys, please tell me what you recommend, I'm about S-OFFing my stock Unrooted htc one

1) Should I root normally via requesting the tocken id from htcdev, and then S-OFF with revone method (assuming they will have a record of a bootloader unlocking and may cause problems when I need a warranty repair)

2 Or can I directly S-OFF with revone? will this S-off method root my htc one? without having to use htcdev? so they will not have any record of my phone bootloader unlocked

Please I'm waiting for your replys, I want to S-off and root before going to bed lol
[One (M7) Original Android Development] xile6:
what is the guide for putting s-on if you have to send in the phone?
[One (M7) Original Android Development] adamlee011:
I just did this in literally 40 sec. Looks sick locked and s-on but it's s-off http://xdaforums.com/showthread.php?t=2314921

Sent from my S-off Viper One
[One (M7) Original Android Development] Tabtoub:
Yes I know you can put S-ON, but just wanted to say they already know you unlocked your bootloader with htcdev, so even if you give them an S-ON device with Locked bootloader, they still have a record of your tocken id request and can refuse the repair under warranty..

It's not a fact, I'm not even sure of what I'm saying, just want to have your opinions, nothing more.. Sorry if it sounds a bit silly
[One (M7) Original Android Development] adamlee011:
Because you got the token, they know you unlocked it? Couldn't you just change your mind?

Sent from my S-off Viper One
[One (M7) Original Android Development] xile6:
Thank you for the information and you make sense.

ans i found it i wasnt reading or laptop just keep skipping over second post. I think my touch pad is acting crazy.

but

adb reboot bootloader

fastboot oem writesecureflag 3

then reboot boot loader via phone and it should be s-on with unlock, relock or lock at the top.
[One (M7) Original Android Development] 4D3:
just tried this, when i runthe -s 0 i get

10|root@android:/data/local/tmp # ./revone -s 0
./revone -s 0
revone v0.2.1

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

didnt do anything
[One (M7) Original Android Development] slegrand:
I just did the whole ./revone -l and then the fastboot oem setsecurityflag from the second post and everything seemed to work perfectly.
[One (M7) Original Android Development] Skizzy034:
No I mean once the Google Edition comes out.
[One (M7) Original Android Development] stevedebi:
Unless you went S-Off without unlocking the bootloader...
[One (M7) Original Android Development] 4D3:
does this only work with certain CID? or a specific HBOOT?

is there any other reason this could be continuously failing for me?
[One (M7) Original Android Development] :
Assumption that HTCDev knows you unlocked your bootloader is FALSE. Like other members have stated that you could've easily selected "NO" when you get to the bootloader unlock screen.

All HTCDev has is the record of you getting a token. They won't know whether or not you went ahead with unlocking your bootloader..
[One (M7) Original Android Development] il Duce:
Read post 2
[One (M7) Original Android Development] P05TMAN:
AND.......don't you get the token by only giving your email? I'm not sure because I haven't unlocked yet, but if that's the case, how can they link your HTC device with an email?
[One (M7) Original Android Development] adamlee011:
Actually you get the token from the device and it's device specific. Then u submit it and they send an unlock key to your email. But you absolutely don't have to run it and they wouldn't know whether or not you did

Sent from my S-off Viper One

---------- Post added at 07:14 PM ---------- Previous post was at 07:13 PM ----------

If they knew so well why go to the trouble of the unlocked tampered relocked nonsense?

Sent from my S-off Viper One

---------- Post added at 07:15 PM ---------- Previous post was at 07:14 PM ----------

And red txt
[One (M7) Original Android Development] whitetiger_0603:
Never mind I just tried this:

1) adb push revone /data/local/tmp

2) adb shell

3) cd /data/local/tmp

4) chmod 755 revone

5) ./revone -P

6) reboot

7) ./revone -s 0 -u -t

8) exit

9) adb reboot bootloader

Now I'm s-off! First try with this. I did manually move the file to the /data/local/tmp folder myself using Root Browser so you can skip step one if you do that. And you may have to manually reboot and open a new command prompt after the first reboot. But it worked!! Even with my device drivers not installing correctly for some stupid reason. Each line is what you type.

So: At&t Unlocked, rooted stock with 4.1.2, S-off and tampered removed. I may do SuperCID and remove the red warning on the bottom of the boot screen

And I'm SuperCID. The dev warning at the bottom only shows after exiting bootloader so it's whatever on that.
[One (M7) Original Android Development] doraemon6688:
Are you running a custom KERNEL? If so, reflash your ROM but use only the stock KERNEL. If you are getting an Error Code = 2 constantly, it means that you need to be running on stock kernel. Try again and report.

By the way, you don't have to reflash the whole ROM, just pull the boot.img from your ROM zip and use fastboot to flash the stock KERNEL. Use the following command to flash the boot.img stock KERNEL (assuming fastboot.exe and boot.img is in the same folder):

fastboot flash boot boot.img
[One (M7) Original Android Development] Sharky52:
S-off

Yes !!!!!!! :laugh:

S-off

Stock 1.29.401.12

CID-HTC__E11

HBOOT 1.44.0000
[One (M7) Original Android Development] 4D3:
on thnks, this time i get:

D:\ADB>adb push revone /data/local/tmp/
2285 KB/s (648208 bytes in 0.277s)

D:\ADB>cd /data/local/tmp
The system cannot find the path specified.

D:\ADB>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 = -6)
250|root@android:/data/local/tmp #

reports fail error code -6
[One (M7) Original Android Development] slegrand:
Funny, I had to swap out my HTC One today due to the gap issue. My new HTC everything works fine and revone-0.2.1 reports success but in the bootloader its still S-ON and ***Locked*** on the bootloader. Will keep trying but unfortunately it does not give me an error.

Update:

I really do not know how I fixed this, the only thing I did different and it worked is instead of rebooting by holding own the power key for 15 seconds I used "adb reboot" after ./revone -P and it seemed to work.
[One (M7) Original Android Development] sbihue:
T-Mobile HTC One, Unlocked and S-OFF. Took less than 10 minutes. Thanks
[One (M7) Original Android Development] il Duce:
Idk try it from terminal?
[One (M7) Original Android Development] eyeisdasteve:
No responses. So, out of luck?
[One (M7) Original Android Development] P05TMAN:
Can you do this if you're not unlocked? If so, does that mean I can then unlock without risk of loosing apps and data?
[One (M7) Original Android Development] adamlee011:
Yes you can. It should unlock for you I think but not with the red text on your splash. I actually was already dev unlocked so i'm not sure on that but the -u in the line ./revone -s 0 -u I believe is to unlock. No you will not lose anything.

Sent from outside your bedroom window.
[One (M7) Original Android Development] P05TMAN:
Thanks a million!
[One (M7) Original Android Development] il Duce:
Did you super cid? What ruu are you flashing and what variant do you have?
[One (M7) Original Android Development] gusto5:
Between all the different states, such as locked versus unlocked.
[One (M7) Original Android Development] P05TMAN:
So I'm not unlocked, using revone-0.2.1 (renamed it to revone for ease on terminal) and getting this every time I run revone -P:

p05tman@p05tman:~$ adb shell
shell@android:/ $ cd /data/local/tmp
shell@android:/data/local/tmp $ ./revone -P
revone v0.2.1

Gaining root access (thanks to Dan's motochopper)...[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.

Then, if I try to run the ./revone -P again, I get error code -2. Any help/thoughts?
[One (M7) Original Android Development] wewewawa06:
btw, the ver of the hboot in 802w is 2.23.0000:crying::crying::crying:
[One (M7) Original Android Development] jebise101:
This was super easy, thank to all devs involved. S-Off'd using ARHD 10.1 and no issues.
[One (M7) Original Android Development] P05TMAN:
Ooooooooooooooook.....I kept trying. Now I'm unlocked with s-off! No HTC dev account for token required (AT&T)
[One (M7) Original Android Development] hth2813:
i get error -6, revone 0.2.1, ARHD 10.2
[One (M7) Original Android Development] the7thson:
Brand new HTC One user here. After hearing about the Google edition and now S-OFF being available, I bought an HTC One yesterday from T-Mobile USA.

I just tried this and it while it took a few attempts (I experienced error code 2 etc but retried a few times), but now I am S-OFF! I never used the hTC dev unlock process because I wanted to be able to return to bone stock if needed without any record of unlocking.

My advice to other noobs like myself: be patient, read carefully, follow instructions. Boom, done!

Thank you guys!!!
[One (M7) Original Android Development] chakra:
how?
[One (M7) Original Android Development] gianton:
Thanks for the guide. Is this all done in fastboot mode or while in android OS?
[One (M7) Original Android Development] Mikee4fun:
For those who have errors, I found not having a stock kernel will cause -2 errors. Flash to a stock kernel and it should work just fine.
[One (M7) Original Android Development] anko184:
Worked fine here too.. Thanks guys, i'm s-off now!!
[One (M7) Original Android Development] Lafenear:
Are you doing it in fastboot?

You need to do it while Android is booted up.

Try : adb devices and see if it recognises your phone.
[One (M7) Original Android Development] Theshawty:
Here's a little something guys: Paypal confirmation number: 8R135835X1792113F

Btw, what is SuperCID and are there any benefits of having that?
[One (M7) Original Android Development] sapplegater:
Worked perfectly the first time here.

AT&T HTC One Running Android Revolution HD 10 Android 4.2.2

BTW Does anyone know how to get rid of the red text when booting up that says this build is for developmental purposes only.
[One (M7) Original Android Development] Arky21:
Hi,

when I typing ./revone -P I get a "Revone failed (error code = 2." Any ideas?
[One (M7) Original Android Development] sophos9:
Worked fone on my CID H3G__001 running Android Revolution

Tried it every different way on my other HTC One, rooted running stock H3G UK 1.28.771.6. Cannot make it work, everything says successful yet always S-ON???
[One (M7) Original Android Development] iElvis:
I just put the adb files in my user directory and open Terminal.
[One (M7) Original Android Development] ClydeB1:
In normal phone mode not fastboot
[One (M7) Original Android Development] iElvis:
Allows you to run any RUU.
[One (M7) Original Android Development] Adrianiii:
Yes i tried to do it in Fastboot, but i dosent work.
[One (M7) Original Android Development] chakra:
OK I did that, but when i open terminal what do I type to get it to point to adb?
[One (M7) Original Android Development] poczynek:
So do I need a PC or mac at all and can I run it all via terminal emulator?
[One (M7) Original Android Development] ClydeB1:
You can then flash a stock rom from any area and not be bound by your current CID which restricts you to a specific region
[One (M7) Original Android Development] david279:
adb shell
[One (M7) Original Android Development] thelch:
works for me

big thx

cid was T-MOBI101
[One (M7) Original Android Development] letmeputdatipin:
Can I run this directly from terminal emulator on the phone?
[One (M7) Original Android Development] chakra:
your user directory? on your phone?

OK so I have a folder on my desktop on my mac that says ADB, inside is the adb file and thats all nothing else.

When I place the cursor on the file "adb" and open it with terminal it just gives me a discription of the adb commands, and then when I try to run them it wont even let me type in the comand line?
[One (M7) Original Android Development] theotrman:
Have you "checked" fastboot?

>>> settings/power >> check fastboooot?
[One (M7) Original Android Development] Brodrick:
Thank you so much for this! Just ran it on my AT&T variant without a hitch! :D
[One (M7) Original Android Development] samflorin:
Just to clarify this: currently i am S-OFF with bootloader unlocked and i just want to know if i can be S-ON with bootloader unlocked (meaning just running fastboot oem writesecureflag 3 WITHOUT revone -l). Would that brick the phone? (since i assume revone changes hboot and it is no longer signed).
[One (M7) Original Android Development] kamold:
Worked first time on my OPTUS001 CID phone.

Big big thanks!

Now S-OFF, untampered and loving life :)
[One (M7) Original Android Development] billyho7993:
Question I did the fastboot oem writecid 11111111 and it's changed in the bootloader but when I check it in terminal emulator it's the old cid that I had could I just change the cid in the build prop or will that mess up the phone somehow? Tia
[One (M7) Original Android Development] :
You don't need to worry about the build.prop you'll only get OTA updates with the right CID. anyway.
[One (M7) Original Android Development] billyho7993:
So I do have supercid eventho it's only changed in the bootloader? I'm new to this supercid thing so sorry for the noob questions
[One (M7) Original Android Development] :
SuperCID is only good for running RUUs. Any RUU will install with SuperCID. But you won't get OTA updates with SuperCID.
[One (M7) Original Android Development] billyho7993:
Ok thanks for the help bro :thumbup:
[One (M7) Original Android Development] kmdm:
What ROM/RUU version?
[One (M7) Original Android Development] Theshawty:
Android Revolution HD 10.1 android 4.2.2, I'd wager.
[One (M7) Original Android Development] hth2813:
here is mine
[One (M7) Original Android Development] vizzy:
10.2, you were close though. Well played.
[One (M7) Original Android Development] DigitaL BlisS:
Lol dude I mentioned that a few days ago.

Glad people found out the Asian RUU works though. Will give that a go later today. Though, I like the idea of downloading OTAs and then ripping the updated files out so we don't end up flashing a firmware.zip containing an "S-on bomb" better though (cheers to whom had mentioned that). Not being able to get rid of that red text and tampered message when needing to warranty our phones will be a problem. There might not be an hboot change for the 4.2.2 update, but as already mentioned, this update was pushed before this S-Off exploit.
[One (M7) Original Android Development] Magpir:
With this revone soff Mus we still have cwm to flash stuff ?

I just want to root and use greenify .
[One (M7) Original Android Development] Theshawty:
Yes, you would need a custom recovery to flash flashable zip files. You don't need to flash anything, though except maybe a root zip.
[One (M7) Original Android Development] MaximN97:
here thats for you!!! ENG HBOOT!!!

http://xdaforums.com/showthread.php?t=2155214
[One (M7) Original Android Development] Electronic Punk:
HBOOT updated to 1.54.0000 after S-Off no issues

Great job again guys!
[One (M7) Original Android Development] hccssn:
Which ROM version or OTA?
[One (M7) Original Android Development] Magpir:
sorry but what is this and is this a replacement for cwm?

what if i dont want to use cwm but just some modified or hacked version of the original HTC "revocovery"
[One (M7) Original Android Development] erto90:
Why you gone to 1.54? 1.44 is not enought?

I think 4.2.2 ota will flash also new hboot or im wrong?
[One (M7) Original Android Development] :
THANK YOU THANK YOU!!!!!!!! I will do this now. I can't say thank you enough!!!
[One (M7) Original Android Development] erto90:
Guys,why you are moving to this hboot? Only for extra commands?
[One (M7) Original Android Development] Magpir:
can someone explain if i were touse this ENg Hboot, can i flash roms, kernels and radios ect?

so if i bring back to servicing, this eng hboot will show that my phone is rooted modified?
[One (M7) Original Android Development] MaximN97:
no, that replace your hboot version. that means: you can change your mid to flash e.g. the developer ruu and get ota´s!!!
[One (M7) Original Android Development] :
Darn it I can't flash the bloody thing! I get this error:

C:\Android SDK\sdk\platform-tools>fastboot oem rebootRUU

...

(bootloader) Start Verify: 0

OKAY [ 0.040s]

finished. total time: 0.040s

C:\Android SDK\sdk\platform-tools>fastboot flash zip hboot.zip

sending 'zip' (472 KB)...

OKAY [ 0.250s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

FAILED (remote: 41 model id check fail)

finished. total time: 0.660s
[One (M7) Original Android Development] Magpir:
so is this eng hboot comes with the developer edition of the htc one right?

if yes, it means warranty is still intact right, HTC service centre will think that is is a developer device?
[One (M7) Original Android Development] :
One thing that I can do if I was to successfully have ENG HBOOT is I can change my MID.
[One (M7) Original Android Development] MaximN97:
try it again!!!