How to make ADB and Fastboot executable

Hi, I am using ADB and Fastboot to install costum roms on my android phone. In debian based distros it was quite easy to use ADB and Fastboot - you just had to install Android SDK Tools. After setting up clearlinux, I did install the Android SDK Tools as a flatpak, but it seems, that I cannot use ADB and Fastboot now via my terminal. Can anyone give me a hint, how I might be able to get ADB and Fastboot working in clearlinux?
Thanks!

I would suggest not using flatpak but just downloading the official zip files from Google instead, then you have access to all the subtools that are in these archives.

Thanks, how do I get access to the subtools by using a zip file?

You can view a previous post:

Thanks - that did work out!

If I may reopen this case. Unfortunately running adb from did not work out. It highlights: no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]
I think thats what you mentioned with add udev rule. I am unfortunately not aware how I can add a udev rule under /etc/udev/rules.d. Can you maybe help me out how to perform this?

You can follow the instructions here: https://wiki.archlinux.org/index.php/Android_Debug_Bridge#Usage

There is also a compiled list of udev entries for various devices in this GitHub repo that you can reference: https://github.com/M0Rf30/android-udev-rules/blob/master/51-android.rules

Thanks for your reply, but I am not able to understand the instructions in the links you did send me. I mean - can I install android-udev under clear linux? I am generally also not aware what udev entries are. Am not a professional, just an interested user…

$ cd /tmp/
$ curl -O https://raw.githubusercontent.com/M0Rf30/android-udev-rules/master/51-android.rules
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 22048  100 22048    0     0  95034      0 --:--:-- --:--:-- --:--:-- 95034
$ sudo mkdir -p /etc/udev/rules.d
$ sudo mv 51-android.rules /etc/udev/rules.d/
1 Like

Thanks! Will keep you posted, if it works out.