[Q] Can't seem to unlock S-OFF - HTC One X

Hi there,
I have a One X with S-OFF, which says ***LOCKED*** in fastboot. When I try to flash a recovery or a boot.img via fastboot command line, I get an error saying FAILED:remote not allowed. I presume this is caused by the bootloader being locked. But then, since I have S-OFF, i should be able to simply unlock and re-lock without too much hassle by using fastboot oem unlock. However, this doesn't seem to work, I get the following error:
C:\Flashing>fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.017s]
finished. total time: 0.018s
Click to expand...
Click to collapse
It's really locked, because when I try fastboot oem lock it says "device was already locked!"
Does anyone have an idea what is causing this, and why I can't simply unlock the bootloader?
Thanks in advance!

You need, however, unlock your bootloader with htc dev..

Why would I need to do that? That's the whole use of my S-OFF without HTCDev: so that HTC doesn't know I have it.

I always see HOX with s-off but locked, and for rooting this you have to unlock your bootloader with htcdev..
I don't know why, but htc don't know that you have s-off if you will unlock your bootloader...

Sounds weird indeed. Unlocking of the bootloader should really not be necessary when having a S-OFF phone.
Could you post a picture of your phone in HBOOT screen?

Guich said:
I don't know why, but htc don't know that you have s-off if you will unlock your bootloader...
Click to expand...
Click to collapse
HTC don't know you have unlocked because when you relock the bootloader. It will change back to locked instead of relocked
Sent from my HTC One X using xda app-developers app

I am s off and I had to unlock my bootloader via htcdev before I could do anything.
Next time I lock it again I will check to see if it says re locked or locked. Never noticed.
If your concerned about it i will go through the locking and unlocking again to check when I get 5.
Sent from my HTC One X

Ok so i ran fastboot oem lock on my htcdev unlocked bootloader on my s off one x and it now says relocked.
So unless there is some other command I can run to make it say locked only then it is apparent to anyone that looks that its been re locked just like an s on device.
Sent from my HTC One X

For Lock and not Relock our device, we need a patch in the partition when there are the line for the write.
In a qualcomm device is simple and dev made s-off and relock with "lock" line.
In our Tegra 3 device is "impossible" at the moment, and nobody, that i know, can make s-off for all...
Nvidia suc*...

Guich said:
For Lock and not Relock our device, we need a patch in the partition when there are the line for the write.
In a qualcomm device is simple and dev made s-off and relock with "lock" line.
In our Tegra 3 device is "impossible" at the moment, and nobody, that i know, can make s-off for all...
Nvidia suc*...
Click to expand...
Click to collapse
So no way to lock fully even with an s off device?
Sent from my HTC One X

herbie13 said:
So no way to lock fully even with an s off device?
Sent from my HTC One X
Click to expand...
Click to collapse
On our HOX, no.
In One XL i think is possible...

there is definitely a way because I have an s-off with super cid , refurbished.bought it here in China, and to tell you the truth us guys would never know till the underground Chinese shops leak it. they even have a way to s-off and lock!. not talking about relock...but I guess we would never know

Related

Relocking bootloader possible after htcdev s-off?

I live in India and people here are arrogant for providing warranty so wanted to ask that if the bootloader is unlocked using htcdev.com method then is it possible to relock it again using Fastboot OEM lock from bootloader screen using cmd prompt??
So after flashing ruu it can be in warranty again??
Sent from my HTC One X using Tapatalk 2 Beta-6
It'll still show 'RELOCKED' at the top so HTC will still know it's been unlocked at some point
Pretty sure the fastboot command works but not 100% sure
I don't think it's possible. AFAIK, unlocking it with htcdev, you have given to HTC your IMEI and device serial number so they can build a databse of unlocked devices...
Edit: Time to update my signature
You can relock it but htc will know that has been unlocked before,
if you read on htc site it should be written somewhere.
My advice is to not relock the bootloader once you unlocked it
because if you need to flash the recovery for any reason, you
ll have to unlock it again causing a wipe which make you loose
your data.
thank you for th reply..
sumeshd said:
thank you for th reply..
Click to expand...
Click to collapse
Going through HTC Dev only unlocks the bootloader - it doesnt give you S-Off.
In all honesty, HTC say it may void parts of your warranty, but if the phone is faulty they will still fix it. Other than that, dont sweat it. If you relock it it shows you are back to stock, and therefore if you have an issue it would be after relocking so they shouyld fix it.

