adb does not see devices connected to Apple Thunderbolt Cinema Display - android

If I plug my android devices directly into the usb port of my Macbook Pro, "adb devices" lists them properly.
However, if I instead plug them into the USB ports on my display (which is connected to my macbook via thunderbolt), "adb devices" reports no devices attached.
Is there a way to get adb to see devices that are connected to my display?

There should be no difference. I've tested a variety of devices and they are recognized if they are connected to the display's USB ports.
Check your cables.

The problem appears to be intermittent and may be related to if the laptop goes to sleep. Unplugging the display from the macbook, waiting for the macbook to sleep or refresh display, then plugging it back in seems to fix the problem.

Related

Trouble connecting to LG phone with adb (Mac OS X 10.7.5)

When I run adb devices there are no devices showing as connected. My device is a LG Optimus Exceed 2 running 4.4.2
There are many of these posts around, so here's what I've done:
I'm using the cord that came with the phone. It charges and tries to sync photos, so it isn't an issue here. Switching usb ports and trying a powered usb hub doesn't affect it either.
I've added the vendor id (0x1004) to ~/.android/adb_usb.ini
Restarted and unplugged any combination of things you can think of
USB Debugging is on. And has been restarted. Same with Unknown sources.
I have never used EasyTether, nor is it installed anywhere on my computer.
Updated adb, updated my sdk.
Restarted adb server
Tried installing LG's drivers: http://www.lg.com/us/support-mobile/lg-VS450PP (They say they don't support Mac S/W upgrade, yet they have a package to install. No help there)
I have a Nexus S running 4.1 that works, and an old LG phone running Gingerbread that connect.
Any wizards out there who've already struggled with this who have advice?
I tried all of the connection types (charge, MTP, PTP) but perhaps not "Internet Connnection, modem"? You can change it by pulling down the system-wide drop down menu and touching "USB connection".
This is how I fixed it, but I thought I'd tried this already, so I can't guarantee it wasn't this in conjunction with one of the things done above.
PTP seemed to do the trick. Never had to do that on any other device...
I had the exact same problem. Selectin Internet Connection and then Ethernet as the USB connection type fixed it and everything is working as expected now.
I know this sounds like a stupid answer, but the same thing happened to me. It turns out the micro USB cord was just bad - which is weird, because it still charged the phone perfectly fine. After testing the bad cable unsuccessfully on a phone that had been recognized on my mac before, I switched to a different micro USB cable, and that made all the difference.
This is late in the game but I had an additional step to all the other suggestions. The phone was showing up in the System Profiler after I switched the usb mode to 'MTP' mode, but I didn't see any usb tethering options. After adding the phone's vendor ID to the usb ini file, enabling the developer and usb debugging, killing and restarting adb, I still didn't see my device in adb devices.
I finally had to download the Mac driver for the phone directly from LG.com. After installing and rebooting on the computer, the device showed up in adb devices.

how come my android devices are not visible on my Mac?

I'm new to android development so apologies if this is a stupid question.
I'm having trouble seeing my android devices in Eclipse. I've switched on USB debugging, configured them to connect as a camera not mass storage, but when I run ./adb devices, there's no device showing, even though I have a Samsung Galaxy and a LG Nexus connected via USB. On both phones I get a notification saying "USB debugging connected" and "connected as a camera" so the phone obviously thinks it's connected.
The problem appears to be intermittent. Sometimes the Galaxy shows up:
Macbook:~/workspace/android-sdks/platform-tools ./adb devices
List of devices attached
3334AB246B5200EC device
Then I unplug and reconnect it, and it disappears.
I've tried 3 cables and 2 devices now. Should I just give up and use an emulator instead?
I had to download the Android File Transfer mac application, and then it worked fine. I also had to use the right USB cord -- some don't have a data channel.
I know your problem is intermittent and as Jim says, restarting Eclipse helps when unplugging the usb and plugging it in again doesn't help. I did however find this extremely helpful detecting a new device: adb not finding my device / phone (MacOS X). Give this a shot for your already discovered devices, to see if that helps.
Sometimes adb fails to recognize devices properly.
Try "adb kill-server" and then "adb devices"

Android Phone stopped notifiying about usb connection with PC

