yashsingh1/xdaforums huggingface dataset:
[HTC One S] Jewcifer:
YES

I love you man!

Goodbye bootloader restrictions, hello OTA's! <3

Edit: I made a Tutorial Video! If there's anything wrong that you guys want me to remove or anything, let me know. Once again, good work!
[HTC One S] Qs5:
Worked. <33333 oodles of love!
[HTC One S] droidkevlar:
Very simple....thank you guys so much!!!!!!!!
[HTC One S] nieves53:
Wow....thank you guys
[HTC One S] mteezey:
oh yea! thanks a million
[HTC One S] manikcs:
Odp: [S-Off] Facepalm S-Off for HTC Devices One S, One XL, Droid DNA

w00t. Sensation work!

Its possible to edit Scid to any "official" and relock BL after s-off?
[HTC One S] Jewcifer:
Problem resolved
[HTC One S] P.Mobile:
i dont even have this phone and im happy for u guys!! s-off!!! good **it!!!!:good::victory::highfive::p
[HTC One S] Qs5:
I read earlier on http://chat.andirc.net:8080/?channels=facepalm that higher hboots were having issues. What hboot are you on?
[HTC One S] Jewcifer:
1.14, so I guess that would do it. I'll downgrade and try again, thanks.

I just don't understand why I'm not getting the vital CID error anymore. I still have SuperCID...
[HTC One S] Qs5:
Hmm he did it. Weird. http://xdaforums.com/showpost.php?p=38176024&postcount=776
[HTC One S] Jewcifer:
His HBOOT is actually higher than mine. Odd.
[HTC One S] Qs5:
You could always try redownloading the PJ4010000-OneS.zip, might be a bad download?
[HTC One S] Jewcifer:
Come to think of it, when I was downloading the soffbin3 package the download was behaving oddly and kept stalling. Could have been server problems? I'll try redownloading that.
[HTC One S] teerapong.g:
Guy S3 device work or not? Please report.:victory:
[HTC One S] Qs5:
If all else fails try a new cable and or usb port. That seemed to help other people back in the day xD

http://xdaforums.com/showpost.php?p=30845333&postcount=38
[HTC One S] uvt_novice:
Beaups just advised me that some custom roms could have issues, failing S-Off which I had as well. He said better re-clock bootloader, revert to stock rom, unlock bootloader, root, super CID, then s-off
[HTC One S] Jewcifer:
Definitely do NOT attempt this on an S3 yet. I don't want to speak on behalf of the creators, but seeing as there's a difference between the S4 and the XL, there's got to be a difference between the S4 and the S3.

This was my original plan, actually x) I'm on a CM10.1 base. I'm thinking it should work fine with a sense-based ROM though, I'll try that first.
[HTC One S] troby86:
Amazing job guys.

Confirmed S-OFF on HTC One S (S4) T-Mobile US HBOOT 1.14.0004.

Man...S-OFF....and 2.1.0 Viper??? It's like I'm holding a brick of gold in my hand, lol.
[HTC One S] Clom801:
So you did get s-off? With that same model?
[HTC One S] PeQuEsan:
I would say no... Check his last posts...
[HTC One S] beyored:
i kept gettin the same error.....then i flashed viperoneS and it worked first time no errors

hope this helps...
[HTC One S] k1llacanon:
How do u change the security flag?
[HTC One S] mo976:
I am running CM10.1 4.2.2 and it works like a charm for anyone having issues with adb (I saw some comments about adb and CM10.1) make sure you have adb from the latest SDK since Google changed some authentication bits for 4.2.2 far as I understand and that just may be the cause of adb problems.
[HTC One S] sherry478:
Anyone help?
[HTC One S] ernestnwanu:
Ha, thank you Dark. It worked after flashing Viper. Wonder why it's not working on 4.2.2 roms. That might just need to be stated in OP.
[HTC One S] Darknites:
No idea, don't even work on stock 4.0.4 lol OP should say to have Viper2 to do this.
[HTC One S] djsubtronic:
My main hope is that someone figures out how to re-allocate the partitions so I can increase sdcard by 2-3 GB.
[HTC One S] sherry478:
fixed it had to add .zip to the end of it
[HTC One S] djsubtronic:
Worked fine for me on CM10.1 4.2.2....
[HTC One S] Closed Source Project:
Just chiming in to say it worked flawlessly. Simply amazing, Thank you!

