Rockpi4/Ethernet-ADB
How to get adb connect through ethernet cable
1. Enter the system by shell first ( use serial port , type-c or Wireless ADB)
$su # switch root #setprop service.adb.tcp.port 7777 # set port #ps -ef | grep adbd shell 3517 1 0 09:53:12 ? 00:00:00 adbd --root_seclabel=u:r:su:s0 shell 3821 3542 11 10:14:59 pts/0 00:00:00 grep adbd #kill 3517 #ip address # eth0 address
2. connect the board on PC
adb connect xxx.xxx.xxx.xxx:7777