mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 05:22:03 +08:00
a5cee30aa6
date: 2024-06-25T13:13:17
commit: 69a099242f
12 lines
212 B
Bash
Executable File
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"
|