bc10/ADB on bc10
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
]
Start:
[[bc10]]
-Contents
#Contents
* Overview [#id9d28f1]
>
This article explains Android Debug Bridge (adb or ADB) c...
and debugging applications.~
* ADB [#nded0cc4]
>
ADB (or adb, either way) is a management tool, which moni...
The operation of Android from ADB is very smiler to handl...
>
The server of ADB, Android Debug Bridge daemon (adbd), i...
the ADB client, which is operated in the development envi...
For the details of ADB, please look at [[Android Debug B...
* Obtaining and configuring ADB client [#tb291b4b]
>
Download the Android SDK from [[its download page>http://...
Before the version of '''android-sdk_r8''' is instroduced...
SDK and setting PATH, it can be used immediately. However...
revision 1 is the requirement to use ADB. Android SDK Pla...
>
To install the SDK, please follow the instructions descri...
at '''<sdk>/platform-tools/'''. Please set PATH to here.~
>
As installing the SDK on Windows, download and execute '...
is placed in the directory shown below.~
C:\Program Files\Android\android-sdk-windows\platform-to...
Then, execute '''ADB''' from command prompt or Windows Po...
>
For Liniux, supposedly extract '''android-sdk_r08-linux_8...
~/android-sdk_r08/platform-tools/adb
execute shell in the directory shown above.~
* ADB connection [#d083a89b]
** ADB (Linux) via USB [#rde1c6ee]
>
On bc10, USB is the default for ADB connection, and '''US...
>
As choosing "Setting" applications of Android on bc10, s...
"USB debugging," make USB debugging mode effective.~
>
Add the configuration of '''udev''' to the development en...
Create the directory of '''/etc/udev/rules.d/51-android.r...
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
'''18d1''' indicates USB vender id, which Google issues.~
The vender id is configured at line 86 of '''bc10-rowboat...
After creating '''udev''' rule, configure permission show...
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules
USB cable is connected to the OTG of bc10, the other end ...
Then, execute the command listed below.~
$ adb devices
List of devices attached
20100720 device
After execute the command, if ADB connection is successf...
(Right after the command. '''List of devices attached''' ...
{$ adb shell}
As applying the command above, enable users to login the ...
has been already configured '''ADT Plugin'''.~
** ADB via network [#b3cf88e5]
>
To use this network connection, '''CONFIG_USB_PEGASUS''' ...
Ethernet can be used immediately.~
>
First, set up bc10 side. To connect USB Ethernet adapter,...
# netcfg ...
lo UP 127.0.0.1 255.0.0.0 0x0...
eth0 UP 192.168.0.15 255.255.252.0 0x0...
If fail to obtain IP address, execute the command shown b...
# netcfg eth0 dhcp
If obtain IP address, configure Android Debug Bridge da...
# setprop service.adb.tcp.port 5555
As configure '''adbd''' correctly, reboot bc10.
# stop adbd
# start adbd
Set up the development environment side
$ export ADBHOST = 192.168.0.15 (This is the IP address ...
$ adb kill-server
$ adb start- server
Then, check the connection.
 $ adb devices
List of devices attached
emulator-5554 device
As establishing ADB connection via ethernet, the connecti...
Once the connection is established, users can allow to l...
from eclipse.~
** ADB connection via USB from Windows client [#ic212e17]
>
To use ADB from a Windows client via USB connection, inst...
As explained at USB Driver for Windows, install '''androi...
and AVD Manager.~
C:\Program Files\Android\android-sdk-windows\google-usb_...
Windows version's Android USB driver is downloaded at the...
First, execute the command prompt shown below, and vender...
this file does not exist, it will be created accordingly.~
C:\Uses\beat> echo 0x18D1 > "%USERPROFILE%\.android\adb_...
Then, the value for bc10 will be written into the file, w...
C:\Program Files\Android\android-sdk-windows\google-usb_...
As this file is open by a text editor, the three lines of...
;beatcraft bc10
%SingleAdbInterface% = USB_Install, USB\VID_18D1&...
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&...
As keeping USB debug mode of bc10 effective, the OTG port...
via an USB cable.~
>
Windows recognizes this USB device and sends a message of...
USB device. Please place the driver at the directory show...
C:\Program Files\Android\android-sdk-windows\google-usb_...
Identify the location of the driver, and install it.~
As the installation is completed, pull of the USB cable f...
On the command prompt or Windows PowerShell, execute the ...
C:\Users\beat> adb kill-server
C:\Users\beat> adb start-server
After executing adb shell, prompt turns #, and log in bc...
* Reference [#r935cfab]
>
(Caution): With the method described at the link above, y...
at the section of "[[Obtaining and configuring ADB client...
* Revision History [#lea8f45b]
-2010/12/24 This article is initially released
End:
[[bc10]]
-Contents
#Contents
* Overview [#id9d28f1]
>
This article explains Android Debug Bridge (adb or ADB) c...
and debugging applications.~
* ADB [#nded0cc4]
>
ADB (or adb, either way) is a management tool, which moni...
The operation of Android from ADB is very smiler to handl...
>
The server of ADB, Android Debug Bridge daemon (adbd), i...
the ADB client, which is operated in the development envi...
For the details of ADB, please look at [[Android Debug B...
* Obtaining and configuring ADB client [#tb291b4b]
>
Download the Android SDK from [[its download page>http://...
Before the version of '''android-sdk_r8''' is instroduced...
SDK and setting PATH, it can be used immediately. However...
revision 1 is the requirement to use ADB. Android SDK Pla...
>
To install the SDK, please follow the instructions descri...
at '''<sdk>/platform-tools/'''. Please set PATH to here.~
>
As installing the SDK on Windows, download and execute '...
is placed in the directory shown below.~
C:\Program Files\Android\android-sdk-windows\platform-to...
Then, execute '''ADB''' from command prompt or Windows Po...
>
For Liniux, supposedly extract '''android-sdk_r08-linux_8...
~/android-sdk_r08/platform-tools/adb
execute shell in the directory shown above.~
* ADB connection [#d083a89b]
** ADB (Linux) via USB [#rde1c6ee]
>
On bc10, USB is the default for ADB connection, and '''US...
>
As choosing "Setting" applications of Android on bc10, s...
"USB debugging," make USB debugging mode effective.~
>
Add the configuration of '''udev''' to the development en...
Create the directory of '''/etc/udev/rules.d/51-android.r...
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
'''18d1''' indicates USB vender id, which Google issues.~
The vender id is configured at line 86 of '''bc10-rowboat...
After creating '''udev''' rule, configure permission show...
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules
USB cable is connected to the OTG of bc10, the other end ...
Then, execute the command listed below.~
$ adb devices
List of devices attached
20100720 device
After execute the command, if ADB connection is successf...
(Right after the command. '''List of devices attached''' ...
{$ adb shell}
As applying the command above, enable users to login the ...
has been already configured '''ADT Plugin'''.~
** ADB via network [#b3cf88e5]
>
To use this network connection, '''CONFIG_USB_PEGASUS''' ...
Ethernet can be used immediately.~
>
First, set up bc10 side. To connect USB Ethernet adapter,...
# netcfg ...
lo UP 127.0.0.1 255.0.0.0 0x0...
eth0 UP 192.168.0.15 255.255.252.0 0x0...
If fail to obtain IP address, execute the command shown b...
# netcfg eth0 dhcp
If obtain IP address, configure Android Debug Bridge da...
# setprop service.adb.tcp.port 5555
As configure '''adbd''' correctly, reboot bc10.
# stop adbd
# start adbd
Set up the development environment side
$ export ADBHOST = 192.168.0.15 (This is the IP address ...
$ adb kill-server
$ adb start- server
Then, check the connection.
 $ adb devices
List of devices attached
emulator-5554 device
As establishing ADB connection via ethernet, the connecti...
Once the connection is established, users can allow to l...
from eclipse.~
** ADB connection via USB from Windows client [#ic212e17]
>
To use ADB from a Windows client via USB connection, inst...
As explained at USB Driver for Windows, install '''androi...
and AVD Manager.~
C:\Program Files\Android\android-sdk-windows\google-usb_...
Windows version's Android USB driver is downloaded at the...
First, execute the command prompt shown below, and vender...
this file does not exist, it will be created accordingly.~
C:\Uses\beat> echo 0x18D1 > "%USERPROFILE%\.android\adb_...
Then, the value for bc10 will be written into the file, w...
C:\Program Files\Android\android-sdk-windows\google-usb_...
As this file is open by a text editor, the three lines of...
;beatcraft bc10
%SingleAdbInterface% = USB_Install, USB\VID_18D1&...
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&...
As keeping USB debug mode of bc10 effective, the OTG port...
via an USB cable.~
>
Windows recognizes this USB device and sends a message of...
USB device. Please place the driver at the directory show...
C:\Program Files\Android\android-sdk-windows\google-usb_...
Identify the location of the driver, and install it.~
As the installation is completed, pull of the USB cable f...
On the command prompt or Windows PowerShell, execute the ...
C:\Users\beat> adb kill-server
C:\Users\beat> adb start-server
After executing adb shell, prompt turns #, and log in bc...
* Reference [#r935cfab]
>
(Caution): With the method described at the link above, y...
at the section of "[[Obtaining and configuring ADB client...
* Revision History [#lea8f45b]
-2010/12/24 This article is initially released
Page: