LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't connect Galaxy II to Mint 15 (laptop) (https://www.linuxquestions.org/questions/linux-general-1/cant-connect-galaxy-ii-to-mint-15-laptop-4175475919/)

NeXuS_2006 09-04-2013 04:18 PM

Can't connect Galaxy II to Mint 15 (laptop)
 
Hi. I have a Galaxy SII skyrocket (sgh-i727) with CM10.1.2 (android 4.2.2) trying to connect to Mint 15 x64. The phone won't mount as storage, and I can't make an adb connection to it (I'm trying to use it to debug apps via eclipse). I have an old HTC Aria/Liberty with CM7 that does work correctly.

When I plug the GII in, it starts to charge, says "connected as an installer" for a split second, then nothing. I don't see the debug icon in the notifications bar.

I try lsusb, the phone isn't listed there. If I do udevadm monitor, I get this when I plug it in, and there is no output when I unplug:

Code:

nexus@Lithium ~ $ sudo udevadm monitor
[sudo] password for nexus:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[117828.548808] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
KERNEL[117828.550147] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
KERNEL[117828.550481] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
KERNEL[117828.550556] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.550617] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.560510] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
UDEV  [117828.563425] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV  [117828.565583] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
UDEV  [117828.567626] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.569148] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.767745] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.767876] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
KERNEL[117828.767975] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
KERNEL[117828.768432] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.769058] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.769120] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.769573] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
UDEV  [117828.770360] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
UDEV  [117828.771036] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV  [117828.775560] remove  /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)

...so it seems to be connecting and then immediately disconnecting. This phone works on this same laptop (a dell latitude) under windows, both as a storage device and with eclipse.

Here are my udev rules:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev" --my HTC phone that works
SUBSYSTEM=="usb", ATTR[idVendor}=="04e8", MODE="0666", GROUP="plugdev" --my Samsung that doesn't

I don't really know where to go with this, but I'm hoping someone more familiar with udev can point me in the direction of a man page, forum thread, or bug solution :)

Matt

Edit 1:
Reading around the android dev site, it says I need adb version 1.0.31 to debug android 4.2.2 and above, which is what I have (correct versions of both). It says on connection, I should get a dialog on the phone to accept an RSA key and allow debugging, but I don't get this dialog. I assume this doesn't happen until the phone connects and adb tries to connect, but I thought the lack of dialog might be relevant?

business_kid 09-06-2013 03:42 AM

You have CM10, so it's rooted. run ssh over wifi - that's the lazy connection.


All times are GMT -5. The time now is 04:54 PM.