help!! having trouble unlocking bootloader - HTC Wildfire S

i registered on htc dev website and followed all the instructions up to the point of getting the bootloader code from fastboot cmd, i then pasted the code in the box and hit submit then i got this error:
Unlocking Bootloader Failed!
We're sorry, but it appears your attempt to unlock the bootloader on this device has failed. This could be caused by several factors including simple errors in the entry of the unlock token, problems with your device, or a lack of manufacturer support for the unlocking process. Please see the specific error code listed below, and try again if necessary.
Error Code: 122.
Error Reason: Email cannot be sent.

Do 1 thing.....
Copy that code and first paste it into notepad without any spaces....
Once done copy the same code from notepad and paste it into the required field of htc dev. Com
Hope this will work 4 u
Sent from my HTC Wildfire S A510e using xda premium

Don't copy any of the "INFO" Bits... just the code.

Related

Invalid Bootloader Token Length

So I just tried to unlock my girlfriend's Incredible 2 with the HTCdev website, which I've never had to use before because my Eris didn't need it, and my Bionic is obviously not HTC. I'm confident I did everything correctly, I know how to use the command line, I know how to use fastboot, I did everything the website says, and when I get to the point where you copy and paste the bootloader token and submit it, this is what I get in return:
We're sorry, but it appears your attempt to unlock the bootloader on this device has failed. This could be caused by several factors including simple errors in the entry of the unlock token, problems with your device, or a lack of manufacturer support for the unlocking process. Please see the specific error code listed below, and try again if necessary.
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won\'t work.
Can anyone think of any reason I would get this response? THanks for your help
copy and paste
lemonoid said:
So I just tried to unlock my girlfriend's Incredible 2 with the HTCdev website, which I've never had to use before because my Eris didn't need it, and my Bionic is obviously not HTC. I'm confident I did everything correctly, I know how to use the command line, I know how to use fastboot, I did everything the website says, and when I get to the point where you copy and paste the bootloader token and submit it, this is what I get in return:
We're sorry, but it appears your attempt to unlock the bootloader on this device has failed. This could be caused by several factors including simple errors in the entry of the unlock token, problems with your device, or a lack of manufacturer support for the unlocking process. Please see the specific error code listed below, and try again if necessary.
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won\'t work.
Can anyone think of any reason I would get this response? THanks for your help
Click to expand...
Click to collapse
Are you actually coping and pasting the token?
That could be the problem, maybe you should exactly type it in.
HTC's faq's on the site reads as follows:
Why doesn’t my token work?
Your token must be exactly the block of text that
is highlighted in step 9. Do not copy the INFO or
(bootloader) prefix, or the process will not
register properly.
figured out the problem. Kinda common sense, but some people could get thrown off. This thread Can be deleted if need be, but it could also be used for reference in case anyone else has this error. this is what happened. I'm not using my Linux, I'm using windows 7, so I had to Mark the field and then copy it, and paste it for submission. The guide says to copy and paste the text beginning and ending with: <<<< Identifier Token Start >>>> and <<<< Identifier Token End >>>> .... this is a two line example of the text that was in my command prompt that I originally copied and pasted.
<<<< Identifier Token Start >>>>
(bootloader) 2D170E92EC8F6235F6C0F694B6D901EE
(bootloader) DEF0677963610E682A52E5B9A126B95E
this did not work, as some may would say is common sense because the guide on the htcdev site did not show the text (bootloader) in the example, however it did simply say to copy and paste all the text in the body between those two end points. This is just a portion of what the text should look like that you need to submit to the site, this is not the entire bootloader token, only what is needed to give an example:
<<<< Identifier Token Start >>>>
2D170E92EC8F6235F6C0F694B6D901EE
DEF0677963610E682A52E5B9A126B95E
so hopefully anyone that is thinking about doing this will read this to save them five minutes.
blackepoxy said:
Are you actually coping and pasting the token?
That could be the problem, maybe you should exactly type it in.
HTC's faq's on the site reads as follows:
Why doesn’t my token work?
Your token must be exactly the block of text that
is highlighted in step 9. Do not copy the INFO or
(bootloader) prefix, or the process will not
register properly.
Click to expand...
Click to collapse
Thanks bro. I had figured that out just as soon as I hit submit on this Thread. You are correct, as you probably see by now. Thanks again
Invalid Identifier Token when using HTCDEV
So I'm having the same problem attempted to unlock my phone HTC Evo 4g with sprint got all the way to step 8 copy and pasted the identifier token and it told me it was invalid.... I'm not sure what I need to do to unlock it. Any suggestions would help.
hi
I had the same error . and I've solved it
just copy the text without any SPACE before every row
I wouldn't recommend using htcdev unlock, coming from my past experience of using it. If you're trying to root, go for the full s - off!
Sent from my Incredible 2 using xda app-developers app
try this
stop spelling chek it worked for me
Not work!
I checked every detail, no space, correct code;
<<<< Identifier Token Start >>>>
2F74C1A6EBF0CB2F49E52CF296F45E10
EE433826341D2A430495B362A3D8F34F
420B9C268C681059E69336B45CB6FCB6
956299EE7402709716C5A90186913C47
0E145D0C512F67771ECD67BD440F4178
7CEEA1517B1846DDCAA1CCF44C05DAAC
6A3FC513EB0580FEDA0B6AC1F0B65BFF
623380A00650CE4D5501BBC9B391723B
26FC694B8088B5B6D61FCF8CA5C0879F
6BE11B52F8AD7F6A9CD82CFA64C1CF84
BADCFE7471BAD5A81DADA54F9D70A964
FBB7B2D228EE7DD667ECEAA3BF8B4575
25529D33149C7B55C7CA82322AB02E41
847F277A505B546717C40A90232EDDA0
5881D9F7D3292A5F3FE71495C1482313
A64C25BC98512155BC7527C575B132D9
<<<<< Identifier Token End >>>>
Still not work
Please advise.
Follow the guides to gain S-OFF, not sure why you would just unlock bootloader.
htc one s
I had the same problem. I am using windows 7 so I had to do the mark, copy, paste routine. Mine looked like this: (shortened version)
<<<< Identifier Token Start >>>>
ACA5EC523B7CB803D787E3D851000E12
F08122B5E2CF3FA0B4A7905F344029D8
3DF9E3AEB542FAC6CC1C3DD0097F0DCF
28D31982A2A1E384CC068B15463DB83C
<<<<< Identifier Token End >>>>>
There is no "(bootloader)" text in front of every line, but there was a space. I just put my cursor in front of the first character on each line and backspaced.
Worked after that.
<<<< Identifier Token End >>>>
[Originally Posted by blackepoxy View Post
Are you actually coping and pasting the token?
That could be the problem, maybe you should exactly type it in.
HTC's faq's on the site reads as follows:
Why doesn’t my token work?
Your token must be exactly the block of text that
is highlighted in step 9. Do not copy the INFO or
(bootloader) prefix, or the process will not
register properly.]
Hi Guys its very simple, in cmd follow the below steps:
Right click->Mark-> select the token as below
<<<< Identifier Token Start >>>>
51AF1D69C50A145B4B869370A1774A2D
6A1EAD50A1C6893338480F09BC79F1AB
BF50C5751F9DC02E7639E21D8F017E68
42A4C794649E04D19D433E1E685E6D63
050621ED77F35279B91F155FEBF2EEEB
26637799E8A47607645EE7FA858C37A8
9F0A2078B5923B1CCF561FA9B238EF96
699EACEA13EFC8A115A8FDE0FD31FA14
A0BB048E678B6D0562178EE6494DC761
B6EE7C3ABA36F126811108D31F3556E0
296B7864C85B4CE4774FDAD00AC96F88
AD392E03D7B75B77358CD37FA45018D0
D23FABBEDDC870D9F7B5B994767D6520
82F6C224A29F34D192E633E3D60C02CC
BC54FA4F43E30D35224DFDDBEC1F32E9
B46197C62AA1DBCBC8169D17BA4485AC
<<<<< Identifier Token End >>>>>
Then press ENTER and then paste it on the HTC dev site, it should work fine!!!
Guys, just paste the copied token into notepad before use and check it it appear correctly in Notepad.
Then add every missed line like
<<<< Identifier Token Start >>>>
and
<<<<< Identifier Token End >>>>>
and copy from Notepad to the website.
It will be solved 100%
Kalatehjari said:
Guys, just paste the copied token into notepad before use and check it it appear correctly in Notepad.
Then add every missed line like
<<<< Identifier Token Start >>>>
and
<<<<< Identifier Token End >>>>>
and copy from Notepad to the website.
It will be solved 100%
Click to expand...
Click to collapse
not solved a must of spent 24+ hours trying and its the right token but still failed check
same issue, ive done this before...
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work.
tried with and without spacing...i have <<start>>finish..
anyone???

HTC One X - Unable to root

