8/29/2021»»Sunday

Fastboot For Mac

8/29/2021

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 device while following these procedure. So, do everything at your own risk.

Instructions:

In this article, you will find the list of all ADB and Fastboot Commands for Android devices. You can execute these commands on any computer regardless of its operating system (Windows, Mac, or Linux). ADB and Fastboot drivers will be automatically downloaded and installed on your Mac OS. Step 7: To confirm the installation, go to the extracted android-sdk-macosx directory and then open the platform-tools folder. Here you will see ADB and fastboot apps, along with several other tools in this directory. May 10, 2018 ADB & Fastboot for Mac OS: This tutorial teaches you how to install android studio on mac computers.The Android Debug Bridge (ADB), is a command-line-based tool that allows for interaction between your computer and your Linux-based Android device.

  • First, make a folder named “android” (without quotes) and place it anywhere in your hard drive. But we prefer Desktop.
  • Next download the Android SDK from here. (You could skip this step instead of downloading whole android sdk you can simply download the adb and fastboot files alone from here.
  • So, once you download the above mentioned file then unzip it and put the contents of the files into the android folder.
  • Once you have done, open the android folder. Go into the tools folder inside of it. Double click on the file called “android” (possibly called android sdk) This file is a UNIX executable and will open within a Terminal window.
  • When it finishes opening, check the folder called tools. Make sure both “Android SDK Tools” and “Android SDK Platform-tools” are selected within the tools folder. Click install and wait for them to download.
  • When they finish downloading, go into the platform tools folder inside your android folder, then copy adb and fastboot and paste them into the root of your android folder.
  • That’s it you have now installed the adb and fastboot in your device. If you want to test whether it works fine in your device then follow the procedure given below.
  • Plug your android device. Make sure android debugging is enabled in Settings.
  • Go into Settings > Apps > Developer and check it there (for Gingerbread 2.3 and lower) or go into Settings > Developer Options and check it there for Ice Cream Sandwich or Jellybean. As of now, there are two ways to access adb and fastboot.
  • Open a terminal window (look in Applications > Utilities if you can’t find it). Type “cd” followed by the path you saved your android folder.
  • For example if you saved your android folder in desktop then type like this:

cd /Users/<yourusername>/Desktop/android

  • Now, you need to actually execute an adb or fastboot command. To do this, you’ll need to type “./adb (or fastboot) “. For this tutorial, we will use “ADB devices” since it doesn’t actually do anything to the phone. (we won’t use fastboot since it requires rebooting to the boot loader which is different for every device)
  • In the same terminal window as before type the following:

./adb devices

  • Then hit enter. It should turn up your device’s serial number. If it does, proceed to the next step, if not recheck your steps. (If it says * daemon not running. starting it now on port 5037 * * daemon started successfully * that is perfectly normal).
  • Now, at this moment, ADB and Fastboot are both completely useable. However, it’s very annoying to have to CD into the directory and use ./ in front of every terminal command. I’ll show you how to add it to your path so you don’t have to do any of that.
  • Open a new Terminal window and type:

nano ~/.bash_profile

  • It will open a window and it will have export PATH=${PATH}:/Users//Desktop/android.
  • Once you have added that, press control + X to exit, then Y to confirm the save then press enter. It will close the nano editor. You can close the Terminal window now.
  • Now you need to verify that it works. Open a new Terminal window and type adb devices

If it shows the serial number, then you have set it up successfully and are good to go!!!!!

Incoming search terms:

  • fastboot mac


ADB and Fastboot are command line tools that allow you to communicate with Android devices like the Amazon Fire TV and Fire TV Stick. The Android Debug Bridge, which is more commonly referred to as ADB, is used in most of the guides on this website to perform a variety of tasks on Fire TV devices. Fastboot is similar to ADB in that it is a command line tool, but it is primarily used to replace the entire operating system on an unlocked Android device. This guide will show you the simple process of setting up both ADB and fastboot on either a Mac running OS X or a Windows PC.

Contents

  • 1: Windows PC Guide
  • 2: Mac OS X Guide

Windows PC Guide

  1. Download the latest version of ADB Installer from here: adb-setup
  2. Launch the setup file you just downloaded.
  3. When asked “Do you want to install ADB and Fastboot?” type Y and press enter.
  4. When asked “Install ADB system-wide?” type Y and press enter.
  5. When asked “Do you want to install device drivers?” type N and press enter.
  6. You’re done. Now, anytime you need to run an ADB or Fastboot command, simply open up a command-prompt (which can be done by typing “cmd” into the start menu) and enter your command.

Mac OS X Guide

  1. If your Mac has OS X El Capitan (v10.11 and up), then you need to first disable System Integrity Protection by following these steps. You can re-enable it after you finish installing ADB.
  2. Download the Android zip file from here: adb-fastboot-install
  3. Extract the zip file you just downloaded by double clicking it.
  4. Open the newly created unzipped folder.
  5. Open the Terminal application on your Mac.
    (If you don’t know where it is, you can search for it from Spotlight with ⌘-Space or find it in your Applications >Utilities folder)
  6. Drag and drop the “ADB-Install-Mac.sh” file from the unzipped folder into the Terminal window.
  7. Press enter in the Terminal window. You may need to enter your Mac password to complete the installation.
  8. Once the installation completes, you’re done. You can now open Terminal anytime and enter ADB or fastboot commands. Be sure to re-enableSystem Integrity Protection if you disabled it at the start of this guide.

Share

ShareTweetShare+1Colinsays:June 1, 2015 at 12:34 pm

I have the adb file chilling in my home folder on my mac and just connect it to my FTVs anytime I need to make changes. Is this different/better from just running adb through terminal like I have been from the start?

ReplyAFTVnewssays:June 1, 2015 at 4:28 pm

The only advantage of this method to what you’re doing is the instructions above will install ADB and Fastboot system wide. This means you can run ADB and Fastboot commands from any directory while in the Terminal app.

ReplyColinsays:June 1, 2015 at 5:15 pm

Thanks!

ReplyJohn Merrillsays:June 2, 2015 at 6:10 am Fastboot mac os catalina

A Mac tip —
1. Open System Preferences
2. Open Keyboard Preferences
3. Click on the Shortcuts tab and select Services
4. Scroll down to Files and Folders and enable “New Terminal at Folder.” Quit System Preferences.

Assume that all your apk files are in your Downloads folder. To install an apk file via ADB, open your Home Directory and right click on Downloads. The Services menu will open and allow you to open a new Terminal at your Downloads folder. You no longer have to use any paths. Simply write “adb install xyz.apk”. Done

ReplyAFTVnewssays:June 2, 2015 at 11:06 am

Thats a great tip! Thanks.

Replygubo8888says:October 27, 2015 at 7:18 pm

Thanks!

ReplyMatthew Thomassays:October 28, 2015 at 9:32 am

Thank you much for sooo simple instruction!!! High five!

ReplyJR

Adb Fastboot For Mac

says:December 30, 2015 at 3:04 pm

I seem to be having issues… it doesn’t seem to be reading my installation? ADB commands don’t seem to be working.

Here is what is popping up on my terminal

Last login: Wed Dec 30 17:56:49 on ttys000
Nexus:~ administrator$ /Users/administrator/Desktop/Android/ADB-Install-Mac.sh
This will install ADB and Fastboot on your computer.
Root Permissions required. Please type your password.
Password:
Changed directory to /Users/administrator/Desktop/Android
Moving ADB
mv: rename Mac/adb_Mac to /usr/bin/adb: Operation not permitted
ADB Moved to /usr/bin/adb
moving Fastboot
mv: rename Mac/fastboot_Mac to /usr/bin/fastboot: Operation not permitted
Fastboot moved to /usr/bin/fastboot
You may now run Android Debug Bridge and Fastboot commands
Have a nice day.
Nexus:~ administrator$ adb version
-bash: adb: command not found
Nexus:~ administrator$

Please advise. Any help would be appreciated.

ReplyTerrysays:January 1, 2016 at 11:31 pm

I have same using El Capitan

ReplyMacssays:January 3, 2016 at 4:11 am

I had this problem too. As of El Capitan the usr/bin folder is restricted so the install script will no longer work. To work around this you can disable “System Integrity Protection” then running the install script will work.

See instructions here http://stackoverflow.com/questions/32590053/copying-file-under-root-got-failed-in-os-x-el-capitan-10-11

Remember to enable System Integrity Protection once you are done

ReplyAFTVnewssays:March 7, 2016 at 10:22 am

I have updated the guide to work with El Capitan and get around this issue.

ReplyMaitas Vargtasssays:August 21, 2016 at 6:39 am

Im having problems too, same as JR and Terry. I followed the guide to turn off Rootles system integrity check. Osx rebooted and I tested by running “csrutil status” in terminal and it said “System Integrity Protection status: disabled”

I still get “-bash: fastboot: command not found” tho… what to do?

ReplyJegadeesansays:September 15, 2016 at 10:25 pm

Hi,

I have installed ADP V 1.4.2 but getting the below error.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:UsersDell>adb start-server
‘adb’ is not recognized as an internal or external command,
operable program or batch file.

C:UsersDell>

ReplySamsays:November 17, 2016 at 4:53 am

ME too. Install Batch is working fine. Files are being copied. Even ran as administrator to make sure. No errors on install. But going to just check version from cmd prompt gets the ‘adb’ is not recognized as an internal or external command, operable program or batch file.

where does your installer put the files?

ReplySamsays:November 17, 2016 at 4:54 am

ME too. Install Batch is working fine. Files are being copied. Even ran as administrator to make sure. No errors on install. But going to just check version from cmd prompt gets the ‘adb’ is not recognized. blah blah
where does your installer put the files?

ReplyJohnsays:November 2, 2017 at 3:32 pm

For Mac users experiencing the ‘command not found’ error, try prepending the command with ./

For example, ./adb devices

Adblock Plus for Chrome for Mac performs well as a basic add-on, and would be a useful addition to most users' browser toolkits. Adblock Plus for Chrome for Mac is free and installation is quick. Adblock for mac.

And here’s a time-saving tip: When typing anything at the command line, you can type the first character or couple of characters of, for example, an apk you want to install, then hit the tab key and bash will fill in the rest of the name for you.

ReplySteve Ssays:February 3, 2018 at 1:50 pm

I just tried installing v 1.4.3 on Win 10: when Installing ADB and FASTBOOT…. (System-wide) it shows 0 files copied instead of 4 files as per your images on this help page.

running as Administrator

Any ideas would really be appreciated!

ReplyClarencesays:March 15, 2019 at 12:56 pm

For windows you need to add an environmental variable to adb.exe file.

ReplyClarence

Minimal Adb And Fastboot For Mac

says:

Fastboot Mac Os X Download

March 15, 2019 at 12:58 pm

Fastboot Mac Mojave

My comment after reading seems kinda jacked.

So, Under Environmental Variables, for PATH, you need to add the path to the abd.exe file.

Minimal Adb And Fastboot Mac

ReplyMoto fastboot drivers

Fastboot Mac Address

Leave a Reply