Return to Chipsee website

Welcome to the Chipsee Helpdesk

Use the Knowledge Base to find the answer to your question,
or click on the chat icon to start a conversation with our Support team.

How do I use the ADB over Ethernet?
Since Jelly Bean, the security ADB is enabled by default (ro.adb.security is set to 1). In security ADB mode, the ADB over Ethernet is not allowed. For more details, see “How do I enable and disable security ADB?”

To use the ADB over Ethernet, there are two steps to follow:

Disable the security ADB by changing ADB security setting in init.rc
Delete or comment the below line, and then rebuild the boot.img. setprop ro.adb.security 1.
Keep the board connecting with USB to the PC, and enable the ‘USB debugging’ from Setting->Developer Options, and then follow the steps below to set up ADB over Ethernet.
For Linux OS PC, assuming you had built Android code or had installed Android SDK), complete the following actions

to use ADB over Ethernet:

$ ping IP_OF_YOUR_BOARD (run "netcfg" on board to get IP address)
$ export ADBHOST=IP_OF_YOUR_BOARD

“adb” is a host tool created during Android build.It’s under out/host/linux-x86/bin/. Make

sure you set path properly.

$ adb kill-server (Not sure why this step is needed. Just re-start adb daemon on board.)
$ adb shell

Set the ADB port properly on the device:

$ setprop service.adb.tcp.port 5555
After setting up the ADB listener port, re-enable the USB debug function in the Settings application.
23 of 37 people found this helpful.