wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
or
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz tar xvf android-sdk_r24.4.1-linux.tgz cd android-sdk-linux ./tools/android # install SDK Platform-tools ./platform-tools/adb devices ./platform-tools/adb push /tmp/cm-12.1-20150816-NIGHTLY-d802.zip /cache/ ./platform-tools/adb shell sha1sum /cache/cm-12.1-20150816-NIGHTLY-d802.zip exit ./platform-tools/adb reboot recovery