[q] it wont let me unlock!!!! - HTC Desire 510

it won't let me see my desire in cmd to get my token for the HTC website to unlock my boot loader. I have downloaded HTC sync. Adb drivers but would t let me use it till I got java se JDK file did that then installed the SDK and still nothing in the cmd prompt. Need help cause I can't figure it out and is making me crazy

jdwilder23 said:
it won't let me see my desire in cmd to get my token for the HTC website to unlock my boot loader. I have downloaded HTC sync. Adb drivers but would t let me use it till I got java se JDK file did that then installed the SDK and still nothing in the cmd prompt. Need help cause I can't figure it out and is making me crazy
Click to expand...
Click to collapse
The steps are these, and are verified to work on Windows XP, Vista, 7, 8, 8.1 (32 or 64):
1. Power off the phone.
2. Hold volume down, then hold power. This gets you into HBOOT.
3. Select Fastboot using the volume buttons, then tap power.
4. Plug the phone in, and you should see FASTBOOT USB. If not, make sure the adb drivers have installed.
5. Open a command prompt, and change to the directory you put the adb and fastboot files in.
6. Type: fastboot oem get_identifier_token
7. Select the key, and copy it. Download the file from your mail called unlock_code.bin.
8. Type (in the dosbox): fastboot flash unlocktoken unlock_code.bin.
9. Arrow down to YES, press power. Your phone will be wiped, and will reboot.
10. Install the TWRP recovery, and mod away.
TIP: If you're doing a TON of adb and fastboot stuff (as I do), it's a good idea to drop these files in the %windir%\system32 directory. This way, you can type them without changing directories to the path they're in.
Hope this helps.

Related

[Q] Can't get out of recovery mode

First I want to apologize for the double post (post in General)
I used odin to get froyo on the Captivate. That worked fine. When I try and root 2.2, the phone froze and now it won't get out of recovery mode. I have tried every combination I can think of to reboot the phone short of throwing it down the street, but I cannot get out of recovery mode. I am also unable to use the power button (ok key?) to select anything. I can use the volume keys fine for up and down.
One of the errors says:
"(Unknown error: 0) ensure_root_path_unmounted++
ensure_root_path_unmounted (/mnt/internal_sd)
ensure_root_path_unmounted ret 0
unmount(/mnt/internal_sd) attempt 1 (unknown error: 0)
Install default apk-files. finished.
Mind you, I have already tried to put the rooted 2.2 files on the sd card, but still to no avail. Any suggestions? I am really hoping this phone isn't rooted.
So you have a european firmware? Which one is it?
Sent from my phone so excuse the spelling errors
I just fixed it. Reinstalled the firmware with Odin and it's working fine now. Thank you.
dude how did you do that.. I have the same friggin issue and I can't fix it. I'm stuck in recovery mode all the time, as soon as I plug the phone in to charge, or plug it in the computer via usb, or push the power button, the damn thing goes into recovery mode and stays there. I can use the volume buttons to navigate up and down through the options and if I hold the power botton down long enough the phone will turn off and back on again. But if I press the power button once (as in select an option) it doesn't do anything. I tried every single option out there to get into download mode with the battery out and usb in and volume buttons then put bat in....etc nothing works. I need to get into download mode
anyone?................
anyone that is messing with flashing firmwares on their phone needs to learn basic ADB skills.
use the following command in adb:
adb reboot
it will get you out of recovery mode
Pirateghost said:
anyone that is messing with flashing firmwares on their phone needs to learn basic ADB skills.
use the following command in adb:
adb reboot
it will get you out of recovery mode
Click to expand...
Click to collapse
What he said. Plus, I have had it happen sometimes that no matter what I always reboot into recovery. At that point I just adb reboot download and re-flash.
ok thanks. I know I said I have tried everything before but I wasn't completely truthful. I did try ADB though, but I don't think I was doing it right. I downloaded the SDK thing and started a command prompt from "start menue, accessories, and command prompt" but when I type the command "adb reboot download" nothing happens and the command prompt disappears. I don't have much experience with ADB, is there anyway you can give step by step instructions on how to do this? I would very much appreciate it.
Thanks
I found this thread on here "http://forum.xda-developers.com/showthread.php?t=517874" but still didn't help me much. Everytime I type cd c:\Android or any other command I get The system cannot find the path specified.
Here's what I do. After you download the sdk. There is a folder called tools. I copy that to c:
Then opencommand prompt and type,
C:
CD tools
adb reboot
Or, adb reboot download
Of course make sure your phone is connected via USB.
Sent from my SAMSUNG-SGH-I897 using XDA App
thanks I'll try that when I get home. I think this might take care of the problem, because I did keep the folder on the desktop and did not move it to C: folder. Although when I plug in the phone via USB, I still can't establish connection between phone and computer, but I will let you know how it goes after I get home tonight. and I did find some stuff about ADB through google so I might be able to do something with it tonight.
Thanks for the help though
Download odin one click, remove the battery, open odin, replace battery, hold down both volume buttons, and plug the usb cable in. That should get you to download mode unless your 3-button doesn't work.
bobbylx said:
Here's what I do. After you download the sdk. There is a folder called tools. I copy that to c:
Then opencommand prompt and type,
C:
CD tools
adb reboot
Or, adb reboot download
Of course make sure your phone is connected via USB.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Hi, so I did all that heres a copy and paste of what I did and results I got
"Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Shahed>cd c:\
c:\>cd c:\android-sdk-windows
c:\android-sdk-windows>tools
'tools' is not recognized as an internal or external command,
operable program or batch file.
c:\android-sdk-windows>cd tools
c:\android-sdk-windows\tools>adb reboot download
error: device not found
c:\android-sdk-windows\tools>"
I guess it can't be done because the device is not initiated to begin with
jatkins09 said:
Download odin one click, remove the battery, open odin, replace battery, hold down both volume buttons, and plug the usb cable in. That should get you to download mode unless your 3-button doesn't work.
Click to expand...
Click to collapse
tried that still nothing.. keeps saying waiting for device
drhusamali said:
tried that still nothing.. keeps saying waiting for device
Click to expand...
Click to collapse
Find the tools folder in the SDK you dowloaded and extracted, I found a shortcut to it scroll over the tools folder, hold the shift key and right click on the tools folder then choose open command window here.
When the command window opens type the command ADB shell then hit enter, then type adb reboot download then hit enter with your phone plugged into pc. This always works for me. You can always change the path by moving the folder directly to your c drive but this will work for you for now.
Pirateghost said:
anyone that is messing with flashing firmwares on their phone needs to learn basic ADB skills.
use the following command in adb:
adb reboot
it will get you out of recovery mode
Click to expand...
Click to collapse
This has saved my azz a few times.....Learn to use adb mode from PC inDEEED!!!!
Adb recovery adb download ....on and on.....

