Skip to main content

ADB Login

Installing ADB

  1. Download the ADB installation package and extract it for use (Download Link).
  2. Right-click on "My Computer" > Properties > Advanced system settings > Environment Variables.
  3. In the System Variables section, click "Edit" and add the path to the extracted ADB files.
  4. Click "OK" to save the environment variable changes.

ADB Login

  1. Press Win + R to open the Windows terminal, type CMD, and enter ADB commands to view ADB-related information.

  2. When there is only one device:

    C:\Users\cjw>adb shell
    #
  3. When multiple devices are connected:

    Check the list of connected ADB devices. Execute the command again after connecting or disconnecting devices to confirm the device you wish to connect to.

    C:\Users\cjw>adb devices
    List of devices attached
    103ea97dececc831 device
    d48936ed7d1551fc device

    Login to the development board.

    C:\Users\cjw>adb -s d48936ed7d1551fc shell
    #

ADB Network Login

Configure the RNDIS Virtual Network Interface

The LuckFox Pico and Luckfox Pico Plus/Pro/Max USB virtual dongles have a static IP address of 172.32.0.93. Before using it, you need to set up the RNDIS virtual network port. For the Luckfox Pico Plus/Pro/Max development board, no configuration is required to use the Ethernet port.

  1. Windows Security Center -> Firewall and Network Protection -> Turn off the firewall.

  2. Configure a static IP for the RNDIS network card. Open Settings -> Advanced Network Settings -> Change Adapter Options.

  3. The network card's name is usually similar to "Remote NDIS based Internet Sharing Device." Right-click and choose Properties.

  4. Double-click on "Internet Protocol Version 4 (TCP/IPv4)." Set the IPv4 address to 172.32.0.100 to avoid conflicts with other devices.

ADB Login

  1. Use ADB to connect to Luckfox Pico.

    C:\Users\cjw>adb connect 172.32.0.93
    ## already connected to 172.32.0.93:5555
  2. Check ADB devices.

    C:\Users\cjw>adb devices 
    ## List of devices attached
    ## 172.32.0.93:5555 device
  3. Log in to the development board.

    C:\Users\cjw>adb -s 172.32.0.93:5555 shell
    #