I've looked all over the place and have tried multiple things to fix this but when I'm trying to flash a new boot image, I try using the fastboot command and I get an error saying
"fastboot" is not recognized as an internal or external command, operable program or batch file.
Any idea how I can fix this. Yes the fastboot.exe is in platform-tools.
In cmd go to the place/path (mostly c:androidsdk\platform-tools) and then use fastboot from there.
Best way to access fastboot in windows is to add the path where fastboot is present in environmental variable )
Guide to add Path to environmental variable
http://www.computerhope.com/issues/ch000549.htm
sent from my blazing fast pyramid through sonic waves
Related
i wanted to flash the new firmware onto my phone so i could flash ics, but one of the requirements is to have superCID.
ive been following this guide: http://forum.xda-developers.com/showthread.php?t=1192300
But, everytime i get to the command, "fastboot oem writecid 11111111" it only gives me a message saying, 'fastboot' is not recognized as internal or external command, operable program batch file.
is there anything i may have missed? ive tried starting over thinking i may have written a command wrong but it still wont work.
thanks in advance guys
Is fastboot present in your sdk installation? If I remember well it should be in "tools" folder of the SDK files.
Try to update your packages through SDK manager.
Re-download, the fastboot package and then unzip...
Open the folder where you see a file called Fastboot.exe
Right click anywhere while holding shift button and press open command here...
Then type that command which you want for CiD
Don't frget to thanx if it works
Sent from my HTC Sensation 4G using XDA App
thanks guys
it turns out that fastboot wasnt in my adb folder but was in my android sdk folder, so i just copied and pasted it into the adb file and tried again, this time it works. thanks guys now onto flashing the new firmware
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
trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
i am using windows 8 64bit and my adb files along with the image files is on my downloads folder...
Start here:
HERE
Also look up "path variables windows (whatever)"
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
xBeerdroiDx said:
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
Click to expand...
Click to collapse
He said there still in his(or her) DL folder. Hence my tips. lol
theesotericone said:
He said there still in his(or her) DL folder. Hence my tips. lol
Click to expand...
Click to collapse
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
xBeerdroiDx said:
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
Click to expand...
Click to collapse
Always. Read it all then laugh.
have no idea what to do...
GabrielOspina said:
have no idea what to do...
Click to expand...
Click to collapse
You need to cd in cmd to the directory you extracted your sdk tools to. Or drop the fastboot and adb files from your download into c:\windows\system32. Or add your extracted directory to environment variables as per the link.
Its not difficult if you read
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
GabrielOspina said:
trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
I think i might be able to help.
You do have the adb-tools and the adb-treiber folders right? And you have run the file in the adb-treiber folder, and unlocked the bootloader from the adb-tools folder, good.
Now copy all the files from the hammerhead-lrx21o folder into the adb-tools folder, and try and run the flash-all.bat file again.
Let me know if it works, it did for me.
- Flecks
Install abd drivers
install adb drivers
SupremeNaruto said:
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
Click to expand...
Click to collapse
It's not helping. LMAO Windows rlly?
Virussii said:
It's not helping. LMAO Windows rlly?
Click to expand...
Click to collapse
Did you find a solution?
mahesh0055 said:
Did you find a solution?
Click to expand...
Click to collapse
Yeah, in the same directory on CMD type:
./fastboot devices
Everything has to start with ./fastboot and then the command.
fastboot is not recognized as an internal or external command, operable program or batch file??how i can fix?
That occurs when you don't actually have fastboot installed, or if you're trying to issue a fastboot command without changing directory to where you have fastboot installed. If you do have it installed just navigate to the folder where fastboot.exe is, hold shift and right click, and select "open command prompt here" from the menu, now try your fastboot command.
XDA Moderator
Transmitted via Bacon
I have been frustrated trying to use fastboot commands, especially the "flash" command on my windows 10 laptop. I continually got an "unable to load' message. I have reloaded the drivers manually as recommended by some, which still did not work. Well, it turns out that you need the complete path in the fastboot command line when using 10. Put your img, bin files in a folder you will be using. Open the command prompt using the windows-x keys. Select the command prompt from the menu.. It does not need to be the administrator. Use the fastbooot devices command to make sure the computer can see your device. I then issue the fastboot command I want: fastboot flash logo and then drag the file from the folder you are in and drop it on the command line. In this case I used, nowarning.bin. When it populated the complete path starting with the c: prompt shows up. Make sure there is a space before the C: and the previous command. Hit enter. I have searched everywhere and have not found an answer to this problem. I did see a video on youtube where the fellow dragged a file from the folder and dropped it in the command prompt window. So thanks to him for that simple yet effective trick.. Hopefully this will work for you if your having the same problem I had...