• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [HOWTO] Linux ADB, fastboot, mass storage

Well, this binary was in this howto before the new SDK release which was supposed to have Galaxy detection problem fixed. Sometimes it worked for me, sometimes not - it's possible that it worked on 1.5 Galaxo and didn't on 2.1 GAOSP and 1.6 Galaxo (it doesn't work in 4.6 and 5.0 recovery too, but fastboot is ok). Anyway thanks for the clue as it works for me now at 1.6 Galaxo ;) updating howto.
 
Upvote 0
And fixed, sorry for freaking out guys, works great. Thank you everyone for the help!

how did you fix it?
I'm getting this with strace
confiq@confiq-bigcomp:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/confiq/android/android-sdk-linux_86/tools:/home/confiq/android/android-sdk-linux_86/tools/:/home/confiq/android/android-sdk-linux_86/tools
confiq@confiq-bigcomp:~$ strace adb
execve("/home/confiq/android/android-sdk-linux_86/tools/adb", ["adb"], [/* 37 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f59154e3000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(0x7f59154e3000, 4096) = 0
exit_group(1) = ?
confiq@confiq-bigcomp:~$ file /home/confiq/android/android-sdk-linux_86/tools/adb
/home/confiq/android/android-sdk-linux_86/tools/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
confiq@confiq-bigcomp:~$ adb
bash: /home/confiq/android/android-sdk-linux_86/tools/adb: No such file or directory
It's interesting it did work few days ago :(
using ubuntu 64bit 10.4 and it's not 32/64 bit related.
ideas?
 
Upvote 0
hello guys,

thanks for the HOWTO! alas it's not working for me. after modifying the udev rules as above i have working adb but not fastboot. viz:

$ adb devices
List of devices attached
I75009t3k6ty device
$ fastboot devices
$

(ie. nothing returned at all)

i'm not sure what information to post that might by useful :-/

i tried making the modifications to 50-android.rules as suggested by screeminbug, but it didn't help.

any ideas anyone?

thanks!
 
Upvote 0
And fixed, sorry for freaking out guys, works great. Thank you everyone for the help!

Did he every say how this issue was fixed?
I just did a fresh install of the sdk and now I have the issue

sposaro@mobicommand:~/android-sdk-linux_x86/platform-tools$ ./adb
bash: ./adb: No such file or directory

Any help? I've never seen this issue before.

Thanks
 
Upvote 0
Did some googling and found a post on an ubuntu forum that had fastboot in a post. Worked on my Mandriva 2010 install. Only problem now is adb devices sees my phone but fastboot returns nothing, no errors, not nothing. Any ideas? Thanks.
$ adb devices
List of devices attached
HT0ALHJ11526 device

$ fastboot devices
$
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones