How to hell do I unlock my One X? - HTC One X

Seriously, I'm so pissed off with HTC right now that I just wanna throw this piece of crap into the wall. This is the last time I'm buying a HTC phone unless they unlock bootloaders from the start.
So I relocked my phone few days ago because I wanted to install JellyBean, but it turned out that EVERY damned mobile operator except mine have released JellyBean. So now I wanted to unlock it, downloaded the tools (http://forum.xda-developers.com/showthread.php?t=1604439). Got my Token ID, downloaded the unlock file, but when I try to unlock it I get some weird error (sending "unlocktoken" <0 KB>... FAILED <unknown status code>)
And that's where I'm stuck.
So I thought I need to download and install OpenSense SDK. Downloaded it, but of course, when I start it nothing happens, it just closes itself.
And then there are a bunch of idiotic errors on HTC website like "You have exceeded the allowed page load frequency." when I try to scroll from one page to another. My god.

The token id that you are sending to the device
Seems to be corrupt. It can not be of 0kb size. Try tree downloading it.
Sent from my unlocked HTC One X using XDA premium.

:angel: patience man. are you the one who unlock your phone before? if yes. you can use the unlock code.bin you used when you first unlocked your phone.

Does samsung unlock their bootloaders from the start?

No one unlocks their bootloaders from the start, not even Nexus devices, but they have very easy bootloader unlock methods. HTC gave a half-assed, convoluted method and Motorola is even worse than HTC. The bootloader unlock process of HTC is fine, nobody expects them to ship phones with unlocked bootloaders, but the unlock should result in S-OFF. There's no reason it should remain S-ON.
Sent from my Desire HD using xda premium

Yes, I was the one who unlocked the phone from the start. I never had any issues, it's just after I relocked it that it suddenly is refusing to unlock again.
The unlock code is actually 1kb, not 0. Dunno why it says 0 in the error.

Just make sure you run the unlock command in fastboot mode not hboot mode.

I was in fastboot usb mode when I tried to do everything.
Alright, now that I cooled down. I'm gonna see what I can do again.

I got it working, managed to unlock the exact same way I tried before, with the exact same file, just with the updated tools that were released yesterday.

Sometimes fastboot can be a pain in the A$$.
Might have been the same problem you faced
If i enter an incorrect command in fastboot (i.e. I spelt something wrong) it will not accept any more commands for the rest of that session until i reboot.
When flashing the unlock token mine also gives me an error but it still works
If I try an invalid fastboot command then try to flash the token. I get the same error but it doesn't work.
Figure that
Personally i think its just poor software on the one X, i point the finger at the device because i had no such problems with these types of commands on the Nexus 7 & Nexus One
there are commands that when tried will actually crash the phone rather than giving an error, such as fastboot oem writesecureflag 0 (code for turning S-OFF)
you would expect an error saying not allowed or something but instead the phone just locks up forcing you to hard reboot
Sent from my HTC One X using xda app-developers app

Related

Wtf am I doing wrong here... Coming from Gnex

Hello fellow One-X'ers, I am coming from a long line of Samsung devices and have only had one HTC phone in the past, (HD2).
I cant for life of me figure out how to root this phone, I have tried the conventional method, alternate root method, im getting nothing... Bootloader will not unlock through htcdev (which it says to do in half of the root how-tos), i always see error 160 invalid MID...
I have installed and updated the following:
-Java
-HTC Mobile drivers as well as sync
-SDK
-Fastboot
wtf am I missing here? I just want to get a new rom as this sense stuff absolutely sucks. Yes I have searched, yes I have read...
What phone have you got? If I remember correctly the "Error 160" / "invalid MID" responses are returned when you try and use HTCDev to unlock the AT&T One X (actually the One XL) which doesn't support unlocking the bootloader in that way.
Boot into the bootloader and check the model name displayed at the top of the screen: if it says "evita" then that's your problem, and you'll need to head over to the forums for your particular device to get some help because none of the stuff in this section will work - http://forum.xda-developers.com/forumdisplay.php?f=1538
If the bootloader shows "endeavoru" then you are in the right place, but in that case I don't know what the problem is.
Uninstall HTC sync, keep the USB drivers mind.
Sent from my HTC One X using Tapatalk 2

[Q] Re-Unlocking bootloader issue?

Ok so here's the thing, I re-locked the bootloader and then ran the ICS RUU and updated to Jellybean. Now that I want the freedom that root permissions give me and the ability to switch roms ( bit of a rom-a-holic) I decided to unlock the bootloader again
Anyways as I went to get the oem identifier token (fastboot oem get_identifier_token) I got what looked like half of the code needed ( only 5 lines). I proceeded to enter the code in and htcdev.com said it was faulty, now whenever I try the command again I get 'FAILED (status read failed (Too many links))'
I know that some people say that you can just use the old unlock.bin from the e-mail but the issue is that I bought this device unlocked here on XDA so.... that option is outa the window.
Any suggestions guys?
Might be worth doing a live chat with the HTC tech team matey
Sent from my HTC One X using xda app-developers app
Or send the guy you bought it from a PM and ask if he still has the file in his email and can send it to you....long shot, but why not
Reboot into fastboot and try again. Fastboot can be dodgy and once something goes wrong it won't accept anymore commands until rebooted
Sent from my HTC One X using xda app-developers app
I had same issue after upgrading ro JB.
The solution in my case was- put in bootloader menu the phone, connect to your PC and tape on it the string about relock, but with last words- OEM unlock:
fastboot oem unlock
Then reboot the device with volume own+power and see is there mentioned device unlocked.
You don't need to reunlock your device again via htcdev.com.
Try and tell me is it work to you.
Regards.
Sent from my HTC One X using xda premium
jorjino2000 said:
I had same issue after upgrading ro JB.
The solution in my case was- put in bootloader menu the phone, connect to your PC and tape on it the string about relock, but with last words- OEM unlock:
fastboot oem unlock
Then reboot the device with volume own+power and see is there mentioned device unlocked.
You don't need to reunlock your device again via htcdev.com.
Try and tell me is it work to you.
Regards.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Oh ok, and thanks a ton, it worked :laugh:
Thanks for the replies everybody :good:

[Q] How do I unlock a relocked bootloader?

I've tried going back through HTCdev and unlocking the bootloader again that way, but I keep getting a command error when using the fastboot oem get_identifier_token command. I am still s-off and I recently went back to stock using the RUU to go to the 2.22.531.5 rom and I had to lock the bootloader in order to use the software correctly. Is there another way to unlock the bootloader other than HTCdev?
Update: I've been able to get the identifier token for HTCdev now, however I keep getting an error code 122 with the email not being able to be sent.
Update2: I've scoured my email inbox to find the time I had unlocked the bootloader before but the unlock code file that I tried to use gives me an unlock token check failed error.
soulofdeath0 said:
I've tried going back through HTCdev and unlocking the bootloader again that way, but I keep getting a command error when using the fastboot oem get_identifier_token command. I am still s-off and I recently went back to stock using the RUU to go to the 2.22.531.5 rom and I had to lock the bootloader in order to use the software correctly. Is there another way to unlock the bootloader other than HTCdev?
Update: I've been able to get the identifier token for HTCdev now, however I keep getting an error code 122 with the email not being able to be sent.
Update2: I've scoured my email inbox to find the time I had unlocked the bootloader before but the unlock code file that I tried to use gives me an unlock token check failed error.
Click to expand...
Click to collapse
when you do the HTCdev unlock with the identifier token, dont choose one M8, choose all other models. I had an error flashing the one specifically for the one M8 but the other one worked fine. Good Luck!
phil.culler said:
when you do the HTCdev unlock with the identifier token, dont choose one M8, choose all other models. I had an error flashing the one specifically for the one M8 but the other one worked fine. Good Luck!
Click to expand...
Click to collapse
I've just given that a try, the website keeps hanging every time I try to send an identifier token now. When I refreshed earlier I had gotten the email error, but upon refreshing now it keeps suggesting that I've copied the token incorrectly, but I'm pretty sure that I'm following their instructions correctly. I copy from the start of the identifier token start to the identifier token end as the pictures show. Specifically, the error code this time refers to invalid bootloader token length.
soulofdeath0 said:
I've just given that a try, the website keeps hanging every time I try to send an identifier token now. When I refreshed earlier I had gotten the email error, but upon refreshing now it keeps suggesting that I've copied the token incorrectly, but I'm pretty sure that I'm following their instructions correctly. I copy from the start of the identifier token start to the identifier token end as the pictures show. Specifically, the error code this time refers to invalid bootloader token length.
Click to expand...
Click to collapse
It's possible their website is having issues. When you copy the token from the fastboot command you're copying from <<<<identifier token start>>>> all the way to <<<<identifier token end>>>> without the info or bootloader message to the left right?
Sent from my HTC One_M8 using Tapatalk
phil.culler said:
It's possible their website is having issues. When you copy the token from the fastboot command you're copying from <<<<identifier token start>>>> all the way to <<<<identifier token end>>>> without the info or bootloader message to the left right?
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Yes, I copied from the arrows for identifier token start to the arrows at the end of identifier token end. I didn't include anything above or below or to the left of the token. I went ahead and sent them an email as well to see if they could give me an unlock code or assist me in any way as well. Is there any reason why my original unlock code file wouldn't have worked? When I unlocked my bootloader before, this was when the HTC One M8 was first released, so I was one of the previous stock versions when that was done. I also used the firewater method to achieve S-Off, but that shouldn't affect the website giving me another unlock code if I'm able to still get the token, right?
soulofdeath0 said:
I've tried going back through HTCdev and unlocking the bootloader again that way, but I keep getting a command error when using the fastboot oem get_identifier_token command. I am still s-off and I recently went back to stock using the RUU to go to the 2.22.531.5 rom and I had to lock the bootloader in order to use the software correctly. Is there another way to unlock the bootloader other than HTCdev?
Update: I've been able to get the identifier token for HTCdev now, however I keep getting an error code 122 with the email not being able to be sent.
Update2: I've scoured my email inbox to find the time I had unlocked the bootloader before but the unlock code file that I tried to use gives me an unlock token check failed error.
Click to expand...
Click to collapse
If you're s-off, then there is really no reason to unlock with HTC. In fact there's little reason to unlock at all but if you'd like you can do it manually and instructions can be found here: http://forum.xda-developers.com/showthread.php?t=2708571
Behold_this said:
If you're s-off, then there is really no reason to unlock with HTC. In fact there's little reason to unlock at all but if you'd like you can do it manually and instructions can be found here: http://forum.xda-developers.com/showthread.php?t=2708571
Click to expand...
Click to collapse
I thought so too, but I think I have to still have my bootloader unlocked to reflash a custom recovery. Trying to flash TWRP gave me a permission denied error. I'll try this out though and see how it goes.
Update: On a whim, I decided to try HTCDev again and everything worked properly? What an odd website.
soulofdeath0 said:
I thought so too, but I think I have to still have my bootloader unlocked to reflash a custom recovery. Trying to flash TWRP gave me a permission denied error. I'll try this out though and see how it goes.
Update: On a whim, I decided to try HTCDev again and everything worked properly? What an odd website.
Click to expand...
Click to collapse
Well, in the future, just so you know, you didn't need HTCdev at all if you had followed the instructions at the link I pointed you to and also you could still flash a custom recovery while locked if you flash it through RUUmode (eg fastboot oem rebootRUU)

[Q] problem unlocking bootloader

after locking my bootloader for firmware update, im now unable to unlock it again. it says "remote: unlock token check failed" in the command prompt. my device is one m8.
kalim_714 said:
after locking my bootloader for firmware update, im now unable to unlock it again. it says "remote: unlock token check failed" in the command prompt. my device is one m8.
Click to expand...
Click to collapse
Relocking the bootloader is not required to update by OTA, if that is what you did.
Try just going through the HTCDev.com unlock process again.
Or make sure you cut and pasted the token exactly as it should be. Improper cut/paste is a common mistake.
Oh, I thought it is required for ota update. I did went through HTC dev unlocking process but I get the error
kalim_714 said:
Oh, I thought it is required for ota update. I did went through HTC dev unlocking process but I get the error
Click to expand...
Click to collapse
Did you go through the HTCDev.com process again (as I suggested), or just the one time?
Make sure you cut/paste it exactly right, as I mentioned.
If it still fails, just try again. Some folks have had to do it multiple (even many) times before it work; while most will have it work the first time. No explanation, just some glitch.
I tried like 10 times. Still no luck

In desperate need of help please !!!!

Just brought a HTC one M9 off eBay, its in excellent cosmetic condition, i'll get the basics out of the way quickly, it is already S-OFF, super CID, 401 WWE edition firmware, but the bootloader is locked, now I am very used to HTC one M7s and M8, but this download mode rubbish is all new to me, the problem is, when I power on the phone, instead of it booting normally, it just loops into the bootloader, ive uploaded some picts for you too see.
now when I enter download mode, there is no fastboot in the available options on the phone, so I cant issue any fastboot commands, like to unlock the bootloader, do I have any other options ? I also have access to the basic recovery mode, the HTC one, not TWRP or anything like that.
Also, does anyone know where I can find the 4.xx.401.x RUU for these phones, its not on the HTC website ?
Please help, or is this a lost phone and should I just send it back ?
Seanie280672 said:
Just brought a HTC one M9 off eBay, its in excellent cosmetic condition, i'll get the basics out of the way quickly, it is already S-OFF, super CID, 401 WWE edition firmware, but the bootloader is locked, now I am very used to HTC one M7s and M8, but this download mode rubbish is all new to me, the problem is, when I power on the phone, instead of it booting normally, it just loops into the bootloader, ive uploaded some picts for you too see.
now when I enter download mode, there is no fastboot in the available options on the phone, so I cant issue any fastboot commands, like to unlock the bootloader, do I have any other options ? I also have access to the basic recovery mode, the HTC one, not TWRP or anything like that.
Also, does anyone know where I can find the 4.xx.401.x RUU for these phones, its not on the HTC website ?
Please help, or is this a lost phone and should I just send it back ?
Click to expand...
Click to collapse
For fastboot, treat download mode as fastboot. If you're having trouble with using download mode to flash something or boot something, use bootloader mode. For more details about RUUS, unlocking the bootloader, and using S-OFF to your advantage, take a look at the read me thread stickied at the top of the General thread.
(Note: You may or may not find RUUS for your phone, as they got leaked somehow.)
Sent from my HTC One M9 using Tapatalk
lazyguyMC said:
For fastboot, treat download mode as fastboot. If you're having trouble with using download mode to flash something or boot something, use bootloader mode. For more details about RUUS, unlocking the bootloader, and using S-OFF to your advantage, take a look at the read me thread stickied at the top of the General thread.
(Note: You may or may not find RUUS for your phone, as they got leaked somehow.)
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
when i type fastboot devices in download mode, it doesnt list the serial number
Seanie280672 said:
when i type fastboot devices in download mode, it doesnt list the serial number
Click to expand...
Click to collapse
Try doing the same in bootloader mode, and check your drivers and executables.
The easiest way to get drivers is to install HTC Sync Manager and then immediately uninstall it.
Sent from my HTC One M9 using Tapatalk
---------- Post added at 04:39 PM ---------- Previous post was at 04:36 PM ----------
lazyguyMC said:
Try doing the same in bootloader mode, and check your drivers and executables.
The easiest way to get drivers is to install HTC Sync Manager and then immediately uninstall it.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Also, looking at the CID, the seller probably tried to flash stock firmware and locked the bootloader. You'll need to clean up after him.
Sent from my HTC One M9 using Tapatalk
lazyguyMC said:
Try doing the same in bootloader mode, and check your drivers and executables.
The easiest way to get drivers is to install HTC Sync Manager and then immediately uninstall it.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
thanks, ive installed htc sync manager now, also, my adb and fastboot maybe out of date, im using the 15 seconds install one, but had another look at it and saw its from 2013, do you know where i can find the latest versions ?, ive been using a Samsung for the last year or so which I absolutely hated, so went back to HTC, so you understand if im a little out of touch.
https://developer.android.com/studio/releases/platform-tools.html#download
You're welcome.
lazyguyMC said:
https://developer.android.com/studio/releases/platform-tools.html#download
You're welcome.
Click to expand...
Click to collapse
Thanks again
also, yes thats what im thinking too, they s-off'd the phone and super CID'd the phone, then locked the bloody bootloader, on a plus note, I just got a result in bootloader mode using fastboot devices command, gave me the serial number, but when using the fastboot oem get_identifier_token command it just gave me FAILED: (remote: unknown command), going to try in download mode now instead.
UPDATE: just tried in download mode too, now that also gave me a result when I typed fastboot devices, gave me my serial number, but when trying to get the token ID I got:
C:\adb>fastboot oem get_identifier_token
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.065s]
finished. total time: 0.065s
Seanie280672 said:
Thanks again
also, yes thats what im thinking too, they s-off'd the phone and super CID'd the phone, then locked the bloody bootloader, on a plus note, I just got a result in bootloader mode using fastboot devices command, gave me the serial number, but when using the fastboot oem get_identifier_token command it just gave me FAILED: (remote: unknown command), going to try in download mode now instead.
Click to expand...
Click to collapse
Remember to read the readme thread from top to bottom. Your questions will probably be answered there.
lazyguyMC said:
Remember to read the readme thread from top to bottom. Your questions will probably be answered there.
Click to expand...
Click to collapse
Oh well, wont even boot into download mode anymore, tried to flash the developer edition RUU, but says the battery is below 30%, so when I power down the phone to charge it, as soon as I plug the charger in, its booting itself back to the bootloader, not sure if its actually charging whilst its in this more, but id say the phone is pretty much fubar.
Seanie280672 said:
Oh well, wont even boot into download mode anymore, tried to flash the developer edition RUU, but says the battery is below 30%, so when I power down the phone to charge it, as soon as I plug the charger in, its booting itself back to the bootloader, not sure if its actually charging whilst its in this more, but id say the phone is pretty much fubar.
Click to expand...
Click to collapse
Just make sure not to throw it away yet. Someone will eventually help you.
Sent from my HTC One M9 using Tapatalk
Just a stab in the dark but did you go into developer options and check oem unlocking?
As mentioned before, I can only suggest you to read the ReadMe thread. Of course, you can't flash a dev edition RUU in the current state. You're using the wrong MID.
Pfaffinator said:
Just a stab in the dark but did you go into developer options and check oem unlocking?
Click to expand...
Click to collapse
I only got the phone yesterday, and never been able yet to boot to a working rom yet, so couldnt check it, sent the phone back to her now for a full refund, sod it, cant be bothered with it, brought another working one instead, will s-off it, unlock it etc the proper way when I get it tomorrow.
Flippy498 said:
As mentioned before, I can only suggest you to read the ReadMe thread. Of course, you can't flash a dev edition RUU in the current state. You're using the wrong MID.
Click to expand...
Click to collapse
I couldnt even get into download mode any longer after I reset the phone and tried to reboot back to download mode, I got as far as the black screen with the silver HTC logo and then it would just boot back to the bootloader, couldnt even charge the phone, everytime I powered off and plugged in the charger it would switch itself on, and the same for recovery, so just gave up and sent it back to her.

Categories

Resources