help with fastboot

I need to get fastboot working to flash the 2708+ radio/hboot combo, for a rom I want to try. No devices show up under fastboot devices (from command prompt), but it does show up under adb devices. I don't have sdk properly installed, for some reason it wont take on my pc. It was a lengthy process getting adb to work a few months ago, I don't even remember what I did. Please help.
make certain the phone is in fastboot and not hboot mode by hitting the back button
you can flash the radio in recovery,attention it has chance to be bricked.
Ok i just recently installed adb for the same reason, i had trouble at first but then i found this video which made everything really easy.
http://www.youtube.com/watch?v=Bg-cGTZE2XI&feature=related
Now adb works on my computer perfectly
once u install adb fastboot is already there, all u have to do is install the correct drivers for fastboot. So this is what you do:
1. turn off your phone and then turn it back on using the back and home button
(this will boot you into bootloader)
2. Now it should some information and it should say FASTBOOT in green letters.
3. If it does, now plugin your usb to your phone and computer and now it will say FASTBOOT USB.
4. NOw that your phone is in fastboot, go to command prompt on your pc to lauch fastboot.
5.If you installed adb using the video above, type cd..
6. again type cd..
7. then type cd android
8. last type cd tools
9. To check if your phone is connected to your computer through fastboot, type fastboot devices.
10. It should show a long number and then connected, this is your device, if it doesnt show this u need to install the correct drivers for fastboot, if it does show your device then fastboot is working and you can use it.
11.If its not working, you need to install the correct drivers.
12. Keep your phone in FASTBOOT USB, Just leave it how it is.
13. Now on your pc, go to start.
14. right click on computer
15. click on properties.
16. click on device manager
17. now find your device, since it doesnt have the correct drivers it should be under other devices.
18. once you find it double click on it.
19. click update drivers, and choose the option that lets you choose the drivers.
20. your pc wiil scan for drivers and if you installed adb correctly, their should be adb interface drivers.
21. choose those drivers.
22. now wait for those drivers to install.
23. ANd there now u have the correct drivers for fastboot!
24. to check if it is working repeat steps 4-9
25. IF it does, You now have fastboot working on both your pc and device!
please hit the "thank you" button

