Samsung Q7F TV, minus the junk: a big-button remote built with Claude Code

Phone screen showing a TV remote with large buttons: Turn ON, Turn OFF, app tiles for YouTube, Netflix, Prime Video, Spotify, Disney+, Apple TV, Hulu, Peacock, YouTube TV and Tubi, and volume controls.

Written by

in

The Samsung Q7F (model QN65Q7FDAFXZA), a 65-inch 2025 QLED running Samsung’s Tizen operating system, now has a remote that is just big, labelled buttons on a phone: on, off, ten streaming apps, volume, arrows. We built it in an afternoon with Claude Code. We did not root the TV, flash anything or void a warranty, and you’ll see why we didn’t try. You’ll also see the three things that broke along the way.

“Claude cleaned up my TV”: what people actually did

You may have seen the stories: owners handing Claude Code the keys to their smart TV and getting back a faster set with the ads and trackers switched off. They’re real, but read the fine print. Every one of them is an Android TV, Google TV or Fire TV set. Those TVs have ADB, Android’s debug connection, so Claude can switch off preinstalled apps one by one and keep a script to switch them back. One TCL owner turned off 25 apps and cut home-screen memory from 192 MB to 83 MB. The prompts were later packaged as open-source projects such as cleanyourtv and dumbtv (Decrypt, Android Authority, TweakTown).

Why we didn’t try that on a Samsung

  • Tizen has no ADB-style door. There’s no equivalent tool for Samsung (or LG’s webOS), as Punto Informatico also noted.
  • The only way in would be an exploit, and there’s no known safe one for a 2025 set. Some people following the Android guides bricked their TVs; on a brand-new 65-inch set, that’s not a gamble worth taking.
  • Most of the “junk” is a setting anyway. The tracking and auto-launching can simply be switched off.

What we did instead

1. Switch off the tracking and auto-launch

  • Viewing Information Services: Samsung’s automatic content recognition, which watches what’s on screen to build an ad profile. Off.
  • Interest-Based Advertisement and Voice Recognition Services: off.
  • Autorun Smart Hub, Autorun Last App and Samsung TV Plus auto-start: off, so the TV opens on what you were watching, not an ad-filled home screen.
  • Unused preinstalled apps removed from the home row; the rest moved into a sensible order.

On this set they sit under Settings → All Settings → General & Privacy. Samsung moves menus between years, so the search box in Settings is the reliable way to find each one.

2. Build a better remote

Samsung TVs answer a documented remote-control service on the home network, the same one the SmartThings app uses. A program pairs once: the TV shows an Allow prompt, you accept it with the normal remote, and the program gets a token. After that it can send any key press or open an app by its ID. Nothing on the TV is modified.

Claude Code found the TV on the network, read its model and state from its own information endpoint, paired with it, worked out which apps were installed, and built a small web page and service around it:

  • Big buttons, plain words. Turn ON / Turn OFF, ten app tiles, Quieter / Mute / Louder, arrows with OK, Back, Home, Input, and play controls. Large type, black on white, made for anyone who has trouble with a remote’s tiny, unlabelled buttons.
  • Works from a phone. Add it to the home screen and it behaves like an app. One address works for any phone on the home Wi-Fi with nothing to install; a second works from anywhere over our private Tailscale network.
  • Fast. About a fifth of a second per press.

Three things that broke, and the fixes

  1. macOS refused to let it see the TV. The first version ran inside the Mac’s web server and got “No route to host” on every press, even though the same code worked from a terminal. Recent macOS versions have Local Network privacy, which blocks background programs from talking to devices on your home network until you approve them. Approving “Python” in System Settings still didn’t fix it: the permission didn’t carry over to the Homebrew-installed Python. A quick test from the background tried five programs; Apple’s own Python was allowed, so the service now runs on that.
  2. Port 443 needs root on a specific address. To give the remote a proper https:// name over Tailscale, the service needed to listen on port 443. macOS only allows that without administrator rights on a wildcard address, not a specific one. The fix was Tailscale Serve in raw TCP mode: Tailscale owns port 443 on the private network and passes the encrypted connection straight through to the service, which still presents its own Let’s Encrypt certificate.
  3. Every press took 2.5 seconds. Two causes: reconnecting to the TV on every press, and a default one-second pause per key inside the Python library we used. The service now holds one connection open and the pause is 0.1 seconds. 2.5 seconds became 0.19.

One more lesson, from the TV side: when the set is switched fully off, it closes its network remote service entirely, so “Turn ON” has to wake it first with a Wake-on-LAN signal, and that only works if the TV’s Power On with Mobile setting is left on.

How it’s kept safe

  • Nothing goes to the cloud. The remote talks only to the TV on the home network. The pairing token stays on the one Mac, readable only by its owner.
  • An allow-list, not a free-for-all. The service accepts only the specific keys and app IDs on the page; anything else is refused before it reaches the TV.
  • Only our page can drive it. Requests must come from the remote’s own page with a custom header, so a website open in another tab can’t press buttons on your TV.
  • Home means home. The no-install Wi-Fi address refuses anyone outside the home network’s address range, so a coffee-shop network the laptop joins can’t use it. The other address exists only inside our private Tailscale network.
  • Real certificates. Both addresses use Let’s Encrypt certificates, issued through DNS and renewed automatically.

If you want to do this with your own TV

  1. Check what your TV runs. Android TV, Google TV or Fire TV: the ADB debloat projects above are for you. Samsung or LG: skip the hacking and do the settings plus a remote.
  2. Switch off the tracking in Settings first. It costs nothing and it’s the biggest privacy win.
  3. For a custom remote, ask Claude Code to find the TV on your network, pair with it and build the page. Be at the TV for the Allow prompt.
  4. On a Mac, expect the Local Network permission prompt, and know that it applies per program.

Sources: Decrypt · Android Authority · TweakTown · AI Weekly · Punto Informatico.