how to use adb tool on SAMSUNG GALAXY?

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

how to use adb tool on SAMSUNG GALAXY?

Postby skrj2e » Sun Jul 12, 2009 11:39 am

i got this new mobilephone this week in Germany, wanted to debug my
program on the device. but it doesn't work, "c:\> adb devices" lists
no device attached, though i have tried to change the
"android_usb.inf" in order to install the usb driver from SDK.
i added some entries as follows:


DeviceDescRelease%=androidusb.Dev, USB
%USB\VID_04E8&PID_6640&MI_01.DeviceDescRelease%=androidusb.Dev, USB
%USB\VID_04E8&PID_6640.DeviceDescRelease%=androidusb.Dev, USB

and [Strings]:

USB\VID_04E8&PID_6640.DeviceDescRelease="SAMSUNG GALAXY"
USB\VID_04E8&PID_6640&MI_01.DeviceDescRelease="SAMSUNG GALAXY
Composite ADB Interface"
USB\VID_04E8&PID_6640.DeviceDescRelease="SAMSUNG GALAXY Bootloader"

i got only one VID and one PID through
USBVIEW, though for HTC DREAM there are different PIDs used.
The adb interface got installed, but adb just didn't work.

later i also tried to use the device under linux, set up the device as in Dev guide:

If you're developing on Ubuntu Linux, you need to add a rules file:

1. Login as root and create this file: /etc/udev/rules.d/51-android.rules.

For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
2. Now execute:
chmod a+rx /etc/udev/rules.d/51-android.rules

"adb devices" listed nothing as well. : (

open a terminal on the device, with "ps", i guess the adb daemon "adbd" is running.
but the adb tool just doesn't work.

Can someone help?

thanks da
Once Poster
Once Poster
Posts: 1
Joined: Sun Jul 12, 2009 10:40 am


Postby Incognu » Mon Sep 07, 2009 2:48 pm

Samsung have a different device id.

# cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
# ls -al /etc/udev/rules.d/51-android.rules
-rw-r--r-- 1 root root 55 2009-09-02 15:39 /etc/udev/rules.d/51-android.rules

That works for me. But you need a patched adb.
I got mine from

You can probably google that link above, and find more information on why it needed patching (And in what version of the standard SDK it will work properly)

# file ~/bin/adb
/home/username/bin/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
# ldd ~/bin/adb => (0xf7f47000) => /lib32/ (0xf7f1c000) => /lib32/ (0xf7eea000) => /lib32/ (0xf7ed0000) => /usr/lib32/ (0xf7de1000) => /lib32/ (0xf7dbb000) => /usr/lib32/ (0xf7dac000) => /lib32/ (0xf7c49000)
/lib/ (0xf7f48000)
# md5sum ~/bin/adb
4459870b4be60af5eb83c13572c3e353 /home/username/bin/adb

Hope it helps.
Posts: 2
Joined: Mon Sep 07, 2009 2:35 pm


Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 9 guests