Smart home
Tidying up the tech around the house, starting with stripping the ads, trackers and clutter out of my Google TV box and giving it a home screen that matches this website.
- Android Debug Bridge
- Bash
- Python
- Projectivy Launcher
- AdGuard DNS
- Claude Code
Our house has slowly filled up with smart things: lights, heating, cameras, speakers, a robot hoover and more TV boxes than one family needs. Each comes with its own app, and none of them talk to each other. This project is where I’m sorting that out: one place for the notes, scripts and config that keep it all running.
The long-term plan is a small home server running Home Assistant and Pi-hole. Before that, I started somewhere more satisfying.
Cleaning up the TV box
The TV in my office runs off a Xiaomi TV Box S (3rd gen), a cheap Google TV box. It works, but it had got slow, and the home screen was mostly adverts for things I’d never watch. I’d seen a few videos of people using Claude to “hack” their Android TV boxes, so I gave it a go.
“Hack” is a strong word. Every Android device has a developer mode with a tool called ADB (Android Debug Bridge) that lets a computer send it commands over the network. I switched it on with the remote, and Claude Code on my PC did the rest from the terminal.
What changed
- Bloat removed. Fourteen preinstalled apps went: Xiaomi’s analytics and usage-stats uploader, its promoted-content channel and home screen tab, an ad-funded TV channel app, a phone-linking service that ran all the time, a music player and gallery I never used, Google’s feedback reporters, Play Games, and a printing service (on a TV).
- Ads and trackers blocked. The box now looks up web addresses through AdGuard’s DNS, which refuses to resolve known ad and tracking domains. Ads inside apps that serve them from the same place as the content, like YouTube, aren’t affected.
- Snappier menus. Animations run at half their normal length. It’s a small change that makes the whole thing feel quicker.
- A new home screen. I swapped Google TV’s home screen for Projectivy Launcher: just my apps, no recommendations, and the Home button on the remote goes straight to it.
- A theme to match this site. Claude wrote a small Python script that draws a wallpaper in the same style as this website: near-black, with the same red-to-gold line and the same condensed italic type.

Projectivy picks its accent colours from the wallpaper, so the status bar and shortcut buttons came out in the same dark gold without any extra work.

Making sure nothing broke for good
My one rule was that nothing could be permanent. Before changing anything, Claude saved a list of every installed app and every system setting. The apps weren’t deleted outright: they were removed for my user only, and the original copies stay on a part of the box that can’t be changed. One command brings any of them back.
There’s a restore.sh script that puts every app back and resets every setting, and we tested it on one app before going further. A factory reset would also put everything back to how it came out of the box.
It also mattered what not to remove. Two Xiaomi packages with unhelpful names turned out to handle pairing the remote and the quick settings menu, so they stayed. So did system updates, voice search and Chromecast.
The results
After a restart, the box had about 13% more free memory, which matters on a device with only 2 GB. More noticeably, it no longer feels like it’s thinking about something else when I press a button.
Cutting it down to what I actually watch
The first version still had every app on it. In practice I use three: TiviMate for live TV, Stremio for films and series, and SmartTube for YouTube. So the home screen is now just those three, as big cards in one row, and everything else is tucked away in the all apps list.
Underneath is a Continue watching row. Stremio publishes the shows I’m partway through to Android TV, and Projectivy can show that as a row, so the next episode of whatever I’m watching is one click from the home screen. When I scroll down to it, the app row slides out of the way and the artwork gets the screen to itself.
I also redrew the wallpaper. The first one had a single line. The new one is a band of running-track lanes with one lit up, a nod to the “Velocity” name of this site’s theme, and the header borrows the site’s monospaced labels. It originally had my site’s name on it, which felt wrong for a box in my house rather than my website, so now it just says what’s on and which room it’s in.
The app cards were the last thing that still looked stock: three app logos on coloured tiles. Projectivy can’t show portrait cards for apps (only wide or square), so I went square and had Claude draw a poster for each one in the same style as the wallpaper. Each says what the app is for in big type, with the app’s name small underneath, and the lit lane sits in a different place on each so the row doesn’t look stamped out. They’re told apart by their words, not their colour.

Below Continue watching there’s now a third row of new videos from the YouTube channels I subscribe to, which SmartTube publishes the same way Stremio does.
How to use it
If you have an Android TV or Google TV box and want to try something similar:
- Turn on developer mode: Settings → System → About, then click the build number seven times.
- In Developer options, turn on USB debugging and Wireless debugging.
- Pair from your computer with
adb pair, using the code the TV shows. - Make a list of what you want gone, check what each package actually does, and remove it with
pm uninstall -k --user 0 <package>. You can undo it withcmd package install-existing <package>.
The one bit of advice I’d give: check each package before you remove it. The names don’t always tell you what they do.
Changelog
- 27/11/2026: Square, poster-style app cards drawn to match the wallpaper, a row of new videos from my YouTube subscriptions, and a wallpaper header that says NOW SHOWING and OFFICE instead of my site’s name.
- 27/11/2026: Cut the home screen down to TiviMate, Stremio and SmartTube, added Stremio’s Continue watching row, and redrew the wallpaper with running-track lanes.
- 27/11/2026: First version: debloated the TV box, blocked ad and tracker domains, and swapped in Projectivy Launcher with a matching wallpaper.