ADB and Fastboot tools in Linux
ADB and Fastboot tools in Linux
Hi guys, wanted to know what is the replacement for adb and Fastboot tools to gain shell access to Android devices in Linux?
ADB and Fastboot tools in Linux
Hi guys, wanted to know what is the replacement for adb and Fastboot tools to gain shell access to Android devices in Linux?
ADB and Fastboot still work on Linux, e.g.: https://itsfoss.com/install-adb-fastboot-linux/
Should I install adb and Fastboot using apt or get sdk platform tools directly from google and extract that somewhere and run terminal from there
Generally, when you use apt
you're installing from your distro maintainer's software repository (aka Linux Mint), who will have personally vetted and compiled the software available. This is usually the best and most seamless option as it will continually update itself along with the rest of your system, but the software version from the repo may lag behind compared to the latest releases directly from Google. If you grab it manually from Google, it will be the latest version available, but it will be your responsibility to keep it updated.
LineageOS has a detailed wiki on this: https://wiki.lineageos.org/adb_fastboot_guide#installing-adb-and-fastboot (scroll down to "On Linux")
It worked well for me without messing with the udev rules.
@aprehendedmerlin
How to install ADB and Fastboot on Linux
You get adb and fastboot available in the default repository of almost every modern Linux distribution and it does not require any third-party repository.
So let's take a look at how those two packages can be installed on various Linux distributions.
For Ubuntu/Debian:
sudo apt install adb fastboot
Yeah I installed both FastBoot and ADB with apt thank you
I use ADB and fastboot as my replacement for ADB and fastboot in Windows.