chromeos-adb-fastboot
chromeos-adb-fastboot copied to clipboard
displaying errors
I was getting these errors after installation,
chronos@localhost /home/user/"my account" $ adb --version shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor bash: /usr/local/bin/adb: cannot execute binary file: Exec format error
and
chronos@localhost /home/user/"my account"/ $ fastboot --version shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor bash: /usr/local/bin/fastboot: cannot execute binary file: Exec format error
i was actually able to solve the issue by cd into /user/local/bin/ and making it adb and fastboot executable with chmod +x then undoing it with chmod -x and then when I ran adb --version or fastboot --version it displays the version.
What does uname -m
output?
Also, those binaries should be executable, removing that bit is probably just causing the system adb
and fastboot
to be used (as I believe Chromebooks ship with copies of those in /usr/bin
) but I could be wrong.