• 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

i cant seem to get this to work
?
i followed all the steps,
and nada
i am using revision 5 of the sdk,
i have the 1.6 firmwire on the phone

what do you guys think is the prob?
 
There is a lot of variation in the steps to follow, even in this thread. Can you be more specific about what you actually did and at what points you are having troubles?
 
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.
 
If this doesn't work for you for fastboot (wasn't working for me), try putting this in 50-android.rules:
Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="d00d", MODE="0666", OWNER="owner"
Where owner is your username.

And reload your udev rules:
Code:
reload udev

Anyone have a consolekit/policykit integrated rule yet?
 
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?
 
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!
 
oh wait, it's only supposed to print something if the phone is in recovery mode, right? i do get the ????? response shown in the first post if i have booted in recovery mode.

i'm new to this :/
 
Sorry to bump an old thread, but this howto doesn't seem to work for the Epic 4G. Does anyone have adb/fastboot working for this phone? My distro is Debian sid. adb works great under OS X, btw.
 
Another job for DaSchmarotzer (do your magic).

Btt, sorry friend can't help you there, this IS a Galaxy I7500 thread and I'm sure that no one here has the same phone like you (I'm sorry, if I guessed wrong). Maybe someone on Epic 4G part of the forum can help you. Try your luck there.
 
This post in awesome. I was a huge help to setup my Captivate to connect with Ubuntu 11.04 as a mass storage device. Massive Big-ups, my youth.
 
Code:
apt-get install ia32-libs
helps!
Why they didn't build for 64 bit? :(

Awesome! Thanks for posting this, I was going insane. The "no such file" error is very misleading, that wasn't the problem at all. Just goes to show you, you can't trust the machines *glares at computer*.
 
all install went off without a hitch

toews@kidlapp:~/android-sdk-linux_x86/tools$ adb devices
List of devices attached

and that's all it returns....

any ideas ty!! :)

ps. amaze post!! ty
 
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
 
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
$
 
Back
Top Bottom