Doubt about S-OFF

May I know if One X is able to be S-OFF, is it mean that even the bootloader status is locked and we still can root and flash custom rom? How it different with unlock bootloader using HTCDev? sry for noob question..
No you need to be unlocked to root and flash custom roms. As of now HTCDev is the only method to allow unlocking.
Simple method. We don't know when Revolutionary will release their tool.
S-ON + LOCKED = You can only use official HTC firmware and only for the specific branded version you have.
S-ON + UNLOCKED = You unlocked it via htcdev. You're able to change the system and recovery images to allow for custom firmware. You can't alter anything regarding the baseband aka cell radio. HTC know you unlock via htcdev as they make you enter your serial number and other details to generate a phone specific unlock token. This will affect your warranty as any software caused faults are your own problem. General hardware warranty is still the same.
S-ON + RELOCKED = You relocked it after unlocking via htcdev. Same as S-ON + LOCKED except it shows you relocked.
S-OFF = No restrictions at all by the bootloader. You can alter everything. HTC don't let you do this and you need somebody else to work out a flaw in the bootloader to do it. Technically this voids your warranty as well but if you relock and don't leave any evidence that you did so then HTC won't know.
ken-ywk said:
May I know if One X is able to be S-OFF, is it mean that even the bootloader status is locked and we still can root and flash custom rom? How it different with unlock bootloader using HTCDev? sry for noob question..
Click to expand...
Click to collapse
No one knows about S-off.
It doesn't mean we can root and flash custom roms even on the locked bootloader. It was a different and unofficial way of unlocking the bootloader which can be locked again when we need.
We can do the same thing even in this HTC dev method, I mean locking the bootloader, but after that the status of the bootloader will be RELOCKED not locked. That means HTC people may know that our device is already unlocked before.
One more thing (which I heard and I am not sure), we can't flash ported roms on our device unless and until we have S-off.
Sent from my HTC One X using Tapatalk 2

[Q] HTC One X got bootloader Locked?

My HTC One X have been rooted and unlocked, can i S-ON and Locked my bootloader? This is because my phone get problem want to send warranty~hope got reply soon!
You can relock your bootloader, but it will say "relocked" so HTC will still know you have run custom software on it. It may or may not affect your warranty claim
Sent from my HTC One X using Tapatalk 2
bogfather said:
You can relock your bootloader, but it will say "relocked" so HTC will still know you have run custom software on it. It may or may not affect your warranty claim
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
This could be a discussion, what if .... I unlock my bootloader but leave the phone as it is ( no custom recovery, rom etc ) just to "try" the htcdev unlock method. Now I relock the bootloader and it says relocked.....but never changed anything else.
MarcelHofs said:
This could be a discussion, what if .... I unlock my bootloader but leave the phone as it is ( no custom recovery, rom etc ) just to "try" the htcdev unlock method. Now I relock the bootloader and it says relocked.....but never changed anything else.
Click to expand...
Click to collapse
You are still at the mercy of your HTC support guy. As long as it says relocked, they would possibly argue that something you did messed the phone up, unless it's a hardware problem.

[Q] cant flash twrp Htc m9

twrp dose not flash with m9
after unlock bootloader
C:\Users\isoo\Desktop\M9\platform-tools>fastboot flash recovery twrp.img
target reported max download size of 800000000 bytes
sending 'recovery' (35960 KB)...
OKAY [ 2.970s]
writing 'recovery'...
(bootloader) HOSD CL#506785
FAILED (remote: 4: SD_BATTERY_LOW, BATTERY LEVEL < (30%))
finished. total time: 3.994s
whats wrong with that ???
:crying:
Looks like you need to charge your battery
I believe it's recommended >50%
How did you get the bootloader unlocked on an HTC running on Verizon?
swieder711 said:
How did you get the bootloader unlocked on an HTC running on Verizon?
Click to expand...
Click to collapse
Java Card
andybones said:
Java Card
Click to expand...
Click to collapse
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
bakemcbride21 said:
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
Click to expand...
Click to collapse
I don't believe their is any reason to use HTCDev.com once you are already S-OFF - however, don't quote me on this.
The reason that VZW doesn't have S-OFF (yet) on the M9, and the rest of the carriers do, is because HTCDev.com works on the other carriers. *I believe* It is part of the the SunShine process for the other M9 carriers to 1st root the phone/unlock bootloader through HTCDev.com then use SunShine to S-OFF the device and fully unlock everything.
The Java Card however, will give you S-OFF, without the need of HTCDev.com - fully unlocking the device.
Anyone feel free to correct me on anything I said here. S-OFF/Security is not my area of expertise
andybones said:
I don't believe their is any reason to use HTCDev.com once you are already S-OFF - however, don't quote me on this.
The reason that VZW doesn't have S-OFF (yet) on the M9, and the rest of the carriers do, is because HTCDev.com works on the other carriers. *I believe* It is part of the the SunShine process for the other M9 carriers to 1st root the phone/unlock bootloader through HTCDev.com then use SunShine to S-OFF the device and fully unlock everything.
The Java Card however, will give you S-OFF, without the need of HTCDev.com - fully unlocking the device.
Anyone feel free to correct me on anything I said here. S-OFF/Security is not my area of expertise
Click to expand...
Click to collapse
Your bootloader can still be locked if you're S-OFF....just that being S-OFF allows you to unlock it in a few ways...back on other phones that was using super cid to fool htc dev that you aren't a Verizon phone or using adb commands...ie my reference to Scotty's threads. That's how I did my DNA (supercid) and I think my M8 (adb) after getting S-OFF.
Firewater and moonshine only did S-OFF if I remember and now sunshine does both for you (S-OFF and unlock) but having one is not necessarily dispositive or dependent on the other (along with root). Granted these three things usually go hand in hand...but you can have just root, or just an unlocked boot loader, or just S-OFF and not the other two. However, S-OFF makes it infinitely easier to get the other two since you have complete control over your phone...ie if you handed me an HTC phone and said I can only have one of the three...I'd choose S-OFF because then I could get the other two much easier than it is for me just having root and figuring how to get S-OFF without jcase and beaups lol
bakemcbride21 said:
Your bootloader can still be locked if you're S-OFF....just that being S-OFF allows you to unlock it in a few ways...back on other phones that was using super cid to fool htc dev that you aren't a Verizon phone or using adb commands...ie my reference to Scotty's threads. That's how I did my DNA (supercid) and I think my M8 (adb) after getting S-OFF.
Firewater and moonshine only did S-OFF if I remember and now sunshine does both for you (S-OFF and unlock) but having one is not necessarily dispositive or dependent on the other (along with root). Granted these three things usually go hand in hand...but you can have just root, or just an unlocked boot loader, or just S-OFF and not the other two. However, S-OFF makes it infinitely easier to get the other two since you have complete control over your phone...ie if you handed me an HTC phone and said I can only have one of the three...I'd choose S-OFF because then I could get the other two much easier than it is for me just having root and figuring how to get S-OFF without jcase and beaups lol
Click to expand...
Click to collapse
I personally would think that everyone would choose S-OFF over root (on an HTC device)... but that is me. ya never know.
As for Java Clip, this does only do S-OFF, then you must run the echo adb cmd to unlock bootloader, as you mentioned.
The S-OFF methods provided by SunShine, and previous methods such as firewater however, my understanding they do this command in their tool.
Again, not my area of expertise, however. Certainly not trying to argue or anything.
bakemcbride21 said:
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
Click to expand...
Click to collapse
It doesn't but once s-off you can simply unlock the bootloader using an ADB command.
When I use a card to s-off a device I always flash the latest TWRP... and then run the adb command to unlock the BL and while i'm there I flash the supersubeta.zip
let the flood gates open
Head over to the regular HTC One M9 section after you achieved s-off. Here is the thread for unlocking your bootloader without HTC dev via adb
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
dottat said:
It doesn't but once s-off you can simply unlock the bootloader using an ADB command.
When I use a card to s-off a device I always flash the latest TWRP... and then run the adb command to unlock the BL and while i'm there I flash the supersubeta.zip
let the flood gates open
Click to expand...
Click to collapse
Definitely need more morning coffee....I was initially for just a second like..."what the hell is super sub eta? Lol smacking myself to wake up.
Cool to know the process! I'll probably be filling the gas tank for a road trip next week!
---------- Post added at 08:30 AM ---------- Previous post was at 08:26 AM ----------
mtva24 said:
Head over to the regular HTC One M9 section after you achieved s-off. Here is the thread for unlocking your bootloader without HTC dev via adb
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
Click to expand...
Click to collapse
Bookmarked! Thanks!

