Difference between revisions of "Rock/linux adb"
< Rock
Line 1: | Line 1: | ||
+ | {{rock_header}} | ||
{{Languages|rock/linux adb}} | {{Languages|rock/linux adb}} | ||
Latest revision as of 05:28, 6 January 2015
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