[Q] How do I unlock a relocked bootloader? - T-Mobile HTC One (M8)

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)

Related

How to hell do I unlock my 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

[Q] desire hd not booting after unlocking bootloader

Hi all,
I have spent the last week trying to solve my problem. Basically I tried to unlock the bootloader on my HTC desire HD using the instructions supplied by HTCDEV. Something happened during the unlocking process and now I have an unlocked bootloader and a phone that doesnt boot. The unlocking process didnt go through as I didnt get to the part where I have to work with the token. However, if I boot into bootloader, it shows that it is unlocked and s-on. I can get to the fastboot menu and the phone only boots to the HTC screen.
I have followed the instructions from the many posts in this forum without any luck. I cant seem to be able to flash anything through fastboot. I keep getting errors such signature failed error 132 and error 131. I cant access recovery. It gives out errors whenever i try to access it. ADB doesnt work. The device doesnt get picked up in windows. I tried flashing recovery without any luck. The CID is HTC_612. The firmware version is 1.31.405.6.
I tried to use an RUU but I always get the error that the RUU that i am using is not the one for my rom or that the signature verification is wrong.
Any advice?
Thanks
Galam said:
Hi all,
I have spent the last week trying to solve my problem. Basically I tried to unlock the bootloader on my HTC desire HD using the instructions supplied by HTCDEV. Something happened during the unlocking process and now I have an unlocked bootloader and a phone that doesnt boot. The unlocking process didnt go through as I didnt get to the part where I have to work with the token. However, if I boot into bootloader, it shows that it is unlocked and s-on. I can get to the fastboot menu and the phone only boots to the HTC screen.
I have followed the instructions from the many posts in this forum without any luck. I cant seem to be able to flash anything through fastboot. I keep getting errors such signature failed error 132 and error 131. I cant access recovery. It gives out errors whenever i try to access it. ADB doesnt work. The device doesnt get picked up in windows. I tried flashing recovery without any luck. The CID is HTC_612. The firmware version is 1.31.405.6.
I tried to use an RUU but I always get the error that the RUU that i am using is not the one for my rom or that the signature verification is wrong.
Any advice?
Thanks
Click to expand...
Click to collapse
Damn. If you had S-OFF you could have flashed a recovery and it would have been easier for you. Post in the thread linked in my signature (Ace Think Tank) and you'll hopefully get some help from someone (most likely Glevitan)
Galam said:
Hi all,
I have spent the last week trying to solve my problem. Basically I tried to unlock the bootloader on my HTC desire HD using the instructions supplied by HTCDEV. Something happened during the unlocking process and now I have an unlocked bootloader and a phone that doesnt boot. The unlocking process didnt go through as I didnt get to the part where I have to work with the token. However, if I boot into bootloader, it shows that it is unlocked and s-on. I can get to the fastboot menu and the phone only boots to the HTC screen.
I have followed the instructions from the many posts in this forum without any luck. I cant seem to be able to flash anything through fastboot. I keep getting errors such signature failed error 132 and error 131. I cant access recovery. It gives out errors whenever i try to access it. ADB doesnt work. The device doesnt get picked up in windows. I tried flashing recovery without any luck. The CID is HTC_612. The firmware version is 1.31.405.6.
I tried to use an RUU but I always get the error that the RUU that i am using is not the one for my rom or that the signature verification is wrong.
Any advice?
Thanks
Click to expand...
Click to collapse
thanks GuyInTheCorner I have posted the question is the thread as required.

[Q] Can't unlock the HTC desire 816's bootloader

Hello there ..
I followed the instruction form HTCdev.com and after i flashed with unlock_code.bin, the phone restart and when i get back to the bootloader,
it is still locked ... help me please ...
zyrmin said:
Hello there ..
I followed the instruction form HTCdev.com and after i flashed with unlock_code.bin, the phone restart and when i get back to the bootloader,
it is still locked ... help me please ...
Click to expand...
Click to collapse
Try to repeat the whole process and make sure to follow the all the steps carefully. ggod luck
i did it carefully .. 3 desire 816s .. 2 are done smoothly .. but failed at the last one .. :'(
zyrmin said:
Hello there ..
I followed the instruction form HTCdev.com and after i flashed with unlock_code.bin, the phone restart and when i get back to the bootloader,
it is still locked ... help me please ...
Click to expand...
Click to collapse
what is your phones bootloader status say ? Locked or Re-locked ? Whatever it may be, once you receive the unlock_code.bin of your own mobile (not others), you might want to open the command prompt from the adb fastboot folder, then type the following command (hopefully you might have done right, but just incase if you miss one letter or jumble it, it wont work)
fastboot flash unlock token Unlock_code.bin
It is case sensitive. so type carefully or try to paste it from here. This should unlock your phone. If still not, then the unlock_code.bin you got might have issues. So register on htcdev again with different email id, and use that.
All the best. Hit thanks if this post deserves it.

