7

I have a Samsung Galaxy Tab. When I type "adb devices" or "adb shell", it works while the tablet is booting up - showing the Samsung logo or animation - but once the orange lock screen shows, the connection breaks and adb exits. I've tried unplugging and plugging the USB cable, fiddling with settings and configurations,

According to answers to other questions I've asked, adb ought to work just fine anytime the tablet is on. Maybe for others, but not for me.

Hint: it's not anything to do with udev. I took care of the udev rules thing along ago. Here is my udev rules file:

=> cat /etc/udev/rules.d/80-gtab.rules
# Samsung GT-P7510/Galaxy Tab 10.1
ACTION!="add", GOTO="gtab_rules_end"
SUBSYSTEM!="usb|usb_device", GOTO="gtab_usb_end"
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", SYMLINK+="gtab" MODE="777"

I've restarted udev with "cd /etc/init.d ; ./udev restart" (or something similar) and I see /dev/gtab, created by this udev rule. I've tried other rules that don't involve /dev/gtab, different variations found on the web.

One time, the app gmtp actually ran, let me see the file system and copy many files, so I know it's possible. I don't recall exactly what I did to make it happen. But I have been using the exact same udev rule file ever since.

I've been googling and experimenting for over a month now, and except for that one lucky time, haven't gotten adb to work reliably.

Main question: What are some ways to diagnose this problem of the usb connection breaking when the tablet gets past boot-up?

3
  • 5
    Possibly a stupid question, but it is sometimes the simplest things we overlook. But have you got USB Debugging turned on in the tablet's options? That is a requirement for using ADB while the OS is running on most devices.
    – GAThrawn
    May 4, 2012 at 10:08
  • Yes, that's turned on.
    – DarenW
    May 4, 2012 at 15:05
  • Does USB debugging connected icon appears when plugging USB cable? Are you able to connect using gmtp every time? If not, maybe you have faulty USB cable, can you try another one? If the cable is ok maybe factory reset will help... May 24, 2012 at 10:48

2 Answers 2

1

If you have WiFi access in your place and the tablet is rooted, you can try adbWireless to see if adb runs well in your tablet. If it works then the problem may be your broken usb cable or usb connector.

1

Are you in the groups permission to access this, on mine (arch 64bit) its

SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1354", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1350", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1351", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1352", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0112", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="681d", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="689e", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"

and my user id is under the group called 'androiddev'

To add your user id to the group, sudo usermod user_id -G androiddev -a

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .