≡ Menu

ADB on VMWare Fusion || CentOS

A note to myself really, I was trying to get ADB to run on both my CentOS 5.5 machine and a VMWare Fusion Virtual Machine running Ubunto. Both flavors of linux protested my using adb with something along the lines of:

majer@ubuntu:~/android$ sudo ~/bin/adb devices
List of devices attached ????????????    no permissions
 

After a considerable amount of digging I found the one line change that needed to be made on both OSes. Add the following to /etc/udev/rules.d/51-android.rules:

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

And then restart the adb services with a:

[majer@ubuntu:~/android/] sudo ~/bin/adb kill-server
[majer@ubuntu:~/android/] sudo ~/bin/adb start-server

The adb command will work as expected now.

>>> Karl