'fastboot' is not recognized as an internal or external command,operable program or - Nexus 5 Q&A, Help & Troubleshooting

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.

Related

ADB error

I am running adb on windows vista. and When i type in the command:
C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools>adb devices
My phone comes up. But when i try to install apks from another folder like so:
C:\Users\korey\Desktop\Esquire\HTC Magic\CrackedApps> adb install NemoPlayer.apk
It gives an error saying: 'adb is not recognized as an internal or external command,
operable program or batch file.
can some one please help me with this i would really appreciate it
"crackedapps" eh?
This thread is hilarious
Esquire22 said:
I am running adb on windows vista. and When i type in the command:
C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools>adb devices
My phone comes up. But when i try to install apks from another folder like so:
C:\Users\korey\Desktop\Esquire\HTC Magic\CrackedApps> adb install NemoPlayer.apk
It gives an error saying: 'adb is not recognized as an internal or external command,
operable program or batch file.
can some one please help me with this i would really appreciate it
Click to expand...
Click to collapse
You need to add "C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools" to your PATH environment variable.
Please post in the correct forum next time

[Q] SuperCID problem

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

[Q] Rooting noob...

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

[Q] Can't Flash 5.0 Image

I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
ArsenaMarabdeli said:
I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
Click to expand...
Click to collapse
It means you've not copied the files into your ADB folder as it can't find the fastboot files
ArsenaMarabdeli said:
I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
Click to expand...
Click to collapse
open the folder where you extracted the tarbal
hold down shift and right click
open command prompt here
do a "fastboot devices" to check if your device is connected
continue flashing using the commands.
gamer.11 said:
open the folder where you extracted the tarbal
hold down shift and right click
open command prompt here
do a "fastboot devices" to check if your device is connected
continue flashing using the commands.
Click to expand...
Click to collapse
This won't work if fastboot binary isn't in env PATH.
EddyOS said:
It means you've not copied the files into your ADB folder as it can't find the fastboot files
Click to expand...
Click to collapse
"Into your FASTBOOT folder". adb's got nothing to do with this.
http://forum.xda-developers.com/showthread.php?t=2513701
Follow method two in this guide.
beekay201 said:
This won't work if fastboot binary isn't in env PATH.
Click to expand...
Click to collapse
worked for me i never had to put anything into my android tools folder, i have system wide access no matter where i open up the command prompt.
Easiest way is to extract the sh1t out of the Google file until you eventually see all the img files. Then extract the fastboot zip into the same folder they're in and open a command prompt there.
Fastboot zip -
https://www.dropbox.com/s/b8wxmwfi2ekdw3a/Adb And Fastboot.zip?dl=0
Sent from my Android 5.0 Nexus 5
gamer.11 said:
worked for me i never had to put anything into my android tools folder, i have system wide access no matter where i open up the command prompt.
Click to expand...
Click to collapse
Because it's in your PATH.
beekay201 said:
This won't work if fastboot binary isn't in env PATH.
"Into your FASTBOOT folder". adb's got nothing to do with this.
Click to expand...
Click to collapse
People refer to the folder with ADB and fastboot in it as the ADB folder (If you had adb/fastboot in the system path this wouldn't even be required)
Do you really think I meant them to use ADB? Come on, now
beekay201 said:
Because it's in your PATH.
Click to expand...
Click to collapse
oh "env" meant environment, sorry did not understand your shot hand.
by the way OP? solved your issue?
EddyOS said:
People refer to the folder with ADB and fastboot in it as the ADB folder
Click to expand...
Click to collapse
I refer to this folder as the platform tools folder
nikon120 said:
I refer to this folder as the platform tools folder
Click to expand...
Click to collapse
Makes more sense I guess, just more to type! This is where being in PATH makes life better

Please Help - Stuck in boot loop

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

Categories

Resources