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) |
||
(One intermediate revision by the same user not shown) | |||
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 [ | + | 1. Enter the android system by shell first ( use serial port , type-c or [https://wiki.radxa.com/Rock5/guide/wireless Wireless ADB]) |
$su # switch root | $su # switch root |
Latest revision as of 01:13, 14 November 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