How to Install ADB & Fastboot on Mac, Linux & Windows
We made this guide for Android users who are trying to use ABD and fastboot for the first time. Let’s see how to install ADB & Fastboot on Mac, Linux & Windows.
Install ADB & Fastboot on Your Computer
First, you need to download the official “SDK Platform Tools”, the following is the ZIP file of the respective operating system.
- Download the Latest Platform-Tools for Windows (.zip)
- Download the Latest Platform-Tools for Mac (.zip)
- Download the Latest Platform-Tools for Linux (.zip)
Next, you can put the ZIP on your desktop, right click on the file, and select “Extract Here” from the context menu to complete the operation.
The screenshot below gives you a good example of what your file should look like on Windows and which files it will contain.
Note: If you are a Windows user, you will need a new platform toolkit to work in the form of Windows Universal C Runtime. For Windows 10, it is usually installed by default on the system, but if you are running Windows 8.1 or 7 and are experiencing this issue, you will need to install all available Windows updates. Or, if you prefer, you can get the download from the Microsoft Download Center and install it this way.
Enable USB Debugging on Your Phone
1. Open the Settings page on your device.
2. Click here to click on the “About Phone” option near the bottom of the list (this is hidden behind the “System” option in Google’s latest Android Oreo version).
3. In the about phone section of your phone, click the Build Number option 7 times to enable developer mode. You will see a pop-up message “You are a developer now” on the screen.
4. Now return to the Settings page where you will see the new Developer Options menu.
5. Go there and scroll down to USB debug and turn the switch on. This will enable USB debugging on Android.
Now you just need to set up the ADB file on your desktop. Follow the rest of the instructions for your specific operating system.
Open a Command Window
Now that you have extracted the platform-tools folder and have enabled USB debugging on your phone, you only need to open a command prompt or terminal window on your computer and use the
“cd /Users/Desktop/platform-tools” format. Change the directory to the platform-tools folder you extracted in step 1.
Verify Your Phone Connection
To make sure your computer and phone are connected, you need to enter the following command from the terminal and press Enter:
Note: Mac and Linux users will most likely have to add periods and slashes before entering any of the commands listed here (for example, ./fastboot devices). Your command window should still be active in the previous step, so running the above command should display a set of numbers and letters – this is the unique identifier that your device has been recognized by the system.
Your command window should still be active in the previous step, so running the above command should display a set of numbers and letters – this is the unique identifier that your device has been recognized by the system.
I hope you found this guide helpful! If you have any questions or have any questions, please let me know in the comments section and we’ll be happy to help you.
Category: Learning & How to