The New Stuff

1715 Views

How to set up ADB and Fastboot for Mac


So many Android users own a Mac computer but it’s bit difficult to work with Android on Mac, however if Android SDK are installed on it, your work is pretty easy, so those of you own a computer running Mac OS and looking for a easy to guide to set up ADB on the Mac, your search is over now, here you can install Android SDK on Mac, thanks to senior XDA developer member AshtonTS.

Windows users head can install SDK here.

How to install Android SDK on Mac

Step #1: Make a new folder named “Android” on your Mac (make on desktop).

Step #2: Download Android SDK package to your Mac instead of complete SDK package.

Step #3: Unzip the downloaded .zip file and place the contents of obtained “android-sdk-mac_x86″ into the android folder of step 1.

Step #4: Open up android folder.

Step #5: There, go to the tools folder, then run the file named “android”/”android sdk”, it will open up a terminal window.

Step #6: Once the opening is done, make sure the both “Android SDK Tools” and “Android SDK Platform-tools” in the tools folder (as shown in below screenshot), then click install and wait for them to download.

How to set up ADB and Fastboot for Mac

Step #7: Once the downloading is done, open the platform-tools folder from android folder, there copy adb and fastboot and paste them into the root of your android folder.

Step #8: The ADB and fastboot are installed on your Mac’s check them, so on Android device turn the USB Debugging on, to do so just tap Menu> Settings> Application> Development or Setting>developer option. Then plug your phone to Mac using USB cable.

Step #9: Open the terminal window, you can find it at Applications > Utilities.

Step #10: Enter following command:

cd /Users/<yourusername>/Desktop/android

How to set up ADB and Fastboot for Mac

Step #11: Execute the adb or fastboot command, to do so, type “./adb (or fastboot) <command>” For this tutorial, you’re using “ADB devices” since it doesn’t actually do anything to the phone, we will not  use fastboot in this guide since it requires rebooting to the boot loader which is different for every device, so enter following command:

/adb devices

The above command will show up the serial number of your Android device.

How to set up ADB and Fastboot for Mac

(if it says * daemon not running. starting it now on port 5037 * daemon started successfully * that is perfectly normal.

Step #12: Both ADB and Fastboot can be used now, however it’s very annoying to have to CD into the directory and use ./ in front of every terminal command. So if you don’t want to do any that, simply open a new terminal window and enter following command:

nano ~/.bash_profile

How to set up ADB and Fastboot for Mac

It’s important to note your window might be blank because here’s so many are added:

Step #13: Enter following command,

export PATH=${PATH}:/Users/<yourusername>/Desktop/android

Once you have added that, press CTRL+X to exit, then Y to confirm the save then press enter to close the nano editor. Now close the terminal window.

Step #14: To verify, open a terminal window and enter following command, it’ll show the serial number of your device:

adb devices

That’s it, enjoy! You can visit the original thread of XDA here to thanks/donate the developer for this great effort.

Recently Published

Skin Care Tips in Urdu
»

The 10 Best Urdu Android Health Apps

Today, there’s some Urdu apps for just about your health issues. We ...

Jungle Adventures - free
»

Just Released Free Android Game Apps 2015

We are at play store for checking new and updated android game apps. ...

Samsung Netherland Says Galaxy Note 3 Neo Lollipop Update Is Coming
»

Samsung Netherland Says Galaxy Note 3 Neo Lollipop Update Is Coming

Samsung is busy in updating their devices to trending Lollipop ...

Galaxy S6 Active Listed On Samsung’s Official Website
»

Galaxy S6 Active Listed On Samsung’s Official Website

It is now possible that the Korean company will introduce the ...

Third Generation Moto E Name Appears On Flipkart
»

Third Generation Moto E Name Appears On Flipkart

The upcoming Motorola’s Moto E (third generation) is might be about ...

Second Generation 2015 Moto E Android 5.1 Update Available
»

Second Generation 2015 Moto E Android 5.1 Update Available

The Android 5.1 Lollipop software update is now rolling out to second ...

Verizon HTC One M7 Lollipop Update Is Coming Today
»

Verizon HTC One M7 Lollipop Update Is Coming Today

HTC’s Mo Versi has already confirmed on Twitter that the Android ...

OTA updates rolling out to AT&T Galaxy S6 and Sprint Galaxy S6 Edge
»

OTA updates rolling out to AT&T Galaxy S6 and Sprint Galaxy S6 Edge

The Samsung Galaxy S6s is now receiving OTA updates over two major ...

Galaxy S6 and S6 Edge Getting A Minor Update
»

Galaxy S6 and S6 Edge Getting A Minor Update

Samsung is now rolling out another minor update via OTA to flagship ...