Hi, I need some help. I'm just about finished unlocking my bootloader on my Sensation. I got the unlock bootloader key from HTC and when I try to use command prompt it seems it can't find it!!!! Driving me nuts!! I have it in the Andriod\android-sdk\platform-tools folder. Should read it!! I"m running command prompt as administrator. here's the prompt c:\windows\system32>fastboot flash unlocktoken Unlock_code.bin I hit enter and it should find it!! It doesn't. It says invalid. Can someone help????? Thanks in advance! Thom
the only thing i can tell you is what i did to me.
create a folder in c and name it Android
in that folder copy adb,adbwinapi.dll,fastboot and your unlock_code
then open a command window in that folder and do the command
fastboot flash unlocktoken Unlock_code.bin
tommer2 said:
Hi, I need some help. I'm just about finished unlocking my bootloader on my Sensation. I got the unlock bootloader key from HTC and when I try to use command prompt it seems it can't find it!!!! Driving me nuts!! I have it in the Andriod\android-sdk\platform-tools folder. Should read it!! I"m running command prompt as administrator. here's the prompt c:\windows\system32>fastboot flash unlocktoken Unlock_code.bin I hit enter and it should find it!! It doesn't. It says invalid. Can someone help????? Thanks in advance! Thom
Click to expand...
Click to collapse
dont run the terminal as administrator (when you run it as administrator ..you will lose the path..you can see for yourself ..the command is typed from c:\windows\system32 ..where the Unlock_Code is not present )
just open a command prompt from the Andriod\android-sdk\platform-tools folder (if windows go to that directory ..hold shift + right click -> open command window here) and type the command again
Thanks man!!! That was It!!!!
Related
fast boot will not run for some reason, anyhelp to get fast boot to run would be awesome
What error does it give? Did you turn off PDANet?
ive tried everything it just doesnt come up i double click it but it pops up and goes away then some times if i go to open by right clicking it it says the .dll file is gone but i got it sitting next to it
ok fastboot is what is used in CMD. ur fastboot.exe is located in the sdk folder then in tools. so what u will need to do is navigate to ur sdk folder in command and find fastboot. then fastboot (whatever commands)
Right... Use fastboot from the command line. Go to the directory fastboot is in with windows explorer hold shift and right click. Select open command prompt here. Type fastboot.
the newest Superuser-3.0.7_mod-signed can root it
Hi,
I need to re-lock my Nexus S because I need to send it to service and use warranty. I flashed stock ROM, but I cannot lock it. I read that I have to use adb and while in fastboot, type "fastboot oem lock". When I type this and press Enter, it says something like "adb is not a name of internal or external command, executable programm or batch file." (sorry, I dont use English on my Windows, so I just tried to translate it).
Any idea what's wrong?
u need adb and fastboot files and the correct drivers, just search "unroot nexus s"
devcager said:
Hi,
I need to re-lock my Nexus S because I need to send it to service and use warranty. I flashed stock ROM, but I cannot lock it. I read that I have to use adb and while in fastboot, type "fastboot oem lock". When I type this and press Enter, it says something like "adb is not a name of internal or external command, executable programm or batch file." (sorry, I dont use English on my Windows, so I just tried to translate it).
Any idea what's wrong?
Click to expand...
Click to collapse
When I run the command you're in fastboot mode on the phone?
im trying to unroot my phone for insurance purposes. I have downloaded the ruu and the adb. since im using windows xp, i am trying to run the adb program. i was told to hit start then run cmd, once its popped up i type in c:\android-sdk\platform-tools\ but for some reason it wont find it. PLEASE I NEED YOUR HELP
Did you type cd before entering the path? Most probably not. Open cmd again and type :
Code:
cd c:\android-sdk\platform-tools\
M..N said:
Did you type cd before entering the path? Most probably not. Open cmd again and type :
Code:
cd c:\android-sdk\platform-tools\
Click to expand...
Click to collapse
This..
Sent From My Sexy Sensation.
Why do you need ADB? The RUU will unroot your device.
T-Macgnolia said:
RUU stands for ROM Update Utility. This is a utility that is run via a .exe file that is used to flash a stock ROM, stock radio, stock splash screen, stock recovery, and stock firmware of a device. The utility performs a cleaning of the NAND memory of the device before flashing the included stock software. So a RUU is often suggested as a way fix common problems and to unroot a device. The utility also runs a set of checks on a the a device before flashing such as CID (Carrier Identification), battery level check, and firmware version check.
Click to expand...
Click to collapse
Edit: I forgot to mention, it is no need to type out the entire file directory to use ADB or fasboot. If you just open the tools folder and then hold shift and right click anywhere in the window and then select "Open command window here". This will open a command window that is already in the correct directory and you just type the command you want to use into the command window.
4ive said:
im trying to unroot my phone for insurance purposes. I have downloaded the ruu and the adb. since im using windows xp, i am trying to run the adb program. i was told to hit start then run cmd, once its popped up i type in c:\android-sdk\platform-tools\ but for some reason it wont find it. PLEASE I NEED YOUR HELP
Click to expand...
Click to collapse
M..N said:
Did you type cd before entering the path? Most probably not. Open cmd again and type :
Code:
cd c:\android-sdk\platform-tools\
Click to expand...
Click to collapse
+1
Hey guys I'm in the process of using the new rooting method and I'm at the part where I put the unlock_code.bin into my phone but I go into my computer and my phone doesn't show up. I am currently in bootloader and stopped for fear of hurting my phone. How do I proceed? So sorry for being such a noob but I'd really really appreciate it if someone could help me!
KungPow90 said:
Hey guys I'm in the process of using the new rooting method and I'm at the part where I put the unlock_code.bin into my phone but I go into my computer and my phone doesn't show up. I am currently in bootloader and stopped for fear of hurting my phone. How do I proceed? So sorry for being such a noob but I'd really really appreciate it if someone could help me!
Click to expand...
Click to collapse
Guessing that your using windows system, did you install htc sync?
yup I got all the drivers. And yes im using windows.
Can anyone help me? I'm at the part where I use the unlockcode.bin but I don't know what I'm doing and need help.
Thanks
KungPow90 said:
Can anyone help me? I'm at the part where I use the unlockcode.bin but I don't know what I'm doing and need help.
Thanks
Click to expand...
Click to collapse
So your CID was successfully set?
Yes my CID was set. I need help with the unlock_code.bin
So I tried to run the command fastboot flash unlocktoken Unlock_code.bin as you are supposed to in the HTCdev site but this is the response:
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
KungPow90 said:
So I tried to run the command fastboot flash unlocktoken Unlock_code.bin as you are supposed to in the HTCdev site but this is the response:
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
you need to have fastboot executable installed in that directory also is your phone in debugging mode ?
take a peak at gunny's adb/fastboot primer here http://forum.xda-developers.com/showthread.php?t=1754018
hopefully that'll do it. good luck
ostoristn accomplish
Ok I put fastboot in there and it still didn't work. The phone is currently in bootloader. Yes I had debugging on when I switched it to bootloader.
What do you mean by didn't work? What is happening now when you run fastboot flash unlocktoken Unlock_code.bin
area51avenger said:
What do you mean by didn't work? What is happening now when you run fastboot flash unlocktoken Unlock_code.bin
Click to expand...
Click to collapse
It is the same thing as before,
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
KungPow90 said:
It is the same thing as before,
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
go into the directory where your adb is and run "adb devices" from command prompt and let's see if your device is recognized, if it isn't it might be your drivers or try a different usb port.
Crappyvate said:
go into the directory where your adb is and run "adb devices" from command prompt and let's see if your device is recognized, if it isn't it might be your drivers or try a different usb port.
Click to expand...
Click to collapse
ok maybe im not running the commands right. i know for a fact that i have all the adb and fastboot stuff but it says the same thing as it did for the fast boot but with adb instead.
KungPow90 said:
ok maybe im not running the commands right. i know for a fact that i have all the adb and fastboot stuff but it says the same thing as it did for the fast boot but with adb instead.
Click to expand...
Click to collapse
are you on a pc ? how are you running your fastboot command at the prompt ?
KungPow90 said:
It is the same thing as before,
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Are you executing the commands from the folder where fastboot exists ? For example
You have adb, fastboot in C:\android-sdk\platform-tools" then you need to goto C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists) and then execute the command
"
abhipati said:
Are you executing the commands from the folder where fastboot exists ? For example
You have adb, fastboot in C:\android-sdk\platform-tools" then you need to goto C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists) and then execute the command
"
Click to expand...
Click to collapse
Ok ok now we are getting progress. It accepted fastboot and took the command but couldn't find the file "Unlock_code.bin"
KungPow90 said:
Ok ok now we are getting progress. It accepted fastboot and took the command but couldn't find the file "Unlock_code.bin"
Click to expand...
Click to collapse
did you get the unlock_code.bin from the htcdev website ?? It also needs to be in the same directory as your fastboot executable.
Crappyvate said:
did you get the unlock_code.bin from the htcdev website ?? It also needs to be in the same directory as your fastboot executable.
Click to expand...
Click to collapse
Yes the code came from htcdev and i put it in the same location as i am running my executions. I don't understand how it cant find it...
KungPow90 said:
Yes the code came from htcdev and i put it in the same location as i am running my executions. I don't understand how it cant find it...
Click to expand...
Click to collapse
what error do you get exactly and what command are you running ?
ensure you are giving correct names ( including case ) and correct paths
Hi All, I hope someone can help.
I got this phone in December, and unlocked it, flashed TWRP and rooted.
My phone automaticly updated and was on version 7.1.2. But Super SU wasnt working anymore.
I tried to boot into TWRP but it was saying somthing like "No command given" when I tried.
I used Skipsoft toolkit to flash the recovery again (What I originally used) and when the phone rebooted, it gets to the Google logo and instantly reboots.
I can get to bootloader, but if I select recovery, it reboots.
Is there anything I can do here?
I did a backup in TWRP before I flashed, its stored on the phone.
Thanks in advance
I would use the tool to go back to stock. Just pick the last Google is the app I believe its V. Either update to the lastest software or I just flashed a rom with the newest vender
Hi, Thanks for your reply.
How can I do this though, I cant get the phone to boot, or into recovery
Is there a way I can use adb to push a TMRP so I can restore my backup?
My PC makes the noise as if something is attached by USB, but when I do adb devices, nothing shows.
Hi all,
I managed to sort it out and restore to original as advised above with fastboot. Never used it before, but I followed this guide and it worked great.
http://www.droidviews.com/install-stock-firmware-on-google-pixel-or-restore-it-to-stock/
Thanks again
You can get TWRP and root on the May update.
https://forum.xda-developers.com/showthread.php?t=3600606
Anthony2oo5 said:
Hi all,
I managed to sort it out and restore to original as advised above with fastboot. Never used it before, but I followed this guide and it worked great.
http://www.droidviews.com/install-stock-firmware-on-google-pixel-or-restore-it-to-stock/
Thanks again
Click to expand...
Click to collapse
This didn't work for me. I got as far as:
7. Now type the following command in the command window and hit the Enter key.
flash-all.bat
When doing that, I got the following returned in the CMD prompt:
'flash-all.bat' is not recognized as an internal or external command, operable program or batch file.
In the CMD prompt, make sure you're in the folder where you extracted the contents of the zip file.
graymoment said:
This didn't work for me. I got as far as:
7. Now type the following command in the command window and hit the Enter key.
flash-all.bat
When doing that, I got the following returned in the CMD prompt:
'flash-all.bat' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
X04D said:
In the CMD prompt, make sure you're in the folder where you extracted the contents of the zip file.
Click to expand...
Click to collapse
As X04D states you need to be in the correct directory. Hold shift and richt click in the folder where the files are located and press "Open command prompt here" then try again.
Anthony2oo5 said:
As X04D states you need to be in the correct directory. Hold shift and richt click in the folder where the files are located and press "Open command prompt here" then try again.
Click to expand...
Click to collapse
I probably should have clarified, but by quoting step 7 as the point it failed, I meant to imply that I had performed steps 1-6. Step 6 is the "open command prompt here" step.
graymoment said:
I probably should have clarified, but by quoting step 7 as the point it failed, I meant to imply that I had performed steps 1-6. Step 6 is the "open command prompt here" step.
Click to expand...
Click to collapse
That error means flash-all.bat is not in the same directory as the command prompt you opened. You unzipped it elsewhere, didn't unzip it or you opened the command prompt in the wrong place.
Flash this file after flash other files
VerifiedBootSigner