Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Droid - All Things Root Rooting, ROMS, Overclocking, etc.
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old February 25th, 2010, 10:47 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default (Help Please) Not recognized as an internal external command.

Sorry if this is posted in the wrong place I'm new here,I just rooted my Droid using this guide,installed busybox then made a custom recovery. I know how to use the change directory properly cause I did it enough times doing those things, so I'm pretty sure it's not that.

http://androidforums.com/all-things-root-droid/45764-guide-s-everything-root-related.html


After that my command prompt stopped working for me when I wanted to start doing stuff. It gives me that error; "Not recognized as an internal external command, operable program or batch file"
I'm not sure why it's not working for me, not a tech savy guy really, just know how to follow tutorials.
I'm thinking it may be my Path variable needs to be fixed some how, but I don't know much else about it, so I haven't touched it. Anyone have any ideas on what I could to do fix this?

Rambro is offline  
Reply With Quote
Sponsors
Old February 25th, 2010, 10:53 PM   #2 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

You command prompt in your computer?
__________________

Files for the Motorola® DROID® BIONIC®:
Motorola USB drivers v5.9.0 | Motorola RSD Lite v5.7
My DropBox Referral link
johnlgalt is offline  
Reply With Quote
Old February 25th, 2010, 10:55 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Haha see I don't know anything, where else am I supposed to command prompt?
Rambro is offline  
Reply With Quote
Old February 25th, 2010, 10:57 PM   #4 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

well, I was making sure you didn't mean the commandline (aka bash shell) in the phone).

Yeah, if you edited your Path statement, you might have hosed something....does it give you an error when you first open command prompt, or only when you try to run any command, or only when you try to run certain commands?
johnlgalt is offline  
Reply With Quote
Old February 25th, 2010, 11:00 PM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

I didn't edit the path variable just cause I had no idea what to put it as. But it only gives me that error when I plug in a command after I cd'd. In this case I was trying "su". I wanted to add in a custom font.
Rambro is offline  
Last edited by Rambro; February 25th, 2010 at 11:03 PM.
Reply With Quote
Old February 25th, 2010, 11:03 PM   #6 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

did you run adb shell first before su?
johnlgalt is offline  
Reply With Quote
Old February 25th, 2010, 11:04 PM   #7 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

Also, since you did not do the PATH editing part, you have to CD to the exact directory where your SDK is extracted / installed to.
johnlgalt is offline  
Reply With Quote
Old February 25th, 2010, 11:04 PM   #8 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by johnlgalt View Post
did you run adb shell first before su?
Nope, don't believe I've done that before. How do I run adb shell?

And I CD directly to the tools folder, where the adb exe is located.
Rambro is offline  
Last edited by Rambro; February 25th, 2010 at 11:07 PM.
Reply With Quote
Old February 25th, 2010, 11:14 PM   #9 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

then you open a command prompt, and the first thing you do is run
Code:
adb shell
then you'll get a pound sign prompt, where you type in su:
Code:
 # su
Can't use su in Windows, it is not a native function - hence the need to start the adb shell first so you *can* use su.
johnlgalt is offline  
Reply With Quote
The Following User Says Thank You to johnlgalt For This Useful Post:
Rambro (February 25th, 2010)
Old February 25th, 2010, 11:19 PM   #10 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

You sir, have just made my day, thank you very much.
Rambro is offline  
Reply With Quote
Sponsors
Old February 25th, 2010, 11:21 PM   #11 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

No worries. It's why this place exists - so folks like us that need help, can get it.

The DROID is my first smart-phone ever, and I rooted and started playing with ROMs just last month, IIRC....
johnlgalt is offline  
Reply With Quote
Old November 29th, 2010, 10:00 PM   #12 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by johnlgalt View Post
then you open a command prompt, and the first thing you do is run
Code:
adb shell
then you'll get a pound sign prompt, where you type in su:
Code:
 # su
Can't use su in Windows, it is not a native function - hence the need to start the adb shell first so you *can* use su.

I am having the same error, I tried on two computers to type the command and it keeps telling me adb is not recognized as an internal or external command, operable program or batch file. Any other suggestions?
kmg53086 is offline  
Reply With Quote
Old November 30th, 2010, 08:16 PM   #13 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

