Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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?

share|improve this question
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 '12 at 10:08
    
Yes, that's turned on. –  DarenW May 4 '12 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... –  Paweł Nadolski May 24 '12 at 10:48
add comment

2 Answers 2

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.