Android SDK ADB, fastboot for Ubuntu Installation


Used to flash images

  • apt install android-tools-fastboot

Boot smartphone into fastboot mode by holding down back button and powering on

  • fastboot devices
    • lists devices


Used to access a running android system

  • apt install android-tools-adb

On the smartphone anable usb debbugging in settings

  • adb devices
    • list devices
  • adb install /home/user/Download/xxx.apk
    • install a package
  • adb shell 'pm list packages -f'
    • list installed packages


For older Ubuntu Versions

  • sudo add-apt-repository ppa:nilarimogard/webupd8
  • sudo apt-get update
  • sudo apt-get install android-tools-adb android-tools-fastboot