How to use adb through ethernet

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use adb through ethernet

7,880 Views
KevinSong
NXP Employee
NXP Employee

Use adb through Ethernet:

Get board IP address:

busybox ifconfig

ADBD default use USB output. Change it to ethernet:

setprop service.adb.tcp.port 5555

stop adbd

start adbd

On host, restart ADB:

export ADBHOST=<board IP address>

adb kill-server

adb start-server



Labels (1)
Tags (2)
0 Kudos
2 Replies

754 Views
mingzhou
NXP Employee
NXP Employee

You can also connect host to target device by this commands:

adb connect xxx.xxx.xxx.xxx(IP address)

if you want to disconnect, use

adb disconnect

Then you can connect to other device through ethernet or usb cable.

0 Kudos

754 Views
SergioSolis
NXP Employee
NXP Employee

Thank you for the information Bing and Ming!

0 Kudos