[GUIDE] Getting ADB Setup; An Idiots' proof guide on getting ADB working for Rooting!

Search This thread

neilkarunatilaka

Senior Member
Jul 1, 2010
426
65
California
x7productions.com
[GUIDE] Getting ADB Setup; An Idiots' proof guide on getting ADB working for Rooting! v1.2
Hey XDAers. Getting ADB setup and working is an essential part to rooting your Android device and helps layout the foundations to better understanding the language and using it in this environment. While not going into extreme detail, this is just a quick guide or overview on the first part of rooting; Getting ADB setup and working.

** Make sure your Transformer is not currently connected to your PC yet. We will be installing device drivers first (Step 7) and modify a setting on your tablet first before connecting to your PC (Step 8).

Step 1 :
Download and install the Android SDK.
You can download the SDK from the Google Developer's website. I have linked for you the download page and a direct link to the installer (Note: the direct link may change in the future with future versions, I will try stay on top of this and change the link)

http://developer.android.com/sdk/index.html
http://dl.google.com/android/installer_r10-windows.exe
*New Version : http://dl.google.com/android/installer_r11-windows.exe

You may or may not be prompted to install the latest version of Java if you haven't done so already, install it, and you may or may not have to reboot your computer.

Step 2 :
Once the install is complete, navigate to the directory in which you installed the SDK and launch the SDK Manager executable. It may or may not ask you to download and install the Java JDK, do so if you haven't already.
*When I run the android SDK installer it tells me I don't have the java JDK installed, even though I've installed it already*
Answer :
It says that but disregard it. If you've installed it, it should be fine. When it gets to the part that says its not installed and won't let you go any further simply click back then click forward again and it should allow you to go ahead.
Thanks Crimton!

Step 3:
Once the SDK Manager is launched, it will look something similar to the window below.

56539024.jpg


You will want to do something along the lines of update all or install all. This way it will download all the latest packages and you willhave the latest SDK tools installed.

Once that is complete, you can exit out of the SDK Manager.

Step 4:
Open up a command prompt window. You can do so by holding the WinKey+R, a run window will appear, type CMD, and hit enter.

runsb.jpg


66499362.jpg


Step 6:
Within the Command Prompt window, navigate to the Android SDK folder\platform tools folder (Command Prompt command : CD foldername\foldername\foldername\etc)

51184917.jpg


Step 7:
Now install the ASUS Sync software if you haven't loaded it previously. http://www.asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101/#download. Just select your operating system, hit download, then install.

Why are we installing the ASUS Sync software you ask?
Well mainly because it has USB drivers that will help your PC operating system detect and display your ASUS Transformer. Without the drivers, ADB wouldn't be able to detect your device most likely!

*For other android devices, you will need similar software from that manufacture. HTC Sync for HTC devices as an example.

Step 8:
Enable USB Debugging on your android device / Transformer.
Go to Transformer Tablet, go to settings -> applications->Development, turn on USB Debugging.

img201105082348011.jpg


Step 9:
Connect the USB cable from your android device / Transformer to the PC. It will begin to automatically install drivers, let it do so and complete. May ask to reboot machine.

Step 10:
Once that is done, go back to the command prompt. Run ‘ADB Devices’

96710008.jpg


You should see something like above, indicating it detected the transformer, if not, run the following ‘adb kill-server’, ‘adb start-server’, ‘adb devices’

11agt.jpg



Ok, if you are seeing something like the screenshot above then success, you have successfully gotten ADB up and working! Congratulations! That wasn't too hard now was it? :cool: You can now follow one of the root guides and follow the directions and you should be on your way to a fully rooted device. Cheers!

-------

Troubleshooting:
In the event you complete the steps above but your computer either will not recogonize the Transformer in Windows as a device, or ADB will not see it please try the following to see if this will fix it for you. You only need to try these if the above steps aren't working for you, but most people, they work fine.

  • Try uninstalling the ASUS Sync software, and reloading it.
  • After reinstalling the ASUS Sync software, restart your PC
  • Make sure your Transformer tablet is in USB Debugging Mode, and connect the USB Cable
  • You should see a Win7 prompt that says installing drivers. If you do not, try connecting to a different USB port, I've had to do this once on an older PC of mine.
  • In ADB be sure to kill server and start server and then see if you can see the device
  • Now, if you are still not seeing it installing drivers, or its not showing up as a device on My Computer, or ADB is still not seeing it, try download and install these ASUS Windows USB Drivers, these may do the trick : http://hotfile.com/dl/118226479/2f89b99/ASUS_Android_USB_drivers_for_Windows.zip.html