Dear forum users,
I've spend the last couple of hours trying to unlock the bootloader on my HTC One X.
It's an international version (Vodafone, Netherlands), but I don't seem to get it to work.
Using the tutorial at onexroot.[com], I'm able to get to step 33 (the token_id), but after that the HTCDev website keeps giving me the following error:
Error Code: 173.
Error Reason: Check Rule Fail with exception
I've tried in numerous times, even with factory settings restored, but no luck at all.
Is there anyone else having this problem for the One X?
A solution would be greatly appreciated!
Kind regards,
Rob Maas
Chances are you're entering the key wrong on the site to get the token. PM me the token ID and I'll try and get the unlock token for you
EDIT: Might take a while, Internet in work is SLOW!!
EDIT 2: Can't get on until this evening so someone might be able to help
Thanks for your quick reply and help!
I've also added two screenshots, in case I did something wrong using fastboot in cmd.
The token ID is:
<<<< Identifier Token Start >>>>
0B2869547B0DBD0350F64A663F1A0090
909F3CD2C4E0515E3275C03E73A962A2
4A975A6A7032ED4696CEC5E73B373C52
89E4DD99B573C30B51FB2A8235AA3E42
02E1466B332D6FA178DB2EA39AA07517
EAAF9545F2015C41EBE8302F78F125C1
224074F6BF197222DE49A5D0013608CA
BC67A08DCCD68EB251D9CA905AC77A11
8355F73979A04A9184E721951F61B8D2
3C031E21958D5EB268E8DB0AD9F0E0D3
3409E6825524CD3AF8662AFD503E4E6D
B3D13BA4283BA52E7DF09EAD455E542C
32C901E8B4BDF7351EA38782F29C191F
93FA6F581EBA53BD31B422F8B668C3DD
B5AB0E38315D93CBF7ED40CB9F98105A
6FE3E6C93833BB1AE582846D670E6DBF
<<<<< Identifier Token End >>>>>
what you're doing is exactly right, i'll give it a shot.
HTCDev is vomiting all over itself right now, may take a while.
Here's your unlock file https://dl.dropbox.com/u/76222821/Unlock_code.bin
I gonna be about 7pm at home and tell you exacly what top do..
Sent from my HTC One X using xda premium
nickie claim
Thanks people!
But what did I do wrong?
I copied the token exactly like I posted it here.
Ah well, it works
Thanks a million!
Token Id problem
But what did I do wrong?
I copied the token exactly like I posted it here.
<<<< Identifier Token Start >>>>
0D1CA224355539EF995BB8A38580BA9A
E5E31A67B98B2923BB58A1607E4FBEB1
76FA7EB17289C8ADE6DD9E58168500CB
AD60FDDA6C1B0CA694B4F5AEE6946D87
D92787654DD54BA336BCAC6A43AE2D5A
6B26CE1D49D15095CD8E461EA4612EAC
E29B12DE5C38A694833005F7B4D22396
FAD6B86D0251DCDC66CC6A38843E52BD
A27EDC9F6EDCB16596FAC087E2B6D09D
605E64E06248EF28065B37968E9A3EDE
2176B8ECA7B3C6685169790DA438A4FD
32B34932A5A7A231E4EC8B3236335F3E
9BE70773080CD5AE7FE8CD89B1D36C21
06B10AE4AE6F251601F3899A12EDD442
3A056C123E2C12A44A59B55AA7B01A72
4334187E519F073E54B0D680DBA634EE
<<<<< Identifier Token End >>>>>
what am I doing wrong I can't get unlock code from Htcdev.com?
abarg28 said:
But what did I do wrong?
I copied the token exactly like I posted it here.
<<<< Identifier Token Start >>>>
0D1CA224355539EF995BB8A38580BA9A
E5E31A67B98B2923BB58A1607E4FBEB1
76FA7EB17289C8ADE6DD9E58168500CB
AD60FDDA6C1B0CA694B4F5AEE6946D87
D92787654DD54BA336BCAC6A43AE2D5A
6B26CE1D49D15095CD8E461EA4612EAC
E29B12DE5C38A694833005F7B4D22396
FAD6B86D0251DCDC66CC6A38843E52BD
A27EDC9F6EDCB16596FAC087E2B6D09D
605E64E06248EF28065B37968E9A3EDE
2176B8ECA7B3C6685169790DA438A4FD
32B34932A5A7A231E4EC8B3236335F3E
9BE70773080CD5AE7FE8CD89B1D36C21
06B10AE4AE6F251601F3899A12EDD442
3A056C123E2C12A44A59B55AA7B01A72
4334187E519F073E54B0D680DBA634EE
<<<<< Identifier Token End >>>>>
what am I doing wrong I can't get unlock code from Htcdev.com?
Click to expand...
Click to collapse
Yours DOES return an error:
We're sorry, but it appears your attempt to unlock the bootloader on this device has failed. This could be caused by several factors including simple errors in the entry of the unlock token, problems with your device, or a lack of manufacturer support for the unlocking process. Please see the specific error code listed below, and try again if necessary.
Error Code: 160.
Error Reason: MID Not Allowed.
Wrong phone?
Is it AT&T?

[Q] How to use other operator sim in Softbank(JP) 001HT (HTC desire HD)?

Hi,
I bought this HTC desire hd from Softbank, Japan and used for 2 years as per contract. Now I have tried to use other operator sim (another country), but showed 'invalid sim'
Next, I 've tried install custom rom (cm7.2)
As 1st step, I have unlocked bootloader using HTCDev.
But this is my failure list while trying next steps:-
1. Tried ROM manager v5.5.2.3
>>> BUT it shows "You must root ur phone for rom Manager to function"
2. (to root) Tried to downgrade (technically update) to Softbank JP from 2.64.762.3 to 2.37.762.2 (RUU_..._S_SoftBank_JP_2.37.762.2 ....)
>>> BUT this msg shown
Error [155]: UNKNOWN ERROR
Please get the correct ROM Update Utility and try again.
3. (leaned to root, s-off needed) Tried s-off following http://forum.xda-developers.com/showthread.php?t=2221039
>>> BUT "fastboot recovery1.img" cmd asked more arguments (hwevr, device found as "HT12VRX00872 fastboot")
4. (learned to s-off, goldcard required) Tried gold card following http://www.addictivetips.com/mobile/how-to-make-gold-card-for-htc-desire-hd/
>>> BUT http://psas.revskills.de/?q=goldcard has retired and downloadable revskill installers either crash or cant generate image
5. In alternative path, tried to follow Advanced Ace Hack Kit
>>> BUT AAHK has retired
6. Tried 4EXT Recovery Control 2.4.6
>>>BUT "This app need root access" (refer to step 2)
So, can anyone please guide me for a solution (for using other operator sim)?
Somoy
Somoy1 said:
Hi,
I bought this HTC desire hd from Softbank, Japan and used for 2 years as per contract. Now I have tried to use other operator sim (another country), but showed 'invalid sim'
Next, I 've tried install custom rom (cm7.2)
As 1st step, I have unlocked bootloader using HTCDev.
But this is my failure list while trying next steps:-
1. Tried ROM manager v5.5.2.3
>>> BUT it shows "You must root ur phone for rom Manager to function"
2. (to root) Tried to downgrade (technically update) to Softbank JP from 2.64.762.3 to 2.37.762.2 (RUU_..._S_SoftBank_JP_2.37.762.2 ....)
>>> BUT this msg shown
Error [155]: UNKNOWN ERROR
Please get the correct ROM Update Utility and try again.
3. (leaned to root, s-off needed) Tried s-off following http://forum.xda-developers.com/showthread.php?t=2221039
>>> BUT "fastboot recovery1.img" cmd asked more arguments (hwevr, device found as "HT12VRX00872 fastboot")
4. (learned to s-off, goldcard required) Tried gold card following http://www.addictivetips.com/mobile/how-to-make-gold-card-for-htc-desire-hd/
>>> BUT http://psas.revskills.de/?q=goldcard has retired and downloadable revskill installers either crash or cant generate image
5. In alternative path, tried to follow Advanced Ace Hack Kit
>>> BUT AAHK has retired
6. Tried 4EXT Recovery Control 2.4.6
>>>BUT "This app need root access" (refer to step 2)
So, can anyone please guide me for a solution (for using other operator sim)?
Somoy
Click to expand...
Click to collapse
If you have used the device for 2 years, you can contact softbank to get the Sim unlock code. That is the best way to unlock your device.
glevitan said:
If you have used the device for 2 years, you can contact softbank to get the Sim unlock code. That is the best way to unlock your device.
Click to expand...
Click to collapse
I did. Softbank said they do not support or provide any unlocking code.
Recently I bought unlock code from unlock-zoneDotcom ... but there is no prompt to enter this code (after new sim insertion)
instead asked to enter "SIM network subset unlock PIN" which is neither that unlock code nor pin of sim.
Somoy1 said:
I did. Softbank said they do not support or provide any unlocking code.
Recently I bought unlock code from unlock-zoneDotcom ... but there is no prompt to enter this code (after new sim insertion)
instead asked to enter "SIM network subset unlock PIN" which is neither that unlock code nor pin of sim.
Click to expand...
Click to collapse
ok, then I guess that your only solution is to S-OFF your device...the only way currently is to do it manually. If you need help just let me know and we can arrange to connect via teamviewer to do it. :good:
http://tau.shadowchild.nl/attn1/?p=411
glevitan said:
ok, then I guess that your only solution is to S-OFF your device...the only way currently is to do it manually. If you need help just let me know and we can arrange to connect via teamviewer to do it. :good:
<an url was here!>
Click to expand...
Click to collapse
Thanks.
I tried to follow the link's instruction. (for that purpose installed ubuntu+android sdk)
The 1st step was "adb shell dd if=/dev/blo...."
>> BUT got this msg "cannot open for read: Permission denied" (in fact from win7 got similar msg)
One clarification request: does "root only" means root access? Of so, it seems like a loop: s-off <-> roor access
Any help please?

