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"

m (ADB under Linux)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{rock_header}}
 
{{Languages|rock/linux adb}}
 
{{Languages|rock/linux adb}}
  
Line 37: Line 38:
 
== 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]]

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

External reference