Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/linux adb"

(ADB under Linux)
m (ADB under Linux)
Line 21: Line 21:
 
Now run the following command to let the changes work
 
Now run the following command to let the changes work
 
     sudo udevadm control --reload-rules
 
     sudo udevadm control --reload-rules
 +
    sudo udevadm trigger
 
Create the .android folder if it doesn't exsit:
 
Create the .android folder if it doesn't exsit:
 
     mkdir -p ~/.android
 
     mkdir -p ~/.android

Revision as of 00:22, 28 June 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

External reference