mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 06:22:06 +08:00
d64fb1838d
date: 2024-06-11T01:36:39
master commit: f8cb04e4a8
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"
|