ADB Login
Installing ADB
- Download the ADB installation package and extract it for use (Download Link).
- Right-click on "My Computer" > Properties > Advanced system settings > Environment Variables.
- In the System Variables section, click "Edit" and add the path to the extracted ADB files.
- Click "OK" to save the environment variable changes.
ADB Login
Press Win + R to open the Windows terminal, type CMD, and enter ADB commands to view ADB-related information.
When there is only one device:
C:\Users\cjw>adb shell
#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 deviceLogin 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.
Windows Security Center -> Firewall and Network Protection -> Turn off the firewall.
Configure a static IP for the RNDIS network card. Open Settings -> Advanced Network Settings -> Change Adapter Options.
The network card's name is usually similar to "Remote NDIS based Internet Sharing Device." Right-click and choose Properties.
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
Use ADB to connect to Luckfox Pico.
C:\Users\cjw>adb connect 172.32.0.93
## already connected to 172.32.0.93:5555Check ADB devices.
C:\Users\cjw>adb devices
## List of devices attached
## 172.32.0.93:5555 deviceLog in to the development board.
C:\Users\cjw>adb -s 172.32.0.93:5555 shell
#