[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

Trying to root HTC One X but keep getting this error message: (Bootloader) FAILED

As the title says, I'm trying to root my HTC One X. I currently am on 4.0.4 Android version, 4.0 HTC Sense version, and software number is 2.20.502.7 710RD. I found a video tutorial with this exact software and phone and I followed all of the steps. I figured out how to install adb and fastboot so I could use fastboot commands. I changed my CID to 11111111 and got my HTC dev code. However when I go to type in the command: fastboot flash unlock Unlock_code.bin I keep getting the same error message. The error message is (Boootloader) FAILED (signature verify fail). In the tutorial this did not happen so I don't really know what to do at this point. If someone could please help that would be much appreciated.
Hello
Are you sure you have the correct unlock code?
Did you copy it correctly?
Did you place the unlock code in the fastboot folder on your PC before executing the command?
Try a different cable and/or USB port. Dont connect via a HUB
Why did you need to change the CID?
Have a look at http://onexroot.com/one-x-root/how-to-root-one-x/
Dont change to S-OFF in case you do something wrong, this will save you by keeping S-ON
Reply
grwalker said:
Hello
Are you sure you have the correct unlock code?
Did you copy it correctly?
Did you place the unlock code in the fastboot folder on your PC before executing the command?
Try a different cable and/or USB port. Dont connect via a HUB
Why did you need to change the CID?
Dont change to S-OFF in case you do something wrong, this will save you by keeping S-ON
Click to expand...
Click to collapse
Yes I copied the unlock token correctly and everything. I have not tried different USB ports. I needed to change the CID because on the One X the CID needs to be 11111111 in order to root. I haven't changed to S-OFF yet. Any other help?
The One X does not need to be 11111111 to root.
I really believe that your bootloader is still locked. Please double check and make sure the unlock code was copied exactly as per the procedure in the link i sent. Even the slightest mistake in copying will cause a fail
In fastboot mode, what does it say at the top of the screen
Also try fastboot oem unlock
grwalker said:
The One X does not need to be 11111111 to root.
I really believe that your bootloader is still locked. Please double check and make sure the unlock code was copied exactly as per the procedure in the link i sent. Even the slightest mistake in copying will cause a fail
In fastboot mode, what does it say at the top of the screen
Also try fastboot oem unlock
Click to expand...
Click to collapse
I copied the code down correctly undoubtedly, at the top it says
*** TAMPERED***
*** LOCKED ***
Hboot 1.14
Should my bootloader say unlocked???
Yes it should say unlocked.
What I think has happened is that you used an incorrect/incomplete unlock code to unlock the bootloader. Hence the word TAMPERED. Perhaps even changing your CID also didn't help. Not sure.
You said you followed a video? send link of method you used
What was your original CID?
Try unlocking bootloader again. In post #2 there is a link to a tutorial. Follow this exactly.
Also double check in fastboot mode to see it it says S-OFF. To change your CID i am sure you must have changed to S-OFF?
Unlocking boot loader does not root the phone. It's just the first step
Also (but not a problem) you have an old bootloader. 1.14. That will need to be updated if you want to flash custom ROMS
grwalker said:
Yes it should say unlocked.
What I think has happened is that you used an incorrect/incomplete unlock code to unlock the bootloader. Hence the word TAMPERED. Perhaps even changing your CID also didn't help. Not sure.
You said you followed a video? send link of method you used
What was your original CID?
Try unlocking bootloader again. In post #2 there is a link to a tutorial. Follow this exactly.
Also double check in fastboot mode to see it it says S-OFF. To change your CID i am sure you must have changed to S-OFF?
Unlocking boot loader does not root the phone. It's just the first step
Also (but not a problem) you have an old bootloader. 1.14. That will need to be updated if you want to flash custom ROMS
Click to expand...
Click to collapse
I can't post a link here but if you google "how to root htc one 2.20" it should be the first one and it is by max lee. I don't have S-OFF because I used a one click method to change my CID and to get the code.
Do you an AT&T phone?
I hope so. This method is for an AT&T HTC One X
grwalker said:
Do you an AT&T phone?
I hope so. This method is for an AT&T HTC One X
Click to expand...
Click to collapse
Yes I have that exact one
Then i can only suggest that you copied the token incorrectly.
Watch the tutorial again and then try it again

Categories

Resources