Android/공통

Rockchip adb 를 ubuntu 에 추가하기.

bumnux 2015. 4. 16. 17:55
$ lsusb
Bus 002 Device 023: ID 2207:0010
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

In this case, the description of the device (a Vido N70 tablet in this case) was left empty.

  • Download and install the Android SDK. Or, alternatively, just download adb from an Ubuntu Linux with this command:
  sudo apt-get install android-tools-adb
  • Log in as root and create the file "/etc/udev/rules.d/51-android.rules" with the following content:
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"
  • As root, restart udev with "udevadm control --reload-rules"
  • Log in with your normal unix user, and edit ~/.android/adb_usb.ini, add 0x2207 at the end of the file
  • As user, restart the adb server with "adb kill-server; adb start-server"
  • As user, you should be able to list your device with "adb devices"