Files
dragonpilot/selfdrive/debug/adb.sh
Vehicle Researcher d64fb1838d openpilot v0.9.7 release
date: 2024-06-11T01:36:39
master commit: f8cb04e4a8
2024-06-11 16:32:27 -07:00

12 lines
212 B
Bash
Executable File

#!/usr/bin/bash
set -e
PORT=5555
setprop service.adb.tcp.port $PORT
sudo systemctl start adbd
IP=$(echo $SSH_CONNECTION | awk '{ print $3}')
echo "then, connect on your computer:"
echo "adb connect $IP:$PORT"