Set Up ADB and Fastboot on Linux, Mac OS X, and Chrome OS with a Single Command


ADB and Fastboot are invaluable tools for almost every Android user. Without them, flashing a kernel or system image would be much more difficult or even impossible. If you are an experienced user, you can download the Android SDK, click few times, add ADB and Fastboot to $PATH and happily torture your device with latest ROMs and kernels without worry that one small mistake will result as a plastic brick.

If you are a Linux, ChromeOS, or Mac user, you may find a tool made by XDA Forum Member corbin052198 very useful. The Nexus Tools script automatically detects your OS, and then downloads and configures almost everything you need to use ADB on your machine. The only missing thing is a udev list, which makes the device “visible” for debugging, but this can be easily fixed by visiting this thread.

The script runs as root, so don’t be surprised when it asks for sudo and copies all necessary files to usr/bin, which makes them available system-wide. ChromeOS support is experimental and may not work as intended, so please keep that in mind.

If you are planning to set up your PC to work with Android devices, Nexus Tools is a perfect choice. All you need to do is visit the original thread to give it a go.

Want something on the XDA Portal? Send us a tip!