Quote:
Originally Posted by kmg53086 View Post
I am having the same error, I tried on two computers to type the command and it keeps telling me adb is not recognized as an internal or external command, operable program or batch file. Any other suggestions?
First off, You have to have the Android SDK installed on your computer, and you have to do one of two things to make it work:
  1. If you are not computer savvy and do not know how to edit your path, before you ever start out doing anything with the adb shell, you'll need to change your working directory to the directory where the Android tools are located, something simialr to this:
    Code:
    cd \{path}\android-sdk-windows\tools
  2. If you are familiar with system settings and such, then I suggest that you add \{path}\android-sdk-windows\tools\ to the end of your PATH statement (and if you are admin on your own computer, I highly recommend that you edit the SYSTEM PATH as opposed to just your user PATH, b/c if your User profile goes south, and you make a new profile, you'll lose that PATH statement and then may spend a long time trying to figure out why adb tools stopped working in the new profile).

Once you do either of the above steps, then you can continue forward with what you were trying to do.

A little background: You can always do step 1 even if you do step 2, and it will still work. The reason I do step 2 is that I no longer have to perform step 1 at all - with the PATH statement edited as I have, I can open a command Prompt at any time, and immediately start using my adb tools without having to change directories - it will work regardless of which directory I am already in.
johnlgalt is offline  
Last edited by johnlgalt; November 30th, 2010 at 08:18 PM.
Reply With Quote
Old December 28th, 2010, 09:29 PM   #14 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Cry Rooting Nook, computer not recognizing my device

I'm having the same trouble that the last person had. When in the command prompt it won't recognize my device and keeps telling me " 'android-sdk-windows' is not recognized as an internal or external command, operable program or batch file. " and when I try to enter softkeys it says "failed to find file:/system/bin/su. SoftKeys may not function. Unable to execute root."

like the last post, I'm not too computer savvy but can follow tutorials and directions well. Can someone help me figure it out? I've been stuck for a day or two now.
gar-bear is offline  
Reply With Quote
Old December 30th, 2010, 12:50 AM   #15 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,393
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,916 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

Quote:
Originally Posted by gar-bear View Post
I'm having the same trouble that the last person had. When in the command prompt it won't recognize my device and keeps telling me " 'android-sdk-windows' is not recognized as an internal or external command, operable program or batch file. " and when I try to enter softkeys it says "failed to find file:/system/bin/su. SoftKeys may not function. Unable to execute root."

like the last post, I'm not too computer savvy but can follow tutorials and directions well. Can someone help me figure it out? I've been stuck for a day or two now.

Since this is nook related, you should probably posting there instead of in the MOTOROLA DROID forum. Though it is android, procedures may be different. For example, here, we don't do softkeys at all....
johnlgalt is offline  
Reply With Quote
Old September 30th, 2011, 01:04 PM   #16 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 5
 
Device(s): HTC Legend
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
whizkris@gmail.com
Default adb has moved

The adb tool has moved to platform-tools/

If you don't see this directory in your SDK,
launch the SDK and AVD Manager (execute the android tool)
and install "Android SDK Platform-tools"

Please also update your PATH environment variable to
include the platform-tools/ directory, so you can
execute adb from any location.



Quote:
Originally Posted by Rambro View Post
Sorry if this is posted in the wrong place I'm new here,I just rooted my Droid using this guide,installed busybox then made a custom recovery. I know how to use the change directory properly cause I did it enough times doing those things, so I'm pretty sure it's not that.

http://androidforums.com/all-things-root-droid/45764-guide-s-everything-root-related.html


After that my command prompt stopped working for me when I wanted to start doing stuff. It gives me that error; "Not recognized as an internal external command, operable program or batch file"
I'm not sure why it's not working for me, not a tech savy guy really, just know how to follow tutorials.
I'm thinking it may be my Path variable needs to be fixed some how, but I don't know much else about it, so I haven't touched it. Anyone have any ideas on what I could to do fix this?
whizkris is offline  
Reply With Quote
Old January 22nd, 2012, 01:17 PM   #17 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default ADB commend

when I try to to type in a ADB commend in CMD I am getting the following message:

"ADB is not recognized "

Can somebody please help me what I am doing wrong here
kls0654 is offline  
Reply With Quote
Old January 23rd, 2012, 10:39 AM   #18 (permalink)
The Guide who has guides
 
teddyearp's Avatar
 
Join Date: May 2010
Location: Randle, WA
Posts: 1,452
 
Device(s): Samsung® SCH-I515
Carrier: Verizon

Thanks: 448
Thanked 461 Times in 283 Posts
Default

Have you downloaded adb to your computer? If you have, have you changed to the proper directory where it is located?
teddyearp is offline  
Reply With Quote
Old April 5th, 2012, 05:15 PM   #19 (permalink)
New Member
 
Join Date: Apr 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

The date on the above post is 'old'; not sure if there's a newer resource.

I'm having essentially the same issues the others are having, but none of the solution is working. Running 64bitWin7.

There was already a system 'path' variable using Quicktime- so I removed it, restarted the PC and editted the system 'path' and created a user 'path' with the correct path to platform-tools.

I have installed 'all' of the android sdk, ver 15(?)... was the link associated with android 2.3.4 OS (which I'm using on my LG Esteem)

Another Android forum suggested renaming abd.exe, restarting my PC and then changing it back. That did not work.

In cmd- going to the platform-tools and even running abd (abd.exe) failed! and I was in the directory it's located.

IDK...

Ready for another suggestion.
Athalahelm is offline  
Reply With Quote
Old April 5th, 2012, 05:41 PM   #20 (permalink)
New Member
 
Join Date: Apr 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

NEVER MIND-

I was mispelling the command!

ugh! Wasn't until I left the caps lock on when I was typing that I finally realized it.
Athalahelm is offline  
Reply With Quote
Sponsors
Old August 22nd, 2012, 01:07 PM   #21 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

If people are still having problems with this by either using razrs edge or motofail, and you are still getting the error that adb is not working, Make sure you UNZIP the file and do not try running the file from the zip folder. I had a stupid moment that lasted about an hour until I found another post saying this. So to be clear, UNZIP FIRST, then run. Hope this helps someone else out.
segordon2424 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:35 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.