173 points kls0e 3 hours ago 78 comments

kls0e 3 hours ago | parent

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.

aydgn 2 hours ago | parent

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.

baal80spam 2 hours ago | parent

Oh my god, this looks great.

bourbonjuggler 2 hours ago | parent

jp191919 25 minutes ago | parent

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

satvikpendem 2 hours ago | parent

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

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?

add-sub-mul-div 1 hour ago | parent

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

mrinf1nity 1 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.

miah_ 1 hour ago | parent

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 1 hour ago | parent

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

oxzidized 1 hour ago | parent

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 41 minutes ago | parent

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

bsimpson 59 minutes ago | parent

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.

munk-a 3 minutes ago | parent

Hasn't a lot of smart home tech been notably insecure for quite some time? I celebrate my dumb oven and dumb fridge - never would I go within ten miles of a smart toaster or smart stove simply due to the potential for dramatic failures.

Sure it'd be kind of convenient to have a captains chair in my house where everything in the house could be controlled at the push of a button, but the risk of opening most of those devices up to any kind of service discontinuation or outside manipulation is not worth that minor convenience.

When it comes to TVs, eh... the whole media is dead to me at this point due to the intense amount of advertising and general quality decline. I just have a projector and control the output to that myself which appears to be the cheaper (if lower visual fidelity) option.

tempest_ 56 minutes ago | parent

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.

hurfdurf 15 minutes ago | parent

I.e. like https://github.com/Universal-Debloater-Alliance/universal-an... for smartphones.

Beats everyone needing LLM subscriptions firing off the same prompts.

gonzalohm 32 minutes ago | parent

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

jorisw 3 minutes ago | parent

This is exacty why it works.

There's tons of intermediate steps involved in assessing the current state of your tv and asking you questions about it.

I tried a previous version of CleanMyTV and gave up because of too much pasting adb commands and pasting back the output.

This latest prompt figures out what it can and asks me what it needs to know as it works. It read the output of the adb commands takes screenshots to see if a change worked.

I think LLM prompts could legitimately replace bash scripts exactly for this reason.

coredog64 1 hour ago | parent

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 1 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 32 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 1 hour ago | parent

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 1 hour ago | parent

> 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.

inknight 1 hour ago | parent

Just use DeepSeek

tclancy 1 hour ago | parent

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.

smusamashah 34 minutes ago | parent

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.

nirav72 5 minutes ago | parent

I ran this process on 3 Android devices using Claude Haiku 5.5 about a week ago. No refusal or any issues. One was a Hisense tv, ONN Pro 3k and a Nvidia Shield (2017). In fact, I was surprised how smooth the process was. Of course, I used Opencode and a Go subscription.

statenjason 2 hours ago | parent

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.

drnick1 2 hours ago | parent

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 1 hour ago | parent

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

gear54rus 1 hour ago | parent

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

pluralmonad 54 minutes ago | parent

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

satvikpendem 28 minutes ago | parent

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

analog8374 59 minutes ago | parent

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

collin128 2 hours ago | parent

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.

jimmyjazz14 2 hours ago | parent

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.

nntwozz 2 hours ago | parent

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

mikestew 2 hours ago | parent

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 35 minutes ago | parent

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

neogodless 1 hour ago | parent

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 34 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.

drop_star 1 hour ago | parent

No IPTV or Stremio on Apple TV unfortunately

TSUTiger 22 minutes ago | parent

IPTV apps are on apple tv, UHF even supports Stremio (as do Jellyfin apps, but ymmv)

krosaen 1 hour ago | parent

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.

lern_too_spel 38 minutes ago | parent

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

jimmyjazz14 36 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.

jp191919 22 minutes ago | parent

I was going to do this but they are so expensive now. Ended up installing Glasshouse on my LG instead and it's been great. Although I still have to use my Roku occasionally for the F1 app.

1970-01-01 2 hours ago | parent

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?

jameshart 1 hour ago | parent

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

billfor 1 hour ago | parent

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

letrix 1 hour ago | parent

> 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 1 hour ago | parent

Having a TV with a usable menu is nice.

srmatto 1 hour ago | parent

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 1 hour ago | parent

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

dsr_ 42 minutes ago | parent

Which is why my router answers DNS on 8.8.8.8.

mzajc 1 hour ago | parent

> 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

ddtaylor 1 hour ago | parent

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 58 minutes ago | parent

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

hn_submit 1 hour ago | parent

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

drnick1 58 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.

onaclov2000 1 hour ago | parent

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

dvratil 1 hour ago | parent

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

starik36 1 hour ago | parent

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 44 minutes ago | parent

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

dsr_ 40 minutes ago | parent

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

hurfdurf 2 minutes ago | parent

Not the latest ones.

jeena 1 hour ago | parent

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

notreallyhrre 53 minutes ago | parent

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)

dlcarrier 52 minutes ago | parent

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 30 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 44 minutes ago | parent

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

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

ChrisArchitect 57 minutes ago | parent

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

HaloZero 55 minutes ago | parent

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

cscharenberg 44 minutes ago | parent

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.

_tardigrade_ 18 minutes ago | parent

we need this for Samsung TV!