How to Fastboot with Android SDK
If you want to install custom recovery on your Android device, then you need to root it first. ADB (Android Debug Bridge) and Fastboot are required for this purpose. It may be called as the base to work with the custom ROMs and Firmwares installation process on your Android device. Considering the importance of this, I have come up with this complete step by step guide to install set up ADB and Fastboot with Android SDK. So let’s proceed with it.
How to Set Up ADB and Fastboot with Android SDK
Before starting with the process, let’s have a look at the requirements for the same.
Requirements
- An Android phone.
- microUSB cable
- Computer
Downloading JAVA and Android SDK Packages
First of all, we will be learning the process of installing Java and USB drivers. Check out them below.
Step 1: Download the Java Platform (JDK) from Java SE Software Development Kit and install it just to run SDK on your PC and after installation of JDK it shows error like JAVA SE Development Kit (JDK) not foundhave a look to solution.
Step 1: Download the Java Platform (JDK) from Java SE Software Development Kit and install it just to run SDK on your PC and after installation of JDK it shows error like JAVA SE Development Kit (JDK) not foundhave a look to solution.
Step: 2: Download the Android SDK (Windows Version) from here and install it in any location of your computer.
Step 3: Extract Zip file anywhere and Open SDK Manager now and wait for the all packages to get loaded.
Step 4: There you will see a long list of packages. Just select the Android SDK Platform-tools andGoogle USB Driver from there and uncheck everything else. After doing so, just click on “Install 2 packages…” button.
Step 5: The next window is confirmation window. Just review the packages, you checked, from the right side of this window and make sure that it contains only the two packages, that we told you to check in the last step.
Step 6: After reviewing, Click on Accept All and then on “Install” button.
Step 7: Be patient while the downloading gets finished.
Step 8 : Now go back to the Android SDK folder where you can find many new directories out of which extras and platform-tools are the two, that are important for us.
So we are done with this sub-process. Let’s move onto the guide for installing and setting up ADB & Drivers.
Installing & Setting ADB Drivers
We have successfully finished the process to have all the tools, files needed for this process. So let’s move onto installation and setting up ADB and other drivers procedure.
Step 9: Connect your Android device to your computer, using the USB data cable.
Step 10: Navigate to Control Panel -> System -> Device Manager. The list will come up and your device should be listed over there.
Step 11: Just find your device’s name in the list and once found, right click on it and from the menu that appears, click Update Driver Software…
Step 12: In the next window, you will be given two options to choose from. Select the Browse my computer for driver software.
Step 13: From the Window that comes, select the second option.
Step 14: Select Show All Devices and then click Next.
Step 15: Click on “Have Disk” and after clicking on Browse, select the file android_winusb.inf. You can find this file in the Android SDK folder.
Step 16: The list of Android drivers will come up. Select Android ADB Interface from the list and then click onNext.
Step 17: A pop up warning will come up. Click Yes there.
Step 18: The driver installation will get initiated. Wait for the completion of the same.
Step 19: That’s it. You have successfully install the ADB drivers on your computer.
Step 20: If you want to check that ADB is working fine or not, just go to the platform-tools directory that you can find in the Android SDK folder.
Step 21: Open the Command Prompt window there. You can do so by pressing the Shift key + right-click buttons and then selecting the Open command prompt here, from the menu that appears.
Step 22: In the command prompt window, type adb devices.
If you see the same screen as of above screenshot, then ADB is successfully setup on your computer. So the ADB drivers are setup and are ready to use. Let’s proceed to the guide for installing and setting up Fastboot.
Installing and setting up Fastboot Drivers
So ADB drivers for HTC Desire Z been installed and now you can use in install tweaks to do ADB commands . Here is the setting up fastboot drivers procedure for my HTC Desire Z . So have a look how to install and setting up Fastboot drivers .
Step 23: Disconnect your Android device from computer and restart it.
Step 24: Press the Volume Down + Mouse Track (Home) buttons together to enter into Bootloader/ Fastboot mode.
Step 25: Again connect your Android device to the computer.
Step 26: Start -> Control Panel -> System -> Device Manager and there you can see Android 1.0 in the list.
Step 27: Right click on it and from the menu that appears, click on Update Driver Software….
Step 29: Select the second option, from the next window.
Step 31: Click on “Have Disk” and then on Browse, select the file android_winusb.inf. This file lies in the Android SDK folder.
Step 32: Select Android ADB Bootloader Interface from the list that comes in the next window and then click onNext.
Step 33: Click Yes on the warning message that pops up.
Step 34: The installation process will get started. Wait for a few minutes for it to get completed.
Step 34: The installation process will get started. Wait for a few minutes for it to get completed.
Step 35: If you want to check that Fastboot is working properly or not, just go to the platform-tools directory that lies in the Android SDK folder.
Step 36: Press Shift key + right-click buttons and from the menu that appears, select Open command prompt here.
Step 37: Type the fastboot devices in the command prompt and then press enter.
If the screen, like shown in the screenshot, comes up, then it ensures that Fastboot is completely setup on your computer.
Source from: androidbeats.in