-------

Notes:
-If you want another guide on something else, let me know, and I will see what I can do.

-Yes this has been posted a million times I know, but I thought this might help out those few people that don't feel like looking around. Plus, it has nice color illustrations. Who doesn't like picture books? :D

-------

Credits
Crimton for Java JDK workaround when not showing as installed
sourworm for new link to SDK installer
 
Last edited:

stuntdouble

Senior Member
Apr 1, 2009
1,756
533
Nice job. Added to ultimate thread. Probably a good idea to attach the pics in your post to the XDA forums, so they are saved in future, as a lot that are hosted on other sites die after too many people view them. :)
 
Last edited:
  • Like
Reactions: Jaysondhuffman

neilkarunatilaka

Senior Member
Jul 1, 2010
426
65
California
x7productions.com

Crimton

Senior Member
Apr 30, 2010
809
30
Nashville
How did you fix it? I've been struggling with this same issue for at least a month now.

It says that but disregard it. If you've installed it, it should be fine. When it gets to the part that says its not installed and won't let you go any further simply click back then click forward again and it should allow you to go ahead. At least that's how I remember it.

Sent from my ADR6400L using Tapatalk
 

n25philly

Senior Member
Dec 7, 2010
126
13
It says that but disregard it. If you've installed it, it should be fine. When it gets to the part that says its not installed and won't let you go any further simply click back then click forward again and it should allow you to go ahead. At least that's how I remember it.

Sent from my ADR6400L using Tapatalk

lol, simple solutions are good. Just wish it didn't take me a month to find that one out.
 

randy_c

Senior Member
Sep 18, 2008
827
45
denver
I download Asus sync for window 7 64bits but when I run asus, it doesn't detect my device and of course ADB devices didn't show up any device. Something I missed? Please?
 

neilkarunatilaka

Senior Member
Jul 1, 2010
426
65
California
x7productions.com
I download Asus sync for window 7 64bits but when I run asus, it doesn't detect my device and of course ADB devices didn't show up any device. Something I missed? Please?

Sorry to hear that. Off the top of my head, I'm not sure what could be causing this. But here are a couple things you can try. And please let us know what happens next.

  • Try uninstalling the ASUS Sync software, and reloading it.
  • After reinstalling the ASUS Sync software, restart your PC
  • Make sure your Transformer tablet is in USB Debugging Mode, and connect the USB Cable
  • You should see a Win7 prompt that says installing drivers. If you do not, try connecting to a different USB port, I've had to do this once on an older PC of mine.
  • In ADB be sure to kill server and start server and then see if you can see the device
  • Now, if you are still not seeing it installing drivers, or its not showing up as a device on My Computer, or ADB is still not seeing it, try download and install these ASUS Windows USB Drivers, these may do the trick : http://hotfile.com/dl/118226479/2f89b99/ASUS_Android_USB_drivers_for_Windows.zip.html
 
Last edited:
  • Like
Reactions: randy_c

andrew53517

Senior Member
Aug 24, 2009
592
26
I have a few questions. This is the first real time I'm using ADB.

So I have tried everything you listed above and I can get it to sync on occasion, but I cannot get it to read my device in the command prompt. I type this "D:\android-sdk-windows\tools>adb devices" and it says "The device is not ready." Why is it not finding it even with it syncing at that moment?

Also, do you type "D:\android-sdk-windows\tools>" every time you run something? If so, is there a way to get that to show up beforehand every time instead of having to type it? Thanks again for your help!
 

neilkarunatilaka

Senior Member
Jul 1, 2010
426
65
California
x7productions.com
I have a few questions. This is the first real time I'm using ADB.

So I have tried everything you listed above and I can get it to sync on occasion, but I cannot get it to read my device in the command prompt. I type this "D:\android-sdk-windows\tools>adb devices" and it says "The device is not ready." Why is it not finding it even with it syncing at that moment?

