/
Connect to SECO Android 11 system via ADB

Connect to SECO Android 11 system via ADB

It is possible to connect with any SECO Android 11 board using adb console.

What is ADB

From Android Developer Documentation site:

Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device.

 

ADB client component is available for Windows, Linux and MacOS. There are many tutorials on Internet that explain how to use this simple, but powerful tool.

HOW TO connect ADB

Android 11 system for SECO board offers two different possibilities for opening an ADB console on the system:

  • Connecting ADB via USB-OTG cable

  • Connect ADB over Air (via a TCP/IP connection, Ethernet or WiFi)

Connecting ADB via USB-OTG cable

It is possible to open an ADB console on Android 11 SECO board in a really simple way:

  • Connect and USB-OTG cable between the PC and the board. In the same way as if it is a cellphone.

  • On your Windows or Linux system if will appears the new USB device.

  • Accept the connection.

  • Open a cmd terminal on Windows, or a bash terminal on Linux

  • execute the command “adb shell”:

    adb shell

Connecting ADB over Air

If you are not in proximity of the Android 11 device, or you prefer not to use a USB cable attached to the device, it is possible to use a network connection to access the ADB console on device.

  • A network connection is required for using ADB over Air. Make sure that the system has a valid connection to your local network and that it is reachable from your PC.

  • Open Android Settings on the device, and enter in th SECO Settings section

  • Enable the switch “ADB over Air”

  • With “ADB over Air“ configuration enabled, the device IP should appear under the switch.

  • On your PC open cmd terminal or a bash shell, and type the command:

    adb connect <DEVICE_IP_ADDRESS>:5000 adb shell
    • Where <DEVICE_IP_ADDRESS> is the IP address of your device