Since you refer to a step by step guide already ⌠Where do you start having problems with it?
And since /usr/bin/fastboot sounds like Linux ⌠which Linux do you use?
And since /usr/bin/fastboot sounds like this fastboot was installed via means of the Linux you use (following the guide fastboot doesnât end up there, I think) ⌠canât you just (depending on which Linux you use)
⌠or reinstall adb and fastboot via your Linuxâs graphical software install center?
Just a quick tip: When you first open the Linux terminal, it starts you in the home directory (i.e. the one called by your user name). That means, if I understand what you typed, you would not start your command by typing â/homeâ since youâre already there.
From the home directory, to change to a different directory, for instance ânoaxâ, you would type cd noax and then hit the enter key, which means âchange directory to noax.â Or cd noax/platform-tools to go deeper in the directories.
Once youâre in the directory you want, then execute the appropriate commands.
To return to a previous directory, type cd and then enter.
To avoid having to type the above commands every time you can add the location of the folder where you save the extracted platform tool file to you system configuration
On Ubuntu systems
Type the below command to you .bashrc file
You will be able to see the .bashrc file which are hidden files by pressing on your keyboard ctrl and h keys
export PATH="$HOME/platform-tools:$PATH"
here we have assumed you have saved the downloaded files to a folder named platform-tools and this is in your home directory
After this you should be able to access adb and fastboot by typing only the below commands in a console
adb devices
or
fastboot devices
I have copy that in the file but the fastboot still is not reconizing the device. If I use the command
Yes I did it cause the other on from e/ was not evn working to.
Should I start from 0 again?
I have uninstall the adb fastboot now again. And now I try to open from the file platform-tools the adb and adb devices and it says that bash : /usr/bin/ad no such file or directory
I have just found how to do it :
1.Extract the zip of the adb/fastboot in home
2.write in terminal :
cd platform-tools
sudo install adb /usr/bin/adb
sudo install fastboot /usr/bin/fastboot
And you will be able to use the last update of adb/fastboot tools
One problem with your method is that you have considered adb and fastboot, but have you considered all the other components of platform-tools?
I think it would be quite a good exercise to check out what you have wound up with. The following will help to try to check if any duplicates remain from your novel method. I suggest you read this link to become familiar with what I propose. https://linuxize.com/post/linux-which-command/.
I suggest you run:
echo $PATH
which -a adb
which -a fastboot
The output of the above will determine your next move. But I recommend you also check the version of adb and fastboot that you are going to be available. Version checking is a good way to determine that any command is actually available to you.
noax@noax:~$ echo $PATH
/home/noax/.local/bin:/home/noax/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
noax@noax:~$ which -a adb
/usr/bin/adb
/bin/adb
noax@noax:~$ which -a fastboot
/usr/bin/fastboot
/bin/fastboot
noax@noax:~$ adb version
Android Debug Bridge version 1.0.41
Version 32.0.0-8006631
Installed as /usr/bin/adb
noax@noax:~$ fastboot --version
fastboot version 32.0.0-8006631
Installed as /usr/bin/fastboot
noax@noax:~$
It was a good point of what to do with the other files.
Ok, so what to do next then?
What I did has help me to use adb and fastboot recognize the phone again. While I had the platform-tools extracted and copy paste the line in the bashrc, it was keeping saying in the terminal that was not such a file or directory in usr/bin
So we see duplicates in /usr/bin/ and /bin/. Notice that the usr/bin commands are taking preference. I wonder, what is the source of /bin/adb and /bin/fastboot?
what to do next then?
My reply would have to include that imho the instuctions we are using should include a sentence to say something like this.
If you have no platform-tools on your Linux machine go ahead and provide them as follows.
If platform-tools already exist on your machine you will need to consider if you are sufficiently expert to run two sets of identical commands.
If you donât want to be compromised by duplicates please read your distributionâs instructions and fully uninstall the system platform-tools or android-tools as appropriate, before you start this process.
I think you will have learned quite a lot in this process. For the safety of any phones you are about to connect I would recommend you seriously consider undoing all you did and try to get /e/ method right, so that all platform-tools components are from the âsame setâ.
noax@noax:~$ /bin/adb version
Android Debug Bridge version 1.0.41
Version 32.0.0-8006631
Installed as /usr/bin/adb
noax@noax:~$ /bin/fastboot --version
fastboot version 32.0.0-8006631
Installed as /usr/bin/fastboot
noax@noax:~$
Seems that comes from the same platform-tools
I am in Ubuntu and I have apt unistall the packeage of Ubuntu.
noax@noax:~$ cd /bin
noax@noax:/bin$ ./adb version
Android Debug Bridge version 1.0.41
Version 32.0.0-8006631
Installed as /usr/bin/adb
noax@noax:/bin$ ./fastboot --version
fastboot version 32.0.0-8006631
Installed as /usr/bin/fastboot
noax@noax:/bin$
Good, so if you now use a file manager and look in /bin do you see that adb and fastboot there are in fact symbolic links to /usr/bin? If you confirm that you will know you do not seem to have old âsystemâ versions left behind.
How do you propose to undo sudo install adb /usr/bin/adb sudo install fastboot /usr/bin/fastboot
from Post #13 ?