You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e4c25bd
Browse filesBrowse the repository at this point in the historyBrowse files
- **iOS Voice Wake cleanup:** avoid initializing the microphone audio pipeline while disabling inactive Voice Wake, preventing simulator launch aborts and unnecessary audio setup.
16
+
- **Cron duration validation:** reject positive durations that truncate below one millisecond instead of silently scheduling a zero-duration interval. (#100311) Thanks @qingminglong.
17
+
- **Skill workshop proposals:** preserve the terminal newline in generated proposal Markdown while still rejecting blank raw content. (#100293) Thanks @anyech.
18
+
- **Agent tool inputs and LSP startup:** treat blank optional integer arguments as absent, and fail embedded LSP startup immediately when its child process cannot spawn. (#100273, #99922) Thanks @snotty and @cxbAsDev.
19
+
- **Gateway and memory diagnostics:** report failed start-session persistence and close-time memory work instead of silently discarding those failures. (#100313, #100308) Thanks @masatohoshino and @lin-hongkuan.
20
+
- **Unicode and plugin package verification:** match native slice semantics for reversed UTF-16 bounds, and reject published plugin packages that omit `openclaw.plugin.json`. (#100014, #99904) Thanks @Simon-XYDT and @849261680.
21
+
- **Android invoke cancellation:** preserve coroutine cancellation through camera handlers and the Gateway invoke boundary so cancelled work cannot emit a stale result. (#99916) Thanks @xialonglee.
22
+
- **Codex native hook relay diagnostics:** avoid bridge registry writes before the local relay server begins listening. (#100300) Thanks @nankingjing.
16
23
- **Agent stop recovery:** prevent late-aborting prompts from reacquiring orphaned session locks after teardown, so `/stop` leaves the conversation ready for the next turn.
17
24
- **Message delivery status:** report failed and partially failed best-effort channel delivery instead of returning a success-shaped message-tool result. (#99928) Thanks @masatohoshino.
18
25
- **WhatsApp credential recovery:** restore malformed primary auth state from a valid backup during startup. (#99070) Thanks @LeonidasLux.
- Mirroring or controlling an Android device from a remote Mac
6
7
- Verifying chat history parity across clients
7
8
title: "Android app"
8
9
---
@@ -21,6 +22,100 @@ The official Android app is available on [Google Play](https://play.google.com/s
21
22
22
23
System control (launchd/systemd) lives on the Gateway host — see [Gateway](/gateway).
23
24
25
+
## Mirror and control Android from a remote Mac
26
+
27
+
[scrcpy](https://github.com/Genymobile/scrcpy) mirrors an Android screen in a macOS window and
28
+
forwards keyboard and pointer input through Android Debug Bridge (ADB). This is an operator-side
29
+
workflow, separate from the OpenClaw node connection. It is useful when the Android device and the
30
+
Mac are in different locations but share a private Tailscale network.
31
+
32
+
### Before you begin
33
+
34
+
- Install Tailscale on the Android device and the Mac, and connect both to the same tailnet.
35
+
- On Android, enable **Developer options** and **USB debugging**. Android 16 places **Wireless
36
+
debugging** under **Settings > System > Developer options**. See [Android developer
- Keep the Android device available for the first connection. Android must approve each Mac's ADB
46
+
key before that Mac can control the device.
47
+
48
+
### Enable ADB over TCP
49
+
50
+
For the initial setup, connect the Android device by USB to a trusted computer and approve its
51
+
debugging prompt. Then run:
52
+
53
+
```bash
54
+
adb devices
55
+
adb tcpip 5555
56
+
```
57
+
58
+
You can now disconnect USB. If port 5555 stops listening after a device reboot or debugging reset,
59
+
repeat this local setup step. Android 11 and later can also establish the initial trust with
60
+
**Wireless debugging > Pair device with pairing code** and `adb pair`.
61
+
62
+
### Allow only the controller Mac
63
+
64
+
Tailnets with restrictive grants must explicitly allow the controller Mac to reach TCP port 5555
65
+
on the Android device. Add a narrow rule to the tailnet policy, replacing the example addresses
66
+
with the two devices' stable Tailscale IPs:
67
+
68
+
```json5
69
+
{
70
+
grants: [
71
+
{
72
+
src: ["<remote-mac-tailnet-ip>"],
73
+
dst: ["<android-tailnet-ip>"],
74
+
ip: ["tcp:5555"],
75
+
},
76
+
],
77
+
}
78
+
```
79
+
80
+
See [Tailscale grants](https://tailscale.com/docs/reference/syntax/grants) for host aliases and other
81
+
selectors. Do not grant this port to the public internet or expose it with Funnel: an authorized ADB
82
+
client has broad control of the device.
83
+
84
+
### Connect and start mirroring
85
+
86
+
On the remote Mac:
87
+
88
+
```bash
89
+
adb connect <android-tailnet-ip>:5555
90
+
adb devices
91
+
scrcpy --serial <android-tailnet-ip>:5555
92
+
```
93
+
94
+
The first `adb connect` from this Mac shows an authorization dialog on Android. Unlock the device,
95
+
confirm the key fingerprint, and select **Always allow from this computer** only when the Mac is
96
+
trusted. A successful `adb devices` entry ends in `device`; `unauthorized` means the on-device prompt
97
+
has not been approved.
98
+
99
+
Once the scrcpy window opens, use it directly or target it with a macOS screen-automation tool such
100
+
as [Peekaboo](https://peekaboo.sh/). scrcpy carries the display and input; Tailscale provides only the
101
+
private network path.
102
+
103
+
### Troubleshooting
104
+
105
+
-`Connection timed out`: verify the tailnet grant for TCP 5555. A successful `tailscale ping` proves
106
+
peer reachability, not that policy permits this TCP port. Test with
107
+
`nc -vz <android-tailnet-ip> 5555` from the Mac.
108
+
-`unauthorized`: unlock Android and approve the remote Mac's ADB key, or remove the stale workstation
109
+
under **Wireless debugging > Paired devices** and pair it again.
110
+
-`Connection refused`: reconnect locally and run `adb tcpip 5555` again.
111
+
- More than one device listed: keep the explicit `--serial <android-tailnet-ip>:5555` argument.
0 commit comments