Difference between revisions of "Rockpi4/Ethernet-ADB"
< Rockpi4
Peter.Wang (Talk | contribs) (Created page with "How to get adb connect through ethernet cable 1. Enter the system by shell first ( use serial port , type-c or [http://www.example.com Wireless ADB]) $su...") |
Peter.Wang (Talk | contribs) |
||
Line 1: | Line 1: | ||
How to get adb connect through ethernet cable | How to get adb connect through ethernet cable | ||
− | 1. Enter the system by shell first ( use serial port , type-c or [http://www.example.com Wireless ADB]) | + | 1. Enter the android system by shell first ( use serial port , type-c or [http://www.example.com Wireless ADB]) |
$su # switch root | $su # switch root |
Revision as of 10:23, 6 May 2023
How to get adb connect through ethernet cable
1. Enter the android 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