ADB over TCP

To make ADB work in iMX51 using TCP:

*In your host machine:

– Install android SDK
– export ADBHOST=BOARD_IP (setenv ADBHOST=xxx.xxx.xxx.xxx)
– adb kill-server

*In your board:

– make sure that  ro.secure property is *not* set when the adbd daemon is launched, so edit the file default.prop
– make sure that /dev/android_adb or /dev/android do *not* exist
– stop adbd
– start adbd

Now you will be able to list the device:

hamilton@saygon:/opt/work/androidsdk/android-sdk-linux_86/tools$ ./adb kill-server
hamilton@saygon:/opt/work/androidsdk/android-sdk-linux_86/tools$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
emulator-5554   device

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: