ADB & Fastboot Installation Guide
Hey, there are you looking for the most accessible guide to Install ADB And Fastboot On Windows/Mac? If yes, this article is for you. In this article, I will show you the most straightforward way to install ADB and Fastboot on your Windows or Mac.
- If you want to use fastboot and adb commands on your Android phone using your MAC, this step-by-step tutorial is for you. Using the fastboot and adb for MAC.
- This guide will help you to easily install the ADB and fastboot on a Mac. It is actually a quite simple method and also you don’t need to worry about drivers like in Windows. So, let’s begin. DISCLAIMER: Best Android Blog would not be held responsible/liable for any damages that takes place to your.
Debian-based Linux users can type the following command to install ADB: sudo apt-get install adb; Fedora/SUSE-based Linux users can type the following command to install ADB: sudo yum install android-tools; You have given Windows, Mac iOS, and Linux Android. ADB components are used for the Android development through your Mac. It consists of a daemon background process running AVDs, server process running in the background and physical Android device such as tablets and phones. How to setup Android ADB on Mac. Let's have a look to see the procedure of installing the full process of setting ADB on Mac.
Download and extract MAC OS X Android ADB Fastboot Drivers. Launch Terminal Open the extracted folder and then drag and drop ADB-Install-Mac.sh into the Terminal window. Enter your password and the android fastboot drivers for Mac OS X will be automatically installed.
First I will show you How To Install ADB And Fastboot On Windows. If you are a Mac user, then you can follow these steps on How To Install ADB And Fastboot On Mac.
Android Adb For Mac Windows 10
Nowadays everyone wants to get the most out from your android device, so I am assuming that you love android and want to do customization on your phone to get most out of your Android Device. Now if you like to Install Custom ROM’s, Flash Modded Apps, Custom Recovery, Root, Unlock Bootloader. Then to flash the .img, boot, or recovery file on your phone, you need PC with ADB, and Fastboot drivers installed to flash files on your phone.
With the help of these both tools ABD and Fastboot, you can easily send terminal commands to your phone also, if you want to connect your android device to windows pc. You must have ADB and Fastboot drivers installed so that you can easily connect your phone to windows pc. So, by the end of this article, you will be able to install ADB drivers and Fastboot commands on your pc.
What Are ADB Drivers?
ADB stands for Android Debug Bridge. ADB is a small-sized tool through which you can send terminal commands to your phone. Now to send these commands to your phone you need to Enable USB Debugging. The best part of this tool is it works on both when the phone is turned ON and on recovery mode.
With the help of ADB Commands, you can unlock your phone, root your phone, install a custom kernel and more. ADB involves Linux shell commands which most of the developers use for development of ROM’s.
Some Important ADB Commands
- This command will list all the devices that are connected in ADB mode to your PC
- This will push the file from a computer to your phone
- This command will pull any file from your phone to your PC
- This will install apk to your phone
- This will flash any zip file from your PC to your phone
- This will reboot your phone
- This will reboot your phone into Bootloader mode
- This will reboot your phone into Recovery mode
- This will take us to the shell on our phone
What Is Fastboot?
Fastboot is a very important tool for ROM developers as it helps to modify the Android file system from PC. Fastboot is not available for all android devices, many phone’s don’t allow us to enter into fastboot mode so it’s better to check first. You can easily flash custom recoveries. This tool sends commands to the phone bootloader.
Some Important Fastboot Commands
- This will list all the device that is connected in Fastboot mode to your PC
- This will give you the basic device info of your phone
- For Unlocking Bootloader On Your Phone –
- To Boot Your Phone In Recovery Mode –
- For Flashing Recovery File –
- To Reboot Your Phone/ Device –
Install ADB And Fastboot On Windows
Now before proceeding to further steps, make sure that you have installed all the necessary drivers for your phone. If you haven’t installed any USB Divers, then you can download the USB drivers from the requirement section and install them.
You can easily install ADB and Fastboot on your PC, you don’t have to do any complicated work in order to install ADB drivers just follow the steps carefully and that’s it.
Steps To Install ADB And Fastboot On Windows
1.) First, you need to download the required USB Drivers on your Windows PC, and all you have to do is run the file
2.) Now Download Minimal ADB and Fastboot tool on your PC
3.) After you have downloaded the Minimal ADB .zip file, Extract the zip file on your desktop
4.) Open the Minimal ADB folder that you just extracted and “Right Click” on cmd-here file and click on “Run as administrator.”
5.) Now you can type any ADB or Fastboot commands here, and it should work
Steps To Install ADB And Fastboot On MAC OS
1.) First, you need to open your Terminal and run the below command to Install Brew on your Mac
2.) Now run the below command to install ADB and Fastboot and then Enter your Password
3.) After that, ADB and Fastboot drivers should be installed in a minute
4.) Now you can run any ADB and Fastboot command using your terminal
Some Important Steps Before You Proceed
1.) Before you proceed, make sure to Enable USB Debugging on your phone
- To Enable USB Debugging on your phone
- Go To Settings >> About >> Tap Build Number 5-6 Times Until You See Message Saying “You are now a developer.”
- Now Go Back To Settings Page >> Developer Options
- Scroll Download And “Enable USB Debugging”
2.) When you connect your phone to your computer, make sure to allow USB Debugging Authorization
Now you can easily connect your phone to PC, and you can send terminal commands to your android device. You can now quickly flash custom recoveries, ROM’s, Root your phone, Unlock your phone.
Conclusion: So, this is all about How to install ADB and Fastboot drivers on any PC. Also, I have shown you how you can install ADB drivers on Mac OS. I hope this guide helps you.
If you have any questions related to this guide, then make sure to leave a comment, and I will help you to solve the problem. Also, you can ask your doubts and query through our official Facebook Page: RootmeGuide
Android Debugging Bridge, ADB is a command-line utility tool that lets developers debug or access major parts of their applications. In short, If you want to modify something in your device, Android utility tools(required) should be installed in your device. Some features in the Android device aren’t accessible but, you can use ADB commands by installing ADB tools or service on your laptop/PC to use it.
Now, how to install ADB in Windows, Mac, Linux, and Chrome operating systems, we have below mentioned some steps that will help you to install ADB on Windows, Mac, Linux, and Chrome operating systems. Once the ADB is installed in these operating systems, you can perform more things like rooting, installing custom ROM, recover old files etc. on your Android devices.
There are many things that require ADB permissions to work and you can also perform various things on your Android devices after installing ADB. If you want to explore more things in your Android device by installing ADB on your Windows, Mac, Linux, and Chrome OS, have a look on the below points.
Setting Up ADB In Android Device
To use ADB services on your computer, First, you should enable USB debugging in your Android device. To enable developer options in Android devices, follow the below steps.
- Open Settings of your Android device and tap on About Phone.
- Tap on Build Number for seven times consecutively until you get a message “You are now a developer”.
(Note- Build number page might be kept under some other page in settings or About phone option). - After clicking seven times on Build number, you will see Developer options under System, tap on it, enable USB debugging.
- Now, whenever you connect your device with your computer, you have to select File transfer (MTP) mode and you are done with ADB option in your Android device.
Also Read: Best Secret/Hidden Codes For Android
Setting Up ADB In Windows
To setup ADB in the Windows system, you have to download and install the ADB platform tool for Windows. Once the .zip file is downloaded, extract all files in your Windows computer using WinRAR software.
- Open the download file and click on the address bar and type cmd and hit enter and command prompt windows will open in the ADB directory.
- Now, connect your Android device with your Windows PC and execute adb devices
- After connecting your device, a pop-up message “USB debugging” will appear on your device. Enable “Always allow” option, checkmark the box and tap on “Allow”.
- In the next step, you’ll see your device serial number in the command prompt window. If you are unable to see your device or if your device is not detected with your computer, run adb services again and you’ll be able to see your device information on your computer.
Also Read: Difference Between PowerShell & CMD in Windows 10
Setting Up ADB In Mac
Now, there is a completely different path to install ADB in Mac. Download the ADB file for Mac and extract it in your Mac.
- Open Terminal on your Mac and type the following command: cd /path/to/extracted/folder/
- For example, cd /Users/Pranay/Desktop/platform-tools/
- Connect your Android with your Mac with a USB cable and change the USB connection mode to “File Transfer(MTP) mode”.
- Once the terminal is in the same folder, you can execute the following command to launch ADB daemon: adb devices.
- Now, on your device, “Allow USB debugging: prompt and allow the connection.
Setting Up ADB In Linux
Adb Download For Windows 10
Download the ADB file for Linux and perform the below steps.
- Simply extract the files and open the Linux terminal window and move to the extracted folder location.
(Note- Change the username to your actual Linux username). - Enter the following command: cd /path/to/extracted/folder/.
- The directory will be changed, where you extracted the ADB files.
- Now, connect your Android device to the Linux system with a USB cable and again change the connection mode to “file transfer (MTP)” mode.
- Once the terminal is in the same folder where the ADB tools are in, you can execute the following commands to launch ADB daemon: adb devices.
- Back to your Android phone and it will ask you to allow USB debugging, go ahead and grant the permissions.
Setting Up ADB In Chrome
Before going further, we want to clarify that Chromebook always has Play Store support and it should be on the developer channel and have Linux enabled on your machine. To proceed further, open settings in Chromebook > About Chrome OS > Additional Details > Change Channel to your name.
- Open settings > Linux > Develop Android Apps > Enable the toggle for ADB Debugging.
- Restart your Chromebook and ADB will prompt on your screen. Click “Allow” and proceed further.
- Open Linux terminal and execute the below command to install ADB platform tools and press “Y” to allow installation.
sudo apt-get install android-tools-adb
- After the installation, connect your Android phone with a USB cable and allow USB debugging and proceed further.
Android Adb For Mac
How To Use ADB Service
Android Adb Windows 10
Once you have installed ADB service in Windows, Mac, Linux, and Chrome operating systems, you can use the below commands. Make sure you have connected your Android phone while performing the below commands.
Command | Description |
adb devices | List of Android devices communicating with your computer |
adb push | Move a file onto your Android device programmatically |
adb pull | Move a file from your Android device programmatically |
adb install | Install apps programmatically using APK files |
adb reboot | Reboot your Android device |
adb reboot recovery | Reboot your Android device in recovery mode |
adb reboot bootloader | Reboot your Android device to bootloader |
adb shell | Start a remote shell with your Android device |
ADB service is a very useful and effective tool for Android programmers. Since we have covered all the points to setting and installing ADB services in Windows, Mac, Linux, and Chrome operating systems. If you have any suggestions, feel free to mention them in the comments section.