Opened 14 years ago
Last modified 8 years ago
#6620 closed defect
Android debugger bridge does not work over USB — at Version 7
Reported by: | Tim W | Owned by: | |
---|---|---|---|
Component: | USB | Version: | VirtualBox 4.1.14 |
Keywords: | adb | Cc: | timw@… |
Guest type: | Windows | Host type: | Linux |
Description (last modified by )
Firstly thank you for making VirtualBox. It is a truly amazing piece of software. I have noticed in both VirtualBox 3.1.6 and 3.2 beta that I am unable to use adb to connect to a usb device through virtualbox. I am using Lucid Lynx Linux 64bit host with a Windows XP 32-bit guest. The XP guest has the android sdk installed and I am trying to use adb to debug the device. I can connect the device and the adb drivers can be installed. Furthermore the command "adb devices" reveals that adb detects the device (tested on both a HTC Hero and X10). However commands such as "adb logcat" and "adb shell" result in adb printing "- waiting for device -" forever.
E.g: C:\android-sdk-windows\tools>adb devices List of devices attached CB511ED1D8 device
C:\android-sdk-windows\tools>adb logcat
- waiting for device -
- waiting for device -
- waiting for device -
- waiting for device -
...
Change History (8)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Same problem with VirtualBox 4.0.8 and Debian Wheezy as Host, Windows 7 as guest
comment:3 by , 13 years ago
Just looking for an answer to this problem myself... turns out, turning off USB 2.0 allows me to connect with adb.exe shell. Maybe someone can confirm?
1) close the virtual machine 2) in settings>USB, uncheck the 2.0 box 3) start vm 4) open cmd, try running adb.exe shell from adb directory.
comment:4 by , 12 years ago
Still not fixed: tried disconnecting, reconnecting, switch etc. to no avail
usb 2.0
Android mass storage device works
adb devices shows the Android phone,
but it is "offline" and adb shell and adb logcat don't work
usb 1.0
Android mass storage does not work.
adb devices shows nothing
Please fix this!
comment:5 by , 12 years ago
VirtualBox: 4.1.8 r75467
Host: Windows 7 Ultimate 64-bit
Guest: Windows XP Professional SP3
USB 2.0 EHCI setting is enabled:
'adb devices' lists the connected device
'adb -d logcat' loops spawning '- waiting for device -'
USB 2.0 EHCI setting is disabled:
'adb devices' lists the connected device
'adb -d logcat' output the device log
and other ADB functionality basically works.
comment:6 by , 12 years ago
I think I have the same problem here: Windows 7 64bit guest on Ubuntu 11.10 host. VB 4.1.10
I haven't tried with adb directly, but I'm using Flash Builder 4.6 on the guest and trying to debug an AIR app on Android. No way to get it to work. It lists the device but says it is "offline".
comment:7 by , 12 years ago
Description: | modified (diff) |
---|---|
Version: | VirtualBox 3.1.6 → VirtualBox 4.1.14 |
Replying to tw33:
Same problem here with VirtualBox 3.2.8 r64453 and ubuntu 10.10 as Host, Windows XP as guest