Difference between revisions of "Rock/linux adb"
< Rock
m (→ADB under Linux) |
|||
Line 37: | Line 37: | ||
== External reference == | == External reference == | ||
* http://linux-rockchip.info/mw/index.php?title=ADB_shell_with_RK3066 | * http://linux-rockchip.info/mw/index.php?title=ADB_shell_with_RK3066 | ||
+ | |||
+ | [[Category: Distributions]] | ||
+ | [[Category:Tutorial]] | ||
+ | [[Category:Android]] |
Revision as of 06:12, 9 September 2014
This page describes how to connect to Radxa Rock running Android via adb(Android Debugging Bridge).
Requirement
- Radxa Rock running android
- PC/Laptop running Linux 32bit/64bit(Ubuntu as an example)
- Micro USB OTG cable
ADB under Linux
First, install the adb tools:
sudo apt-get install android-tools-adb
Edit the udev file:
sudo gedit /etc/udev/rules.d/51-android.rules
paste this line:
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"
Save and exit gedit. Now run the following command to let the changes work
sudo udevadm control --reload-rules sudo udevadm trigger
Create the .android folder if it doesn't exsit:
mkdir -p ~/.android sudo gedit ~/.android/adb_usb.ini
Paste at end or in empty file
0x2207
Save and exit gedit.
Now run the adb command:
sudo adb kill-server sudo adb start-server
Should see device now connected, something like:
16EM8TBH0Z device