Who it is forAn owner of a Chromecast with Google TV that has no plain USB debugging.
The problemNewer Google TVs only have Wireless debugging with a pairing code, so install.sh alone will not connect.
The outcomeA laptop connected to the TV, ready for the cleanup scripts.
What you need first
- Claude Code or Codex on a laptop
- A TV running Android TV or Google TV, on the same Wi-Fi as the laptop
- Developer mode and USB debugging turned on in the TV settings
Steps
- In Developer options open Wireless debugging and choose Pair device with pairing code, and leave that screen open
- On the laptop run adb pair with the IP and port shown under the code, and type the code
- On the Wireless debugging screen note the other IP and port and run adb connect with them
- Use that same address for every script, such as install.sh and undo.sh
- If a script cannot reach the TV, pair and connect again, since the port changes on every restart
Prompt for your agent
Help me pair my laptop with my Google TV using Wireless debugging. Walk me through adb pair and adb connect step by step, and tell me what to tap on the TV.
Caveat. Do not restart the TV halfway through a cleanup, because the connection can drop.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Ansub/tv-detox and "Connect to a Google TV with Wireless debugging"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer