Script Helps Users Configure ADB and Fastboot on Linux
Installing Ubuntu, or really any Linux distro, for the first time can be a little intimidating for some. Most Windows or Mac users haven’t used *nix terminal commands nearly enough, so it’s only natural for mistakes to happen at first. For many users, Android was their first glimpse into Linux, and in many cases, requires them to use Linux for various fixes or installations. Now, there’s a script that gets ADB and Fastboot installed on Linux with minimal involvement.
In order to use the script, you must have one of two things. Either a full installation of Linux or a Live USB with a minimum of 800MB available. Additionally, the script is only compatible with Ubuntu and Mint, and has been shown to not work on installations of Arch. Given that it works with Mint and Ubuntu, it very well may work with other Debian-based distros, but that is untested. There are also a few peculiarities. As XDA Senior Member soupmagnet explains:
*for LiveUSB users, there is no root/sudo password – just hit enter
*Parallels Desktop is the only VM (that I know of) that will successfully detect the Kindle Fire in fastboot. Users of other VMs need to use a LiveUSB.
*If for some reason the script will not give you the option of running in Terminal, right click the file, select Properties > Permissions tab, and make sure there’s a check next to “Allow executing file as a program”