[Q] Unlock Bootloader Problem

Hi guys, I have a problem.
I want to flash my N1 with the Cyanogenmod, but I have a problem with Bootloader unlocking. I do exactly what here is written (in the N1 guide from wiki.cyanogenmod), but when I open CMD (win XP) and write "fastboot oem unlock", it just doesn't works, but "adb devices" works and shows my phone. What can I do ? Any ideas ?
You need to boot into bootloader to work with fastboot. And if "adb devices" shows your phone - you obviously didn't boot.
adb reboot bootloader
Click to expand...
Click to collapse
Also, for a more comprehensive guide, please read the Wiki.
Code:
C:\fastboot>fastboot oem unlock
'fastboot' is not recognized as a
operable program or batch file.
This is what it shows in bootloader mode.
P.S. I have already re-installed my drivers. I have to notice that when I try to reinstall the drivers (in fastboot mode), they always auto-install themselves and when I try to update them, they say that there isn't newer version.
Fastboot executable isn't in the same directory as ADB executable, and isn't in the path you're executing it from (which is C:\fastboot).
Check, what is the actual executable you're trying to run, and if you have one. It might be called fastboot-windows.exe, if you didn't get it from downloading the Android SDK.
There is a executable file named "fastboot-windows.exe", but when I try to run it, it just open and close for 1 second. Any ideas ?
I thought the message would be clear by now... Oh well.
Open command prompt.
Run:
fastboot-windows oem unlock
Click to expand...
Click to collapse
I think It's done but my computer shows this message (see attached) 5 mins and I don't know it's ready or not ? Could I turn on the phone ? (Sry for the easy questions but I'm a real noob, because that's my 1st Android phone.)
The "too many links" message doesn't look good.
Reboot your computer.
Reboot the phone.
Use different USB port in your computer.
Ok well if you want my input try "fastboot devices" this should return your S/N (starting with "HT") if it gives you the same error then I would reinstall the SDK.

Can you flash...

Hey all. I was reading about the stock Google edition RUU 4.4 that's posted here. However, the directions say to manually install via fastboot. I tried with TWRP instead because I am having trouble with the command prompt but when I try to install the RUU via twrp it immediately says failed. Is there a way to do it via twrp? Thank you all
Just follow the instructions. If there was an easier way it would have been posted.
Sent from my HTC O'ne-xus
Take a hint and don't do it.
I know it can be frustrated, but that's one of those things where you REALLY need fastboot setup and working before installing the Rom. If something weird happens where you're in a bootloop or something, you need access to working fastboot. If you can't get it working I'll help you get it figured out.
But tell us exactly what's not working and we can probably help.
One tip is if you're using Windows 7, open the command prompt by holding shift while right clicking in the blank white folder space where your fastboot.exe file is located on the computer.
Shift + Right Click will pop up a menu where you choose "Open Command Window Here"
That puts you right to the step of typing the command, because cd (change directory to path of fastboot file) isn't needed since you started in the correct folder.
When you run the command, like "fastboot devices" as a test, take a screenshot of the cmd window after you run it so we can see exactly what it's doing and advise from there.
If you're own Windows 8 you'll need to disable driver signing, which I find the steps for by googling "Windows 8 how to disable driver signing"
Also if there's USB 2.0 ports on your computer use them instead of 3.0. And the main USB port usually works best, such as on the back of a motherboard instead of the front case in a desktop tower.
Sent from my HTC One using Tapatalk

[Q] Htc one M7 softbricked and can't connect to a computer

