Top
Best
New

Posted by kls0e 9 hours ago

CleanYourTV: Remove Ads and Bloat from Android TV and Google TV(cleanyour.tv)
360 points | 137 comments
satvikpendem 8 hours ago|
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 8 hours ago||
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?
gonzalohm 7 hours ago|||
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
glitchcrab 6 hours ago|||
The counter argument would be that getting Claude to do the work enables people to take advantage of this who wouldn't have the technical know-how to do it manually. But you could also counter that with the fact that it's probably not a good idea for said people to do this because they cannot troubleshoot if something goes wrong.
ksala_ 5 hours ago|||
Nothing prevent those people from asking Claude to set up and run that script, or even modify that script to their preferences
glitchcrab 5 hours ago||
Are those people likely to even know to prompt Claude to write a bash script for them?
tredre3 4 hours ago||
Are those people likely to have a Claude subscription and Claude Code installed in the first place?
BikiniPrince 5 hours ago|||
This is how you get skynet everywhere.
turtlebits 2 hours ago|||
People can't read code. I might trust a prompt that I can read vs some random script. It allows me to tweak it or even follow up in the LLM session
gonzalohm 2 hours ago|||
You can trust a LLM either. They are not deterministic
BrokenMirror 2 hours ago|||
If you can't read code, then you can't read or understand what an LLM is doing either. Another approach to this project would be community sourcing the results and implementing them into a repeatable unlocking tool (what similar projects did before AI). This would not require AI for operation by the end user, only for contributors.
jorisw 6 hours ago||||
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 CleanYourTV 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 reads the output of the adb commands and takes screenshots to see if a particular change worked.

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

glitchcrab 5 hours ago|||
They could, but should they? A well written bash script behaves the same way each time it is run, but an LLM is non-deterministic and so no two runs are likely to be the same.
ssl-3 2 hours ago||
A bash script (or any other resolute computer program) can certainly behave exactly the same way each time it is run.

But does every TV (from a random sampling of TVs) respond to that bash script in the same way each time, or are there variations?

afavour 5 hours ago|||
> too much pasting adb commands and pasting back the output.

Couldn’t a better bash script handle that?

tempest_ 7 hours ago||||
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 6 hours ago||
I.e. like https://github.com/Universal-Debloater-Alliance/universal-an... for smartphones.

Beats everyone needing LLM subscriptions firing off the same prompts.

turtlebits 2 hours ago||
Honestly, I'd rather trust an LLM than a random repo. Free tier of most agents will work fine.
bsimpson 7 hours ago||||
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 periodically announcing 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 6 hours ago||
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.

ryandrake 4 hours ago|||
If you 1. are ok with LAN (or VPN) only, 2. trust your firewall, and 3. have it configured to deny outbound/Internet access to your "smart" devices, many of them are hackable/controllable over LAN only.

Sadly, a lot of devices still go through great pains to ensure they require the manufacturer's cloud-middleman, are NOT accessible from the LAN.

ThrowawayTestr 5 hours ago|||
The S in IoT stands for security
anticorporate 2 hours ago|||
That's why I refer to it as Smart Home Internet of Things. At least it has an S.
zapkyeskrill 2 hours ago|||
Correct, no such thing. They'd call it SHIT but thought that's too obvious
miah_ 8 hours ago||||
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?
IncreasePosts 4 hours ago|||
There are hundreds of models of android tvs, and thousands of variants when you consider various versions of firmware that might be present. If you don't have access to test every variant then just having an agent do it with a prompt is the most fool proof.

Maybe there could be a script that tries generic likely to succeed actions and then it falls back to an agent if it hits a wall

