• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Android Debug Bridge

simpson1190

Lurker
Mar 22, 2010
8
0
ok so I rooted my phone. I have been trying to figure out the whole debug bridge. when I point the cmd to the tools folder and type in adp, i get a message 'adp' is not recognized as an internal or external command, operable program or batch file.

so let me go over what I have done so far and maybe I'm missing a step.

I downloaded the SDK. I extracted it to c:/android. I then opended up the sdk setup. then i updated the package. it downloaded a bunch of stuff.

i opened my compand prompt and typed in cd C:\android\android-sdk-windows\tools

now according to the guide, at this point I should be able to type in adp and it should give a list of commands. I also tried typing in adp push, adp pull, su, and all that good stuff and I get the same message.

What did I do wrong. My phone is mounted, i don't know if that makes a difference.
 
ok so I rooted my phone. I have been trying to figure out the whole debug bridge. when I point the cmd to the tools folder and type in adp, i get a message 'adp' is not recognized as an internal or external command, operable program or batch file.

so let me go over what I have done so far and maybe I'm missing a step.

I downloaded the SDK. I extracted it to c:/android. I then opended up the sdk setup. then i updated the package. it downloaded a bunch of stuff.

i opened my compand prompt and typed in cd C:\android\android-sdk-windows\tools

now according to the guide, at this point I should be able to type in adp and it should give a list of commands. I also tried typing in adp push, adp pull, su, and all that good stuff and I get the same message.

What did I do wrong. My phone is mounted, i don't know if that makes a difference.

First of all, it is adb...not adp :)

Also, if you type in "adb"...nothing is going to happen. Try "adb shell" while your phone is connected with usb debugging turned on. If you have installed it correctly, you will see a # sign.

Edit: Sorry, didn't read your post entirely...yes you would get a list of commands if you type in just "adb"...but try to get into adb shell...that can be done from any directory heading.
 
Upvote 0
Just a couple of tips:

One way to make the Android Debug Bridge much more managable is to set the path to your tools directory so you can access adb and the other related commands from any directory.

From the desktop, right-click My Computer and click Properties.

In the System Properties window, click on the Advanced tab.
  1. In the Advanced section, click the Environment Variables button.
  2. Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.

    example - C:\Program Files;C:\android\android-sdk-windows\tools
To easily open a command shell window from any directory in windows (at least I know this works in Vista and Win7) you can go into Windows file manager and hit shift and while mouse right clicking. You will get a "open command window here" menu option.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones