EasyManua.ls Logo

Orange Pi Zero2 - Use Network Connection ADB Debugging

Orange Pi Zero2
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
80
4) View the identified ADB device
test@test:~$ adb devices
List of devices attached
8c00141167058911ccd device
5) Then you can log in to the android OS through adb shell on the Ubuntu PC
test@test:~$ adb shell
cupid-p2:/ #
5.4.3. Use network connection adb debugging
1) Using the network adb does not require a USB Typc C interface data cable to
connect the computer and the development board, but communicates through the
network, so first make sure that the wired or wireless network of the development
board is connected, and then obtain the IP address of the development board for to be
used next
2) Make sure that the USB debugging option is turned on
3) Make sure that the service.adb.tcp.port of the Android OS is set to port number
5555
cupid-p2:/ # getprop | grep "adb.tcp"
[service.adb.tcp.port]: [5555]
5) If service.adb.tcp.port is not set, you can use the following command to set the port
number of the network adb
cupid-p2:/ # setprop service.adb.tcp.port 5555
cupid-p2:/ # stop adbd
cupid-p2:/ # start adbd
6) Install adb tool on Ubuntu PC
test@test:~$ sudo apt update
test@test:~$ sudo apt install adb
7) Then connect to the network adb on Ubuntu PC
test@test:~$ adb connect 192.168.1.xxx (The IP address needs to be modified to
the IP address of the development board)
* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to 192.168.1.xxx:5555
test@test:~$ adb devices
List of devices attached
192.168.1.xxx:5555 device

Table of Contents

Related product manuals