n3t_admin GarpheneOSNutzer I have no idea what is happening. If you run fastboot --version - does it show anything?
GarpheneOSNutzer When I enter the command “fastboot --version,” nothing is displayed. It probably wasn't installed.
GarpheneOSNutzer GarpheneOSNutzer mv: Unable to call stat for ‘/home/linux/Downloads/platform-tools/adb’: File or directory not found
n3t_admin GarpheneOSNutzer if you go to that directory in your file manager (so that's /home/linuxDownloads/platform-tools) - do you see adb or fastboot in there?
GarpheneOSNutzer n3t_admin Then I only see the zip file: platform-tools-latest-linux.zip But no unzipped file.
n3t_admin GarpheneOSNutzer okay, unzip it. Go to that unzipped directory in your terminal (so that should be /home/linux/Downloads/platform-tools). Run an ls -la and post the output pls.
GarpheneOSNutzer 0.zip drwx------ 3 linux linux 4096 Jan 30 2024 .pki drwxrwxr-x 3 linux linux 4096 Sep 9 21:56 platform-tools -rw-r--r-- 1 root root 7904253 Sep 9 21:29 'platform-tools-latest-linux.zip?hl=de' -rw-rw-r-- 1 linux linux 1449 Sep 9 18:00 platform-tools-r35.0.2-linux.zip -rw-rw-r-- 1 linux linux 7472902 Sep 8 22:09 platform-tools_r35.0.2-linux.zip
n3t_admin GarpheneOSNutzer cd into the platform-tools directory please, I asked for the output inside of there actually.
GarpheneOSNutzer linux@Linux:~$ cd platform-tools linux@Linux:~/platform-tools$ ls -la insgesamt 17564 drwxrwxr-x 3 linux linux 4096 Sep 9 21:56 . drwxr-x--- 34 linux linux 4096 Sep 9 18:10 .. -rwxr-xr-x 1 root root 8709272 Jan 1 2008 adb -rwxr-xr-x 1 root root 306088 Jan 1 2008 etc1tool -rwxr-xr-x 1 root root 2804592 Jan 1 2008 fastboot -rwxr-xr-x 1 root root 13496 Jan 1 2008 hprof-conv drwxrwxr-x 2 linux linux 4096 Sep 9 21:56 lib64 -rwxr-xr-x 1 root root 271672 Jan 1 2008 make_f2fs -rwxr-xr-x 1 root root 271672 Jan 1 2008 make_f2fs_casefold -rwxr-xr-x 1 root root 986608 Jan 1 2008 mke2fs -rw-r--r-- 1 root root 1157 Jan 1 2008 mke2fs.conf -rw-r--r-- 1 root root 1107870 Jan 1 2008 NOTICE.txt -rw-r--r-- 1 root root 38 Jan 1 2008 source.properties -rwxr-xr-x 1 root root 3475056 Jan 1 2008 sqlite3 linux@Linux:~/platform-tools$
n3t_admin GarpheneOSNutzer okay, perfect. adb and fastboot are there. Just stay in this directory, we're almost there. Now run sudo cp adb /bin/adb and post the output (if any). Or just try to confirm it's installed by running adb --version
GarpheneOSNutzer linux@Linux:~/platform-tools$ sudo cp adb /bin/adb [sudo] Passwort für linux: linux@Linux:~/platform-tools$
GarpheneOSNutzer linux@Linux:~/platform-tools$ adb --version Android Debug Bridge version 1.0.41 Version 36.0.0-13206524 Installed as /usr/bin/adb Running on Linux 5.15.0-153-generic (x86_64) linux@Linux:~/platform-tools$
n3t_admin GarpheneOSNutzer awesome. Run the last one: sudo cp fastboot /bin/fastboot and you should be good!
GarpheneOSNutzer linux@Linux:~/platform-tools$ fastboot --version fastboot version 36.0.0-13206524 Installed as /usr/bin/fastboot linux@Linux:~/platform-tools$
GarpheneOSNutzer Amazing! It's up and running!!! Awesome, thank you so much, I couldn't have done it without you, I'm so happy. Is it normal for the installation to be so complex?
n3t_admin GarpheneOSNutzer usually, not at all. The CLI install certainly requires some prior knowledge about Linux and its FHS. I don't have a clue why the command just wouldn't run, maybe read/write permissions are different on Mint compared to Debian. At least you should be up and running to proceed with the install script now ^^