5
submitted 1 month ago by [email protected] to c/[email protected]

Hi guys, wanted to know what is the replacement for adb and Fastboot tools to gain shell access to Android devices in Linux?

top 11 comments
sorted by: hot top new old
[-] [email protected] 8 points 1 month ago
[-] [email protected] 1 points 2 days ago

Thanks for that (not the OP)

[-] [email protected] 1 points 1 month ago

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

[-] [email protected] 3 points 1 month ago

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.

[-] [email protected] 1 points 1 month ago

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.

[-] [email protected] 3 points 1 month ago

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.

[-] [email protected] 1 points 1 month ago

Thank you. I got it

[-] [email protected] 1 points 1 month ago

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.

[-] [email protected] 2 points 1 month ago

@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

[-] [email protected] 1 points 1 month ago

Yeah I installed both FastBoot and ADB with apt thank you

[-] [email protected] -1 points 1 month ago

I use ADB and fastboot as my replacement for ADB and fastboot in Windows.

this post was submitted on 05 Jun 2025
5 points (100.0% liked)

Linux Mint

2596 readers
2 users here now

Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.

Want to see the latest news from the blog? Set the Firefox homepage to:

linuxmint.com/start/

where is a current or past release. Here's an example using release 21.1 'Vera':

https://linuxmint.com/start/vera/

founded 4 years ago
MODERATORS