How To: Set Up ADB/USB Drivers for Android Devices
So most people won’t have to use ADB (Android Debug Bridge) ever, but if you want to learn how or want to get a little more technical with your Android phone, here’s how to get it set up.
I. Setting Up The SDK
1. Download the Latest Android SDK from Google
2. Extract the Android SDK .Zip file to C:\AndroidSDK (this should name the new folder created AndroidSDK in the C directory.
3. On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
4. Plug your phone into your computer via USB cable (it needs to be on). It should say installing drivers if using Windows.
!UPDATE 12.01.09 – If using Windows 7 skip steps 4 and 5 and use this procedure instead.
5. After it installs the drivers, goto the Start menu and type cmd into the search bar (Vista or higher) or click Run then type in cmd (XP) to open the command prompt.
6. Type the following into the command prompt window (hitting enter at the end of every line):
cd\
cd AndroidSDK\tools\
adb devices
You should see a serial number pop up, it’s the serial number of your phone. This means you are all set.
If you do NOT see a serial number, then we need to reinstall the drivers.
II. IF DRIVERS JUST WON’T AUTOMATICALLY INSTALL, DO IT MANUALLY HERE
1. Download your phone’s driver’s below then goto your Device Manager on your computer, look for the phone and click on it. Then click Properties > Update Driver > Browse > Let me pick > Computer > Have Disk > Browse > Then select the driver you downloaded below:
Motorola Droid Drivers (unzip the file once you download it).
Motorola Milestone Drivers (follow the instructions on the page).
Motorola CLIQ Drivers (follow the instructions on the page).
Nexus One Drivers (unzip the file once you download it).
Samsung Behold 2 Drivers (unzip the file, run the setup.exe) (If you have Windows 64Bit, you CANNOT install the Behold Drivers. Find someone with a 32Bit system to to any Behold 2 procedures involving ADB).
Samsung Galaxy Drivers (unzip the file, do NOT run setup.exe. Instead follow step 1 in Section II and install manually.)
Samsung Galaxy Fastboot Drivers (unzip the file, then when you plug the phone in via fastboot mode, select to install drivers manually and choose the folder you just unzipped and it should install them from there).
III. (Optional) Reinstall Drivers (If they did not install properly in Section I or II)
1. Download USBDeview
2. While the phone is still plugged in, open USBDeview and sort by manufacturer. Find all the HTC drivers and delete them all.
3. Once all have been deleted, unplug the phone from the USB cable and plug it back in.
4. The correct drivers should reinstall automatically (check the drivers as they are installing, one should say ADB Device driver).
5. To check, goto Devices (or Device Manager for older versions of Windows) in your Start menu then click on the “Android Phone”. Click on the Hardware tab, and check the list of drivers for ADB Interface under Type.
IV. Some Common ADB/Fastboot Commands
ADB Commands
adb devices – lists which devices are currently attached to your computer
adb install <packagename.apk> – lets you install an Android application on your phone
adb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADB
adb push <localfile> <location on your phone> – lets you upload files to your phones filesystem
adb pull <location on your phone> <localfile> – lets you download files off your phones filesystem
adb logcat – starts dumping debugging information from your handset to the console – useful for debugging your apps
adb shell <command> – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly
Fastboot Commands
fastboot devices – lists which devices in fastboot mode are currently attached to your computer
fastboot boot <filename> – boots a rom stored on your pc specified by the filename
fastboot flash <partition> <filename> – flashes a rom stored on your pc, partition can be one of {boot, recovery, system, userdata}
adb devices – lists which devices are currently attached to your computeradb install <packagename.apk> – lets you install an Android application on your phoneadb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADBadb push <localfile> <location on your phone> – lets you upload files to your phones filesystemadb pull <location on your phone> <localfile> – lets you download files off your phones filesystemadb logcat – starts dumping debugging information from your handset to the console – useful for debugging your appsadb shell <command> – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly
Source: theunlockr.com
No related posts.


[...] Dieser Eintrag wurde auf Twitter von Android Wiki erwähnt. Android Wiki sagte: How To: Set Up ADB/USB Drivers for Android Devices http://bit.ly/aYnLVo [...]
Now this is why I love this site right here.Thanks
please help me
I have xperia x10
and adb devices command doesn’t list any devices
and eclipse with android plug in doesn’t detect the device
please help me
Thank you
Congratulations! .. really cool blog, Mike.
[...] den Kontakt klicken und gucken was neues kommt… Anleitungen gibts im Internet viele z.B. hier: How To: Set Up ADB/USB Drivers for Android Devices | Android Wiki PS: muss nun erst mal zusehen, dass ich den Speicherverbrauch vom Widget runter bekomme… MfG [...]
Nicely I’ve been addicted to flashing, caused by VZW not looking us to have entry for the GPS on our phones. So I found the threads that tought me to flash my telephone. Can even cook a tiny, but you will discover much much better chefs in existence, so I’m happy to toast their perform. I presently am running Lioryte’s 23529 construct in the WinMo 6.five.one on the Samsung Omnia with VZW. So now I’ve won the Behold 2 from Samsung, been playing with it for a couple of months.We’ve it rooted, We have BusyBox on it and aHome UI. looks great, performs fine, but too much bloatware. (The Cube and additional) Tried the Galaxy trick, extremely quick and complete of useable memory. It’s Android 1.five pure. I would rather update the B2, not revert to Galaxy, and assemble from that. I will if that’s the only way, I’ll check new Odins for that B2 and do what ever aid I can to support the B2 community advance the high quality of this cellphone.I’m shopping forward to helping make the B2 the best Android cell phone accessible.
I am having the same problem. My X10 installes the Sony Connect find.. and the driver issues are no longer showing in the device manager.. yet my ADB Devices still won’t recognize it as an attached device.
Anyone have any suggestions.