Sunday, August 19, 2018

How to Install ADB on Windows, macOS, and Linux free

How to Install ADB on Windows, macOS, and Linux free


Recently here at APKSECURED we have been composing various instructional exercises to demonstrate to you proper methodologies to get to specific highlights of the Android stage that essentially are not unmistakable to the client. These have for the most part been finished with the assistance of some charge line Android Debug Bridge (ADB) summons, an instrument that Google offers for engineers to investigate different parts of their applications or the framework, however which we can use for a wide range of perfect and concealed traps. Utilizing the order line isn't something that everybody is OK with, however, so trying to instruct everybody how to do these changes (regardless of what ability level you're at), we have been including some fundamental strides about how to introduce ADB in every one of our instructional exercises where essential. 

All things considered, the quantity of our instructional exercises has expanded in amount of late, so we have chosen to bar those means from future instructional exercises to maintain a strategic distance from excess. Nonetheless, despite everything we need every future instructional exercise we write to be straightforward for whatever number individuals as could reasonably be expected, with the goal that will be the purpose of the present guide. Having a devoted well ordered instructional exercise on the most proficient method to introduce and setup ADB on your PC (regardless of what working framework you utilize) will be extraordinary for the individuals who might not have it set up as of now. 

This will likewise give us a chance to incorporate a connection to this guide later on instructional exercises we compose that expect you to have ADB setup and introduced on your PC. So when one of our new instructional exercises turns out that requires ADB, you can navigate the connection to figure out how to introduce ADB or you can essentially disregard it and move onto the subsequent stage. Since ADB can be utilized on an assortment of working frameworks, we'll be covering some fundamental directions for Windows, macOS and Linux.

How to Setup the Android Debug Bridge (ADB)

Note: Setting up ADB on the computer is just half the equation since you’ll also need to do some things on the smartphone or tablet to accept the ADB commands.


Phone Setup

  1. Launch the Settings application on your phone.
  2. Tap the About Phone option generally near the bottom of the list (this is hidden behind the “System” option in Google’s latest Android Oreo version).
  3. Then tap the Build Number option 7 times to enable Developer Mode. You will see a toast message when it is done.
  4. Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
  5. Go in there and enable the USB Debugging mode option.
How to Install ADB on Windows, macOS, and Linux free
6. You are partially done with the phone setup process. Next up, you will need to scroll below and follow the rest of the instructions for your particular operating system.


Microsoft Windows ADB Setup

  1. Download the ADB ZIP file for Windows
  2. Extract the contents of this ZIP file into an easily accessible folder (such as C:\adb)
  3. Open Windows explorer and browse to where you extracted the contents of this ZIP file
  4. Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)
How to Install ADB on Windows, macOS, and Linux free

5. Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode. Some OEMs may or may not require this, but it’s best to just leave it in this mode for general compatibility.

6. In the Command Prompt window, enter the following command to launch the ADB daemon: adb devices.

7. On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
How to Install ADB on Windows, macOS, and Linux free
8. Finally, re-enter the command from step #6. If everything was successful, you should now see your device’s serial number in the command prompt. Yay! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!

How to Install ADB on Linux

  1. Download the ADB ZIP file for Linux
  2. Extract the ZIP to an easily-accessible location (like the Desktop for example).
  3. Open a Terminal window.
  4. Enter the following command: cd /path/to/extracted/folder/
  5. This will change the directory to where you extracted the ADB files.
  6. So for example:cd /Users/Doug/Desktop/platform-tools/
  7. Connect your device to your Linux machine with your USB cable. Change the connection mode to “file transfer (MTP)” mode. This is not always necessary for every device, but it’s recommended so you don’t run into any issues.
  8. Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: adb devices
  9. Back on your smartphone or tablet device, you’ll see a prompt asking you to allow USB debugging. Go ahead and grant it.
How to Install ADB on Windows, macOS, and Linux free
10. Finally, re-enter the command from step #8. If everything was successful, you should now see your device’s serial number in the Terminal window output. Congrats! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!


Some Linux users should be aware that there can be an easier way to install ADB on their computer. The guide above will certainly work for you, but those own a Debian or Fedora/SUSE-based distro of Linux can skip steps 1 and 2 of the guide above and use one of the following commands. . .
  • Debian-based Linux users can type the following command to install ADB: sudo apt-get install adb
  • Fedora/SUSE-based Linux users can type the following command to install ADB: sudo yum install android-tools
Just to cover all of our bases here, Linux users may need to put a ./ in front of the ADB commands we list in future tutorials. This is something that is likely known by any Linux user already, but again, we want as many people as possible to understand how to do these tweaks for Android no matter how much of your operating system you know.
Previous Post
Next Post

0 comments: