How To Set Up ADB And USB Drivers for Android Devices
Some Wants to Root Their Phones while some are getting their Foundations in the Development of Android Environment !
They All Require to Know How to Install ADB On Computer !
Today we will show you How to Setup ADB Drivers.
Step 1 :
Setting Up The SDK
1. Head to the Android SDK site.
2. Click on Get the SDK for an Existing IDE > Download the Stand Alone SDK for Windows.
3. Check that you agree to the terms and click Download the Stand Alone SDK for Windows.
4. Save it to your Desktop.
5. Double click the exe file you just downloaded and follow the prompts.
6. When asked to Choose the Install Location, make sure it is c:\android-sdk\ in the text field before hitting Next.
7. Continue until it installs and then check the box that says Start SDK Manager and hit Finish.
8. When it opens, check off Tools (and make sure it selects everything underneath it) then hit Install X Packages.
9. Accept the any licenses it asks you to and let it continue until it installs everything (might take a while).
10. Open File Explorer and go to C: > android-sdk > platform-tools.
11. Hold shift on your keyboard and right-click in a blank spot inside the platform-tools folder and select Open Command Window Here.
12. Plug your device in via USB cable and wait for it to install drivers.
13. Type the following into the command prompt window (hitting enter at the end of every line):
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 manually in Section II below.
Step 2 :
If Driver Are Not Installed Properly then Follow These Steps.
1. 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 phones. 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 serial number (if you do, you are all done). If not, then use one of the device specific programs below in step 2.
2. 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:
If using a Samsung device, try downloading
and installing that then plugging in your device and trying again.
Step 3 :
Install Fastboot
1. Download fastboot.exe and save it to your computer.
2. Unzip it, then copy the fastboot.exe file into the platform-tools folder of your Android SDK.
3. Now, you can type fastboot commands in command prompt in the same place you typed adb commands.
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
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}
fastboot update zip <zip filename> – updates the phone with a ROM stored on the PC.
If you liked this, please share it. It's greatly appreciated!
How To Set Up ADB And USB Drivers for Android Devices
Reviewed by TicketMaster
on
19:18
Rating:
No comments: