2

I'm having a huge problem with my android samsung galaxy tab 7".

Whenever I try to connect it to my computer, instead of showing normally in my adb devices, the name of the device is : ????? and it status is online or device.

I really don't know what is the problem, any help would be really appreciated. If you need more info, I would be happy to give it.

Ubuntu : 11.04

Device : Samsung galaxy tab 7"

Android version : 3.2 HoneyComb

I also added the rules in /etc/udev/rules.d/51-android.rules

Thank you very much!

3
  • Possible duplicate: stackoverflow.com/questions/9134953/… Commented May 28, 2012 at 20:34
  • nope, the answer is not working for me... Commented May 28, 2012 at 20:36
  • 1
    See also forum.xda-developers.com/showthread.php?t=1428610. After you do that, force a restart of the adb service with adb kill-server, then adb devices to restart it and list the devices. I had to manually kill adb sometimes after I make configuration changes. Commented May 28, 2012 at 20:49

3 Answers 3

5

There might be a problem with your USB device vender id.

Try different device ids as available in Android documentation (http://developer.android.com/tools/device.html). Many devices are recognized using Google (18d1). All other things are simple. Just Create a file:

sudo gedit /etc/udev/rules.d/51-android.rules 

and add:

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" 

then run:

sudo chmod a+r /etc/udev/rules.d/51-android.rules 

Then plug your device into PC with USB debugging OFF, after connecting, turn USB debugging ON and goto:

cd <sdk_path>/platform-tools 

and run:

./adb devices 

You'll see a device with some code excluding emulator (if running). That's it! Now you can test your apps in your real device. While running, SDK will offer you to choose device if simulator is also running.

Sign up to request clarification or add additional context in comments.

Comments

2

When this happens to me, I have to restart adb as follows:

$ adb kill-server $ sudo /path_to_android_sdks/android-sdks/platform-tools/adb devices

I have this as a short script which I execute whenever I get the "?????" device showing up. Works every time for me.

Comments

1

Ghazi's response was useful but I had to do it in a different way on my Ubuntu 12.04. I had to change GROUP to OWNER="your username on ubuntu" and then it worked.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.