Overclock.net › How To's › How To Install Adb Android Debug Bridge

How to install ADB (Android Debug Bridge)

Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device

Note: You must have debugging enabled on your Android device. Go into developer options and enable it! Your computer SHOULD install the drivers for you. If not after installing ADB, install them through the sdk manager.
Special Driver Settings for Windows 8 (Fastboot) (Click to show)
  1. Reboot into the advanced boot options menu.


    or hit (Win + i), click Change PC Settings, select General on left, then Restart Now on bottom right.
  2. Once it reboots click troubleshoot, advanced options, startup settings, and disable driver signing.(OPTION 7)

  3. Once your're back in windows open up device manager (make sure your phone is on the bootloader screen), Click "Android 1.0" or whatever exclamation point it gives you when plugging in your phone, Click update driver, and then manually find your phone's manufacturer and install the newest driver.



    My mistake was trying to manually install a driver online when in reality you just select the manufacturer and it brings up a list of drivers you can select from! That's it!


  1. ADB Download
  2. Once downloaded, click install and pick the destination folder such as what is shown below.
  3. Open up Android SDK Manager and install the packages for SDK Platform-tools
  4. Right click on my computer, click properties, click advanced system settings, and then Environment Variables.
  5. Double click on "Path" under variable name and paste this at the end of the variable value. ;c:\Android\tools;c:\Android\platform-tools
  6. Open the command prompt and navigate to C:\Android\Platform-tools (This is where fastboot.exe lies usually)
  7. Note: If your android device has a question mark in device manager and the driver isn't installing right, make sure Google USB Driver is checked in the SDK manager as shown below
  8. Download SuperUser and place it on the sdcard / storage. (Just search for the most updated SuperUser for your phone) Once you flash a recovery you can just flash the .zip in there.

    That's it! To test and make sure your computer recognizes your android device and adb works just go to the C:/Android/Platform-tools folder in the cmd prompt like so:


    and type "adb devices" to see if it finds your device.


    You should also reboot your phone into the bootloader and type "fastboot devices" to see if that works. If you're on Windows 8 there's a could chance you'll have to see my explanation up above to get it working. Fastboot is handy because you can flash bootloaders/recoveries at ease.

    Some useful commands:
    • adb devices – lists which devices are currently attached to your computer
    • adb install – 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 – lets you upload files to your phones filesystem
    • adb pull – lets you download files off your phones filesystem
    • adb logcat – starts dumping debugging info from your handset to the console – useful for debugging apps
    • adb shell – drops you into a basic linux command shell on your phone with no parameters
    • adb devices – lists which devices are currently attached to your computer
    • adb install – 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 – lets you upload files to your phones filesystem
    • adb pull – 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 – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly

    Fastboot Commands:
    • oem unlock
    • flash recovery "Drag recovery file to cmd prompt here"
    • flash bootloader "Drag bootloader file to cmd prompt here"
    • reboot
    • reboot-bootloader
    • reboot-recovery

    Downloads:

    More Useful Commands

Comments (2)

Thanks for the write-up! ADB is always a nuisance to set up.
Nice write up. Handy little article.
Overclock.net › How To's › How To Install Adb Android Debug Bridge