Also, do you type "D:\android-sdk-windows\tools>" every time you run something? If so, is there a way to get that to show up beforehand every time instead of having to type it? Thanks again for your help!
1) First thing you can try is the famous 'adb kill-server' 'adb start-server' commands and see if that will get it going. Also 'adb usb' will restart the daemon listening on USB, so maybe that could make it usable. If not, make sure the ASUS Sync app is not running, and perhaps see if there are any running services/apps on your Transformer that could be causing the conflict. Download System Panel Lite from Market and tell it to end all apps, then try again (make sure USB Debugging is enabled)

If you tried all of that, and still no dice, make sure no USB Drives or Memory Cards are connected, then connect the Transformer (w/ USB Debugging), go to Device Manager, uninstall the USB drivers for the device if you can find it or it may show up as a USB Mass Storage device under USB Controllers, then disconnect the Transformer, reconnect the Transformer, it should reinstall the drivers for the Transformer since you already have ASUS Sync installed, then retry.

If again still no dice, try using the ASUS USB Windows Drivers and going to Device Manager and updating the drivers with those you downloaded (download the correct ones for your particular operating system, and then try again.

Now, if this still doesn't work, let me know, and I'll try think of something else. Maybe someone else has had this issue and come up with a workaround or solution, but I'm drawing a blank currently. I'll sleep on it and see if I can think of anything else :)

2) You don't have to type that up all the time. What you can do is navigate the platform tools folder (or whatever folder has the adb files), then if on Win 7, hold shift and right click on the folder (Platform Tools for example), and you will see an Open Command Prompt here. Hit that, and it will already be in that root folder. But in general, in a command prompt window, once you have navigate to the specified folder, you will be in that folder, so you will only need to type ADB 'command' if that makes sense.
[/LIST]
 
Last edited:

andrew53517

Senior Member
Aug 24, 2009
592
26
I think I might have figured it out, if this is it. So I downloaded the drivers but I don't think they ever installed. Don't laugh lol, how do you install them? There isn't a .exe file or anything to install them.. I just see files and notes. Do I put it somewhere or what do I do with the 3 files and readme file?

I think that might fix my problem...I hope.. Thanks again for your help. Much appreciated!


EDIT: I think I got the drivers and it still can't find it. :/ I think I'm going to take a break on rooting for a few. ADB is a pain! lol. I might just wait for an easier method or just not root it. We'll see. Thanks again.
 
Last edited:

neilkarunatilaka

Senior Member
Jul 1, 2010
426
65
California
x7productions.com
I think I might have figured it out, if this is it. So I downloaded the drivers but I don't think they ever installed. Don't laugh lol, how do you install them? There isn't a .exe file or anything to install them.. I just see files and notes. Do I put it somewhere or what do I do with the 3 files and readme file?

I think that might fix my problem...I hope.. Thanks again for your help. Much appreciated!


EDIT: I think I got the drivers and it still can't find it. :/ I think I'm going to take a break on rooting for a few. ADB is a pain! lol. I might just wait for an easier method or just not root it. We'll see. Thanks again.
If you get a chance, try this on a Windows XP or Windows 7 machine that you haven't connected the Transformer too yet, and follow the guide exactly, and I'm pretty sure it will work without a problem :) I'm just thinking something has happened when it loaded up the drivers for you initially and that is why you are having the issues, or some background process on either Windows or the Transformer is making the device seem "busy", thus giving you the not ready error, as this process has worked for many many other users.
 

andrew53517

Senior Member
Aug 24, 2009
592
26
I was just thinking about it. Maybe I can try that on my downstairs computer. Ill give it a shot Sunday night and see how it goes...ill let you know...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    [GUIDE] Getting ADB Setup; An Idiots' proof guide on getting ADB working for Rooting! v1.2
    Hey XDAers. Getting ADB setup and working is an essential part to rooting your Android device and helps layout the foundations to better understanding the language and using it in this environment. While not going into extreme detail, this is just a quick guide or overview on the first part of rooting; Getting ADB setup and working.

    ** Make sure your Transformer is not currently connected to your PC yet. We will be installing device drivers first (Step 7) and modify a setting on your tablet first before connecting to your PC (Step 8).

    Step 1 :
    Download and install the Android SDK.
    You can download the SDK from the Google Developer's website. I have linked for you the download page and a direct link to the installer (Note: the direct link may change in the future with future versions, I will try stay on top of this and change the link)

    http://developer.android.com/sdk/index.html
    http://dl.google.com/android/installer_r10-windows.exe
    *New Version : http://dl.google.com/android/installer_r11-windows.exe

    You may or may not be prompted to install the latest version of Java if you haven't done so already, install it, and you may or may not have to reboot your computer.

    Step 2 :
    Once the install is complete, navigate to the directory in which you installed the SDK and launch the SDK Manager executable. It may or may not ask you to download and install the Java JDK, do so if you haven't already.
    *When I run the android SDK installer it tells me I don't have the java JDK installed, even though I've installed it already*
    Answer :
    It says that but disregard it. If you've installed it, it should be fine. When it gets to the part that says its not installed and won't let you go any further simply click back then click forward again and it should allow you to go ahead.
    Thanks Crimton!

    Step 3:
    Once the SDK Manager is launched, it will look something similar to the window below.

    56539024.jpg


    You will want to do something along the lines of update all or install all. This way it will download all the latest packages and you willhave the latest SDK tools installed.

    Once that is complete, you can exit out of the SDK Manager.

    Step 4:
    Open up a command prompt window. You can do so by holding the WinKey+R, a run window will appear, type CMD, and hit enter.

    runsb.jpg


    66499362.jpg


    Step 6:
    Within the Command Prompt window, navigate to the Android SDK folder\platform tools folder (Command Prompt command : CD foldername\foldername\foldername\etc)

    51184917.jpg


    Step 7:
    Now install the ASUS Sync software if you haven't loaded it previously. http://www.asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101/#download. Just select your operating system, hit download, then install.

    Why are we installing the ASUS Sync software you ask?
    Well mainly because it has USB drivers that will help your PC operating system detect and display your ASUS Transformer. Without the drivers, ADB wouldn't be able to detect your device most likely!

    *For other android devices, you will need similar software from that manufacture. HTC Sync for HTC devices as an example.

    Step 8:
    Enable USB Debugging on your android device / Transformer.
    Go to Transformer Tablet, go to settings -> applications->Development, turn on USB Debugging.

    img201105082348011.jpg


    Step 9:
    Connect the USB cable from your android device / Transformer to the PC. It will begin to automatically install drivers, let it do so and complete. May ask to reboot machine.

    Step 10:
    Once that is done, go back to the command prompt. Run ‘ADB Devices’

    96710008.jpg


    You should see something like above, indicating it detected the transformer, if not, run the following ‘adb kill-server’, ‘adb start-server’, ‘adb devices’

    11agt.jpg



    Ok, if you are seeing something like the screenshot above then success, you have successfully gotten ADB up and working! Congratulations! That wasn't too hard now was it? :cool: You can now follow one of the root guides and follow the directions and you should be on your way to a fully rooted device. Cheers!

    -------

    Troubleshooting:
    In the event you complete the steps above but your computer either will not recogonize the Transformer in Windows as a device, or ADB will not see it please try the following to see if this will fix it for you. You only need to try these if the above steps aren't working for you, but most people, they work fine.

    • Try uninstalling the ASUS Sync software, and reloading it.
    • After reinstalling the ASUS Sync software, restart your PC
    • Make sure your Transformer tablet is in USB Debugging Mode, and connect the USB Cable
    • You should see a Win7 prompt that says installing drivers. If you do not, try connecting to a different USB port, I've had to do this once on an older PC of mine.
    • In ADB be sure to kill server and start server and then see if you can see the device
    • Now, if you are still not seeing it installing drivers, or its not showing up as a device on My Computer, or ADB is still not seeing it, try download and install these ASUS Windows USB Drivers, these may do the trick : http://hotfile.com/dl/118226479/2f89b99/ASUS_Android_USB_drivers_for_Windows.zip.html

    -------

    Notes:
    -If you want another guide on something else, let me know, and I will see what I can do.

    -Yes this has been posted a million times I know, but I thought this might help out those few people that don't feel like looking around. Plus, it has nice color illustrations. Who doesn't like picture books? :D

    -------

    Credits
    Crimton for Java JDK workaround when not showing as installed
    sourworm for new link to SDK installer
    1
    Nice job. Added to ultimate thread. Probably a good idea to attach the pics in your post to the XDA forums, so they are saved in future, as a lot that are hosted on other sites die after too many people view them. :)
    1
    I download Asus sync for window 7 64bits but when I run asus, it doesn't detect my device and of course ADB devices didn't show up any device. Something I missed? Please?

    Sorry to hear that. Off the top of my head, I'm not sure what could be causing this. But here are a couple things you can try. And please let us know what happens next.

    • Try uninstalling the ASUS Sync software, and reloading it.
    • After reinstalling the ASUS Sync software, restart your PC
    • Make sure your Transformer tablet is in USB Debugging Mode, and connect the USB Cable
    • You should see a Win7 prompt that says installing drivers. If you do not, try connecting to a different USB port, I've had to do this once on an older PC of mine.
    • In ADB be sure to kill server and start server and then see if you can see the device
    • Now, if you are still not seeing it installing drivers, or its not showing up as a device on My Computer, or ADB is still not seeing it, try download and install these ASUS Windows USB Drivers, these may do the trick : http://hotfile.com/dl/118226479/2f89b99/ASUS_Android_USB_drivers_for_Windows.zip.html
    1
    Kinda stuck after opening command screen.

    Everything I type in tell me invalid path to file.

    My sdk is install

    C:program files (x86)\Android\android-sdk

    any help is appreciated

    OK, navigate to the folder in Windows Explorer (usually the path you referenced above, but platform tools), then hold the shift key and right click on the folder. You should then see a "Open Command Prompt Here" in the drop down, hit that, then the DOS Prompt will be at that start location, then you should just be able to type adb [command] etc,.
    1
    NVM. Working now as "Run as Admin" in win7. leaving it here for the next newb that hits it.

    I am on step 3 and get the following error when trying to extract all, any ideas?

    Downloading Android SDK Platform-tools, revision 6
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Documentation for Android SDK, API 13, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 3.2, API 13, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 3.1, API 12, revision 3
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 3.0, API 11, revision 2
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 2.3.3, API 10, revision 2
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 2.2, API 8, revision 3
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 2.1, API 7, revision 3
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 1.6, API 4, revision 3
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading SDK Platform Android 1.5, API 3, revision 4
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Samples for SDK API 13, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Samples for SDK API 12, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Samples for SDK API 11, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Samples for SDK API 10, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Samples for SDK API 8, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Samples for SDK API 7, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Google USB Driver package, revision 4
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Android Compatibility package, revision 3
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Google Admob Ads Sdk package, revision 3
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Google Market Licensing package, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Downloading Google Market Billing package, revision 1
    Failed to create directory C:\Program Files (x86)\Android\android-sdk\temp
    Skipping 'Google APIs by Google Inc., Android API 13, revision 1'; it depends on 'SDK Platform Android 3.2, API 13, revision 1' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 12, revision 1'; it depends on 'SDK Platform Android 3.1, API 12, revision 3' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 11, revision 1'; it depends on 'SDK Platform Android 3.0, API 11, revision 2' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
    Skipping 'EDK 1.1 by Sony Ericsson Mobile Communications AB, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 9, revision 2'; it depends on 'SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 8, revision 2'; it depends on 'SDK Platform Android 2.2, API 8, revision 3' which was not installed.
    Skipping 'Dual Screen APIs by KYOCERA Corporation, Android API 8, revision 1'; it depends on 'SDK Platform Android 2.2, API 8, revision 3' which was not installed.
    Skipping 'Real3D by LGE, Android API 8, revision 1'; it depends on 'SDK Platform Android 2.2, API 8, revision 3' which was not installed.
    Skipping 'GALAXY Tab by Samsung Electronics., Android API 8, revision 1'; it depends on 'SDK Platform Android 2.2, API 8, revision 3' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 7, revision 1'; it depends on 'SDK Platform Android 2.1, API 7, revision 3' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 4, revision 2'; it depends on 'SDK Platform Android 1.6, API 4, revision 3' which was not installed.
    Skipping 'Google APIs by Google Inc., Android API 3, revision 3'; it depends on 'SDK Platform Android 1.5, API 3, revision 4' which was not installed.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone