You might be wondering can we install ADB and Fastools for your Android on your MAC? The answer is yes you can install it by following the steps given down. Here’s how you can setup ADB and Fastboot tool for Android on a MAC PC. Let us get going.
Setting Up ADB and Fastboot on Mac OS
Berkeley Electronic Press Selected Works. Install ADB and fastboot on Mac OS Method 1: Firstly, download the Android zip file and extract it on the desktop for easy to find. And then Open Terminal on Mac PC by Pressing Command + Spacebar key combination to open Spotlight search, and then type ‘ Terminal ’ on that. Now type ‘ cd Desktop/Android ’. In this post, I will guide you to properly install ADB binaries on your MacBook with a straightforward method. And then, you will learn to install TWRP Custom Recovery on your Android phone using a macOS Terminal.If you are a MacBook user and at the same time, using an Android phone, this guide is for you. Installing ADB and Fastboot on Mac Method 1: Drag ‘Platform-tools’ Folder to Terminal. Download the latest SDK Platform-tools.zip file for Mac from above. Method 2: Type or Paste Folder Path in Terminal. As you saw above. You must add the ‘platform-tools’ folder path to the. Method 3: Add Terminal.
Step 1. Create a folder named Android in any directory where you can access it easily.
Step 2. Download Android SDK files from the below link:
Step 3. Extract/Unzip the downloaded Android SDK’s folder in the Android folder which you created.
Step 4. When it’s done now go in the Android folder > Tools > Double Click/ Run the file named “android” it will and UNIX executable file.
Step 5. Once it opens then checkmark the tools folder and make sure that the “Android SDK Tools” and “Android SDK Platform-tools” are to check marked. Then click on install and let the files be downloaded.
Step 6. After it finishes with the downloading, Go to “platform-tools” folder inside your Android folder, then copy the files named “adb” and “fastboot” and paste them into the root of your Android folder.
Let’s test if it is correctly installed or not
Step 7. Enable USB Debugging by
Settings > Developer Options > Click on USB Debugging button
Step 8. Now connect your Android device to PC. Open a Terminal window by
Applications > Utilities > Terminal
Step 9. Type “cd” followed by the path where you saved your Android folder. Here we have saved Android Folder to Desktop.
Step 10. Now type the command
It will show you the serial number of your device. If not it doesn’t show up check the steps and try it once again.
Done now you can use ADB and Fasboot but it is very annoying to use every time Cd/and path in terminal follow me to get rid of it.
Step 11. Now open Terminal and type
Step 12. Add the line (cd/ path to the Android folder). we are using Desktop so, It should look like this command
Step 13. When you have added the line Press CTRL+X to exit, then Y to confirm the save then Press Enter. Now the nono window will be closed. Close the terminal also.
Step 14. Now let’s check if it is working or not type
it will show you the serial number of your device and done.
Congratulations! ADB and Fastboot Tool has been successfully installed on your Mac.
ADB and Fastboot are multi-purpose command-line tools for Android that can be used via Windows, Mac, and Linux. If you try to use ADB commands in the Mac terminal without setting up ADB and Fastboot platform tools, you’ll get errors like “adb command not found”, and “fastboot command not found” on Mac. In this tutorial, I’ll be showing you how you can install and use Android SDK Platform-tools on Mac.
Whether you want to backup your Android device, debug it, sideload an APK, unlock the bootloader, install an OTA update zip, uninstall system apps, root, and flash TWRP recovery, tweak device settings, or gather key information about your device, ADB and Fastboot are essential tools. If you own an Android smartphone or tablet and don’t have any clue as to how you can install and use ADB and Fastboot on your Mac, this tutorial is just for you.
ADB and Fastboot Platform-Tools for Mac
In order to install ADB and Fastboot for Mac, there first thing you need to do it to download the latest Android SDK Platform-tools for Mac.
Having downloaded the SDK Platform-tools for Mac, you’ll need to extract the zip file.
Please be informed that ADB or Fastboot tools can’t be installed as a program or app on macOS. If you double-click the ‘adb‘ executable file, you’ll get the following error in the Mac Terminal.
“adb” cannot be opened because the identity of the developer cannot be verified or confirmed.
You’ll get the same error if you or try to run ‘fastboot‘ on Mac. Therefore, it’s important that you set up ADB and Fastboot correctly.
ADB or Fastboot Not Found on Mac Error
There is another scenario where you may get one of the following errors in the Mac Terminal.
adb: command not found
fastboot: command not found
adb devices not found
Whether you get the “adb command not found mac” or “fastboot command not found mac” error, it’s because you aren’t executing the ADB commands in the Mac Terminal the way you’re supposed to. I have already written a guide to fix ADB or Fastboot is not recognized error on Windows, and in this guide, we’ll see how to solve this issue on Mac.
Installing ADB and Fastboot on Mac
Being a lifelong Windows user, I didn’t know how to use ADB commands in Mac Terminal. I had to google about it after getting my Macbook Pro. At first, one may think that doing certain things are more complicated on Mac than Windows but once you get familiar with it, things become easy.
If you having a hard time using ADB or Fastboot commands on your Mac, follow the steps below to learn the correct way to set up and use them.
Method 1: Drag ‘Platform-tools’ Folder to Terminal
- Download the latest SDK Platform-tools.zip file for Mac from above.
- Extract the Zip file using Mac’s default Archive Utility app. you’ll have a new folder called ‘platform-tools‘ on your desktop.
- Now, click on the Go option on the Mac Finder and select Utilities.
- You’ll find Terminal among the list of Mac Utilities. Double-click it to launch the Mac terminal window.
- When the Terminal is launched, click on the ‘platform-tools‘ folder icon, hold the Command button and drag it to the terminal window.
- Doing so will CD (change directory) or set the Terminal’s path to the ADB and Fastboot files on your Mac.
You can now execute any ADB or Fastboot command without any error.
Method 2: Type or Paste Folder Path in Terminal
As you saw above. you must add the ‘platform-tools’ folder path to the Mac Terminal to run ADB and Fastboot commands. You can also do that by either manually typing the path to the folder containing ADB and Fastboot files or just by copying and pasting the folder path in the terminal. You can read my tutorial describing 5 ways to copy file and folder path on Mac OS X.
- Launch the Terminal by navigating to Go > Utilities on your Mac.
- Now type the path of the ‘platform-tools‘ folder and press the Enter key.
- Alternatively, you can press the Option key and right-click on the folder icon and select Copy “platform-tools” as Pathname in the context menu and then paste the path in the Terminal.
You are all set to issue ADB commands in the Mac Terminal and you won’t get the ‘adb command not found‘ error. To verify that you have done everything properly, type the following command, and press the Enter key.
If you want an easier way to install and use ADB and Fastboot, read my detailed tutorial on adding ADB to a path on Mac to enjoy global ADB access.
Using ADB and Fastboot Commands in Mac Terminal
Now that you have properly set up ADB and Fastboot on your Mac, let’s see how we can run commands.
- Go to the Developer Options on your Android device and enable USB debugging.
- Now, connect your Android device to your Mac. You should also extend the screen lock time out from display settings on your phone or tablet.
- Open the Mac Terminal using any of the 3 methods I described above and issue the following command.
- Keep an eye on your Android phone’s display as you run the above command and authorize ADB or USB debugging on your device by selecting Allow when prompted.
- You’ll see your devices listed in the Mac terminal window. It means that ADB daemon is ready to communicate with your device.
Adb And Fastboot Windows 10
Are you aware of the powerful features of ADB and Fastboot and the tasks you can perform using commands? Don’t forget to check out my huge list of commands with an explanation.