[Q] (Q) Trying to use HTC Bootloader on Mac OSX - Android Q&A, Help & Troubleshooting

http://forum.xda-developers.com/showthread.php?t=1417839
I am trying to follow the instructions on the above thread (I would post there but it wouldn't allow me)
Anyway, I get to the bit OK where I have to get the identifier token, but when I type the command line into terminal, I get the following..
Last login: Mon Jan 16 22:11:51 on ttys000
Russs-Macbook:~ RussWWFC$ cd /android
Russs-Macbook:android RussWWFC$ /android/fastboot oem get_identifier_token
... INFO[ERR] Command error !!!
OKAY
Russs-Macbook:android RussWWFC$
Can anyone guide me as to where I am going wrong, I am pretty decent in general computer terms, though this is my first time at rooting via Mac and using terminal, so I can't claim any expertise there
Thanks in advance

Related

Help w/HTC Super Tool

Anyone know why it won't generate a token for me? I feel like I'm making a stupid mistake here, but it reboots to fastboot, tells me to copy the ID token and paste it into the HTC page. Makes sense, but there's no token to copy?
tekhna said:
Anyone know why it won't generate a token for me? I feel like I'm making a stupid mistake here, but it reboots to fastboot, tells me to copy the ID token and paste it into the HTC page. Makes sense, but there's no token to copy?
Click to expand...
Click to collapse
Are you requesting the token from the command prompt while connected but not active sync. I think the command is fastboot get_identifier_token or whatever is on the HTC dev site. Then the in the command prompt it will suddenly display like 17 lines of code ..it will have a start and a stop..
mjh68 said:
Are you requesting the token from the command prompt while connected but not active sync. I think the command is fastboot get_identifier_token or whatever is on the HTC dev site. Then the in the command prompt it will suddenly display like 17 lines of code ..it will have a start and a stop..
Click to expand...
Click to collapse
Yeah, I just did it in the command line. HTC Super Tool is supposed to just run the script for you, but it didn't seem to work for me. The get identifier command worked just fine.
i had the same problem so i ran it manually

[Q] Frustrated : Bootloader Error

Okay, so i have looked and searched all the forums and yet no answer..
First thing first: I have a Mac - so i found the thread for using the terminal and getting the unlock code from HTCdev - no prob it was easy
Now here is where I get stuck i save the Unlock_code.bin into my android folder but when I go into terminal I get this message and I have tried with diff. generated tokens and codes.
/android/fastboot flash unlocktoken Unlock_code.bin
error: cannot load 'Unlock_code.bin'
Suggestions ??
Help!! and since I am a NOOB i can't post in the XDA developer forum where most likely there is an answer - no offense.
This might be a long shot, but when you copy and paste the code, is there something like INFO or bootloader in front of every line? I remember seeing somebody having that problem, and they were also on a mac. If there is, do the code without that and it should work.
I already did that received the email from HTCdev and the attachment saved it in my android folder and when I go to do the last step i get that error message.
You can't post in the dev forum because that is for releases only so you wouldn't be helped if you posted there. Have you tried flashing the token with windows? Does fastboot have the correct permissions to read and write to the folder?
huh
this is my 1st android phone... i have a macbook pro. So what do you mean flashing the token with windows?...permissions as far as? I'm on the verge of jus sayng f it.. not worth this much worth was easier to unlock my blackberry and my ipod than this smh...

Help Unlocking Bootloader Failed! (Htc dev)

i did exactly every steps that show. but how come when i submit.
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: 140.
Error Reason: Token Decryption Fail.
Help!!!!!!!!!!!!!!!!
try going thru the whole process again, gettin the token and make sure u copy the "<<<<<<<<" too
Make sure you copy your token identifier in a notepad and delete "info" on the left side.
This should be posted in Q&A section.
<<<< Identifier Token Start >>>>
82520115AFCD5337DCDC6485A6D7D4B8
376D2DF9939BF47E6378597AFD70F7DF
451558E2810941B9D81C93F5DDC9EF95
3479EA6AD52893243D92159DB9CE811B
04C0CDF6110E7A639ABA2594AF8B554C
2EA1C220CBF75B9920AB072A839819C7
1F439E0D2A48068759FD2F2FB378C758
758CBE0CAE55F316C6BE8B0084209B5B
54C150522AD3F3265C053B6911BA6F14
23C2B5B88BC74AB3792A0704B6563F11
62D6B0BACB741AE287F9FDAD7C022CF5
B691FAEB0C4C2E79B82012695A1B5298
C29F5B396397047A77007643C9ADE588
61F90A391B7AC0945E264CA500C978AB
F03F42FE9A3E7584508FEA909CD2D82F
135C461490BE1978ED2A8DD814C37535
<<<<< Identifier Token End >>>>>
this how i copy.
dt53444 said:
<<<< Identifier Token Start >>>>
82520115AFCD5337DCDC6485A6D7D4B8
376D2DF9939BF47E6378597AFD70F7DF
451558E2810941B9D81C93F5DDC9EF95
3479EA6AD52893243D92159DB9CE811B
04C0CDF6110E7A639ABA2594AF8B554C
2EA1C220CBF75B9920AB072A839819C7
1F439E0D2A48068759FD2F2FB378C758
758CBE0CAE55F316C6BE8B0084209B5B
54C150522AD3F3265C053B6911BA6F14
23C2B5B88BC74AB3792A0704B6563F11
62D6B0BACB741AE287F9FDAD7C022CF5
B691FAEB0C4C2E79B82012695A1B5298
C29F5B396397047A77007643C9ADE588
61F90A391B7AC0945E264CA500C978AB
F03F42FE9A3E7584508FEA909CD2D82F
135C461490BE1978ED2A8DD814C37535
<<<<< Identifier Token End >>>>>
this how i copy.
Click to expand...
Click to collapse
That looks correct. So you already got your Unlock_code.bin?
<<<< Identifier Token Start >>>>
82520115AFCD5337DCDC6485A6D7D4B8
376D2DF9939BF47E6378597AFD70F7DF
451558E2810941B9D81C93F5DDC9EF95
3479EA6AD52893243D92159DB9CE811B
04C0CDF6110E7A639ABA2594AF8B554C
2EA1C220CBF75B9920AB072A839819C7
1F439E0D2A48068759FD2F2FB378C758
758CBE0CAE55F316C6BE8B0084209B5B
54C150522AD3F3265C053B6911BA6F14
23C2B5B88BC74AB3792A0704B6563F11
62D6B0BACB741AE287F9FDAD7C022CF5
B691FAEB0C4C2E79B82012695A1B5298
C29F5B396397047A77007643C9ADE588
61F90A391B7AC0945E264CA500C978AB
F03F42FE9A3E7584508FEA909CD2D82F
135C461490BE1978ED2A8DD814C37535
<<<<< Identifier Token End >>>>>
this is how i copy
still got same error!!!
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work.
i got it people. Thank you
What was the problem?
I'm facing the same issue
Make sure you aren't selecting the empty column just to the left of the token identifier. There is a single vertical line to the left that sometimes gets selected if your not carefull. I am willing to bet that this is your problem.
Mine is getting to this point:
c:\Android>fastboot oem get_identifier_token
< waiting for device >
and then just sits there. Is this because I rooted before doing HTCDev?
Will
shellguy said:
Mine is getting to this point:
c:\Android>fastboot oem get_identifier_token
< waiting for device >
and then just sits there. Is this because I rooted before doing HTCDev?
Will
Click to expand...
Click to collapse
i rooted before htc dev so that shouldn't b your problem also read this thread cause alot of ppl are having a difficult time selecting the token
I get
C:\Users\mark\Downloads\android-sdk_r12-windows\android-sdk-windows\platform-too
ls>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
and it just sits there. Only way to end it is to unplug phone. RUU'ed and updated htc sync then went through the whole process again and still nothing.
ummm am i an idiot..but i dont see the evo 4g lte listed on htcdev...which one are ya'll selecting
dahray02 said:
ummm am i an idiot..but i dont see the evo 4g lte listed on htcdev...which one are ya'll selecting
Click to expand...
Click to collapse
At the bottom "All Other Supported Models"
shellguy said:
Mine is getting to this point:
c:\Android>fastboot oem get_identifier_token
< waiting for device >
and then just sits there. Is this because I rooted before doing HTCDev?
Will
Click to expand...
Click to collapse
Make sure you have the proper drivers installed if not adb wont communicate with the phone.
Sent from my EVO using xda premium
durandetto said:
Make sure you have the proper drivers installed if not adb wont communicate with the phone.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I used the same PC to root the device too, but that was done via script.
Will
I'm having a problem as well. I got my Unlock code email. I downloaded it and put it in the Android file I created. Highlighted folder, shift+right click, got my cmd prompt, copied and pasted the fastboot flash unlock token...... and got this:
C:\Android>fastboot flash unlocktoken Unlock_code.bin
error: cannot load 'Unlock_code.bin'
C:\Android>
I don't remember having any issues when I did my Evo3d????????
FIXED: Had to actually type command. DO NOT copy and paste
shellguy said:
I used the same PC to root the device too, but that was done via script.
Will
Click to expand...
Click to collapse
Do you have adb installed?
Did you put in the path in your environment variables?
Do you have have HTC sync or disk drive disabled?
Is USB debugging on?
Lastly, computer OS? sometimes its just easier to use xp than w7.
If the answer to the first 4 questions were all yes, it should work...
What? XP is kicking my a$$! When I'm on a friends win7 PC, it finds drivers right away. Hell, I still can't even get XP to recognize my device storage to put my music on my phone (adb sees my device just fine and fastboot commands dont work either). Driving me nuts.
sent from my Evo LTE, usually.

[Q] Can't get identifier token

I have the phone in Bootloader mode (holding down power and volume down keys). I have all the required software installed. I use the command prompt to get my token and copy the info into the requisite slot in the HTC website window and when I hit the continue button I get an error message "Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work"
I have tried multiple times on two different computers. Always the same error. It is 7:30 pm EDT. I need help cuz I may be running out of time.
DiggerG said:
I have the phone in Bootloader mode (holding down power and volume down keys). I have all the required software installed. I use the command prompt to get my token and copy the info into the requisite slot in the HTC website window and when I hit the continue button I get an error message "Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work"
I have tried multiple times on two different computers. Always the same error. It is 7:30 pm EDT. I need help cuz I may be running out of time.
Click to expand...
Click to collapse
You aren't copying it right. Read the instructions and ensure you are only copying the information it wants
Sent from my HTC One using xda premium
Finally got it to work, but I'm not sure what I did differently. Put Command prompt window next to website window and that did it, but don't know why. Anyhow I have my email.
And I'm unlocked!!!
mine is stuck at waiting for device after i put in the command. Is there anyway anyone can send me the fastboot, adb, and adbwinapi.dll they used? I'm wondering if mine just isn't the right one but they should be. also i have the phone hooked up first and then go into fastboot and it says fastboot usb before i type in the command
thanks for any help
What do you mean "Stuck waiting for device after I put in the command"? If you pm me an email address, I can send the files tonight when I return from work.
DiggerG said:
What do you mean "Stuck waiting for device after I put in the command"? If you pm me an email address, I can send the files tonight when I return from work.
Click to expand...
Click to collapse
I type in "fastboot oem get_identifier_token" and then it displays waiting for device but doesn't do anything after that I waited for 30 minutes the first time and it stayed saying that. Ok I'll PM it now thank you
brom66an6 said:
I type in "fastboot oem get_identifier_token" and then it displays waiting for device but doesn't do anything after that I waited for 30 minutes the first time and it stayed saying that. Ok I'll PM it now thank you
Click to expand...
Click to collapse
The device isnt connected properly to the computer. Make sure you open your command prompt in the android folder and have the files within the same folder (i did this on OS X)
And then check to make sure you the computer recognizes the phone with
fastboot devices
You should see your device listed if it is connected properly.
brom66an6 said:
I type in "fastboot oem get_identifier_token" and then it displays waiting for device but doesn't do anything after that I waited for 30 minutes the first time and it stayed saying that. Ok I'll PM it now thank you
Click to expand...
Click to collapse
Did you install the HTC Sync Manager or install the HTC USB drivers from another source? Your phone won't be detected until you have the drivers installed. (I'm assuming you're using a Windows computer)
brom66an6 said:
mine is stuck at waiting for device after i put in the command. Is there anyway anyone can send me the fastboot, adb, and adbwinapi.dll they used? I'm wondering if mine just isn't the right one but they should be. also i have the phone hooked up first and then go into fastboot and it says fastboot usb before i type in the command
Either need htc drivers or your not in fastboot usb/bootloader
thanks for any help
Click to expand...
Click to collapse
If your getting that error, you have fastboot and adb but you haven't installed htc drivers yet.
If you don't have fastboot/adb files you will get a unknow command error.
Sent from my SPH-L710 using Tapatalk 2
*edit - I got it taken care of now i uninstalled and reinstalled the drivers and it worked this time. Thank you everyone for the help.
has anyone received the "Error Code (10) A request for the USB descriptor failed" error message? i can't get my laptop to seen my device in fastboot mode. i've installed/uninstalled the HTC drivers but no change. weird part is that i can communicate with my device via ADB when booted normally. any suggestions would be appreciated.
Waiting (and waiting) for device
18th.abn said:
If your getting that error, you have fastboot and adb but you haven't installed htc drivers yet.
If you don't have fastboot/adb files you will get a unknow command error.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I'm having exactly the same issue as brom66an6. fastboot starts, but never proceeds from "waiting for the device". If this is a driver problem, what drivers need to be installed on the phone?
what next??? I have the identifier token..
DiggerG said:
And I'm unlocked!!!
Click to expand...
Click to collapse
Great for you, I can't wait to get there myself.
It was late last night and I was one click away, but wan't sure how long until the next break stop would be, so I went to bed.
Now, I cannot recall what I was supposed to do. Can anyone please shed some light on the next instructions, I can no longer access these as I believe it was shown when you click to continue??
I have all the files/drivers and token placed in the same location on my drive and as a guess I've also copied the token .zip file to the SDcard on my HTC One X (vodafone stamped
I really wished they have a removable battery and media card support!! I have just purchased a new battery from eBay that proclaims a new chip on it that prevents overcharging. So that should be interesting, since the HTC charger is not a switching charger like my BlackBerry ones were.
What I want:
ROOT
a new clean/fast/efficient ROM, was thinking clockworkmod.
Since I have zero experience and limited time to troll through forums these days, I am really finding it hard to find a REALLY simple step by step guide to perform this. I know, it's not a simple proccess, I know, but perhaps just the steps in a efficient, simple list, overlooking stuff like backups etc, but perhaps a TIP to mention it would be a good idea as the next step will wipe everything etc
Thanks if you're still reading and perhaps WERE at my stage once before.
I'm sure custom ROMs are a personal preference, but any bad points about ROMs would probably be better than selling the good points.
CWM should be fine for my first attempt???
MANY thanks in advance for your time.
Steve.
[EDIT]
I'm now unlocked!!!!
I found the website that I was following, it is fantastic and just the right amount of simple for me.
Check it out...
www*droid-now*com/2013/08/htc-one-unlocking-bootloader-installing-custom-recovery-and-root/
Amazing Thanks..
DiggerG said:
Finally got it to work, but I'm not sure what I did differently. Put Command prompt window next to website window and that did it, but don't know why. Anyhow I have my email.
Click to expand...
Click to collapse
That sounds stupid... but it works, worked for me...
hi
i am trying to unlock the bootlaoder for my new htc m9
after i got the unloch_code, i receive this msg in cmd
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.009s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 0.038s
please help
what is missing ?
Can someone answer this
My htc one x9 gets recognized by my laptop everything works well
Lequired software is installed properly
And i try to type in fastboot devices and my phone appears to be in fastboot
But when i type fastboot oem get_identifier_token it says FAILED(remote:unknown command)
Finished.time:0.005
Plz im begging for help
Mine struck after the entry of code fastboot OEM get_identifier_token and my device is already detected and it's showing three dots "..." And that's it

[Q] Cannot unlock the bootloader: what am I missing?

I succeeded in doing the following:
1) downgrade my tablet to a rootable fw version
2) rooted with doomlord tool
Now I need to unlock my bootloader: I had requested the key a while ago, but never got around to using it.
I followed all the instructions and succeeded in connecting the tablet in fastboot mode to my pc (drivers installed fine and I receive a reply when issuing the trial command getvar version, meaning, I presume that the device is connected and able to receive commands and reply to them).
However when I issue the command in the instructions on http://unlockbootloader.sonymobile.com/instructions and replace the final "KEY" with the key provided by Sony via email I receive a reply "FAILED (remote: Command did not succeed)": what could I be doing wrong? I also copied and pasted the command in order to make sure that the syntax was correct and checked the code I input many times to make sure I did not miss or messed up something, but it all seems OK. I issued the command from within the same directory where the getvar command was issued, i.e. within Android SDk/Tools folder (the procedure on the website doesn't suggest to change folder, so I didn't!) , but no success at all!
Can anyone suggest some way out?
Thanks
Luca
astrovale said:
I succeeded in doing the following:
1) downgrade my tablet to a rootable fw version
2) rooted with doomlord tool
Now I need to unlock my bootloader: I had requested the key a while ago, but never got around to using it.
I followed all the instructions and succeeded in connecting the tablet in fastboot mode to my pc (drivers installed fine and I receive a reply when issuing the trial command getvar version, meaning, I presume that the device is connected and able to receive commands and reply to them).
However when I issue the command in the instructions on http://unlockbootloader.sonymobile.com/instructions and replace the final "KEY" with the key provided by Sony via email I receive a reply "FAILED (remote: Command did not succeed)": what could I be doing wrong? I also copied and pasted the command in order to make sure that the syntax was correct and checked the code I input many times to make sure I did not miss or messed up something, but it all seems OK. I issued the command from within the same directory where the getvar command was issued, i.e. within Android SDk/Tools folder (the procedure on the website doesn't suggest to change folder, so I didn't!) , but no success at all!
Can anyone suggest some way out?
Thanks
Luca
Click to expand...
Click to collapse
Sorry if this is a dumb question, but is bootloader unlocking allowed on your tablet ?
Some service providers have blocked bootloader unlocking.
GretaLewd said:
Sorry if this is a dumb question, but is bootloader unlocking allowed on your tablet ?
Some service providers have blocked bootloader unlocking.
Click to expand...
Click to collapse
I followed the procedure on the Sony website to check that and the answer is yes, it can be unlocked.
I tried some other tutorials and no results. It seems that it might be connected to the doomlord exploit (which I used to gain root access), but all the instructions on how to get around that have failed to allow me the unlocking!!!!
astrovale said:
I followed the procedure on the Sony website to check that and the answer is yes, it can be unlocked.
I tried some other tutorials and no results. It seems that it might be connected to the doomlord exploit (which I used to gain root access), but all the instructions on how to get around that have failed to allow me the unlocking!!!![/QUOTE
SOLVED
Click to expand...
Click to collapse

Categories

Resources