Unroot and lock bootloader and S-on for Warranty claim

How do you do the above for warranty claim
I need to send the phone in for replacement / maintenance
it is unlocked US version running Verizon ROM on Verizon network
How do I unroot, lock the bootloader, and s-on?
I know they might not care, I still would like to restore everything to prevent any surprises or rejection
please list the steps. Thank you very much
ahgahg said:
How do you do the above for warranty claim
I need to send the phone in for replacement / maintenance
it is unlocked US version running Verizon ROM on Verizon network
How do I unroot, lock the bootloader, and s-on?
I know they might not care, I still would like to restore everything to prevent any surprises or rejection
please list the steps. Thank you very much
Click to expand...
Click to collapse
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Does this remove the red text on the start up screen? One look at that and HTC knows the phone has been altered. On Samsung devices once Knox is tripped you get a message saying so and it's permanent. Just curious.
comstockload said:
Does this remove the red text on the start up screen? One look at that and HTC knows the phone has been altered. On Samsung devices once Knox is tripped you get a message saying so and it's permanent. Just curious.
Click to expand...
Click to collapse
Red text will be removed after you flash a RUU. HTC is much simpler than Samsung regarding that. Just to be on the safe side, check bootloader status after each step. It's a quick procedure, but you're safe
S-off should be ok just make sure its locked not unlocked.
https://www.xda-developers.com/htc-...gn=Feed:+xda-developers/ShsH+(xda-developers)
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Did all that (installing the RUU) and received only "re-locked" since it already was S-ON. Sunshine now cannot be used, because the RUU was installed. What did I do wrong, then?
Matt.Murdock said:
Did all that (installing the RUU) and received only "re-locked" since it already was S-ON. Sunshine now cannot be used, because the RUU was installed. What did I do wrong, then?
Click to expand...
Click to collapse
You can use Sunshine. But, if I understood correctly, your phine was never s-off. If that's true, you need to unlock your bootloader again, use Sunshine to get s-off, and then follow my steps
donkeykong1 said:
You can use Sunshine. But, if I understood correctly, your phine was never s-off. If that's true, you need to unlock your bootloader again, use Sunshine to get s-off, and then follow my steps
Click to expand...
Click to collapse
I see, so the only way to have the phone LOCKED is to root it and use Sunshine?
Matt.Murdock said:
I see, so the only way to have the phone LOCKED is to root it and use Sunshine?
Click to expand...
Click to collapse
Tecnicaly, you only need to unlock the bootloader and use Sunshine. No need to root, but, in general, the answer is yes
rooting without s-off
donkeykong1 said:
Tecnicaly, you only need to unlock the bootloader and use Sunshine. No need to root, but, in general, the answer is yes
Click to expand...
Click to collapse
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
pearson_1974 said:
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
Click to expand...
Click to collapse
If you read the first post, you will see that OP is running an US unlocked with Verizon ROM. In that case my steps are correct. If you have Verizon phone, you can't even unlock bootloader, so this is of no use for you
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Hi. Sunshine .Pay once Or pay every time you use.
osakajung said:
Hi. Sunshine .Pay once Or pay every time you use.
Click to expand...
Click to collapse
Once
pearson_1974 said:
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
Click to expand...
Click to collapse
Only way is to mail your phone to the sunshine team
donkeykong1 said:
Once
Click to expand...
Click to collapse
I pay on the first to s-off/unlock bootloader.
I flash other rom.
I set "fastboot oem writesecureflag 3" to s-on.
I download Sunshine to set s-off/Lock bootloader is not pay?
osakajung said:
I pay on the first to s-off/unlock bootloader.
I flash other rom.
I set "fastboot oem writesecureflag 3" to s-on.
I download Sunshine to set s-off/Lock bootloader is not pay?
Click to expand...
Click to collapse
No. Once you pay for Sunshine, it's free for you to use as many times sa you need, as long as you don't change your motherboard
donkeykong1 said:
No. Once you pay for Sunshine, it's free for you to use as many times sa you need, as long as you don't change your motherboard
Click to expand...
Click to collapse
Thank you

Categories

Resources