[Q] Widfier S: Can't obtain Identifier Token

MY ISSUE seems unique!! Please, is anyone able to figure this out?
I have a HTC Wilfire S A510e that I've been trying to root for three months!
It's stats are:
***LOCKED***
Marvel PVT SHIP S-ON RL
MICROP-0451
Radio 7.57.39.10M
Android: 2.3.5
ROM: 2.26.401.3
Kernal: 2.6.35.10
HBoot: 1.09.
HTC Sense Version: 2.1
SO...I created my a/c on HTCDEV.COM, tick all boxes etc. No need to update bootloader, as per instructions, so I "proceed to next step".
I created \Android ( in My Documents) on my Dell Latitude D630 (using Windows XP); downloaded the "Fastboot binary, Windows (unzip the file before executing)" file [Fastboot-Zip] to \Android & also the recommended Android SDK zip, Java Runtime Environment. I already have HTC Sync 3.3.63. All unzipped. I set up my HTC- fastboot off, usb debugging enabled, bootloader screen up> click on fastboot, usb into it, the phone registers "Fastboot USB" and then open the cmd prompt on my pc.
The problem I encounter is this:
On the cmd prompt instructions:
I open cmd prompt- My pc cmd line says c:\documents and settings\administrater>[blinking cursor]. I type- c: cd \Android at the blinking cursor. That's okay as my cmd line returns- c:\documents and settings\administrater>[blinking cursor] again.
I type- c: \Android> fastboot oem get_identifier_token at the blinking cursor [hit enter] and...
Nothing happens! Nothing at all- not even the "waiting for device" problem that seems to be common at this stage.
I'm meant to get:
INFO <Please cut following info>
INFO <<<< Identifier Token Start >>>>
INFO {**multi lines of numerical text**}
I get nothing!
What's going wrong?? I've done weeks and weeks of research using google search; read hundreds of threads on multiple sites; in frustration I've even asked a question on Yahoo Answers, Android Forums & emailed HTCdev, but had only one answer and it was to use another port and another cable, both of which I've done, neither worked.
I just don't get it. Any assistance would be fantastic.
Thanks, Gerry
GERJDOY said:
MY ISSUE seems unique!! Please, is anyone able to figure this out?
I have a HTC Wilfire S A510e that I've been trying to root for three months!
It's stats are:
***LOCKED***
Marvel PVT SHIP S-ON RL
MICROP-0451
Radio 7.57.39.10M
Android: 2.3.5
ROM: 2.26.401.3
Kernal: 2.6.35.10
HBoot: 1.09.
HTC Sense Version: 2.1
SO...I created my a/c on HTCDEV.COM, tick all boxes etc. No need to update bootloader, as per instructions, so I "proceed to next step".
I created \Android ( in My Documents) on my Dell Latitude D630 (using Windows XP); downloaded the "Fastboot binary, Windows (unzip the file before executing)" file [Fastboot-Zip] to \Android & also the recommended Android SDK zip, Java Runtime Environment. I already have HTC Sync 3.3.63. All unzipped. I set up my HTC- fastboot off, usb debugging enabled, bootloader screen up> click on fastboot, usb into it, the phone registers "Fastboot USB" and then open the cmd prompt on my pc.
The problem I encounter is this:
On the cmd prompt instructions:
I open cmd prompt- My pc cmd line says c:\documents and settings\administrater>[blinking cursor]. I type- c: cd \Android at the blinking cursor. That's okay as my cmd line returns- c:\documents and settings\administrater>[blinking cursor] again.
I type- c: \Android> fastboot oem get_identifier_token at the blinking cursor [hit enter] and...
Nothing happens! Nothing at all- not even the "waiting for device" problem that seems to be common at this stage.
I'm meant to get:
INFO <Please cut following info>
INFO <<<< Identifier Token Start >>>>
INFO {**multi lines of numerical text**}
I get nothing!
What's going wrong?? I've done weeks and weeks of research using google search; read hundreds of threads on multiple sites; in frustration I've even asked a question on Yahoo Answers, Android Forums & emailed HTCdev, but had only one answer and it was to use another port and another cable, both of which I've done, neither worked.
I just don't get it. Any assistance would be fantastic.
Thanks, Gerry
Click to expand...
Click to collapse
First things first, your problem is not unique..........just less often found
The reason you are not able to get an Identifier token is because of HTC Sync............. HTC Sync usually tends to block any ADB or Fastboot commands
So all you have to do is uninstall HTC Sync, don't worry about it as uninstalling it won't remove the drivers
Thanks very much for replying csoulr666
I promptly uninstalled HTC Sync, leaving:
HTC BMP USB Driver (Ver: 1.0.5375 ) 0.35MB
HTC Driver Installer (4.5..001 ) 2.82MB
and have tried the "get token" process again.
It has not worked.
Do you think that I should also uninstall the HTC Driver Installer?
GERJDOY said:
Thanks very much for replying csoulr666
I promptly uninstalled HTC Sync, leaving:
HTC BMP USB Driver (Ver: 1.0.5375 ) 0.35MB
HTC Driver Installer (4.5..001 ) 2.82MB
and have tried the "get token" process again.
It has not worked.
Do you think that I should also uninstall the HTC Driver Installer?
Click to expand...
Click to collapse
It should work now IMHO, did you see if your device is being recognized using "fastboot devices"???
Plus setting the folder to apply commands("cd"), try using the complete path that comes in the address bar in My Computer/Windows Explorer..........It would be like C................documents and settings......blah blah blah
Hi,
If you can not find a solution for your method of getting the token, you may try another method that worked fine for me.
1) Search for HTC Wildfire S All-In-One Toolkit V2.1 post.
2) Read carefully the whole post.
3) Uninstall everything related to HTC (HTC Sync, USB drivers, everything).
4) Do not use USB hubs or USB 3.0 ports. Enable USB Debugging at the phone settings and plug the phone directly to an USB 2.0 port without the SIM and SD cards (they may be erased while unlocking). Choose the Charge only option in your phone.
5) Proceed with the tool steps (select the step and click on 'go')(in useful links there is a link to a step by step guide):
a) Install the drivers.
b) Register at HTCDev (this is already done).
c) Get the ID (beware, you will see and empty command prompt, close it, and a second command window will appear with the token)
d) Submit the token to HTCDev.
e) Get the Unlock_code.bin file from your e-mail account.
f) Unlock the boot loader.
6) Once you have finished, I recommend to install the clockworkmod recovery with the same tool. Download the right version GSM or CDMA from the Clockworkmod official site. Beware: make sure that you download the right version for your phone. I think yours is GSM, but I am not an expert, sorry. It may be fatal if the wrong version is installed (brick). Choose the option your own recovery in the tool.
7) Create a backup before doing anything else.
8) You are ready to get a permanent root or install a ROM.
I hope this helps you. Feel free to ask any question. Regards.
GERJDOY said:
MY ISSUE seems unique!! Please, is anyone able to figure this out?
I have a HTC Wilfire S A510e that I've been trying to root for three months!
It's stats are:
***LOCKED***
Marvel PVT SHIP S-ON RL
MICROP-0451
Radio 7.57.39.10M
Android: 2.3.5
ROM: 2.26.401.3
Kernal: 2.6.35.10
HBoot: 1.09.
HTC Sense Version: 2.1
SO...I created my a/c on HTCDEV.COM, tick all boxes etc. No need to update bootloader, as per instructions, so I "proceed to next step".
I created \Android ( in My Documents) on my Dell Latitude D630 (using Windows XP); downloaded the "Fastboot binary, Windows (unzip the file before executing)" file [Fastboot-Zip] to \Android & also the recommended Android SDK zip, Java Runtime Environment. I already have HTC Sync 3.3.63. All unzipped. I set up my HTC- fastboot off, usb debugging enabled, bootloader screen up> click on fastboot, usb into it, the phone registers "Fastboot USB" and then open the cmd prompt on my pc.
The problem I encounter is this:
On the cmd prompt instructions:
I open cmd prompt- My pc cmd line says c:\documents and settings\administrater>[blinking cursor]. I type- c: cd \Android at the blinking cursor. That's okay as my cmd line returns- c:\documents and settings\administrater>[blinking cursor] again.
I type- c: \Android> fastboot oem get_identifier_token at the blinking cursor [hit enter] and...
Nothing happens! Nothing at all- not even the "waiting for device" problem that seems to be common at this stage.
I'm meant to get:
INFO <Please cut following info>
INFO <<<< Identifier Token Start >>>>
INFO {**multi lines of numerical text**}
I get nothing!
What's going wrong?? I've done weeks and weeks of research using google search; read hundreds of threads on multiple sites; in frustration I've even asked a question on Yahoo Answers, Android Forums & emailed HTCdev, but had only one answer and it was to use another port and another cable, both of which I've done, neither worked.
I just don't get it. Any assistance would be fantastic.
Thanks, Gerry
Click to expand...
Click to collapse
I think you are doing wrong with the c: android step you should first "cd android" and then enter "fastboot oem get_identifier_token"
csoulr666 said:
It should work now IMHO, did you see if your device is being recognized using "fastboot devices"???
Plus setting the folder to apply commands("cd"), try using the complete path that comes in the address bar in My Computer/Windows Explorer..........It would be like C................documents and settings......blah blah blah
Click to expand...
Click to collapse
Thanks for your continued time and assistance csoulr666. It's taken me a while to reply because after having no sucess having followed your advice, I decided to delete EVERYTHING and IT ALL FRESH, monitoring all downloads as they happened and ensuring I followed all steps and instructions PRECISELY, in case I did something wrong the first time around 3 months ago!
And following your recommendation I retried using the full path when typing both commands and it still didn't work. I'm not sure what you meant by "........your device is being recognized using "fastboot devices"???"
However, as you've mentioned "fastboot", I think I've identified an issue with the fastboot binaries from HTCdev. Please see my new post below.
aWFSuser said:
I think you are doing wrong with the c: android step you should first "cd android" and then enter "fastboot oem get_identifier_token"
Click to expand...
Click to collapse
aWFSuser- thank you for the advice.Yes, I do use the c: cd \Android command first, everytime I try the cmd process, even if it's after somthing silly like removing the sd card from the phone, putting a new one in (to render the "as disk drive" option available in the "USB connection type") on the handset, changing the USB port I'm using to a different one etc.
But thanks.
ukyo_tachibana said:
Hi,
If you can not find a solution for your method of getting the token, you may try another method that worked fine for me.
1) Search for HTC Wildfire S All-In-One Toolkit V2.1 post.
2) Read carefully the whole post.
3) Uninstall everything related to HTC (HTC Sync, USB drivers, everything).
4) Do not use USB hubs or USB 3.0 ports. Enable USB Debugging at the phone settings and plug the phone directly to an USB 2.0 port.
5) Proceed with the tool steps (select the step and click on 'go')(in useful links there is a link to a step by step guide):
a) Install the drivers.
b) Register at HTCDev (this is already done).
c) Get the ID (beware, you will see and empty command prompt, close it, and a second command window will appear with the token)
d) Submit the token to HTCDev.
e) Get the Unlock_code.bin file from your e-mail account.
f) Unlock the boot loader.
6) Once you have finished, I recommend to install the clockworkmod recovery with the same tool. Download the right version GSM or CDMA from the Clockworkmod official site. Beware: make sure that you download the right version for your phone. I think yours is GSM, but I am not an expert, sorry. It may be fatal if the wrong version is installed (brick). Choose the option your own recovery in the tool.
7) Create a backup before doing anything else.
8) You are ready to get a permanent root or install a ROM.
I hope this helps you. Feel free to ask any question. Regards.
Click to expand...
Click to collapse
Thanks so much ukyo_tachibana.
I will try this method, if I have failed to identify the issue correctly.
After having the problem of being unable to obtain my identifier token for so long, (trying now for 3 months!), I've been looking for a way to unlock bootloader & root- that works for the Wildfire S WITHOUT having to use the "get_identifier" process.
THANK YOU for this method!
It's taken me a while because after having no sucess, I decided to delete EVERYTHING and IT ALL FRESH, monitoring all downloads as they happened and ensuring I followed all steps and instructions PRECISELY, in case I did something wrong the first time around 3 months ago!
So, once again:
I created a folder: double click Local Disk C: then \Document&Settings and \administrater >Make a new folder. Called it Android.
Downloaded from HTCdev's links- HTC Sync, Java Runtime Enviroment & Google Android SDK to \Android.
(1) SYNC. Uninstalled Sync, as per csoulr666's advice. Used Control Panel> Add or Remove programs. This left HTC Driver Installer & HTC BMP USB Driver & also setup_3.3.63 (in \Android).
(2) JAVA. Opened chromeinstall-7u51(Runtime) and installed. Checked it installed correctly via Verify Java Version on java.com.
(3) SDK. Unzipped the zipped folder adt-bundle-windows-x86-201... It created a new folder- "adt-bundle-windows-x86-201.." with 2 subfolders & 1 application in it; subfolders (1)"eclipse" & (2)"sdk" along with the application "SDK Manager". NOW, as per instruction following the SDK download, (just in case it was relevant to what I am doing, although I don't think so as Eclipse is a developer tool as I understand it), I opened the eclipse sub-folder & opened (ran) the Eclipse application which set itself up in \workforce. I exited Eclipse in case it interfered with anything else. I did not run, open or do anything else with the adt folder at this stage.
Set up my HTC as per instruction- fastboot off, debugging on & usb to disk drive, (I've also tried it on the charge only setting), downloaded fastboot-win binaries from HTCdev to \Android. Clicked unzip and it generated 1 new folder _MACOSX & an application- fastboot; both in \Android. NOW HTCdev says "open cmd prompt...etc". So I did and retried the process twice. Once typing c: cd \Android. Then the c: \Android> fastboot oem...etc. It didn't work. So I repeated the process using the full path in both the commands- c:\Documents and Settings\administrater\ cd \Android; then c:\Doc...Sett...\admin...\Android> fastboot....Once again nothing. IT DID NOT WORK.
HOWEVER: I did notice 2 things!
(1) Probably nothing but there was a new folder created in \administrater, right beside the Android folder. As I was working from \Android, I didn't notice when happened. I did not do it. It called itself .android; ( "a dot" and a lowrecase "a" for android). I can't recall at what stage of the process this came into being. It contains 1 folder- "avd", which is empty, & 3 files- "adbkey" file, "adbkey.pub" file & "ddms.cfg" file.
(2) Just, following the latest failure of the cmd process working, I thought maybe I was meant to do more than just unzip the fastboot-win, so I went to the fastboot application and tried to open it, It said:
"The application failed to start because AdbWinApi.dll was not found. Re-installing the application may fix the problem"
So I deleted it, re-downloaded from HTCdev, unzipped. Opened prompt, reran the cmd "get_identifier" process and it still hasn't worked. Again I to run the fastboot.exe in \Android
It still says "...application failed...AdbWinApi was not found. Re-installing the application...".
Does this mean the file download itself on HTCdev,com is corrupt? Could THIS BE the source of my problem????
Thanks.
I'm attaching a zip with the files I use for this stuff............Extract them in a folder, use the "cd" command to it and then try to obtain the token
csoulr666 said:
I'm attaching a zip with the files I use for this stuff............Extract them in a folder, use the "cd" command to it and then try to obtain the token
Click to expand...
Click to collapse
***csoulr666
Yes!! Thank you for the files. HTC's MUST BE corrupt, as your's have worked a treat & also. they behave differently ( "fastboot" application) when <highlight/right click > is used!! No error message! THANK YOU for your files. ***
They worked & after three months and hundreds of hours research, I HAVE MY TOKEN!! You guys are BRILLIANT!
However, there is a new issue, perhaps you can help with this also...
I copied the token exactly as HTC stated on their website. I started at <<<Identifier Token Start>>> & ended with <<<IIdentifier Token End>>>.
There are 18 lines in total- 16 lines of alpha/numeric sandwiched between the above 2 of text.
Both of HTC's examples also have the same line-count (18 in total 16 + 2) & layout as mine.
But when submitted, the website rejects it and the following error is returned:
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work.
I've spent most of last night on this. I've tried logging in and out of HTCdev, copied and pasted multiple attempts (busy web traffic perhaps). I have cleared browser cookies/cache & history in case it's something like that. Counted and recounted my token in comparison with their examples, in case I made a mistake somehow. What am I doing wrong??.
Also, today when I tried the cmd get_token process, I got a different token i.e. a completely different set of 16 lines of alpha/numeric text. Is the token different every time it's requested?
Thank you all for your expert help
GERJDOY said:
***csoulr666
Yes!! Thank you for the files. HTC's MUST BE corrupt, as your's have worked a treat & also. they behave differently ( "fastboot" application) when <highlight/right click > is used!! No error message! THANK YOU for your files. ***
They worked & after three months and hundreds of hours research, I HAVE MY TOKEN!! You guys are BRILLIANT!
However, there is a new issue, perhaps you can help with this also...
I copied the token exactly as HTC stated on their website. I started at <<<Identifier Token Start>>> & ended with <<<IIdentifier Token End>>>.
There are 18 lines in total- 16 lines of alpha/numeric sandwiched between the above 2 of text.
Both of HTC's examples also have the same line-count (18 in total 16 + 2) & layout as mine.
But when submitted, the website rejects it and the following error is returned:
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work.
I've spent most of last night on this. I've tried logging in and out of HTCdev, copied and pasted multiple attempts (busy web traffic perhaps). I have cleared browser cookies/cache & history in case it's something like that. Counted and recounted my token in comparison with their examples, in case I made a mistake somehow. What am I doing wrong??.
Also, today when I tried the cmd get_token process, I got a different token i.e. a completely different set of 16 lines of alpha/numeric text. Is the token different every time it's requested?
Thank you all for your expert help
Click to expand...
Click to collapse
see whether you have copied the code correctly as instructed at HTCdev
Hi,
The token seems to be different every time you retrieve it, I don't know why (maybe someone can enlighten us ).
Regarding the token copy/paste. At the command window: right click, select mark, draw the rectangle enclosing the <<<< Identifier Token Start >>>> and <<<<< Identifier Token End >>>>> (this also includes all the alphanumeric token), right click again to copy. Now, paste it in Notepad, PSPad or any other text editor, and make sure that there are no white spaces, tabs, or any other special character, such as this example:
Code:
<<<< Identifier Token Start >>>>
5C1161E707F362366365EA333A6B51D6
7B52743B74534195B1C0CD07E738AEA3
93A6BD42CFA2C05006C6282B590CEDC3
6593DE3AEF7786B79527C1027E871C3D
9DDD04692D8F653D9BD548D86CB0AC58
01CDF6096D229B7E418BD74E8AC2311C
77D92CE222450E4B233CEC2286DD9CA4
C0871C78B430F4474C74FCE113E95C2D
2134C5495D588B3A580710A226A6675C
3D9F01CB8A8EF628A4EC2BB867E47D3E
2476FE360221DC834197EAECCA4BB09A
243420AEB1CFC713A658FC0A156448A9
6859FF58473B71BDFFFF5FFF292B066B
9CA1B055827C43BFE0F30A656906801E
35FD964354DAA6F83A38FE7D7452B97A
171BDB3A9D280118C638240DEDA452DE
<<<<< Identifier Token End >>>>>
If you select previous lines, there are no unwanted characters, check it. Once you are sure that everything is okay, submit the token to HTC.
I hope this post helps you. Regards.
By the way, two comments:
1) Note that unlocking HBoot is a destructive process, you will loose everything in the phone memory (similar to a factory reset). Besides, the SIM card and the SD card may be also erased, so remove both before starting.
2) If you want to install a custom rom, you don't know which one to install yet and you want some help, I can suggest one that has been working like a charm for more than one year in my Wildfire S. It is based on the last stock rom, but with several tweaks to overcome the limitations of the terminal (amount of RAM, internal storage, etc.). Do not hesitate to ask.
Regards.
ukyo_tachibana said:
Hi,
The token seems to be different every time you retrieve it, I don't know why (maybe someone can enlighten us ).
Regarding the token copy/paste. At the command window: right click, select mark, draw the rectangle enclosing the <<<< Identifier Token Start >>>> and <<<<< Identifier Token End >>>>> (this also includes all the alphanumeric token), right click again to copy. Now, paste it in Notepad, PSPad or any other text editor, and make sure that there are no white spaces, tabs, or any other special character, such as this example:
Code:
<<<< Identifier Token Start >>>>
5C1161E707F362366365EA333A6B51D6
7B52743B74534195B1C0CD07E738AEA3
93A6BD42CFA2C05006C6282B590CEDC3
6593DE3AEF7786B79527C1027E871C3D
9DDD04692D8F653D9BD548D86CB0AC58
01CDF6096D229B7E418BD74E8AC2311C
77D92CE222450E4B233CEC2286DD9CA4
C0871C78B430F4474C74FCE113E95C2D
2134C5495D588B3A580710A226A6675C
3D9F01CB8A8EF628A4EC2BB867E47D3E
2476FE360221DC834197EAECCA4BB09A
243420AEB1CFC713A658FC0A156448A9
6859FF58473B71BDFFFF5FFF292B066B
9CA1B055827C43BFE0F30A656906801E
35FD964354DAA6F83A38FE7D7452B97A
171BDB3A9D280118C638240DEDA452DE
<<<<< Identifier Token End >>>>>
If you select previous lines, there are no unwanted characters, check it. Once you are sure that everything is okay, submit the token to HTC.
I hope this post helps you. Regards.
Click to expand...
Click to collapse
BRILLIANT!!
I followed your recommendation- copy to notepad- there were white spaces:
Note: the <right click/copy> function was not available in cmd prompt.
I had to "mark" and then ctrl & c to copy.
I had spaces at the end of each of the token's lines.
Thanks. Token successfully submitted- just over ten minutes ago. Awaiting an email back from HTCdev with an unlock key and link for Unlock completion!
I assumed I'd have it instantaneously...but I'll be patient; it's taken this long to get this far...what's a few hours? more.
I have not given ANY thought to ROMs etc.
This part of the process baffles me.
This all began three months ago when I got the Wildfire S- my first ANDROID phone- and I noticed there are loads of pre-installed apps on it, many of which I have absolutely no interest in: like Peep, News & Weather, Maps & tons more via: Applications>Running Services>All. TO MY UTTER AMAZMENT I could not delete any of them!
Call me old fashioned but I would like to decide what I put on my phone and have total control over them. On this phone certain apps would start up of their own volition i.e. when the handset was powered off, then on; gather information and data; all without me even using/ activating them e.g. Google services/ Facebook. I could stop them manually, but like I said they would reassert themselves on start-up.
I'm unclear yet exactly what I can safely get rid of without damaging my handset, I need to do research I know, as some processes may be vital to the phone's operation, but I have been consumed with this first basic step- Unlocking the BootLoader.
Ideally, I would love to start with an empty phone- just the basics: calls/messages/phone book/ calender/ alarm facilities with a browser.
A normal, basic phone.
Any extra apps I am then free to decide upon, install, set permissions (where possible) & remove as & if I choose.
Thanks.
Hi,
Did you get the unlock binary file? It should take no longer than a few minutes (or even less) to send it to your e-mail account. Did you successfully unlock the HBoot? Let us know . Regards.
ukyo_tachibana said:
Hi,
Did you get the unlock binary file? It should take no longer than a few minutes (or even less) to send it to your e-mail account. Did you successfully unlock the HBoot? Let us know . Regards.
Click to expand...
Click to collapse
Hi ukyo_tachibana,
Thank you for your ongoing interest. I appreciate it greatly.
I have been checking my email address all night last night, and also today, awaiting my email from HTCdev.
No! As yet (over 24 hours later), I have not yet received my response.
HTCdev's site confirmed that I successfully sent my token when I did. I remained logged in for a hour and a half afterwards, just so the site would notice/ remember me. Sounds daft, but I really want this episode to finish now after all this time. I really thought I had cracked this step!
The web page said to expect and email with my unlock code and a link to directions to help me complete the process.
Now, over 24 hours later, I still have not received any communication from them. I check my email address- the one I used to register with them and, in late December of last year, communicate as to why I the "get_identifier token" process was not working- ever hour or so for the file & link. So I'm sure the site has my correct email address.
I was actually wondering what to do now as I'm unsure as whether I should wait X amount of time, contact them via the "contact us" option on their web site or resend a token to them and risk confusing the process. Basically I'm just playing the waiting/ unsure-of-next-move game.
Thanks.
Hi,
Do not despair . The token should be send to you in question of seconds (but in order to be safe wait a few minutes, no more than 5 minutes). The email sender should be something like [email protected] and the subject should be The key to unlocking your HTC Device (at least, this is what I received).
I would:
1) Search for the email in any other folder than the Inbox, such as spam. Your email provider may have archived the message in a different folder.
If you are not able to find the message:
2) Try to find your email white list and add htc.com and htcdev.com to the list, in order to avoid that emails from HTC or HTC Dev go to the spam folder or are erased.
3) Check that you activated your account. Register at the website is not enough, you also must activate your account clicking on the link that HTC send to confirm your email address. I know that this question is a bit stupid, but it just to cover all the possibilities that I can think about.
4) Get and send again the token.
I hope this helps you. Regards.
I have my email now.
Before I proceed, as I'm a complete techno-novice, I was just looking into how to create a full back up of my stock ROM, in case I decided to pass on the phone later I can return it to it's current out-of-the box condition- with all it's apps etc. Also I need to be clear on the root process files. I don't have the original SD Card. I have two to hand though- a 2GB & 4 GB.
Step 1- Unlock BootLoader.
REALLY, REALLY NOT sure of the rest:
Step 2- download CWM Recovery from (http://www.clockworkmod.com/rommanager/) 5.0.2.8 for the Wiidfire S to my PC.
?Move to SD Card
?Hboot>Recovery>chooseCWM and there should be an option to "Back-Up/ Restore"
?Select this option and "Back-Up". Wait for stoc ROM to be copied onto SD Card. When it has this is the back-up phase complete
As I understand it this will give me a re-installation disk type set up for my current ROM.
Step 3
?Find and download a file to my PC called "Root Zip".
?Transfer it to my SD Card
?Hboot>Recovery>choose file and it roots the phone itself.
Step4
?Find and download a file called "SuperSU"
?Move to SD Card and install.
??This gives me an app called "SuperSU" which allows me now to modify my phone how I like it to be- prevent apps starting at boot/ remove any preinstalled ones that I don't want or do I need to install a custom ROM?
Thanks,

[GUIDE] [T-Mobile] Unlock Bootloader, Install Custom Recovery, Root, S-Off

This guide is for the T-Mobile HTC One M8. Bootloader Version: 3.16.0.0000
Disclaimer: I am not responsible for your device. You are performing the steps detailed in this post at your own risk. Support for any phone unlocked through this method falls upon you. Assume that this method voids any warranty that may have come with your phone. Also, currently there is no known way to restore the T-Mobile variant to complete stock settings after using HTC Dev Unlock and/or achieving S-Off. Maybe at a later date this could be possible, but not yet.
*Please do not quote this post. It's so long.*
Support for recoveries, firewater, or other tools used herein should be asked in their respective thread or forum.
Firewater does not work on every T-Mobile M8. If, when running firewater, you see "Whelp, this sucks..." firewater will not work on your phone. Right now firewater is the only method to achieve S-Off on our M8 variant.
There was speculation that the phone's build date might be a reference for who's phone was compatible with firewater. This is not the case. There is no correlation between build date and compatibility. A further explanation is given under the S-Off instructions.
This thread is for people that understand what this whole post means. If you are unsure of the terms, please search. The terminology is readily available and nothing should be difficult to find.
I work and go to graduate school, so this thread will be updated periodically, but I will not be able to provide a lot of support. This guide reflects my steps to achieve root and S-Off, and is just intended to give someone new to the phone an easy to read step-by-step guide of what the process will be.
I also hope we can condense the large amount of information floating around about achieving S-Off on our variant into one thread.
Required Files:
HTC Dev Unlock Process:
Google Android SDK zip:
http://developer.android.com/sdk/index.html
Java Runtime Environment:
http://java.com
HTC Sync (Windows Only):
http://www.htc.com/www/help/
Recovery (choose one):
Team Win Recovery Project (TWRP) 2.7.x for GSM Phones
http://teamw.in/project/twrp2/225
PhilZ Touch ClockworkMod (CWM) Recovery
http://forum.xda-developers.com/showthread.php?t=2703223
S-Off:
Firewater
http://firewater-soff.com/instructions/
Firewater M8 Original Thread
http://forum.xda-developers.com/showthread.php?p=51698035
Useful Commands:
adb devices
(after installing adb, this will tell you if your phone is detected by the computer)
expected output:
Code:
C:\sdk\platform-tools>adb devices
List of devices attached
FAXXXXXXXXXXdevice
fastboot devices
(after copying the fastboot utility downloaded during the HTC Dev Unlock process to your sdk\platform-tools\ directory, this will tell you if your phone is detected by the computer)
expected output:
Code:
C:\sdk\platform-tools>fastboot devices
List of devices attached
FAXXXXXXXXXXfastboot
1. Unlock bootloader via HTC Dev Unlock (http://www.htcdev.com/bootloader)
a. At the top of the page, either register for a new account or log in with an existing one
b. Under "Supported Devices" choose "All Other Supported Models"
c. Click "Begin Unlock Bootloader"
d. A prompt will ask you to continue. Read this. If this prompt scares you, stop immediately. Otherwise, press "Yes" to continue
e. Accept the legal terms and conditions.
f. Follow the on-screen steps provided.
Step 1
After powering down, press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. If you have difficulty, power up normally, go to Settings->Battery and deselect Fast boot. Power down and try again.
Step 2
Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
Step 3
Connect the device to the computer via a usb cable
Step 4
Download the fastboot binary for your OS using the provided links​g. Follow the on-screen steps provided
Step 5
Open a command Prompt: Windows: Start->"cmd" Mac: Applications->Utilities->Terminal.app Linux: Terminal
Type in Command Prompt: fastboot oem get_identifier_token.
Step 6
You will see a long block of text. Copy and paste this text into the the token field below (in the Windows command prompt: Right Click > Mark > highlight the block of text > Right click to copy. Mac users can use cmd-option to mark and select text.).
When copying the token, start with this line:
>
And end with this line:
>
(Note: Do not copy the INFO or (bootloader) prefix)
Step 7
Paste this string of text into the token field and hit Submit in order to receive your unlock code binary file. You will receive this information in your email.​h. After hitting submit, HTC will send you an email. Sender is HTC-Unlockbootloader. Subject is "The key to unlocking your HTC Device."
Email Message:
Hi Recipient
Attached in this mail is your unlock bootloader key file. To use this file to unlock your device, simply follow the remaining instructions on the website to complete the process and successfully unlock your bootloader.
Please remember that unlocking your bootloader may void all or parts of your warranty and your device may not function as intended by HTC. Unlocking the bootloader is for development purposes only.
* Click here to continue the bootloader unlocking process.
The bootloader unlock key file can only be applied to the device with which you generated the token.
Please do not reply to this email which is auto-sent by server.
If you need to contact us with questions please click here.
Sincerly,
HTC
Click to expand...
Click to collapse
Attached to the email is Unlock_code.bin. This is the file you will need to download in order to unlock your bootloader. This file is device specific. You cannot use this file to unlock any other HTC phone. Please do not try as this will probably result in a brick.
Click the link provided in the email to continue the steps to unlock your bootloader​i. Follow the on-screen steps provided
Step 8
You will receive an email with the attachment: Unlock_code.bin. Save this file in the same folder as your fastboot files (For Example: C:\Android).
If, after a short period of time, you have not yet received the mail, or you have received an email from HTC, but does not contain an attached file, it is possible that more stringent spam filters and anti-virus programs will block this mail or attachment.
In order to ensure that you receive the email with the attachment, we suggest you consider using a non-corporate email server as corporate servers tend to have more stringent attachment policies. If you have not received the email at all, please check your spam folder in your email client to check if the email was filtered out.
Step 9
In the command prompt type: fastboot flash unlocktoken Unlock_code.bin. In the command prompt you will see the following message:
Code:
fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' ...
OKAY [ 0.151s]
writing 'unlocktoken'...
unlock token check successfully
OKAY [0.006s]
finished. total time: 0.158s
Step 10
On your phone you will now see the disclaimer. Please read this carefully as this action may void your warranty. Use the Volume buttons to highlight your choice, and the Power button to make your selection. If you select Yes, your phone will be reset to its’ factory default settings, and your bootloader will be unlocked. If you select No, your phone will reboot and no modifications will have been made.
Step 11
To re-lock your bootloader, in the command prompt, type: fastboot oem lock.
Note: This will not restore the factory default lock, but will simply re-lock the bootloader so no further changes can be made. Furthermore, if you want to unlock your bootloader again, simply repeat step 9 with your original unlock key file to unlock your phone again.​j. Congratulations, your phone now has an unlocked bootloader! If your phone hasn't done so already, reboot it and let it sit at the welcome screen for the requisite 5-10 minutes to settle. Turn off your phone, and reboot to HBOOT with volume down + power button. Select fastboot.​
​
2. Install a custom recovery
As far as I know, there are two recoveries that are fully functional with our M8 variant:
TWRP
PhilZ Touch CWM​a. Download your chosen recovery from the above links.
b. Rename it recovery.img
c. Drop it in the same folder as your adb and fastboot binaries.
d. After booting to fastboot mode, make sure your device is still plugged in and run the following command in your command window:
fastboot devices
Your computer shouldn't have any troubles recognizing your phone since we just went through the bootloader unlock, but it's always best to be safe.​e. Now run the command:
fastboot flash recovery recovery.img
Expected output:
Code:
C:\sdk\platform-tools>fastboot flash recovery recovery.img
sending 'recovery' ...
OKAY [ 0.871s]
writing 'recovery'...
OKAY [ 1.501s]
finished. total time: 2.543s
f. Congratulations! You now have a custom recovery installed.
g. I recommend immediately making a backup of your fresh operating system (pre-root) by selecting HBOOT from the fastboot menu, then selecting and booting into recovery
h. After booting into your new custom recovery select backup from your list of options and proceed to select your backup location (internal or micro sd) and continue to the backup. It will be quite large, but this will provide you a good starting point should you ever need to restore to factory settings for any reason.
i. I use TWRP, because it will automatically prompt you to install root and SuperSU upon rebooting from recovery.
I am unsure how to achieve root after flashing PhilZ Touch. If anyone provides the info I will add it to this guide.​
​
3. Achieve S-Off (Hopefully!)
The instructions to attaining S-Off are listed on the firewater s-off page linked above. They are really comprehensive and you should follow them to the letter. Make sure that you read through their prerequisites as well.
Note: On prerequisite number four, it states that you must be "HTCDEV unlocked/rooted." Please read this as you must be HTCDEV unlocked AND rooted.​
I didn't want to post the firewater team's instructions here (I didn't ask permission yet), so this section will be more for information regarding the S-Off process that I have gathered from other threads and this one going forward.
Issues seen with Firewater:
Firewater does not work on every T-Mobile M8. If, when running firewater, you see "Whelp, this sucks..." firewater will not work on your phone.
There was speculation that the build date was an indicator of compatibility with firewater's S-Off method. As several people expected, there is no correlation. There are batches of components that HTC purchased from various manufacturers that vary in compatibility with the firewater exploit. At this point there is no known method to determine if your phone will be compatible with firewater. Unfortunately, it's just a shot in the dark. So, if you're comfortable, give it a shot and hopefully you're compatible.
Issue: Firewater hangs but does not give the "Whelp this sucks..." message:
Possible Solutions: Your device is likely compatible. You must be persistent. Keep trying.
Hit Ctrl+C to exit the exploit and try again starting from "adb reboot" (from @Fenny)
Unplug your USB cable, reboot your phone manually. Once it boots up, plug in your USB cable (from @epsix)
Plug in your USB cable, adb reboot. Once it boots, go to Developer Options and uncheck and recheck USB Debugging (from @epsix)
Install BusyBox (from @renn9420)​Issue: After running adb reboot command and pushing firewater phone shows up as "offline"
Possible Solutions: Make sure that you granted su permissions to your adb shell through SuperSU
I had this happen to me. I would go to run the command and suddenly, the phone is disconnected. I ran through the adb reboot steps a couple of times and finally when executing firewater it ran. Went through the steps 3 times before it ran.​
​
4: Other
a. @Fenny noticed that /data/preload/ gets emptied after HTC Dev Unlock. If you're hanging onto your stock ROM and don't plan to change to a custom OS you'll want to replace these files. Go here to replace them: http://forum.xda-developers.com/showthread.php?t=2714522​
Thanks go to:
@beaups - firewater
@Dees_Troy - TWRP
@Phil3759 - PhilZ Touch
@Fenny - Stock + ROM, Hacked HBOOT, Preload data & more
@Turge - ViperOneM8
@Chainfire - SuperSU
@jcase - for looking into getting weaksauce working on our phones
FYI I didn't develop firewater, just weaksauce. That is @beaups baby
Sent from my HTC One_M8 using XDA Premium 4 mobile app
jcase said:
FYI I didn't develop firewater, just weaksauce. That is @beaups baby
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the info! Changed in OP.
Your posting title is slightly misleading since a good portion of T-mobiles m8s are not compatible with firewater.
Where do you find the build date
Sent from my HTC One_M8 using XDA Premium 4 mobile app
fryingpan0613 said:
Where do you find the build date
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's on the bottom edge of the box on the same sticker as IMEI.
Sent from my HTC One M8
egcthree said:
Your posting title is slightly misleading since a good portion of T-mobiles m8s are not compatible with firewater.
Click to expand...
Click to collapse
Updated OP to show that firewater may not work without having to show the contents of the S-Off info. Thanks for the comment.
I get the whelp yada yada and my build date is 4/10/14 do I need to have busy box installed?
Sent from my HTC One M8
OctoberNexus said:
I get the whelp yada yada and my build date is 4/10/14 do I need to have busy box installed?
Sent from my HTC One M8
Click to expand...
Click to collapse
Nope. That means that firewater won't work for you and S-Off isn't yet achievable for your phone.
OP updated with your build date.
Sent from my HTC One M8
Hopefully there will be another way in the future until then running GPE ROM which is a lot better than nothing still not what I had in mind when purchasing this thing.
Sent from my HTC One M8
Glad someone condensed everything down into an instructional guide. This should be stickied (if it's not already).
Thanks bro! :good::good:
thanks for writing this up!! got the dang Whelp message tho build date of 04/05/2014 if you want to add that to the list
VolcanicSkunk said:
This guide is for the T-Mobile HTC One M8. Bootloader Version: 3.16.0.0000
Disclaimer: I am not responsible for your device. You are performing the steps detailed in this post at your own risk. Support for any phone unlocked through this method falls upon you. Assume that this method voids any warranty that may have come with your phone. Also, currently there is no known way to restore the T-Mobile variant to complete stock settings after using HTC Dev Unlock and/or achieving S-Off. Maybe at a later date this could be possible, but not yet.
*Please do not quote this post. It's so long.*
Support for recoveries, firewater, or other tools used herein should be asked in their respective thread or forum.
Firewater does not work on every T-Mobile M8. If, when running firewater, you see "Whelp, this sucks..." firewater will not work on your phone. Right now firewater is the only method to achieve S-Off on our M8 variant.
This thread is for people that understand what this whole post means. If you are unsure of the terms, please search. The terminology is readily available and nothing should be difficult to find.
I work and go to graduate school, so this thread will be updated periodically, but I will not be able to provide a lot of support. This guide reflects my steps to achieve root and S-Off, and is just intended to give someone new to the phone an easy to read step-by-step guide of what the process will be.
I also hope we can condense the large amount of information floating around about achieving S-Off on our variant into one thread.
Required Files:
HTC Dev Unlock Process:
Google Android SDK zip:
http://developer.android.com/sdk/index.html
Java Runtime Environment:
http://java.com
HTC Sync (Windows Only):
http://www.htc.com/www/help/
Recovery (choose one):
Team Win Recovery Project (TWRP) 2.7.x for GSM Phones
http://teamw.in/project/twrp2/225
PhilZ Touch ClockworkMod (CWM) Recovery
http://forum.xda-developers.com/showthread.php?t=2703223
S-Off:
Firewater
http://firewater-soff.com/instructions/
Firewater M8 Original Thread
http://forum.xda-developers.com/showthread.php?p=51698035
Useful Commands:
adb devices
(after installing adb, this will tell you if your phone is detected by the computer)
expected output:
Code:
C:\sdk\platform-tools>adb devices
List of devices attached
FAXXXXXXXXXX device
fastboot devices
(after copying the fastboot utility downloaded during the HTC Dev Unlock process to your sdk\platform-tools\ directory, this will tell you if your phone is detected by the computer)
expected output:
Code:
C:\sdk\platform-tools>fastboot devices
List of devices attached
FAXXXXXXXXXX fastboot
1. Unlock bootloader via HTC Dev Unlock (http://www.htcdev.com/bootloader)
a. At the top of the page, either register for a new account or log in with an existing one
b. Under "Supported Devices" choose "All Other Supported Models"
c. Click "Begin Unlock Bootloader"
d. A prompt will ask you to continue. Read this. If this prompt scares you, stop immediately. Otherwise, press "Yes" to continue
e. Accept the legal terms and conditions.
f. Follow the on-screen steps provided.
Step 1
After powering down, press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. If you have difficulty, power up normally, go to Settings->Battery and deselect Fast boot. Power down and try again.
Step 2
Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
Step 3
Connect the device to the computer via a usb cable
Step 4
Download the fastboot binary for your OS using the provided links​ g. Follow the on-screen steps provided
Step 5
Open a command Prompt: Windows: Start->"cmd" Mac: Applications->Utilities->Terminal.app Linux: Terminal
Type in Command Prompt: fastboot oem get_identifier_token.
Step 6
You will see a long block of text. Copy and paste this text into the the token field below (in the Windows command prompt: Right Click > Mark > highlight the block of text > Right click to copy. Mac users can use cmd-option to mark and select text.).
When copying the token, start with this line:
<<<< Identifier Token Start >>>>
And end with this line:
<<<<< Identifier Token End >>>>>
(Note: Do not copy the INFO or (bootloader) prefix)
Step 7
Paste this string of text into the token field and hit Submit in order to receive your unlock code binary file. You will receive this information in your email.​ h. After hitting submit, HTC will send you an email. Sender is HTC-Unlockbootloader. Subject is "The key to unlocking your HTC Device."
Email Message:
Attached to the email is Unlock_code.bin. This is the file you will need to download in order to unlock your bootloader. This file is device specific. You cannot use this file to unlock any other HTC phone. Please do not try as this will probably result in a brick.
Click the link provided in the email to continue the steps to unlock your bootloader​ i. Follow the on-screen steps provided
Step 8
You will receive an email with the attachment: Unlock_code.bin. Save this file in the same folder as your fastboot files (For Example: C:\Android).
If, after a short period of time, you have not yet received the mail, or you have received an email from HTC, but does not contain an attached file, it is possible that more stringent spam filters and anti-virus programs will block this mail or attachment.
In order to ensure that you receive the email with the attachment, we suggest you consider using a non-corporate email server as corporate servers tend to have more stringent attachment policies. If you have not received the email at all, please check your spam folder in your email client to check if the email was filtered out.
Step 9
In the command prompt type: fastboot flash unlocktoken Unlock_code.bin. In the command prompt you will see the following message:
Code:
fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' <0KB>...
OKAY [ 0.151s]
writing 'unlocktoken'...
<bootloader> unlock token check successfully
OKAY [0.006s]
finished. total time: 0.158s
Step 10
On your phone you will now see the disclaimer. Please read this carefully as this action may void your warranty. Use the Volume buttons to highlight your choice, and the Power button to make your selection. If you select Yes, your phone will be reset to its’ factory default settings, and your bootloader will be unlocked. If you select No, your phone will reboot and no modifications will have been made.
Step 11
To re-lock your bootloader, in the command prompt, type: fastboot oem lock.
Note: This will not restore the factory default lock, but will simply re-lock the bootloader so no further changes can be made. Furthermore, if you want to unlock your bootloader again, simply repeat step 9 with your original unlock key file to unlock your phone again.​ j. Congratulations, your phone now has an unlocked bootloader! If your phone hasn't done so already, reboot it and let it sit at the welcome screen for the requisite 5-10 minutes to settle. Turn off your phone, and reboot to HBOOT with volume down + power button. Select fastboot.​
​
2. Install a custom recovery
As far as I know, there are two recoveries that are fully functional with our M8 variant:
TWRP
PhilZ Touch CWM​ a. Download your chosen recovery from the above links.
b. Rename it recovery.img
c. Drop it in the same folder as your adb and fastboot binaries.
d. After booting to fastboot mode, make sure your device is still plugged in and run the following command in your command window:
fastboot devices
Your computer shouldn't have any troubles recognizing your phone since we just went through the bootloader unlock, but it's always best to be safe.​ e. Now run the command:
fastboot flash recovery recovery.img
Expected output:
Code:
C:\sdk\platform-tools>fastboot flash recovery recovery.img
sending 'recovery' <14,818KB>...
OKAY [ 0.871s]
writing 'recovery'...
OKAY [ 1.501s]
finished. total time: 2.543s
f. Congratulations! You now have a custom recovery installed.
g. I recommend immediately making a backup of your fresh operating system (pre-root) by selecting HBOOT from the fastboot menu, then selecting and booting into recovery
h. After booting into your new custom recovery select backup from your list of options and proceed to select your backup location (internal or micro sd) and continue to the backup. It will be quite large, but this will provide you a good starting point should you ever need to restore to factory settings for any reason.
i. I use TWRP, because it will automatically prompt you to install root and SuperSU upon rebooting from recovery.
I am unsure how to achieve root after flashing PhilZ Touch. If anyone provides the info I will add it to this guide.​
​
3. Achieve S-Off (Hopefully!)
The instructions to attaining S-Off are listed on the firewater s-off page linked above. They are really comprehensive and you should follow them to the letter. Make sure that you read through their prerequisites as well.
Note: On prerequisite number four, it states that you must be "HTCDEV unlocked/rooted." Please read this as you must be HTCDEV unlocked AND rooted.​
I didn't want to post the firewater team's instructions here (I didn't ask permission yet), so this section will be more for information regarding the S-Off process that I have gathered from other threads and this one going forward.
Issues seen with Firewater:
Firewater does not work on every T-Mobile M8. If, when running firewater, you see "Whelp, this sucks..." firewater will not work on your phone.
The speculation is, there are different components used during the builds due to sourcing those components from different companies. It seems that some people believe that the phone build date may indicate the devices that have components that are compatible with the exploit. So we'll document this to try to see who achieved S-Off on which build dates.
Issue: Firewater hangs but does not give the "Whelp this sucks..." message:
Possible Solutions: Your device is likely compatible. You must be persistent. Keep trying.
Hit Ctrl+C to exit the exploit and try again starting from "adb reboot" (from @Fenny)
Unplug your USB cable, reboot your phone manually. Once it boots up, plug in your USB cable (from @epsix)
Plug in your USB cable, adb reboot. Once it boots, go to Developer Options and uncheck and recheck USB Debugging (from @epsix)
Install BusyBox (from @renn9420)​ Issue: After running adb reboot command and pushing firewater phone shows up as "offline"
Possible Solutions: Make sure that you granted su permissions to your adb shell through SuperSU
I had this happen to me. I would go to run the command and suddenly, the phone is disconnected. I ran through the adb reboot steps a couple of times and finally when executing firewater it ran. Went through the steps 3 times before it ran.​
Build Dates S-Off Achieved On:
04/01/2014
04/04/2014
04/07/2014
04/12/2014​
Build Dates S-Off Not Achieved On:
04/03/2014 x2
04/08/2014
04/09/2014
04/10/2014
04/11/2014​
​
4: Other
a. @Fenny noticed that /data/preload/ gets emptied after HTC Dev Unlock. If you're hanging onto your stock ROM and don't plan to change to a custom OS you'll want to replace these files. Go here to replace them: http://forum.xda-developers.com/showthread.php?t=2714522​
Thanks go to:
@beaups - firewater
@Dees_Troy - TWRP
@Phil3759 - PhilZ Touch
@Fenny - Stock + ROM, Hacked HBOOT, Preload data & more
@Turge - ViperOneM8
@Chainfire - SuperSU
@jcase - for looking into getting weaksauce working on our phones
Click to expand...
Click to collapse
tks
tnez said:
thanks for writing this up!! got the dang Whelp message tho build date of 04/05/2014 if you want to add that to the list
Click to expand...
Click to collapse
Thanks for posting your results. OP updated with your build date.
abutran said:
tks
Click to expand...
Click to collapse
You're welcome. If you don't mind, please edit your post to remove the quote of the OP. It keeps the thread much shorter for people on mobile devices. Thanks.
Sent from my HTC One M8
uoY_redruM said:
Glad someone condensed everything down into an instructional guide. This should be stickied (if it's not already).
Thanks bro! :good::good:
Click to expand...
Click to collapse
Saw your post in the other thread and agreed with you! It was way too many pages to sift through.
Sent from my HTC One M8
Anyone good to go with a build date of 04/01/2014?
donciclon said:
Anyone good to go with a build date of 04/01/2014?
Click to expand...
Click to collapse
My build date is 04/01/2014 and I was able to achieve S-Off. If you try it, let us know the results. We haven't pinned down if the build date is the indicator. I'm hoping like hell it is though.
Sent from my HTC One M8
04/07/2014 build date no go... Got the whelp message as well.
Sent from my HTC One_M8 using Tapatalk
irrelephant said:
04/07/2014 build date no go... Got the whelp message as well.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
As I've said in the other thread it is the luck of the draw. Assembly date and location have little to do with it. It's a matter of what components were put into your device and that is a matter of what components were available at the time of assembly.
Just because one device was produced with exploitable components on one day doesn't mean another device wasn't produced with unexploitable components on the same day. A run of a particular component can run out at any time. When it does the next available run of components will be used.
Behold_this said:
As I've said in the other thread it is the luck of the draw. Assembly date and location have little to do with it. It's a matter of what components were put into your device and that is a matter of what components were available at the time of assembly.
Just because one device was produced with exploitable components on one day doesn't mean another device wasn't produced with unexploitable components on the same day.
Click to expand...
Click to collapse
That's what I was thinking too. Multiple runs happen on any given day.
I was hoping it would be as simple as the build date. Of course we're not that lucky though. Lol. Whelp.... Back to the drawing board.
Sent from my HTC One M8
Behold_this said:
As I've said in the other thread it is the luck of the draw. Assembly date and location have little to do with it. It's a matter of what components were put into your device and that is a matter of what components were available at the time of assembly.
Just because one device was produced with exploitable components on one day doesn't mean another device wasn't produced with unexploitable components on the same day. A run of a particular component can run out at any time. When it does the next available run of components will be used.
Click to expand...
Click to collapse
Well what information might be of assistance and I will gladly provide it. I'm pretty good with adb, and willing.
Sent from my HTC One_M8 using Tapatalk

Categories

Resources