ryandrake 7 hours ago|||
I mean, "curl | bash" is only slightly better and still gives me the willies.
oxzidized 7 hours ago|||
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.
ssl-3 2 hours ago||
https://github.com/bashfuscator/bashfuscator
dlcarrier 7 hours ago|||
See also: curl -o- (https://youtu.be/M1si1y5lvkk?t=1902 or watch the whole video; it's excelent)
add-sub-mul-div 8 hours ago|||
In five years do you think anyone will be left who knows how to do anything like this for real?
mrinf1nity 8 hours ago|||
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.

dawnerd 3 hours ago|||
Ya, there will be. The people that don’t have a clue on how it works are the ones fully surrendering. Believe it or not, but some of us actually like to tinker and write code and that won’t change because of what others are doing.
smusamashah 7 hours ago|||
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 7 hours ago|||
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.
y-c-o-m-b 5 hours ago|||
Forget setting it up, I simply asked Claude to scan a repo with code for a similar AndroidTV project; I wanted to make sure there wasn't any security issues or malware code hidden in it. It scanned about 20% of the repo, then Claude did not like what it saw at all and refused to continue without providing an actual reason.
phantomathkg 4 hours ago|||
LLM model without censorship becomes very important to us.
nirav72 6 hours ago|||
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.
inknight 7 hours ago|||
Just use DeepSeek
m463 3 hours ago|||
> If you ask Codex or Claude to set this up for you, they might ban you, as they did others like the user log4j

This kind of stuff sucks - why are these ai companies preventing people from removing this intrusive oppression?

I'm reminded of apple - your apps have more control of your phone than you do, allowing unfettered access to the internet to be used against your best interests. And apple bans firewall apps (which can interfere with "revenue streams"), so you can't really protect yourself.

coredog64 8 hours ago|||
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 7 hours ago||
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 7 hours ago||
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.
wolvoleo 4 hours ago|||
It's a bit silly if you can't even remove unwanted espionage and ads from a device that you own.
ct520 4 hours ago|||
used this with claude code no issues. night and day difference from TV. YMMV
jmyeet 8 hours ago|||
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 changing or removing software on the device you supposedly own. 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 7 hours ago||
> 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 7 hours ago||
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.

hr2016 2 hours ago||
Just a couple of nights ago I had Claude clean up my old mibox s or what ever it's called. Nothing drastic, enable Developer mode and adb, it then did a scan of any and all logs and resources, "we" threw out a bunch of crappy apps or disabled them. It went from being barely usable to quite fresh, in comparison. If it holds up, it should last me many more years. Less e-waste, less money spent.
bourbonjuggler 9 hours ago||
There are similar options for LG's webos.

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

- https://www.webosbrew.org/

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

patrickk 3 hours ago||
Glasshouse is great.

Some other things to consider, from a previous thread:

> LG TV with glasshouse. Old Harmony hub (support discontinued by Logitech) with Melodious. NVIDIA shield pro with - iptv, Stremio, Jellyfin, etc. Pi hole.

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

Edit: next up is flashing OpenATV onto a DVB-S box for more fun and games. Beam satellite channels over the LAN using m3u and Dispatcharr.

jp191919 6 hours ago|||
I've been using Glasshouse for about a month. It's been great!
jeena 7 hours ago||
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 7 hours ago||
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 6 hours ago||
(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.

stronglikedan 4 hours ago|||
> the providers will start restricting those things which they didn't care about before

I think it'll be even worse - they'll go as far as trying to use the DMCA to have people arrested.

ignoramous 7 hours ago|||
> 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 7 hours ago||
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)
Quick2822 2 hours ago||
I used this and the prompt on a 4 year old Sony TV, and the performance gains were really noticeable. I ran it then on my ONN device and Shield, and again saw noticeable improvements.

I had it go beyond the launcher it creates by adding weather, picture of the day, and then a few custom features for the TV in the bedroom to easily control brightness, set a sleep timer, etc

collin128 8 hours ago||
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.
cube00 2 hours ago||
For some reason my TV didn't have apps only mode so had to go down the ADB route.
nabakin 4 hours ago|||
Apps only mode or installing a different launcher
daishi55 4 hours ago||
Nah I did app only mode and I still getting ads for BS that is not installed!
collin128 4 hours ago||
Huh, that's interesting. I haven't seen ads for anything that isn't still installed.

One thing you may want to check, just because they're not shown on the home screen doesn't they're still mean they're uninstalled from the system. I struggled with this a little bit initially.

drnick1 8 hours ago||
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 8 hours ago||
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 7 hours ago|||
Did it have multiple Wi-Fi chips? I've heard that's a thing.
gear54rus 8 hours ago|||
why physical intervention? couldn't you just not connect it to wifi?
satvikpendem 6 hours ago|||
LG TVs have been shown to use mesh networking and find open WiFi networks to connect to themselves.
ssl-3 2 hours ago||
Where can a person learn more about this discovery?
pluralmonad 7 hours ago|||
Most people do not live in a Faraday cage and no one should trust snooping malware to not utilize open networks.
minh27ten 8 hours ago||
[dead]
skybrian 5 hours ago||
Good idea. I've done something similar by vibe-coding my own Android TV app to run on a Google TV Streamer.

The basic trick is that installing Tailscale on the streamer makes it possible to use adb from a Linux VM in the cloud. The AI can take it from there. It's a lot easier than Android development used to be back in the day. I believe it used Kotlin, but haven't read the code.

We started out by writing a regular Android TV app that just displays a fixed URL in a webview. The UI is mostly a regular web page that embeds YouTube videos. You can try it out here: https://momtv.skybrian.com/

Then we did some TV-specific stuff like getting user input from the remote. When that worked, we configured it to be the launcher. It has a very basic menu to allow me to run other apps if I need to.

I never would have considered writing such a thing before this year.

syntaxing 5 hours ago|
Thats such an interesting trick. Even installing the tailscale app gives you enough access?
skybrian 2 hours ago||
You do have to turn on developer mode in the TV's settings and enable remote adb.
cebert 5 hours ago|
Has anyone been able to do this for Roku devices? They've done some updates where they're increasingly pushing ads. I am beyond irritated now that if I pause shows, I am presented with ads.
jzelinskie 5 hours ago||
I have an older TCL Roku TV and many years ago I was able to open the debug menus and just turn off the ads. It didn't take any debugging tools, just a special code on the remote to open a hidden menu. This probably only applies to the main menu, but I mostly only see it for a second these days before my TV switches input to my Apple TV.
codazoda 5 hours ago||
I'm seeing the ads too but since Fox Corporation bought Roku in November it seems like they are just cluttering everything up.

There are ton's of cars in the screen saver, the background is getting crazy busy, there is just "stuff" everywhere.

It's like Roku had designers with great vision and restraint and now they just have a bunch of people (and AI) throwing crap all over the screen.

coredog64 3 hours ago|||
Wasn't Roku spun out of Netflix? They were focused on the hardware side of that business model with the ad monetization being a more recent thing.
tostrstrudel 4 hours ago|||
If you change the theme from the default Roku City to the built in Roku Kids theme there are no ads and a whole new set of easter eggs to try and guess.
More comments...