I've a Samsung Galaxy S2 device which I had been using for Android development through adb for almost two month. A few days ago it just stoppt detecting the usb connection with my Thinkpad T420. Here are the odd facts:
problem appears only on this single laptop but across operating systems (multi-boot): windows 7, fedora 15, ubuntu 11.04; they all worked fine before
the device in question charges but does not show the "usb connected" notification
there are no udev events at all (checked with shell command 'udevadm monitor')
an other Samsung Galaxy S2 and other usb devices are working fine with the same cable on the same usb-port
the device in question works as expected with other computers (OSX and Ubuntu), eg. shows the 'usb connected' notification and can be mounted or used with adb
Are there other options then to try a full factory reset?
By pure luck I plugged the cable into the device while the Android OS was switching to offline mode (selected from the menu which appears when long-pressing the power button). That did the trick!
After some experiments I can verify using the transitions between offline and online mode to plug the cable into the PC is a workaround -- not a fix to the problem.

Adb Devices can't find my phone [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am trying to get adb to see my Samsung Fascinate phone so that I can install my Android apps via usb to the phone. I am using osx 10.6.7.
When I run "adb devices" it does not list my device and "adb usb" says "device not found".
USB debugging is enabled and I have tried connecting in storage mode as well as media mode. When I am in storage mode I can see the phone's drive in Finder so I know that the usb connection works, however adb still can't find it.
I read that for Mac there are no usb drivers, that it's just supposed to work, but this doesn't seem to be the case.
Any suggestions?
Try doing this:
Unplug the device
Execute adb kill-server && adb start-server(that restarts adb)
Re-plug the device
Also you can try to edit an adb config file .android/adb_usb.ini and add a line 04e8 after the header. Restart adb required for changes to take effect.
I have a Samsung Galaxy and I had the same issue as you. Here's how to fix it:
In device manager on your Windows PC, even though it might say the USB drivers are installed correctly, there may exist corruption.
I went into device manager and uninstalled SAMSUNG Android USB Composite Device and made sure to check the box 'delete driver software'. Now the device will have an exclamation mark etc. I right clicked and installed the driver again (refresh copy). This finally made adb acknowledge my phone as an emulator.
As others noted, for Nexus 4, you can also try this fix.
I did the following to get my Mac to see the devices again:
Run android update adb
Run adb kill-server
Run adb start-server
At this point, calling adb devices started returning devices again. Now run or debug your project to test it on your device.
I have a ZTE Crescent phone (Orange San Francisco II).
When I connect the phone to the USB a disk shows up in OS X named 'ZTE_USB_Driver'.
Running adb devices displays no connected devices. But after I eject the 'ZTE_USB_Driver' disk from OS X, and run adb devices again the phone shows up as connected.
I just spent half a day trying to connect my various Android devices to my MacBook Pro (running 10.8.2). It turns out to have been a Micro USB cable problem. I have many Micro USB cables, but only the one that came packaged with my Galaxy Nexus works to connect the phones to my computer. I don't know if this is due to damage, or some proprietary manufacturing, but please remember to try connecting the phone with the cable that was packaged with it.
I have a Fascinate as well, and had to change the phone's USB communication mode from MODEM to PDA. Use:
enter **USBUI (**87284)
to change both USB and UART to PDA mode. I also had to disconnect and reconnect the USB cable. Once Windows re-recognized the device again, "adb devices" started returning my device.
BTW if you use CDMA workshop or the equivalent, you will need to switch the setting back to MODEM.

Android Phone is not recognized on Ubuntu/Windows via USB

I am using Samsung Galaxy 3. I have turned on the debug option and have connected the phone via usb to ubuntu/windows but the phone is simply not recognized.
It was working perfectly fine i.e. recognized on ubuntu for me to work with Eclipse, until I decided to reboot the phone with usb still connected to the computer.
I have tried rebooting the phone multiple times and everytime, when I plug in the usb, it simply charges and no notification of usb connection ever shows up. What am I doing wrong here? Please help.
try using a different USB cable.
I had a similar issue where my phone had previously connected just fine, but months later it wasn't recognized...
turns out the cable I was using was a "charging only" cable and did not transmit data.

Categories

Resources