This guide explains how to control your Android phone using Open-AutoGLM even when the phone is on a mobile network (4G/5G) and not on the same Wi-Fi as your PC.
Since ADB (Android Debug Bridge) does not work over the public internet securely, we use Tailscale to create a private, secure link between your devices.
- On PC: Download and install Tailscale for Windows.
- On Phone: Install the Tailscale app from the Google Play Store.
- Open Tailscale on both devices.
- Log in with the same account (e.g., your Google account) on both.
- Ensure Tailscale is Active (Connected) on both.
- On the phone app, find the IP Address assigned to your phone (it starts with
100.x.x.x).
To connect your PC to the phone securely over this new network:
-
Open Terminal in the
Open-AutoGLMdirectory. -
Run the connect command using the local
platform-tools:.\platform-tools\adb.exe connect <PHONE_TAILSCALE_IP>:5555
(Replace
<PHONE_TAILSCALE_IP>with the address you found in Step 1, e.g.,100.76.226.33) -
Verify Connection:
.\platform-tools\adb.exe devices
You should see your device IP listed as
device.
"Target machine actively refused it"
- This means ADB is not listening on port 5555 on the phone.
- Fix: You must enable TCP/IP mode once via USB.
- Plug phone into PC via USB.
- Run:
.\platform-tools\adb.exe tcpip 5555 - Unplug phone.
- Try connecting again via Tailscale IP.
"Command not found"
- PowerShell doesn't know where
adbis. Always use.\platform-tools\adb.exeinstead of justadb.