What is ADB?
ADB stands for “Android Debug Bridge”. It is necessary and essential to establish the connection between computer and android device. This tool will allows you to send wide array of terminal commands—including but basic Linux shell commands, plus some specialty developer commands—to your phone at just about any time (as long as you have debugging enabled on your phone). You can send commands while the phone is turned on and booted, or even when it’s in recovery mode. While ADB is often used in conjunction with rooting or modifying your phone, you can use ADB to send terminal commands to unrooted devices as well.
How to Install ADB & Fastboot Drivers
If your android device is still not detected by your computer even after installing ADB & Fastboot then try installing PDANet drivers from here.
Update :- You can also install ADB & Fastboot drivers by directly installing Minimal ADB & Fastboot. If it does not works for you then you can try the complete method illustrated below.
- First we need to install Java SE development kit for windows.
- For this go to this page. It will look something like this.
- Click Download JDK.(in my case it is version 8 but download the latest one)
- You will see something like this. Download 32 bit file for 32bit and I will recommend you to install bot on 64bit.
- After download completes install that package on your computer.
- After installation download Android SDK package from this page and click download the SDK.
- Tick to agree terms and conditions and select your computer architecture i.e. 32bit or 64bit.
- Extract the Android SDK zip file anywhere on your computer.
- Open SDK Manager.exe from extracted folder.
- Tick Android SDK Platform Tools and Google USB Driver.
- Click Install Packages and select accept license and click install.
- After downloading and installation completes you will see Done loading packages.
- Now close Android SDK manager.
- Now open file explorer and go to the extracted folder. Open sdk\platform-tools\.
- Select these 4 files adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll, fastboot.exe.
- Copy these four files to C:\Fastboot.
What is Fastboot?
When you need to modify your phone’s firmware, fastboot is the tool you need. This allows you to send commands to the bootloader, which means you can flash/modify things like custom recoveries. You can’t flash whole ROMs with it, but it’s helpful for many things that ADB can’t do. Fastboot isn’t enabled for all phones, so you may have to check your specific device.
To use fastboot your android device must have to boot into fastboot mode. Here are some of the different methods for different manufacturers.
Sony :- Press (+) volume button.
Samsung :- boot into download mode.
HTC :- Press (-) volume button and power button.
How to use Fastboot mode
- Connect your android device to your computer via USB cable.
- Open Fastboot folder located in C Drive.
- Put the .img file in that folder which you wanted to flash to your android device.
- Press and hold shift button and right click anywhere in the folder.
- Now click open command window here.
- Command prompt will open like this.
- Now type “fastboot flash boot name.img”. Replace name with the name the img file you wanted to flash and hit enter.
- Now that file will be flashed to your android device.
- There are many more things that you can do with Fastboot mode.
- To learn more about it type “fastboot help” and hit enter.
- It will show the list of all the commands that can be executed in fastboot.
Thank you for reading this post and keep connected to Tech Arrival to continue enjoying wonderful posts. Share your views about this post in comment section below. If you are still having any query throw it in comment section.
If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment and also it is quite easy and helpful for others.