Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Rockpi4/Ethernet-ADB

< Rockpi4
Revision as of 10:22, 6 May 2023 by Peter.Wang (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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