+14 votes
2.9k views
in Android by (11.9k points)
What is and how to set up ADB and Fastboot on Windows

1 Answer

+5 votes
by (201k points)
If you're an Android user and fan art to personalize your device, try custom ROMs, different recovery systems, manipulate the bootloader or any other task that requires advanced use of your Android device, you have to know exactly what is ADB. It means "Android Debug Bridge" (Android Debug Bridge), and basically consists of a terminal command tool that serves as a link between your computer and Android device-level Linux system. We can find in the Android development kit SDK. ADB allows application developers to make use of operating system internals. 
 
An interesting question is why do I need access to ADB? If you follow the tutorial how to install modified ROMs, or to root the device, usually make you use it, unless someone has made a tool that automates use. 
 
Besides ADB, there is another entity called Fastboot, which is necessary for configuration of some components, especially on newer devices. According to the CyanogenMod wiki, defining Fastboot is: 
 
quoted text 
A command line tool that directly accesses the Android file system via the USB connection. Allows modification of partitions unsigned. It is disabled on devices sold to the public as the USB support is disabled in the bootloader.
How to set up ADB and Fastboot on Windows 
 
The configuration of these tools on your computer is simple. Both can be found in the Android SDK package. 
 
Step 1: Download and unzip Android SDK. 
 
 
 
 
Step 2: Find the folder called "platform-tools" inside the "sdk" folder. Here are both adb.exe and fastboot.exe 
 
Step 3: Move all the "platform-tools" folder to another location, such as C: \ and rename it if you want, for example, C: \ Android-ADB 
 
 
ADB and fastboot can be used directly accessing this folder by command line and running the commands you want, but to make its use more comfortable going to do that you can use adb and fastboot from any folder, as our ROM or are going to do what normally be required elsewhere on the hard disk. To do this we will add the folder where the tool as environment variable in Windows: 
 
Step 4: Right click on Computer / My Computer -> Properties 
 
 
 
 
Step 5: Using the Advanced System Properties, click the Advanced tab -> Environment Variables 
 
 
 
 
Step 6: We click on the variable "Path" and click Edit. 
 
Step 7: Scroll to the bottom of the string you can edit, and add "; C: \ Android-ADB" (without the quotes, but make sure you put the semicolon at the beginning) and press OK. 
 
 
 
 
ADB and Fastboot is now ready to be used from anywhere in your command line. To verify proper operation, connect your Android device to the PC via USB, with USB debugging enabled on your phone or tablet, start a command prompt window, and enter the command "adb devices". The service starts and all attached devices are listed on the screen with an associated number.
 
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...