ADB for Dummies - Almost impossible to mess this one up 
UPDATED GUIDE BY NEPHRON LOCATED HERE!!!
Supported Operating Systems:
* Windows XP (32-bit) or Vista (32- or 64-bit)
* Mac OS X 10.4.8 or later (x86 only)
* Linux (tested on Linux Ubuntu Dapper Drake)
Section 1: Pre-reqs
System Requirements
Android 32/64 bit Windows USB Driver
*NOTE*
The USB driver for Windows provides support for the following Android-powered devices:
•T-Mobile G1* / ADP1
•T-Mobile myTouch 3G* / Google Ion
•Verizon Droid*
* Or similar hardware on other carriers
Any additional devices will require Windows drivers provided by the hardware manufacturer.
Android SDK
Older Releases *Most likely don't want this one*
Android 1.5 Platform
Android 1.6 Platform
Android 2.0.1 Platform *Also Located below*
*Newest Builds*
Windows
Mac OS X
Linux i386(x86/32-bit)
*Please note that I am using Vista Ultimate x64 SP1*
Section 2: Where does it all go?
*UPDATE*
Linux users wanting to know how to install/run the Android SDK can check the 2 links below for more info. Thanks to xyrcncp for these links.

Downloading
http://developer.android.com/sdk/1.1_r1/index.html
Installing
http://developer.android.com/sdk/1.1_r1/installing.html
And thanks to tubaking182 for giving us some more commands to use for all the linux users.
You can download it and: (corrected thx to @austinkyle)
mv ~/Desktop/sdk/tools/adb /usr/bin/adb adb
You should be able to run the adb commands from any directory
Not too hard to cd to the correct directory but i personally don't like to type:
cd ~/Phone/tools/android-sdk/tools
And again, thanks to mark925 for his input:
"Just to add, if you take adb.exe and adbwinapi.dll and copy or move them to the \windows\system32 directory you can run adb from any dos directory prompt."
Now that you have all the essential files you need to run "adb", let's get started shall we?
First off you want the make note of where you downloaded the ADB Android Driver and the Android SDK. Both of these files are zipped and will need to be extracted before they can be used. Windows vista has ".zip" extracting built-in and does not require an external app.(I have listed some links below)
Use the links below to install a 3rd-party compression/extraction app:
7-zip 4.65 32-bit
7-zip 4.65 64-bit
(If you do not know how to install a windows executable file, please kill yourself now!
)
OK, now it's time to move our extracted ADB Drivers and Android SDK to a better location(preferably the root of C:\).
- Right click on the extracted folders(android_adb_usb_driver or android-sdk-windows-1.1_r1) and select copy(or Ctrl+C)
- Now navigate to the root of your primary hard-drive(C:\) and right-click then select paste(or Ctrl+V)
After we copy both of our newly extracted folders to our (C:\) drive we now have to install the USB drivers.
- Connect your G1 to your PC using the provided USB Cable or just a plain ole 6-pin to 4-pin usb cable... (I prefer to use one with a ferite core)
DO NOT MOUNT YOUR G1 TO YOUR PC FROM THE G1 NOTIFICATION WINDOW!
- When the new hardware device notification pops-up on your pc point windows to the driver folder we moved to our C-drive(C:\android_adb_usb_driver) and install the adb driver.
- Now that windows knows what the G1 is let's get started learning how to run adb shall we? 
Section 3: Running ADB from Command Prompt
Running Command Prompt:
Windows XP: Select Start or Tap the Windows Key on your Keyboard, select "Run" and type "CMD" then hit "Enter".
Windows Vista: Select Start or Tap the Windows Key on your Keyboard, select the search box on the left and type "cmd" then hit "Enter".
- Also, Mikey1022 has reminded me to add the "ADB" directory path as a system variable in windows...
To do this right-click on "My Computer" and select Properties. Next select the Advanced tab(Advanced Settings in Vista) then select Environment Variables.
Click "New" under System Variables and add the following:
Variable: adb
Value: C:\android-sdk-windows-1.1_r1\tools
Now your are in a command prompt! Everybody DANCE!!! 
From the command prompt we must navigate to the adb executable within the android sdk. You can find the adb executable in the tools folder within the android sdk.
Let's point our command prompt to the tools folder now:
C:\Users\Your User Name> cd C:\android-sdk-windows-1.1_r1\tools <-- Tap Enter C:\android-sdk-windows-1.1_r1\tools> <run your adb command here>
Ok, now that you know how to initiate an adb command let's try one shall we?
Remember, we are still in the command prompt and in the /tools folder within the android sdk....
C:\android-sdk-windows-1.1_r1> adb shell <--- Hit Enter # <--- Now notice that if done correct you will be inside the android shell # ls <--- Hit enter to show a current directory listing
THAT'S IT LADIES & GENTLEMEN!!!!
Any more questions just post them here or shoot me a reply on Twitter(link in my signature).
This Tutorial is brought to you by: AndroidSamurai aka. VanillaTbone
What am I going to teach you to do next?
For the "mature" people who have honest questions and problems: You can reach me 24/7 on gtalk under androidsamurai.
Motorola DROID
*More New Cr@p To Come*

My ADB for Dummies Guide
Follow Me On Twitter
Last edited by VanillaTbone; 15th March 2010 at 04:14 PM. Reason: Updated/Corrected
| VanillaTbone |
| View Public Profile |
| Find all posts by VanillaTbone |




