Remix.run Logo
▲ CleanYourTV: Remove Ads and Bloat from Android TV and Google TV(cleanyour.tv)
148 points by kls0e 3 hours ago | 70 comments
▲satvikpendem 2 hours ago | parent | next [-]

If you ask Codex or Claude to set this up for you, they might ban you, as they did others like the user log4j [0]. That being said, using regular ADB commands does not seem to trigger the same safeguards, and so I've cleaned my devices well with Claude personally. Just take a look on r/AndroidTVApps/top and clone what they have, lots of interesting apps on these which Claude didn't refuse to install even with their dubious purposes.

[0] https://www.reddit.com/r/LocalLLaMA/comments/1xer30z/openai_...

▲ryandrake 2 hours ago | parent | next [-]

I have to say this is the first time I've seen a "software installer" that was simply "paste this prompt into an LLM." I'm not sure I like this, but I don't know why. What's wrong with a deterministic shell script?

▲bsimpson 36 minutes ago | parent | next [-]

My brother ordered a Bluetooth meat thermometer at 11a. Amazon had it to the house at about 1p. He tossed a prompt to Claude that had it announcing over the how much to raise/lower the temperature by to have dinner ready that night, casting its disembodied voice over the stereo.

Lots of smart home stuff is accessible/debuggable over the LAN, making it perhaps surprisingly hackable.

▲gonzalohm 9 minutes ago | parent | prev | next [-]

Yeah I don't know why anyone thinks of this. Asking Claude to do stuff costs money, I don't care if it's 1 cent, if a million people are going to be "running" this, that doesn't scale. Just ask Claude once to write the code and then share the code

▲tempest_ 33 minutes ago | parent | prev | next [-]

Very likely there is enough variation in TV models and Google TV versions and peoples local network that can cause a number of issues LLMs will just work around.

Of course you could have a script but then the repo author would need to "add support for sony abc1000" or "fix script to run on LG OLED 5500" etc.

▲miah_ an hour ago | parent | prev | next [-]

I'm also confused as to why this hasn't been made into a shell script at this point. If Claude can do all this other magic, why can't it create a stand alone script to do the work too?

▲ryandrake an hour ago | parent [-]

I mean, "curl | bash" is only slightly better and still gives me the willies.

▲oxzidized 43 minutes ago | parent | next [-]

If you go read what you're curl'ing, how bad is it, really? Blindly running it, sure. I've also found several times I can eliminate most of the script for my personal use.

▲dlcarrier 18 minutes ago | parent | prev [-]

See also: curl -o- (https://youtu.be/M1si1y5lvkk?t=1902 or watch the whole video; it's excelent)

▲add-sub-mul-div an hour ago | parent | prev [-]

In five years do you think anyone will be left who knows how to do anything like this for real?

▲mrinf1nity an hour ago | parent [-]

I do. I have to tinker with things. It's what I do. I have to see how it works, type it with my fingers even if I'm not making a million dollar product, at least try. I want to know how breaking everything down to their raw components works. Things like raw sockets, iptables, and getting root over my devices while controlling my own network of things, I have to. I can't not do it. I suspect there will be many more like me out there, and for generations to come.

But I do think most people will be chatting with an LLM, hell even I do.

▲smusamashah 11 minutes ago | parent | prev | next [-]

No. I did this just yesterday, with codex on old Android 9 based TCL TV. Started with Luna 6 then shifted to Sol 6.1 when it was building the launcher. I am still using my account as before. I have the 20 usd paid plan.

Edit: My prompt was roughly something like 'there is a well known Clean my TV something repo on github, use that to disable all the useless crap on my tv'. It found that and another Android 9 specific repo and disabled a few apps. Then I gasve specific folders from this posts repo and it disabled lot more crap.

▲tclancy 36 minutes ago | parent | prev | next [-]

I did it with Claude without issue and it’s actually been such a boon. Not the ad removal, which is nice, but having the open wireless debugging port has allowed me to solve issues with the Google TV’s WiFi and with the Bluetooth connection for game controllers which was a wild ride. Built a tv app for connecting the controllers and one for my house dashboard.

▲inknight an hour ago | parent | prev | next [-]

Just use DeepSeek

▲coredog64 2 hours ago | parent | prev | next [-]

I was (legally) rooting an Android phone and Claude straight up ended my session and then refused further `adb` activity. I didn't catch a ban for it but I did have to switch to DeepSeek to finish. How ironic.

▲rogual an hour ago | parent [-]

New Apple Airpods send data that crashes the Bluetooth stack on old Apple iPads. Claude was happily debugging this for me when the sAfEgUaRdS kicked in.

Haven't tried DeepSeek... maybe I will.

▲AshleyGrant 9 minutes ago | parent [-]

It helped me to decompile and find bugs in the firmware of a Smart RV system installed in my RV after Claude shut down the conversation. It's definitely not as good as Opus 5.5, but it gets the job done. It took a few days of working with it on the side, but DeepSeek not only did the straight decompile, but cleaned up the decompiled code to make it human readable and actually got it to where it can be compiled. I won't try installing my own build (not sure if I even can without their code signing key), but the firmware code is now in a state that Claude will use it as if it was not decompiled when I ask it to dive in and find things in the code.

▲jmyeet an hour ago | parent | prev | next [-]

This is the first I've heard of this but it wouldn't surprise me if it were true.

If you're ever wondering what the market is for local LLMs and open weight models, it's quite literally this.

I support this kind of thing. It's your TV. Do with it what you want. The tracking, injected ads and bloatware are all truly obnoxious. But, this will have consequences. Those things subsidize TV sticker prices. TVs will get more expensive if this ever becomes widespread. I don't think that's such a bad thing however.

▲echelon an hour ago | parent | prev [-]

> they might ban you

Fuck closed weights. Fuck big tech.

We need to turn AI against these forces and fully own technology going forward.

AI is a salient in a war that has been fought against our favor for 30+ years. We now have the tools to overthrow these giants.

Our ability to work on what we want to work on is as important a right as free speech. If these companies say we can't, then we need to route around them and replace them.

▲cscharenberg 21 minutes ago | parent | prev | next [-]

Tangential, but maybe a useful tip to others with an Android-powered smart TV: your AI agent can potentially read an write the TV Settings over your home network faster than you can, since the UI is insanely slow and unresponsive. Which means it can help customize it quickly.

Why? I asked for help making it "low sensory friendly" since my partner is susceptible to migraines. We often keep the TV at 14% brightness, which is barely noticeable overall, but we were wondering about color tweaks.

Claude recommended a swathe of changes and explained why they might help. For color tweaks (more red, less blue) it had low, medium, and high-adjustment suggestions to try.

The extra cool thing was it suggesting it might be able to do it directly, and told me how to enable Developer Mode and then ADB Over Network. Then - permission and some confirmations along the way - it blasted through the full swathe of changes in 30 seconds!

We both, but her specifically, immediately felt the difference in our eyes. It was so much more pleasant!

The AI also explained something I had not realized, which is that Picture Settings are *input-specific*. All this time dealing with the normal Google TV apps and an Apple TV on an HDMI input, we had not realized that, thinking settings were universal. Finally it helped me set the Apple TV as default input to avoid ever seeing the awful Google TV sluggish interface.

Anyway, the 2 takeaways for other light and vision-sensitive people with migraines, ADHD, autism, or for preference:

  1. The AI can recommend detailed settings tweaks to make the TV gentler on your eyes. Just ask!
  2. Your TV may be directly controllable, so it can help do it with you.
The AI reminded me multiple times to turn off the ADB debugging when we were done and anytime not in use.

It all took 5 minutes and was one of those "the AI helped me in a real way" of customizing an annoying device for me.

▲bourbonjuggler 2 hours ago | parent | prev | next [-]

There are similar options for LG's webos.

- https://lasharor.github.io/cleanyourtv-WebOS/

- https://www.webosbrew.org/

- https://rorygallagher2024.github.io/glasshouse/

▲jp191919 2 minutes ago | parent [-]

I've been using Glasshouse for about a month. It's been great!

▲jeena 40 minutes ago | parent | prev | next [-]

I did this like three years ago before AI was a thing. I installed flauncher (which is a thing since 2021) and SmartTube (which is a thing since 2020) and have been enjoying ad and sponsor free videos ever since, no AI needed, it's just Android and you can log in via ADB and do stuff there, switching the launcher, disabling things, etc.

I understand that now with AI everyone can do it, sadly this also means that the providers will start restricting those things which they didn't care about before because only hardcore users were doing it and it didn't have any impact on them. So good for everyone in the short term, bad for me in the long term :D

▲dlcarrier 28 minutes ago | parent | next [-]

Same, but I went with Projectivy, for a little more customization. I also disabled the bloatware from Google and MeCool, the manufacturer. That included a pre-installed application called x.cpe that turned out to be part of a botnet.

▲AshleyGrant 7 minutes ago | parent [-]

(Not OP)

I used Projectivy for a couple of years, but recently switched the Apple TV clone homescreen AT4K Launcher as Projectivy was running terribly on my older Onn Google TV 1080p device. Switching improved overall perceived performance tremendously.

▲ignoramous 21 minutes ago | parent | prev | next [-]

> sadly this also means that the providers will start restricting those things

"Android" TV OEMs like TCL and Amazon (FireTV) already disallow installing Launchers.

▲notreallyhrre 29 minutes ago | parent | prev [-]

Call me crazy - but I think in a world where these vendor lock in practices are illegal - Apple and all the rest will still make money (hand over fist)

▲collin128 2 hours ago | parent | prev | next [-]

Apps only mode does most of this and can be enabled in most Android TVs. Google does a good job of hiding it but you need to go into your profile in settings on the android tv to enable/disable it.

▲drnick1 2 hours ago | parent | prev | next [-]

Without root, I doubt this kind of software can really turn off trackers that run as system services. Hiding ads and removing spyware are different things.

My own solution was to remove the WiFi board entirely and instead use the TV as a monitor for a mini PC running a custom build of Android for x86. I can even run Steam on that box. An ARM translation library takes care of apps with native dependencies.

▲Oxodao 2 hours ago | parent | next [-]

I did use the script just to have a nice launcher but my tv is still on its own VLAN with no internet access, or in fact no access to anything other than my jellyfin server

▲analog8374 36 minutes ago | parent | prev | next [-]

Did it have multiple Wi-Fi chips? I've heard that's a thing.

▲gear54rus an hour ago | parent | prev [-]

why physical intervention? couldn't you just not connect it to wifi?

▲satvikpendem 5 minutes ago | parent | next [-]

LG TVs have been shown to use mesh networking and find open WiFi networks to connect to themselves.

▲pluralmonad 31 minutes ago | parent | prev [-]

Most people do not live in a Faraday cage and no one should trust snooping malware to not utilize open networks.

▲billfor an hour ago | parent | prev | next [-]

What is the advantage of this over just blackholing the domains? Does Google TV use hardcoded IPs, other than 156.147.68.32?

# ========================================== # TCL Google TV Firmware & OTA Updates # ========================================== # also ban 156.147.69.32 directly (no dns) 127.0.0.1 na-update.cedock.com 127.0.0.1 na-newuser-tcl.cedock.com 127.0.0.1 update.cedock.com 127.0.0.1 cedock.com 127.0.0.1 tvupgrade.tcl.com 127.0.0.1 global-oss.tcl.com 127.0.0.1 dsm.tcl.com 127.0.0.1 hw-tdp-o.api.leiniao.com 127.0.0.1 hwtpc-o.api.leiniao.com # TCL Optional Telemetry & Tracking 127.0.0.1 logupload.tclclouds.com 127.0.0.1 tclclouds.com 127.0.0.1 tracking.cdn.tcl.com 127.0.0.1 dcs.tcl.com 127.0.0.1 weibo.tcl.com

▲srmatto an hour ago | parent | next [-]

A lot of spyware now circumvents DNS level blocking. There's a lot of discussion around this in forums like the OpnSense subreddit. Some particularly stubborn ones require routing rules on a firewall to prevent.

▲_puk an hour ago | parent [-]

I think the Chromecasts hardcode 8.8.8.8. I know some TVs did this for a while.

▲dsr_ 19 minutes ago | parent [-]

Which is why my router answers DNS on 8.8.8.8.

▲letrix an hour ago | parent | prev | next [-]

> What is the advantage of this over just blackholing the domains?

It installs a nice looking launcher.

I think the idea of the project is just to get rid of apps you might not want (it asks you) and change the home screen so you don't see Google TV ads.

▲bdzr an hour ago | parent | prev [-]

Having a TV with a usable menu is nice.

▲ddtaylor an hour ago | parent | prev | next [-]

I had claude , make a command line utility that talks the same protocol as the roku , remote. Now I can use my basic media , keys and other things to control the TV.

▲tclancy 35 minutes ago | parent [-]

Do you have code for this? My dad has been asking for that kind of thing.

▲dvratil an hour ago | parent | prev | next [-]

I created this [0] to replace ads on Samsung TVs with custom pictures. The setup is a bit more involved, though.

[0] https://github.com/danvratil/samsung-tv-adspoofer

▲HaloZero 32 minutes ago | parent | prev | next [-]

Is this much more than just installing an new launcher and setting it as up as your default?

▲onaclov2000 an hour ago | parent | prev | next [-]

I haven't seen if anyone has done this with Roku, has anyone seen it?

▲statenjason 2 hours ago | parent | prev | next [-]

For TCL/Hisense Roku TVs, using NextDNS’s Roku preset and adding a few extra to the denylist has managed to stop the homescreen ads. Would love a cleaner experience like the OP though. Nice work.

▲hn_submit an hour ago | parent | prev | next [-]

Are there open source AOSP Android TV versions like LineageOS on mobiles?

▲drnick1 35 minutes ago | parent [-]

There are, but you need to run them on your own hardware. Unless you find a way of unlocking the TV's bootloader, extracing the device trees, etc, it will be difficult to run the custom ROM directly on the TV. I run LineageOS TV on a mini PC, works great.

▲mzajc an hour ago | parent | prev | next [-]

> Chapter 1 - Set up

> Copy the prompt (copies the 3.5k word essay to clipboard, not counting all the external markdown and python references)

> Prefer a video? Watch community tutorials on YouTube (pick among such informative titles as "How to debloat your Android TV with Claude Code" and "This Makes Any Android TV 10x Faster!")

There is a very short installation guide in the README on GitHub[0], why not also link to that?

[0]: https://github.com/Gathin23/cleanyourtv#doing-it-by-hand

▲aydgn 2 hours ago | parent | prev | next [-]

wild how the original project is sitting at 123 stars while this one has 500x more lol https://github.com/cobanov/tv

▲satvikpendem 2 hours ago | parent [-]

The power of marketing. I hope people understand better now that how you say something is oftentimes more interesting than what it is, hence the stars.

▲1970-01-01 2 hours ago | parent | prev | next [-]

You need to get root or they will just take control again on the next firmware OS update. This game has been played to death with every other Android device, why would it being a "TV" change anything?

▲ChrisArchitect 34 minutes ago | parent | prev | next [-]

Related discussion just over a month ago when this was getting shared alot:

An ad-free Android TV

https://news.ycombinator.com/item?id=50158942

▲jameshart 2 hours ago | parent | prev | next [-]

I find it fascinating that essentially this[1] how-to guide for an agent to follow is the product here. In the old days you would expect someone producing a product like this to take this guide and use it as a spec for a piece of reusable software that does all the same steps in a predictable, deterministic way; you could probably ask an agent to code up a python script that carries out a bunch of these steps - but as this shows, why bother? Doing it like this allows for fuzzy error handling, on the fly agentic judgement calls about ‘what’s a critical service and what isn’t’, a ‘YMMV’ sense that it’ll probably also work on a bunch of other TVs… just all with the caveat that if your particular agent randomly gets a bit confused or misses the significance of one of the instructions in here, it might randomly screw up in unpredictable ways. And given that it’s going to be run on an arbitrarily system prompted agent brought by the user running on a random model that may or may not be able to make head or tail of what the prompt is talking about, the range of failure modes here is impressive.

But even with all that it’s probably preferable to distributing a vibe coded app that claims to do the same thing - this looks at least like a slightly more professional version of ‘just post your prompt’…

But I worry that even ‘promptware’ like this can still ultimately be vibe coded slop - just at a higher level. How well tested is this skill? Has every sentence in here been vetted to justify it’s needed and doesn’t just add ambiguity that causes agents to go in circles? When someone discovered that the original prompt failed on TVs that are accessed over Tailscale and they patched the prompt to account for that… did they then revalidate and test that the prompt still works on all the other supported scenarios, or does adding the Tailscale note into the prompt increase the risk that sometimes an agent forgets to do something else important?

If the prompt is the software, then the prompt needs to be treated like a software artifact: tested, architected, refactored, maintained.

And imagine maintaining a piece of promptware like this the kind of bug reports you’ll have to handle as people run it in diverse environments you couldn’t even imagine. Instead of ‘Your website is broken in Firefox’ the new user complaints will be ‘I gave your prompt to my AI girlfriend and now my TV only shows anime and HGTV’

It’s a whole new industry folks.

[1] https://github.com/Gathin23/cleanyourtv/blob/main/PROMPT.md

▲starik36 an hour ago | parent | prev | next [-]

Would love something like this for the Fire TV Stick. It has gotten so bad with the last couple of releases. Truly unpleasant experience.

I let Claude ADB into it and it cleaned up several settings and found a memory resident app that didn't need to be resident. It helped, but it needs a far better fix.

▲SMAAART 20 minutes ago | parent [-]

Same here, and isn't a Fire TV stick an Android device?

▲dsr_ 17 minutes ago | parent [-]

In only slightly more correlation than the sense in which FireTV and a Samsung TV are both Linux.

▲jimmyjazz14 2 hours ago | parent | prev | next [-]

Honestly just get an Apple TV which is more expensive but ad free by default and disconnect your TV from the internet completely, I did this a few years back and haven't looked back.

▲drop_star an hour ago | parent | next [-]

No IPTV or Stremio on Apple TV unfortunately

▲krosaen an hour ago | parent | prev | next [-]

I was about to reply that apple's promotion of apple tv+ makes this harder to recommend, but just did a quick search and apparently this can be turned off! I may finally be free of Ted Lasso's face. Otherwise, yes, apple TV has been a good option and I have never let my LG TV hit the internet itself.

▲mikestew 2 hours ago | parent | prev | next [-]

That advice is harder to give now that an Apple TV is $300. If I didn't already have an ATV, I'd probably spend the dosh still, but the new one was not the insta-upgrade for me that it used to be.

▲jimmyjazz14 12 minutes ago | parent [-]

yeah news one are pricey though I generally recommend looking for a used/refurb models.

▲lern_too_spel 14 minutes ago | parent | prev | next [-]

With an Apple TV, you have no way to hide the ads at all. With Android TV, at least it's possible.

▲jimmyjazz14 13 minutes ago | parent [-]

There are no ads though, unless you are talking about ads within streaming services itself, for that I mostly am able to block them with pihole but thats not fullproof I'll admidt.

▲nntwozz 2 hours ago | parent | prev | next [-]

This is the way, just sucks the price is so high now.

▲neogodless an hour ago | parent | prev [-]

I find that, if this is your advice to consumers, it makes sense, if they have deep pockets.

If your advice to hackers is "instead of using a hackable device, where you have full control, can root and install your own launcher, apps, etc. buy a locked down Apple device", then I find it is not nearly as good advice.

▲jimmyjazz14 11 minutes ago | parent [-]

Simply put, if you want ad free stuff you have to be willing to pay for it otherwise the devices will be subsidized by ads.

▲kls0e 3 hours ago | parent | prev | next [-]

this is super snappy on my xgimi mogo 2 pro.

▲johng 3 hours ago | parent [-]

Used this as a base to fix up 2 different TCL TV's and customize them to my liking. Has been really fun to get it going. Have my own wallpapers, screensavers, sleep video, weather effects, etc.

▲baal80spam 2 hours ago | parent | prev [-]

Oh my god, this looks great.