Saturday, April 20, 2013

Beranda » , » Install or Set Up ADB on Mac OS X and Linux

Install or Set Up ADB on Mac OS X and Linux

The best part is that you don’t have to make any preparation tasks as the installation procedure can be easily applied. You just have to follow the below steps and in the end your Mac / Linux will be installed with ADB and you will be ready to tweak your Android powered smartphone / tablet. As mentioned, usually, the adb commands are being used when trying to unchain the devices from the factory and default restrictions so if you want to gain access and control to your phone then completing this tutorial is not an option for you.

Of course, most of the mentioned operations can be performed without using ADB but in a more complex and risky way. Therefore, if you are an entry level or an inexperienced user then it is strongly recommended to use the adb based tutorials instead of trying to complete other procedures that can damage or brick your device. Anyway, let’s head to the installation process as you are prepared for the same. Stick to the steps from below and don’t do things by yourselves.

How to Install / Set Up ADB on Mac OS X

  1. First, download the Android SDK tool from here.
  2. Save the file on the desktop.
  3. Extract the file and move the obtained folder to the root of your hard drive.
  4. Rename the folder Android-SDK.
  5. On the device you need to open terminal.
  6. On the same enter “C:/Android-SDK /tools/android”.
  7. The file manager will be displayed.
  8. From there select “Available Packages -> Android Repository”.
  9. Up next choose “Android SDK Platform-tools” and click on install selected button.
  10. ADB is now there on your computer. In order to set it up you will have to add the “export PATH=${PATH}:/Android-SDK/tools:/platform-tools” line on the end of the ~/.bashrc or ~/.profile or ~/.bash_profile configuration files
  11. If that file is not there you can anytime create it by choosing “~/.profile”.

How to Install / Set Up ADB on Linux

  1. You need to get this file (the download link is here) and extract it to “~/bin”.
  2. Up next just go to /etc/udev/rules.d and type the following commands (see the image from below):
  3. Type in terminal:
  4. Take your phone / tablet and enable the USB debugging option; you can do it by going to “Settings -> Applications -> Development -> USB debugging”.
  5. Now, use the USB cable and connect your handset with the computer.
  6. Open terminal on your PC and type “adb devices”.
  7. A list of devices will be displayed; if that happens, you are done.
Well, that was all for today. That was the how to guide that can be used by those who need to install / Set Up ADB on Mac OS X / Linux. Therefore now you have what it takes in order to complete other complex operations, such as root, unlock bootloader, update with custom ROM firmware and so on.

Note: If this tutorial worked for you (and it should work), please leave a comment below. Thanks.