(T-MOBUS, hboot 1.06, cid:11111111)
[HTC One S] beyored:
Lol glad ya sorted it.....
[HTC One S] CarstenDutch:
Wonderful! A shame chainfire 3D is not working.
[HTC One S] bigmoew:
Worked fine here, on CM10.1 nightly
[HTC One S] hasoon2000:
I got the TMOUS S4 model. My HBOOT changed from 1.14.0005 to 1.14.0004 to 2.15.0000. Really strange. S-Off didn't work and my bootloader won't reunlock. I'm back on the stock ROM. I tried EVERYTHING to get my bootloader to reunlocked. Nothing worked.
[HTC One S] Mathato:
Maybe something has changed to where you need to generate a new unlock token. (Assuming this wasn't included in your EVERYTHING comment)
[HTC One S] magicninja:
So where do I get a good hex editor and I am supposed to change out on my pc right
[HTC One S] usrbrv8:
I used HxD
[HTC One S] k1llacanon:
I'm on the highest hboot possible right now 2.15 and I just finished s offing my phone 10min ago
[HTC One S] hasoon2000:
Already generated it at least 4 times. No dice.
[HTC One S] masterkamon842:
I've tried everything, I even flashed Viper 2.0, I keep getting this:

FAILED (remote: 99 unknown fail)

finished. total time: 5.026s

I proceed to the final 3 steps but get no response on the adb shell su -c "/data/local/tmp/soffbin3" command.

No s-off yet. What am I doing wrong???
[HTC One S] Darknites:
Ya mine was being a pain in the arse to unlock but it finally did it.
[HTC One S] smokin901:
Is it working for T-Mobile US one Model ID PJ40110000. has anyone with model already tried it.
[HTC One S] blackwing182:
i did not chequed my modelid , i was in cm10.1, in hboot 1.09.0000, i did cid and followed the steps in the op, all worked fine w/o problema
[HTC One S] k1llacanon:
Is it worth changing cid back to htc_001 because super cid has a lot of otoblems (I have s off)
[HTC One S] cat2115:
same question: after successfully follow OP guide w/CID1111111, can we change back to TMOB010 since that is my original cid?
[HTC One S] alphaeagle777:
Update

i dint got any answers,

but still tried it work:laugh:
[HTC One S] slainbybeats:
AW: [S-Off] Facepalm S-Off for HTC Devices One S, One XL, Droid DNA

Is the supercid thing gonna reset my phone including sdcard?

Because of the re-unlocking..
[HTC One S] Raptylos:
No, you don't need to relock and no need to reset the phone
[HTC One S] leald:
After doing this to get s-off now I am only able to connect to internet on edge. Is anyone else experiencing this?
[HTC One S] foeti:
adb always says: device offline...

usb debug enabled under CM10.1 prefs...

whats up there?

Soooo close to S-OFF :(
[HTC One S] Drashna:
I have two HTC One S'. Well, one is mine, and one is the wife. Mine ... I think was PJ40100000, at least that's what was reported (viperOneS)... but the wife's had the ICS OTA update, on hboot 1.14.0004. And it reported PJ40110000. Mine is S-Off, but the wife's (PJ40110000) experienced all the issues reported.

The "99" error, instead of 92. and "segment fault" from the soffbin3 command.

I tried flashing Viper One S 2 (the JB one), and still, same issue. But it reported PJ40100000 after that... so I'm definitely thinking there is a difference between the phones, if slight. Enough to cause it to fail the S-OFF process.
[HTC One S] ipit:
I'm on a 1.06 Hboot. Can someone tell me exactly what I would be able to do if I had S-Off. I mean yeah it's great to have it but specifically what do I need it for? I can't help but wonder the vast majority of people doing this have no real use for it.
[HTC One S] Raptylos:
No, working fine here.
[HTC One S] masterkamon842:
Ok guys s-off wasn't working for me, I was always getting error 99 instead of 92 on CMD when flashing the zip.

After much troubleshooting I was going to relock bootloader but the command wasn't working, so "torrented" on the IRC channel suggested I change my USB port since the one I was using was 3.0.

I connected it to a 2.0 port and tried flashing the zip again and voila! error 92. I proceeded with the final steps and now poof got my s-off! :victory:

I'm on hboot 1.14.0005, Viper 2.0 rom. Worked great after switching to a USB 2.0 port. Thanks to torrented over at the IRC channel. :laugh:
[HTC One S] Raptylos:
AW: [S-Off] Facepalm S-Off for HTC Devices One S, One XL, Droid DNA

With s-off you can modify and flash every partition of the phone, even repartition may be possible.

I experienced a lot of helicopering on hboot 1.06 so this is, as of today, the biggest benefit for me. I can flash boot without messing around with fastboot even on a high hboot.
[HTC One S] Wel1973:
Grand work your, to returned the happiness to my One S

Ubuntu does not help in the process, the route of ADB leaves blocked terminal in the step to flash RUU.

It seems that they do not take very well...(JB sense roms+Ubuntu).

I was waiting in HTC black screen about 1h or more..:p

After fix it, with Windows no one problem wiht ADB in a second time.

Rom JB Sense root of my crop and Windows 7, Htc One S/unlock. TWRP recovery..

Enjoying it!!!

Big THX!!:good:
[HTC One S] blackwing182:
update adb drivers or revert to cm10 (4.1.2)
[HTC One S] LIONS1:
thank you it worked well with my one s its so easy and simple thanks again
[HTC One S] cat2115:
but u can also do a downgrade to 1.09 hboot.I downgrade to hboot 1.09 and no problem what so ever. it will work as s-off and can use Flash Image GUI to flash ROM w/out the need of pc.. I guess to my basic knowledge, so far, i think this s-off is good if you want to return the phone back and show in the hboot as "Lock" instead of "Relock" by following this guide http://xdaforums.com/showthread.php?t=2155955
[HTC One S] WCCobra:
I had the same problem. Update the drivers and your SDK
[HTC One S] scotty1223:
so it appears we have an issue with PJ4011000. i got around the 99 fail by relocking,and reunlocking. i got around the segnented error by rebooting the phone.
[HTC One S] PeQuEsan:
So you have been able to S-OFF a PJ4011000 modelid?
[HTC One S] O0cynix0o:
Going to try this out.......Have my fingers crossed.
[HTC One S] xxquicksh0txx:
Awesome, took less than 10 minutes to SuperCID and S-Off.

Took longer to get ADB working.... :victory:
[HTC One S] [Cruzer]:
woohoo... was very easy.. only took 10min... now the real question.. NOW what... how can we repartition my main storage.. and put the extra 1.5gig just sitting there doing nothing.. and put it towards my "sdcard" drive.. :)
[HTC One S] alphaeagle777:
i think i screw up in one of this

because each time that any rom load the system doesnt load and it reboot

and i cant do any adb push

Code:

adb push soffbin3 /data/local/tmp/

adb shell chmod 744 /data/local/tmp/soffbin3

adb shell su -c "/data/local/tmp/soffbin3"
[HTC One S] scotty1223:
sorry,no. i didnt mean to give that impression. i got the same output as above sometimes,then sometimes got the segmented error. the times that i didnt get the segmented error,and it appeared to have worked,when i rebooted to bootloader it was still s on.
[HTC One S] Closed Source Project:
This! This exactly! We need this!!!

We had repartitioning on my Nexus One and it worked wonders!
[HTC One S] O0cynix0o:
I had the Segment fault as well. but it went away when I relocked the phone and resubmitted the token ID after the Super CID.
[HTC One S] rustykwak:
I might be stabbing in the dark but if the phone ID changed with a different base rom then it may still be possible! Try flashing ViperOneS v2.0.0 JB then try phone id to check & see if S-off is possible then, at least worth a shot! :fingers-crossed:
[HTC One S] McGiver93:
finally I reached s-off too :D I should only thanks beaups for helping me with the "FAILED (remote: 99 unknown fail)". I had to shut down my phone a few times and then it worked all fine.

For all of you guys who have my same error try to shut down your phone 3 or 4 times then try to s-off, it should work as mine did.

Sorry for my bad english.
[HTC One S] foeti:
after S-OFF no WiFi available...

any suggestions???
[HTC One S] magicninja:
hmm.... I'm connected through fastboot usb but it keeps saying error device not found when trying to change thge cid

I'm an idiot....
[HTC One S] hasoon2000:
Same exact issue with me! I just called T-Mobile and warrantied the phone in. They are sending me my replacement tomorrow. I can't even unlock my bootloader anymore =/

Hop on IRC and show this to them. This should help them see why it isn't working.
[HTC One S] blackcell1:
Try flashing the stock boot.img
[HTC One S] O0cynix0o:
I'm at work right now, so I can't till I get home. How did you get the phone replaced?
[HTC One S] hasoon2000:
I'm a former rep. I know how to work my magic ;)
[HTC One S] d@rklink:
I'm having all sorts of trouble trying to get S-Off to work. My phone is running the stock 2.35 RUU with hboot 1.14.004. It was rooted with SU and flashed stock recovery back. I first followed the instructions for CID 11111111 and it worked successfully. When I run the fastboot oem readcid comment I get 11111111 returned. I then followed all of the remaining steps but on the last command to run, I get the segmentation fault error.

I saw that someone else posted that they just relocked their device and unlocked with a new token after doing the superCID trick but I can't get that to happen. When I run fastboot oem lock I get a message that it was successfully locked, but the phone doesnt reboot. When I reboot manually back into the bootloader, my device still shows unlocked. Figuring I'd just give it a try, I pulled my new (or assuming its new after superCID) token ID and submit to HTCdev. When I got the new (again I'm assuming) unlock code file I ran the steps to unlock from the command prompt. I got a successful message, but never go the screen prompting to unlock.

Any suggestions?
[HTC One S] blackwing182:
thats wierd, i never checked my modelid and it worked. i think the problem is in people that have custom JB sense roms.i was in cm10.1, btw modelid is in the build.prop of the rom, i think they can be mod to look like the one needed.
[HTC One S] zeroprobe:
I earlier reported that I got an error "Too many links", apparently this is normal.

I reflashed the Viper 2.0 rom and everything went through fine now. I was on Hboot 1.13 if anyone is interested.

Thanks for the S-Off !!
[HTC One S] bluebenno:
I lost all cellular radio - I think the procedure exposed a mistake I'd made a few days ago when I was messing around with radio firmware. I did notice the bootloader screen nolonger reported any radio information - until I'd cleaned up my mistake and reflashed everything.

Now you have S-OFF. You can flash your radio firmware http://xdaforums.com/showthread.php?p=34271913 I suggesting using this one - even if your not using a Sense ROM - as it will flash the partitions: h ttp://goo.gl/RvI6d Sense (with Jellybean Radio 1.11) V4.zip
[HTC One S] ipit:
I'm on CM10.1 too and when I performed the model ID check nothing came up. I figured I KNOW what my phone is anyway so just carried on. Everything seemed to work.

Also I have no idea why I did S-OFF. I really have no use for it BUT it's the geek factor I guess + I wanna be one of the cool kids LOL
[HTC One S] blackwing182:
you are like bender from futurama lol
[HTC One S] fusk:
So, s-off is permanent? you can flash stuff left and right and it'll stay s-off?
[HTC One S] blackwing182:
dont flash any ruu
[HTC One S] droidmakespwn:
Same boat. This was sitting in a drawer. I thought hey why the hell not. Now I'm thinking gimme something to flash.
[HTC One S] ipit:
delete
[HTC One S] fusk:
ruu are roms, right?

So you're saying i shouldn't flash any at all. Only custom hboot ?
[HTC One S] alphaeagle777:
WOW i feel totally ignore

no luck on getting anything loaded or working except recovery and bootloader
[HTC One S] LibertyMonger:
It worked for me flawlessly running Baked BB8
[HTC One S] uvt_novice:
Meaning you're still ok. Check if the bootloader is HTC-unlocked. If yes, then either restore ROM (in recovery) and then re-flash boot.img (kernel) from bootloader prior first reboot, or you can also re-flash ROM again and boot.img.
[HTC One S] alphaeagle777:
when i mean any rom i mean it means that i have tried anything, last thing i tried is a tmo rru to see and nothing, android boot but afte 30 sec system is not responding fc or wait, and then reboot,

this is what i see
[HTC One S] magicninja:
I had to enter each one twice....but it worked
[HTC One S] southkill:
OK this is great but i searched the thread for hboot 1.14 and read things about bricks.

Does this mean it doenst work on 1.14? How to i update? (relock bootloader, install offical ruu??)
[HTC One S] neptuno92:
First of all I must say that I'm impressed. Amazing work guys.

It's a little OT but has anybody know how to use the adb on Windows 8. There's no way to make it recognise my phone...

Thank you in advance.
[HTC One S] Jewcifer:
No offense, but by that logic, you could mod any HTC phone to the One S's S4 model number and S-Off it. It just doesn't work that way.

You can only correctly pull the modelid from a Sense build.prop. This step isn't a requirement to get S-Off, it's a safety measure to make sure you're on the right phone. The S-Off is not exactly dependent on the output of the getprop command. If your unaltered modelid doesn't match the modelid in the filename of the .zip, even if your phone names match, it's still pretty safe to say you should NOT flash it.
[HTC One S] el7145:
I can confirm like some others have stated, im getting a "segmentation error" with my modelid being "PJ4011000"

hboot=1.140004

running ICS trickdroid tmobile
[HTC One S] zeroprobe:
I had that, Try installing Viper One S 2.00 and trying again,
[HTC One S] essentialmindz:
I think in some roms you will see:

[ro.product.model]: [One S]

Now how do i get rid of these red letters?
[HTC One S] rootrider:
It was more than a pain in the ass - but got s-off after six hours...

I left out not a single error mentioned in this thread, as one thing was working another failed.

At some point I decided to restore my stock JB nandroid backup I've done after the OTA update. I rooted it, and from this point only I could successfully flash the zip file. Also it gave me some errors...

I had tons of trouble as adb mostly didn't want to work at all (reinstalled win drivers, changed pc and cables, reconnected my device, and so on...), but once the zip was flashed I could reconnect cable and after a few tries enter the magic three lines successfully.

:good:

btw: segmentation error was gone after stock JB restore, as well as unknown error flashing the zip.
[HTC One S] el7145:
can i flash a JB rom over a ICS rom with a 1.14 hboot...i thought you needed to downgrade hboot?
[HTC One S] rootrider:
You can. Just do a full wipe and flash kernel before rom in fastboot mode 'fastboot flash boot boot.img'. Then return to recovery to flash rom.
[HTC One S] blackwing182:
thats what i say, custom bj rom i think it was on that thread. what if your device is the correct one, and the custom rom have other modelid in build.prop, are you going to revert to stock just to make shure? well i was shure of what modelid my device are, and i was on cm10.1. and after cm10.1 i was using viperones rom.
[HTC One S] bmb1983:
I also had a similiar error with modelid being "PJ4011000", but S-OFF did work for me and has stuck after several shutdowns/reboots.

I had a stock JellyBean OTA update. I unlocked bootloadeer, rooted my phone, then SuperCID. I then followed the S-OFF instructions and everything worked like a charm ( other than FAILED (status read failed (Too many links)) )

Don't know if this helps anyone!
[HTC One S] kirkcody:
does it matter @ all that my modelid came back as PJ4011000 and not PJ4010000 ? because I cant get this to work also :crying: this is what i got C:\adb>fastboot flash OneS PJ4010000-OneS.zip

sending 'OneS' (35551 KB)... OKAY [ 5.289s]

writing 'OneS'... INFOsignature checking...

FAILED (remote: 12 signature verify fail)
[HTC One S] flex420:
wohooo, done it with hboot 2.15 - Viper 2.0.0 :)

epic win! THANK YOU <3
[HTC One S] southkill:
AW: [S-Off] Facepalm S-Off for HTC Devices One S, One XL, Droid DNA

Does this mean hboot1.14 + Viper 2.0 and then s-off works? Or did you update youre hboot?
[HTC One S] :
Yes that makes all the difference. You should only flash the zip that matches your model number, anything else and you may brick your device. I suggest going to CM 10, and trying to S-Off from there. When I did it that's the rom I was on and I had no problems at all. Also I am assuming you have SuperCID right?
[HTC One S] WCCobra:
My modelid was PJ4011000 with Hboot 1.06. Everything worked fine for me.
[HTC One S] :
Your bootloader is unlocked right?
[HTC One S] flex420:
The question been hasn't answered yet. I'm too wondering if we could change back to our Original( HTC__002 ) CID's now. Because there where Bricks with supercid when jb came out?
[HTC One S] KingKongKC:
So I'm all the way to the last step, and it will write the file, but when I try to "shell chmod 744" it gives me the response: not a directory. Not sure what I'm missing from here exactly?

C:\Users\BOSS\Downloads\Root\tools>adb push soffbin3 /data/local/tmp

2317 KB/s (9496 bytes in 0.004s)

C:\Users\BOSS\Downloads\Root\tools>adb shell chmod 744 /data/local/tmp/soffbin3

chmod: /data/local/tmp/soffbin3: Not a directory

C:\Users\BOSS\Downloads\Root\tools>adb shell su -c "/data/local/tmp/soffbin3"

/sbin/sh: su: not found
[HTC One S] :
You shouldn't accept any OTA's anyway, and definitely shouldn't upgrade your Hboot. Personally I can't see anything wrong with keeping SuperCID if you are not going to do either of those two things.
[HTC One S] ipit:
n't
[HTC One S] :
Yeah I saw that I did not add an "n't", that could of been disastrous.
[HTC One S] ipit:
have
[HTC One S] Darknites:
Nicely done. My hero of the day so far lol.
[HTC One S] blackwing182:
one does not simply use n't without the correct expresion
[HTC One S] 2Tone5:
s off using adb wireless on hboot 1.1402 woooo

Copying and pasting is my favorite
[HTC One S] kirkcody:
yes my bootloader is unlocked and im super cid....read that itll work on JB roms so i flashed one and im still getting the same error :confused:
[HTC One S] 2Tone5:
Had the same problem, I used adb wireless which can be found in the play store and it finally worked for me
[HTC One S] southkill:
Yes, it worked like a charm!! Thank you!
[HTC One S] ozzie1p:
Hell ya, flawless on CM10.1 and hboot 1.06

Thank You!!!!!!!!!!!!!!!!!!!
[HTC One S] Jewcifer:
You don't have root access or rebooted your phone between commands 1 and 2. Run them one after the other.
[HTC One S] alphaeagle777:
Still i have problem repeated everiting again again, noting has work
[HTC One S] unk2009:
Thanks guys...
[HTC One S] P.Mobile:
dont kno if u guy seen this yet?? it works for the evo 4g lte.. but he made it work for the dna and also the one s!! u can make your bootloader say whatever u want.. this has to be the coolest mod ever!! check it out!! get rid of that Tamperd unlocked:good: http://xdaforums.com/showthread.php?t=1786498
[HTC One S] trathiang:
Just wanted to second this. Tried to do it the first time running CM10.1 but got the same error and no S-OFF. Then flashed ViperOneS and...magical. Thank you so much to everyone who made this possible!
[HTC One S] alphaeagle777:
some how i manage to downgrade my hboot with an older tmo rru
[HTC One S] Qs5:
With S-OFF and Supercid? O.o
[HTC One S] Jewcifer:
No plugins for our One S quite yet, but there's another thread floating around in the development section that lets you return to stock-warranty, meaning it says LOCKED instead of RELOCKED.

Hahaha that's awesome!
[HTC One S] alphaeagle777:
yes :cyclops:

but still having problem running any rom
[HTC One S] Jewcifer:
So what's your HBOOT version now? Tampered/Lock status? And what recovery are you using?
[HTC One S] Qs5:
Still, huge break through xD
[HTC One S] Darknites:
Why it's pointless with s-off and lower hboot is slower to load.
[HTC One S] alphaeagle777:
from hboot 1.14 to hboot 1.09, when i did it i lock, run rru then htcdev unlock, all of this s-off

but sadly no luck