Hi guys, wanted to know what is the replacement for adb and Fastboot tools to gain shell access to Android devices 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
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.
Thanks So it’s Downloading Android sdk platform tools from google extracting it somewhere and adding the path to it to system. I remember I did something similar on windows too. from what others said it seems to be either this or installing them with apt.
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.Just a nitpick: the version will let behind in all Debian-based distros, there’s no “may” about it. Any software that is still receiving regular updates will have a much older version in the distros’ apt repositories, often even several years old. It might still be fine - apt is a good example, the old version can almost definitely do everything you need - but it’s important to be aware of this.
Thank you. I got it