ADB shell with RK3066
From wiki
You need to add those Udev rules in order to obtain an ADB shell on your RK3066/RK3188 device:
- Log in as root, and list the content of your USB bus with "lsusb", you should see a device with a device ID starting by "2207", the USB VendorID of Rockchip:
$ 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"
- And finally, get a shell on the device if you have activated "USB Debugging" on Android:
$ adb shell root@android:/ # cat /proc/cpuinfo Processor : ARMv7 Processor rev 0 (v7l) processor : 0 BogoMIPS : 1631.46 processor : 1 BogoMIPS : 1631.46 Features : swp half thumb fastmult vfp edsp neon vfpv3 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 Hardware : RK30board Revision : 0000 Serial : 0000000000000000