Tuesday, May 24, 2016

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 lrn how or want to get a little more technical with yourAndroidphone, here’s how to get it set up.By EditAndroidI. Setting Up The SDK1. Download the LatestAndroidSDKfrom GoogleAndroid SDK(Select the exe version)2. Once downloaded, double click the exe file to open it. (MAKE SURE you change the directory that it is installing everything to to c:\android-sdk\)3. Click on the SDK Manager and it will ask you to install packages. Select the following and lve all others unchecked:Android SDK Tools
Android SDK Platform Tools
Google USB Driver Package, Revision XX(XX being the highest available)4. Then click continue and follow the on screen prompts until all of the packages are installed and it finishes.5a. On your phone, click Settings > Appliions > Development and make sure USBDebuggingis on.5b. If using Ice Crm Sandwich (Android 4.0), click on Settings > Developer Options and make sure USB Debugging is on.6. Plugyourphoneinto your computer via USB cable (it needs to be on). It should say installing drivers if using .7. Open File Explorer and look forthndroid-sdk folder inside of the C drive. Then open the platform-tools folder inside that. Now, hold the shift down on yourboardand right click in any blank ar inside that folder. This will give you the option to open a command window here. Select that and a command prompt will open saying c:\android-sdk\platform-tools\ *if using XP, this won’t work. So instd open command prompt first by going to Start > Run > then typing in cmd and hitting enter. Then type c:\android-sdk\platform-tools\ and hit enter, then continue.8. Type the following into the command prompt window (hitting enter at the end of every line):adb devicesYou should see a pop up, it’s the of your phone. This mns you are all set!If you do NOT see a , then we need to reinstall the drivers manually in Section II below.II. IF DRIVERS JUST WON’T AUTOMATICALLY INSTALL, DO IT MANUALLY HERE1. A program called PDANet (used normally to allow you to wired tether your phone’s internet to your computer) can be used to install the ADB drivers for a lot of . Download it and follow it’s instructions to install it then go back to step 8 in Section I above and see if that gets you the (if you do, you are all done). If not, then use one of the device specific programs below in step 2.PDANet2. 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 > Browse > Then select the driver you downloaded below:Universal Drivers(unzipthe file once you download it, and run the program inside to install the drivers)(Updated 09.27.10) Droid Drivers(unzip the file once you download it). Milestone Drivers(follow the instructions on the page). CLIQ Drivers(follow the instructions on the page). Behold 2 Drivers(unzip the file, run the setup.exe) (If you have 64Bit, you CANNOT install the Behold Drivers. Find someone with a 32Bit system to to any Behold 2 procedures involving ADB). Galaxy Drivers (unzip the file, do NOT run setup.exe. Instd follow step 1 in Section II and install manually.)If using a device, try downloading Kiesand installing that then plugging in your device and trying again.III. (Optional) Reinstall Drivers (If they did not install properly in Section I or II)1. Download USBDeviewUSBDeview2. While the phone is still plugged in, open USBDeview and sort by manufacturer. Find all the 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 ) 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. (Optional) Install Fastboot1. Download fastboot.exe and save it to your computer.Fastboot(UPDATED 03.23.13)2. Unzip it, then copy the fastboot.exe file into the platform-toolsfolderof your Android SDK.3. Now, you can type fastboot commands in command prompt in the same place you typed adb commands.V. Some Common ADB/Fastboot CommandsADB Commandsadb devices – lists which devices are currently attached to your computeradb install <packaame.apk> – lets you install anAndroidappliionon your phondb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADBadb push <localfile> <loion on your phone> – lets you upload files to your filesystemadb pull <loion on your phone> <localfile> – lets you download files off your filesystemadb log – 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 directlyadb devices – lists which devices are currently attached to your computeradb install <packaame.apk> – lets you install an Android appliion on your phondb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADBadb push <localfile> <loion on your phone> – lets you upload files to your filesystemadb pull <loion on your phone> <localfile> – lets you download files off your filesystemadb log – 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 directlyFastboot Commandsfastboot devices – lists which devices in fastboot mode are currently attached to your computerfastboot boot <filename> – boots a rom stored onyourpcspecified by the filenamefastboot flash <partition> <filename> – flashes a rom stored on your pc, partition can be one of {boot, recovery, system, userdata}Here You Done!!Do At Your Own Risk!!!

No comments:

Post a Comment