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

Root How do I run ADB

I have found several sites through google and some tutorials on youtube, but after several frustrating hours of work I still can't seem to get adb to work. I'm on win 7 64 bit. I finally gave up and did one click root, but I would still like to have adb for other proposes. Not really sure what to try now...
 
Upvote 0
I've tried installing this probably six or seven times tonight. Every time I double click the SDK Setup.exe file, a command window pops up for a few seconds (though it remains blank/black the entire time), then I get the following window:
androidsdksetuperror.jpg

What is up with the semicolon at the beginning of the file path it wants me to enter? I've done it with and without, and neither works.
Here is a shot of it with the semicolon:
envirovar.jpg

I wanted to avoid the one-click root so I could learn something. I wanted that something to be about the Droid, not about my damn PC! This is frustrating...
 
Upvote 0
I think you are going about it wrong if I am understanding you correctly.

You don't open up the sdk setup.exe, that always closed on me--when I was thinking that was the way to do it too.

You have to install certain drivers on your phone via device manager and some zip files that are available in the forums. Once the drivers are up to date, you open up cmd from the start menu and assuming the sdk/tools is placed on the C drive--you pull it up

cd C:\sdk\tools

assuming it's named like that, of course.



First things first, you have to setup adb---go here Setup ADB on Windows (USB Driver v3 from SDK r7) - Droid X Support/General - AllDroid Public Board - Setup ADB on Windows (USB Driver v3 from SDK r7) - Droid X Support/General - AllDroid Public Board - AllDroid.org > Home
 
Upvote 0
I had installed the Motorola drivers within hours of getting the phone. I had updated the driver (via those AllDroid instructions) to "Android Sooner Composite ADB Interface".

I don't know what the "Sooner" part is, or what it means, but I've never even been to Oklahoma. I just went with it because it was closest to "Android Composite ADB Interface"
 
Upvote 0
I had installed the Motorola drivers within hours of getting the phone. I had updated the driver (via those AllDroid instructions) to "Android Sooner Composite ADB Interface".

I don't know what the "Sooner" part is, or what it means, but I've never even been to Oklahoma. I just went with it because it was closest to "Android Composite ADB Interface"

Ok as far as your SDK error, it looks like the problem is that your java isn't in the PATH var. you have it in it's on special "java" var instead of adding it to the PATH var.

4906942011_272de3f622.jpg


Try it like that! NOTE: the path var should/does already exist in there, you just need to append the java path to it. also while you are in there add your Android SDK path to it as well, which is the path of your "tools" folder

probably "C:\android-sdk\tools", but check to make sure!
 
Upvote 0
I kind of had a problem with installing all of this at first but its simple afterwards.

You should first download the latest sdk. After you've done that you want to update it. If you're tethering, the https wont work so you'll have to push it to http in the "settings" tab. Its a huge file. So you might want to get some pizza rolls to kill time :)

Second, go into the same folder you're in. (With the system variables and user variables you'll need to do the samething.) Scroll down them until you reach "path". Click edit. And now there should be a string of different locations. Don't delete them! Just add the path to where your sdk folder is and include the path for tools.
So for example let's say the string already has "c:\temp;c:\doodoo"
you see how a seperate path is added by semicolon and not a space?? So you would (at the end of the path) add a" ;" and your path to sdk tools. So i put mine in c: . Here's how i did it. C:\sdk\tools

Do for both user and system. See if it works by opening command prompt. With your phone in and typing" adb devices" .

Your device should show upm hope it helps
 
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