Or Continue to Thread: [How To] Setup ADB for Windows…
Find Your Device:
12th December 2011, 03:49 AM   |  #1  
sekhargreen's Avatar
OP Senior Member
Flag Durgapur
Thanks Meter: 610
 
588 posts
Join Date:Joined: Jan 2010
Donate to Me
More
For Windows

Want to set up ADB or Android Debugging Bridge on your PC, here is a quick guide for you. This tutorial does not need large download or full Android SDK installation. You will just have to download a small compressed file, which is all that you require.

STEP 1: First download this file called ADBUNZIPTOCDRIVE.zip, just click on the link, download will start automatically.

STEP 2: Now download PdaNet for driver installation. It comes with drivers from all major manufacturers, so this is all you need. Install PDAnet after downloading.

STEP 3: Now extract the zip file that we downloaded in the first step to C drive and name the extracted folder ADB.

STEP 4: Now we will go to the desktop and right click to make a new shortcut.

STEP 5: Point the shortcut to ADB folder that we created in step 3, and name the shortcut ADB or whatever you want.

STEP 6: Now right click on that shortcut and go to properties and change START IN field to c:\adb.

STEP 7: Click Apply or OK and you are done. Click on ADB shortcut on the desktop and you are good to go.

Here is list of ADB commands that might be useful for you in the future.

adb devices list all connected devices
adb push <local> <remote> copy file/dir to device
adb pull <remote> [<local>] copy file/dir from device
adb sync [ <directory> ] copy host->device only if changed
adb shell run remote shell interactively
adb shell <command> run remote shell command
adb emu <command> run emulator console command
adb logcat [ <filter-spec> ] View device log
adb forward <local> <remote> forward socket connections forward specs are one of: tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> push this package file to the device and install it
adb uninstall [-k] <package> remove this app package from the device (-k means keep the data and cache directories)
adb bugreport return all information from the device
that should be included in a bug report.
adb help show this help message
adb version show version num
adb wait-for-device block until device is online
adb start-server ensure that there is a server running
adb kill-server kill the server if it is running
adb get-state prints: offline | bootloader | device
adb get-serialno prints: <serial-number>
adb status-window continuously print device status for a specified device
adb remount remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader reboots the device into the bootloader
adb root restarts the adbd daemon with root permissions
adb usb restarts the adbd daemon listening on USB
adb tcpip <port> restarts the adbd daemon listening on TCP on the specified port
Last edited by PG101; 12th December 2011 at 07:14 AM.
The Following 24 Users Say Thank You to sekhargreen For This Useful Post: [ View ]