Type adb devices; Pop up a dialog on your Mobile, Asking you to allow USB debugging. Check “always allow”, and choose “OK” How to Enable Fastboot. If your Device supported fastboot. Then Hold down Volume Down + Power button. Do not Release the button Until pop-up the Screen; Scroll up or down with Volume keys; select Fastboot with the. 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).The commands are universal, which means the same commands will work on any Android device, regardless of its manufacturer or device variant. Install ADB and Fastboot on Mac: – There are two best methods to install ADB and fastboot driver on Mac OS. First one is by passing a script in Terminal by WonderHowTo sub-blog HTC One and the second one is by using Nexus Tool. So let’s begin with setup ADB and fastboot driver on Mac PC. Install ADB and fastboot driver on Mac OS Method 1.
- For these to be done successfully, you need to download ADB fastboot drivers. Here in this guide, we have gone through full tutorial on How to Install ADB Fastboot Drivers on Windows and Mac. This guide deals with ADB drivers download latest, ADB drivers mac download and installation and ADB.
- 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. Platform-tools-latest-darwin.zip Having downloaded the SDK Platform-tools for Mac, you’ll need to extract the zip file.
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
- Download the latest version of ADB Installer from here: adb-setup
- Launch the setup file you just downloaded.
- When asked “Do you want to install ADB and Fastboot?” type Y and press enter.
- When asked “Install ADB system-wide?” type Y and press enter.
- When asked “Do you want to install device drivers?” type N and press enter.
- 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
- 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.
- Download the Android zip file from here: adb-fastboot-install
- Extract the zip file you just downloaded by double clicking it.
- Open the newly created unzipped folder.
- 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) - Drag and drop the “ADB-Install-Mac.sh” file from the unzipped folder into the Terminal window.
- Press enter in the Terminal window. You may need to enter your Mac password to complete the installation.
- 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 pmI 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 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.
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!
ReplyJRsays: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$
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.
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.
‘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 where does your installer put the files?
For Mac users experiencing the ‘command not found’ error, try prepending the command with ./
For example, ./adb devices
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.
Reply
Minimal Adb And Fastboot Mac
Steve Ssays:February 3, 2018 at 1:50 pmI 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.
ReplyClarencesays:March 15, 2019 at 12:58 pm My comment after reading seems kinda jacked.
So, Under Environmental Variables, for PATH, you need to add the path to the abd.exe file.