Problem with Android platform-tools (adb) in Bookworm

I’m trying to de-Google my phone, but after installing Android’s platform tools and cd-ing into the directory ls shows adb is present and using thunar (I use xfce DE) it shows adb as being executable in properties, but when try to run it, Bash says adb: command not found.
all help appreciated as it’s a long time since I needed to use a terminal.

3 Likes

Hi, @Davdi :slightly_smiling_face:
Welcome to the forums!

1 Like

Hi @Davdi welcome to the forums.

Try running it from the current directory:

./adb

Linux does not usually run programs from the current folder unless you prefix them with ./

So if you are inside the platform-tools directory, use:

./adb devices

If that works, keep using or add platform-tools to your PATH so adb works from anywhere.

4 Likes

De-Googling an Android phone is never, IMO, a simple task. Perhaps a different approach may achieve the objective in a more effective manner? Look into various Linux based phones such as Jolla.com, Pine. Murena or even Pixel with graphene. Judging by Googles plans (https://keepandroidopen.org/) this may be almost impossible in future using Android.

4 Likes

Bookworm ha ?
sudo apt install adb fastboot
if you compile it yourself chmod then ./adb
or make local path

you seem new to the linux world hello :waving_hand:

4 Likes

Many thanks for the reply, I’ve not used ADB for many years, and rarely need to use a teminal.

3 Likes