ADB Login
Overview
ADB (Android Debug Bridge) is one of the most convenient ways to connect to the Rhino Pi X1R without requiring additional display or network configuration.
Prerequisites
Windows
- Download and extract the ADB tool package platform-tools
- Add the extracted
platform-toolsdirectory path to the system environment variable PATH - Open CMD or PowerShell and run
adb versionto verify the installation
Linux / macOS
bash
# Ubuntu / Debian
sudo apt update
sudo apt install adb
# macOS
brew install android-platform-toolsHardware Connection
- Connect the device using a USB Type-A to Type-C data cable
- Connect the USB Type-A end to the computer
- Connect the USB Type-C end to the Type-C port of the Rhino Pi X1R
- Power on the device and wait for the system to finish booting (STATUS LED stays solid green)
Establishing an ADB Connection
bash
# View connected devices
adb devices
# Example of normal output:
# List of devices attached
# 47897135 deviceIf the device is not listed:
- Confirm that the USB data cable supports data transfer (not a charging-only cable)
- Reconnect the USB data cable
- Try a different USB port on the computer
Common ADB Operations
Entering the Shell
- Method 1: Enter the device command line with normal permissions
bash
# Enter the device command line
adb shell- Method 2: Enter the device with root permissions
bash
# Get root permission
adb root
# Enter the device command line
adb shellFile Transfer
bash
# Upload a file to the device
adb push <local-file-path> <device-destination-path>
# Example: upload test.py to /home/aidlux/
adb push test.py /home/aidlux/
# Download a file from the device
adb pull <device-file-path> <local-destination-path>
# Example: download a log file
adb pull /var/log/syslog ./System Operations
bash
# Reboot the device
adb reboot
# Enter flashing mode (EDL)
adb root
adb reboot edl
# View system information
adb shell cat /proc/version
adb shell cat /proc/cpuinfoNote
The current system does not support connecting via adb connect <device-ip>:5555.