diff --git a/CLAUDE.md b/CLAUDE.md index c58137e..96c492c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -89,6 +89,11 @@ First build downloads AGP/Compose/Shizuku from Google Maven + Maven Central. it to fmr:443 (cleartext allowed; over a validated net); a PC connector polls and reconnects. Bootstrap needs one manual adb connection to install it, then it self-heals. Existing adb connections survive port rotation — only fresh connects need the new port. + **Resolve adbd's mDNS advertisement exactly ONCE per service instance** (re-resolving makes + adbd re-arm the connection, which spams "wireless debugging connected" notifications); the + periodic heartbeat only re-POSTs the cached port. Rotation is still caught: onServiceLost + clears the guard, so the new advertisement is resolved once and reported within seconds + (verified: 37089 -> 33667 reported 6 s after rotation). - **Shizuku start kills the adb bridge and the beacon can't auto-recover it.** Shizuku's non-root start pairs over wireless debugging and runs its starter through adb, hijacking the channel: adb goes device→offline→refused, and adbd keeps advertising the now-dead port over mDNS (stale),