FYI: I am not tech savy at all so bare with me if I sound like a noob/idiot.
I basically formatted my phone from TWRP and I'm thinking there isn't any ROM/UI/kernel?..ect. so it cannot start up (basically stuck on the htc loading screen). My computer detects it but not as a storage device and I can't seem to find a way to access it. I believe I have what i need on my computer but my issue is that i dont know how to get into the internal storage of my htc one because it cannot detect it as a storage device on my computer.
The only trace of it at all i seem to be able to find is in
Control Panel\Hardware and Sound\Devices and Printers
Its called "android 1.0" and when i click on it, it takes me to its properties from device manager.
It says Location: Port_#0001.Hub_#0008
I dont know if any of this info i gave is relevant, if not, let me know what ups.
ray408 said:
FYI: I am not tech savy at all so bare with me if I sound like a noob/idiot.
I basically formatted my phone from TWRP and I'm thinking there isn't any ROM/UI/kernel?..ect. so it cannot start up (basically stuck on the htc loading screen). My computer detects it but not as a storage device and I can't seem to find a way to access it. I believe I have what i need on my computer but my issue is that i dont know how to get into the internal storage of my htc one because it cannot detect it as a storage device on my computer.
The only trace of it at all i seem to be able to find is in
Control Panel\Hardware and Sound\Devices and Printers
Its called "android 1.0" and when i click on it, it takes me to its properties from device manager.
It says Location: Port_#0001.Hub_#0008
I dont know if any of this info i gave is relevant, if not, let me know what ups.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2318497
Here is some reading material for you
Bro..I completely understand your predicament..
Just do this step by step
1. Download minimal adb from the internet and install it on your PC.
2. Download twrp image from the internet.this is a recovery loader.
3.copy the image file into the install directory of minimal adb.
4.execute the minimal adb shortcut from your PC.it should open a command prompt.
5.connect your device to the PC via usb.
6. Type this command to check if your device is recognized. "Fastboot devices"
It should show you a device ID..if your device is connected and recognized
7.flash tarp image with this command "fastboot flash recovery <twrp.img>"
8.reboot your device..press and hold volume down at the sametime to get into bootloader.
9.enter recovery.
10.Download any custom rom from htconeroot.com.it will be a zip file.
11. Copy the zip into minimal adb install directory and run this command to push the zip onto your device. "adb push <image file>.zip any name.zip"
12. After this completes you should be able to see this image in the filemanager in twrp.
13.move the zip file into sdcard directory.
14.make sure all options are checked in the mount in twrp
15.install the custom rom from install option in tarp.
This is 3 frantic days of research on the internet bro..
I had a brick in my hand too..got it up and running VIPERONE ROM
Hope you get through this fine
Thank you, i really appreciate the effort! but im stuck on step 6/7. When i typed in fastboot devices, it didn't show any new id. and when i typed fastboot flash recovery twrp.img it says "waiting on device" so im guessing it still didnt detect it. any idea on why this might be happening? thanks
gowda-the-grear said:
Bro..I completely understand your predicament..
Just do this step by step
1. Download minimal adb from the internet and install it on your PC.
2. Download twrp image from the internet.this is a recovery loader.
3.copy the image file into the install directory of minimal adb.
4.execute the minimal adb shortcut from your PC.it should open a command prompt.
5.connect your device to the PC via usb.
6. Type this command to check if your device is recognized. "Fastboot devices"
It should show you a device ID..if your device is connected and recognized
7.flash tarp image with this command "fastboot flash recovery <twrp.img>"
8.reboot your device..press and hold volume down at the sametime to get into bootloader.
9.enter recovery.
10.Download any custom rom from htconeroot.com.it will be a zip file.
11. Copy the zip into minimal adb install directory and run this command to push the zip onto your device. "adb push <image file>.zip any name.zip"
12. After this completes you should be able to see this image in the filemanager in twrp.
13.move the zip file into sdcard directory.
14.make sure all options are checked in the mount in twrp
15.install the custom rom from install option in tarp.
This is 3 frantic days of research on the internet bro..
I had a brick in my hand too..got it up and running VIPERONE ROM
Hope you get through this fine
Click to expand...
Click to collapse
ray408 said:
Thank you, i really appreciate the effort! but im stuck on step 6/7. When i typed in fastboot devices, it didn't show any new id. and when i typed fastboot flash recovery twrp.img it says "waiting on device" so im guessing it still didnt detect it. any idea on why this might be happening? thanks
Click to expand...
Click to collapse
Ok..try this..
Press down on the power and volume down button to enter the default boot loader.
If you hv rooted your phone..it should be showing tampered at the top.
select the fast boot option..
Now connect your phone via usb..
The display name should change to "fastboot usb"
Then again open minimal adb and continue from step 6.
Make sure you have all the htc drivers for Windows installed on your PC.
Windows can automatically download these drivers for you if you don't have them..
All the best
Are you using Windows 8.1?
everything works now, thank you guys. You are all awesome!

Categories

Resources