[Linux] Update adb & fastboot to the latest version

The latest version of ADB is 1.0.36, however the version available from the Ubuntu repositories is 1.0.32. The repo version is dated March 2016, however ADB v1.0.32 was released when Lollipop launched.

Google recently made it easier to grab just the latest platform tools rather than download the whole Android SDK. I’ve written a small script to manually update them.

#!/bin/bash
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip \platform-tools-latest-linux.zip
sudo cp platform-tools/adb /usr/bin/adb
sudo cp platform-tools/fastboot /usr/bin/fastboot

Now run adb version to verify it’s been updated.

Copy & paste that into your favorite text editor like gedit or notepadqq and save it as a shell script and make it executable. When a new version of Android is released would be a good time to run it in case there’s new version of the platform tools.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s