51 comments

  • satvikpendem 1 day 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 1 day 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 1 day 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 1 day 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_ 23 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 23 hours ago
              Are those people likely to even know to prompt Claude to write a bash script for them?
              • tredre3 22 hours ago
                Are those people likely to have a Claude subscription and Claude Code installed in the first place?
              • stalfie 11 hours ago
                You don't need to ask for a bash script to get one. Say "remove bloat plz" and "plz keep going" a few times and a good model will reverse engineer the firmware if it has to.
          • j45 18 hours ago
            Those people might not have the skills anyways.
          • BikiniPrince 23 hours ago
            This is how you get skynet everywhere.
        • turtlebits 20 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 20 hours ago
            You can trust a LLM either. They are not deterministic
            • jack_pp 14 hours ago
              You can trust it to not be deliberately malicious. It might break but the chances that it roots your TV and installs a botnet on it is not really there
            • lytedev 19 hours ago
              Neither are people lol
              • Krssst 14 hours ago
                Scripts are.
                • Sjonny 5 hours ago
                  The Internet isn't
                • mexicocitinluez 5 hours ago
                  Scripts aren't inherently deterministic. Anything that checks the current date and time would break that.
              • nemomarx 17 hours ago
                Imagine if an install instruction for some software was "go talk to this person on IRC and do what they say". Also kind of weird?

                You do get the benefit of using your own LLM here at least.

                Of course if it's a normal install script you could have your LLM explain it to you too, and code isn't hard to read.

          • BrokenMirror 20 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.
            • NewsaHackO 8 hours ago
              I think the fear is that running opaque bash scripts under sudo has a risk of obscuring code and installing some botnet on the computer. Claude may get something wrong and mess up your computer, but definitely will not install some botnet on your computer.
              • dnemmers 6 hours ago
                How do you have any idea that's true?
        • brookst 4 hours ago
          The flip side is Claude can deal with variations in firmware version and other environmental variations that a simple script can’t.
          • gonzalohm 3 hours ago
            Yeah, I actually read through the repo and they encourage contributing with model-specific instructions. So at some point most TVs would be covered.

            I submitted mine

        • wat10000 18 hours ago
          How much of this could actually be scripted without needing to customize it for every TV model out there?

          Millions of people use AI tools already, I don't see how this doesn't scale. It's inefficient in terms of machine resources, but saves a lot of time on the people side from not needing to investigate and test and integrate scripting for hundreds or thousands of different kinds of TVs.

        • janalsncm 18 hours ago
          [dead]
      • jorisw 1 day 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 23 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 20 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?

          • satvikpendem 17 hours ago
            No two TVs are the same, so something that understands the differences would work, hence an LLM prompt.
            • CyberDildonics 6 hours ago
              You might be thinking of snowflakes and fingerprints. TVs are the same and they are usually made of only 4 circuit boards with a small computer hooked in.
              • satvikpendem 3 hours ago
                In terms of coverage of a bash script and including the network conditions of one's home, they are not. An LLM that can understand and diagnose that automatically is much better than a bash script.

                Also, wrong example to choose, as fingerprints and snowflakes can be identical.

                • CyberDildonics 3 hours ago
                  In terms of coverage of a bash script and including the network conditions of one's home

                  Why would that be the case? Give the script an IP address.

                  An LLM that can understand and diagnose that automatically is much better than a bash script.

                  You need an LLM to figure out your TV's IP address?

                  Also, wrong example to choose, as fingerprints and snowflakes can be identical.

                  Maybe you can show proof, since there are no confirmed cases of either, even among identical twins.

                  This is about misconceptions anyway, which why thinking every TV is different is ridiculous. You don't need an LLM to install something on a router or a PC.

          • mexicocitinluez 5 hours ago
            > behaves the same way each time it is run,

            The inputs are TV, model, firmware, installed packages and their versions and network. Those not only vary across users, but even on the same TV 5 minutes apart. So "behaves the same way" would be pretty difficult to pull off regardless.

            It's a trade-off. You either use a prompt that is self-adapting but could potentially cause issues or a script that needs to a ton of maintenance. I guess you could use the LLM to create the script, but it's still frozen in time. I don't know what the best answer is, and probably won't try it myself, but I don't know there are too many realistic alternatives.

        • afavour 23 hours ago
          > too much pasting adb commands and pasting back the output.

          Couldn’t a better bash script handle that?

      • bsimpson 1 day 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 1 day 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 22 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.

          • satvikpendem 3 hours ago
            With LLMs you can harden their security yourself. As for TVs, you can also control the output to them yourself.
          • ThrowawayTestr 23 hours ago
            The S in IoT stands for security
            • anticorporate 21 hours ago
              That's why I refer to it as Smart Home Internet of Things. At least it has an S.
            • zapkyeskrill 20 hours ago
              Correct, no such thing. They'd call it SHIT but thought that's too obvious
      • tempest_ 1 day 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.

      • miah_ 1 day 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 22 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 1 day ago
          I mean, "curl | bash" is only slightly better and still gives me the willies.
      • apimade 12 hours ago
        I published something similar when I realised I could mod the Codex client with Codex, adding “auto model selection” based on practices/approaches adopted by other clients I’d reverse engineered.

        It’s actually pretty cool, if it wasn’t for the heavy computation — it’d be “the most transparent” form of open source software, because everyone would understand it!

      • mycall 10 hours ago
        One good aspect to distributing software as a prompt is that is doesn't trigger California SB 122 (or similar written taxes) which triggers only for "prewritten computer software" which this is not.
      • dgunay 15 hours ago
        For processes that are finicky and prone to bit rot (like installing software with complicated dependencies or on a wide variety of targets) I feel like it sort of makes sense. The LLM will usually follow the prompt as close as possible while navigating speedbumps, you can influence the process by giving other standing instructions, etc.
      • cxr 15 hours ago
        > What's wrong with a deterministic [X]?

        The same could be said regarding many LLM-powered conversational interfaces showing up in places where a simple, computationally economical command processor (or even a sophisticated, Inform7-tier input language) would just as well serve the use case.

      • add-sub-mul-div 1 day ago
        In five years do you think anyone will be left who knows how to do anything like this for real?
        • mrinf1nity 1 day 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.

        • singleshot_ 19 hours ago
          Yes; we will be quite busy.
        • dawnerd 21 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.
      • normcu 12 hours ago
        [dead]
    • smusamashah 1 day 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 1 day 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 23 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.
    • nirav72 1 day 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 1 day ago
      Just use DeepSeek
      • aussieguy1234 16 hours ago
        Second this.

        If it's DeepSeek flash, it'll also get the job done much faster than Claude.

    • phantomathkg 22 hours ago
      LLM model without censorship becomes very important to us.
    • m463 21 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 1 day 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 1 day 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 1 day 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.
      • plagiarist 18 hours ago
        Super cool that they're also deciding for us what we're allowed to do with our own hardware.
    • wolvoleo 22 hours ago
      It's a bit silly if you can't even remove unwanted espionage and ads from a device that you own.
    • ct520 22 hours ago
      used this with claude code no issues. night and day difference from TV. YMMV
    • jmyeet 1 day 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 1 day 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 1 day 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.

    • Neywiny 17 hours ago
      See the problem though is that it's lost to the sands of time. Should've had it make a script you could make a git gist of for others. Maybe just like, point it to the adb, and cycle every time the user presses enter or up/down or left/right.

      It's like how I watched this video including extracting a key from a bin dump, and the guy just put the hex into his harness and out popped the key. Should've been a script or at least telling us where it found the key.

      • jack_pp 13 hours ago
        If at this point in time claude could do it I'm pretty sure the solution is derivable for any big enough LLM.

        Why do you assume OP just got lucky and the prompt wouldn't work for you?

        • NewsaHackO 8 hours ago
          The other thing I have definitely seen is that people will be really proud and post something like this to Git, then the anti-AI crowd will do their best to pick apart everything wrong with it just to push a agenda. I don't know why anyone would share something in that environment.
  • jeena 1 day 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 1 day 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 1 day 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 22 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 1 day 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.

      • Quarrel 16 hours ago
        My TCL, a 2025 model, runs Android TV 14 and they don't seem to lock it down at all. Very easy to turn on debugging and adb to over wifi.

        Or you can just install an apk from a thumbdrive on it easily.

    • judge2020 18 hours ago
      > and have been enjoying ad and sponsor free videos ever since

      I hate to bring this up but in the context of videos served to your TV via services, is it really moral to block ads on said services?

      On something like the TV itself, blocking ads is a bit more justifiable since there is no ongoing commitment the OS maker in serving your TV on their network. You paid for the hardware, the hardware may be subsidized by ads, but there is no contract saying you must watch said ads to keep using the hardware, and TV makers know this because a lot of people will still use a set-top box instead of the TV's software to stream media.

      But if you're paying $11 a month for HBO Max's "Basic With Ads", instead of the $18.49 version without ads, and then are just blocking them - where is the argument for this being OK? (I would be interested in hearing your view of it regardless of what it is - even if it's something as simple as "WB can go fuck themselves", which they can).

      • Telaneo 16 hours ago
        > is it really moral to block ads on said services?

        It is always moral to block ads.

        • judge2020 15 hours ago
          This means nothing without justification, especially in a scenario where the service offers a way to pay a nominal fee to not see said ads (to actually fund the creation of the content you're intending to view).
          • Telaneo 7 hours ago
            Ads themselves and the vast majority of marketing are psychological abuse and should be illegal.

            If the have two options, service X and service X with abuse, and the abuse can easily be stripped out, I don't blame anyone for doing that if they can pay less for doing that. Although, it's probably just even better to outright pirate it and not fund companies that bundle abuse with their products.

          • taytus 3 hours ago
            Oh yeah, we all should feel bad for tiny companies like Amazon loosing so much money
      • Fnoord 17 hours ago
        > I hate to bring this up but in the context of videos served to your TV via services, is it really moral to block ads on said services?

        Given my kids are the only user of YouTube: 100%.

        And I'll be applying this guide on my Nvidia Shield TV Pro. Because it has an advertisement on the top all the time on the homescreen. While my kids are the main user of this device!

        What I don't understand though is what Claude or AI has to do with any of this. You can just follow the instructions.. and, run... the script? ¯\_(ツ)_/¯

        Edit: took me like 10 min to get this going manually, TYVM. The repo is exactly what I was after. Now I'll feel the temporarily wrath of my family regarding 'it is different than I'm used to!!' tomorrow. Hopefully it won't last too long, in the end it is a massive improvement.

      • holgerschurig 10 hours ago
        I actually think it's almost always amoral to serve ads in the internet. And partially on billboards. Perhaps not in news papers.

        Internet:

        What you think is just an ad really isn't. It's a system designed to manipulate you, with a/b testing and backchannels. They actually track your behavior and even your hardware (browser identification). They steal your bandwidth: makes the pages slow as molasses. They steal your traffic plan: the cellular user that have x GB per Month use up a lot of that due to ads. They are flickering and steal your attention: especially movement in the periphery is detected by the brain and creates stress. We also had cases there ads served malware. And we have cases where companies serving them give a shit about fraud done using their ad system.

        Billboards:

        They are ugly as heck. Walk an area with billboards "screaming" their message to you and than e.g. into a nice mideavel town center of a european town where billboards are forbidden due to conservation laws. You'll notice the difference in an instant.

        News Papers:

        Here the ads are printed. There is no back-channel. No flickering like an attention seeking 4 year old. No a/b tests and other psychological games. The text won't reflow due to ads (making it hard for you to read). And no modal popup dialog appears telling you that you MUST subscribe to their pointless email service. And if the news papers print regularly fraud add then the state attorney will usually actually do a thing about it.

        So we see, ads != ads. They can actually inform you. But they can (and usually are) just a nuisance.

        As I see all manipulation as amoral, I generally see ads as amoral, too. Fun thing: around 1900 the word "propaganda" was often used for ads, not for political manipulation.

      • greggoB 6 hours ago
        > I hate to bring this up but in the context of videos served to your TV via services, is it really moral to block ads on said services?

        Seems a weird hill to want to die on, on but I'll bite.

        Morality is evidently a function of the choices one has. In a world where pretty much everything is ad-driven (even for services we pay for!), and there is a total dearth of real ad-free options because they can't compete, what choices are there exactly?

        Ads and tracking are an inherently exploitative operation, which none of us are able to fully escape, from accessing our banks to government services. There is no alternative. So where are your moral qualms re this?

      • jeena 18 hours ago
        > is it really moral to block ads on said services?

        I mean in today's world the immoral people already won, I won't make a dent in that by suffering through ads.

        I also only was able to figure it out for YouTube, not for other apps yet. But on Netflix I figured out that when the advertisement starts if you press back and play very fast it just skips the advertisement, so I do that the few times we watch Netflix.

        I can handle a lot but advertisement I just can't and I'm ok being a hypocrate. I want pull advertisement not push, when I need something I look for it and want be able to find information about it and compare it to others, etc. Push advertisement I just porsonally can't stand and have given up everything where I couldn't turn it off and just don't use it.

        Other than that me eating meat is a much worse moral sin than skipping advertisement. At least I'm not supporting genocide, so yeah.

    • notreallyhrre 1 day ago
      [dead]
  • bourbonjuggler 1 day ago
    • jp191919 1 day ago
      I've been using Glasshouse for about a month. It's been great!
    • patrickk 21 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.

  • skybrian 23 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 23 hours ago
      Thats such an interesting trick. Even installing the tailscale app gives you enough access?
      • skybrian 20 hours ago
        You do have to turn on developer mode in the TV's settings and enable remote adb.
  • collin128 1 day 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 20 hours ago
      For some reason my TV didn't have apps only mode so I had to go down the ADB route.
    • nabakin 22 hours ago
      Apps only mode or installing a different launcher
    • daishi55 23 hours ago
      Nah I did app only mode and I still getting ads for BS that is not installed!
      • collin128 22 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 1 day 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 1 day 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
      • nilespotter 2 hours ago
        Same, except I'm running a SOCKS proxy elsewhere for SmartTube that exits through my external VPN provider.
    • analog8374 1 day ago
      Did it have multiple Wi-Fi chips? I've heard that's a thing.
    • gear54rus 1 day ago
      why physical intervention? couldn't you just not connect it to wifi?
    • minh27ten 1 day ago
      [dead]
  • hr2016 20 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.
  • cebert 23 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 23 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 23 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.

      • tostrstrudel 22 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.
      • coredog64 21 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.
  • Quick2822 20 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

  • hn_submit 1 day ago
    Are there open source AOSP Android TV versions like LineageOS on mobiles?
    • drnick1 1 day ago
      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.
      • yjftsjthsd-h 10 hours ago
        > I run LineageOS TV on a mini PC, works great.

        x86? I thought they didn't have official builds, how'd you get that?

        • drnick1 46 minutes ago
          I built my own with considerable assistance from Claude. Most of the pieces already exist in various repos, it's largely integration work. Takes 3 to 4 hours to compile from source on a fast 16-core workstation though.
    • yjftsjthsd-h 10 hours ago
      LineageOS itself supports some TVs and streaming boxes. Not enough, but not nothing.
    • kls0e 17 hours ago
      possibly this will be spun up AI-backed in near future.
  • dvratil 1 day ago
    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

  • billfor 1 day ago
    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 1 day ago
      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 day ago
        I think the Chromecasts hardcode 8.8.8.8. I know some TVs did this for a while.
        • dsr_ 1 day ago
          Which is why my router answers DNS on 8.8.8.8.
    • letrix 1 day ago
      > 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 day ago
      Having a TV with a usable menu is nice.
  • aenis 22 hours ago
    Gods work. Thanks for that. I was seriously considering who can I take to small claims court for damaging the $4000 Philips TV which, when bought, had no ads crap on it.
  • onaclov2000 1 day ago
    I haven't seen if anyone has done this with Roku, has anyone seen it?
  • statenjason 1 day ago
    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.
  • danpalmer 8 hours ago
    This looks good, but the README and copy on the site are painfully AI written and really don't sell it.
  • jorisw 23 hours ago
    Beware that on Google TV, installing a special launcher like this one, removes the capability to boot the TV straight into an external input by default.
  • ddtaylor 1 day ago
    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.
  • nutcasey 22 hours ago
    For LG users, Glasshouse Home is a fantastic alternative. It even has a custom dashboard that's constantly being updated. I'm really impressed by this: https://github.com/rorygallagher2024/glasshouse
    • sgarman 22 hours ago
      This looks neat. I can't find how this and these types of tools interact with the actual video playing parts, i.e. hdr support, audio codecs etc.
  • joshka 19 hours ago
    My biggest concern over my aging but perfectly functional TV is that it no longer receives security updates since 2023. In contrast, my same era Apple TV is running iOS 27 (the latest version). One of these is allowed on my network, the other not so much.
    • judge2020 18 hours ago
      Even when a hardware is too out of date for latest iOS, Apple still goes to support them, e.g. this iOS 15 security fix from May of this year supporting the _iPhone 6S_ [0].

      I hope Google's Project Mainline helps somewhat in this regard, but it's hard to find any specific references to fixes. There was the 2020 Pixel 4a bootloop fix[1], but this was a fix for PR's sake, not to support security fixes.

      0: https://support.apple.com/en-us/127114

      1: https://www.androidauthority.com/pixel-4a-boot-loop-fix-3683...

      • joshka 1 hour ago
        In posting the above, I was hoping someone would Cunnigham's law me and tell me how to replace the firmware entirely. The Sony XBR series can't be updated thus far. Alas.
  • jdorfman 13 hours ago
    Worked for me. My wife loves not seeing the ads. We're happy.
  • mlmonkey 21 hours ago
    Do you have to have Claude Code (I'm guessing yes, since it needs to connect to devices on your LAN and run commands)?
  • HaloZero 1 day ago
    Is this much more than just installing an new launcher and setting it as up as your default?
  • Marshyy 22 hours ago
    I did this a few weeks ago and it worked great for me. I got rid of everything and kept 2 things - a photo of my cats as the wallpaper and the Plex app.
  • kls0e 1 day ago
    this is super snappy on my xgimi mogo 2 pro.
    • johng 1 day ago
      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 1 day ago
    wild how the original project is sitting at 123 stars while this one has 500x more lol https://github.com/cobanov/tv
    • nguyenkien 22 hours ago
      The other one come with a good tv launcher.
    • satvikpendem 1 day ago
      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.
  • mzajc 1 day ago
    > 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

  • 1970-01-01 1 day ago
    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?
  • yunnpp 19 hours ago
    Damn, I realized after following this guide that my LG TV was full of spyware, including functionality that literally streams your screen contents to a server. Whoever works on this sort of crap needs to die.
    • hurfdurf 10 hours ago
      "We own the glass." Oh, btw, did you know that LG is an official partner of Apple's "Home Collection" brand of Home View-supporting devices?
  • bagacrap 5 hours ago
    > No root. Nothing uninstalled. One command undoes it.

    It really bugs me when people use ai to write prose, but the more prominent that prose the worse it is. You can't even write your own sub-heading?

    One day ai prose won't sound like so formulaic and overwrought and salesy, but for now I can't even muster the desire to scroll past the intro. If someone is so eager to lean into the slop I just have no faith the project is of any real interest.

  • jameshart 1 day ago
    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

  • mthoms 21 hours ago
    This is timely. I just learned about ADB and set up a machine on my home lab to automatically press the "skip" and "next" buttons that appear during Youtube ads.

    This doesn't do anything you can't already do with the remote (blocking ads completely is a whole other conversation). But it means I don't have to reach for the remote at every ad break, just to get the minimal ad experience.

  • utopiah 1 day ago
    Usual conflicted emotions :

    - Yes, nice, amazing, let's remove bloatware, spyware, ads, etc and free up devices!

    - ... but also if you do buy hardware and support corporations fueling surveillance capitalism knowingly, maybe don't.

    • npteljes 11 hours ago
      >if you do buy hardware and support corporations fueling surveillance capitalism knowingly

      Unfortunately this would rule out almost all TVs. Even a manufacturer like Metz, who create a specifically private TV, use components from companies that fuel surveillance capitalism (either by being Chinese, or sourcing their oled from LG, and so on).

    • stronglikedan 22 hours ago
      > but also if you do buy hardware and support corporations fueling surveillance capitalism knowingly, maybe don't.

      This is too idealistic to get emotional about. Focus on the things you can change. Focusing on things you can't is just punishing yourself.

  • unethical_ban 12 hours ago
    Just worked for me, too. opencode > Terra 5.6, it pulled down build dependencies into /tmp and asked me a few questions. I had it be conservative, keep most things and delete the known telemetry/adware and replace the launcher.

    The stock shield launcher was noticeably laggy. The new one feels peppy. Nice to have after a few years since Google pushed their adware launcher.

  • BorisMelnik 23 hours ago
    surprised to see this here - wasnt this hot news 2 weeks ago?
  • jimmyjazz14 1 day ago
    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.
    • krosaen 1 day ago
      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.
      • MBCook 21 hours ago
        You can?

        I don’t find it horrible because, as an Apple TV+ subscriber, it’s the same thing that Hulu would do to me if I opened the Hulu app.

        Either way, it’s SO much less effort and SO much less obnoxious than what every smart TV (including mine) wants to do if I use the native stuff.

    • mikestew 1 day ago
      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 1 day ago
        yeah news one are pricey though I generally recommend looking for a used/refurb models.
    • drop_star 1 day ago
      No IPTV or Stremio on Apple TV unfortunately
      • TSUTiger 1 day ago
        IPTV apps are on apple tv, UHF even supports Stremio (as do Jellyfin apps, but ymmv)
        • heyheyhey 1 day ago
          UHF removed Stremio support when Apple started cracking down on it.
        • drop_star 1 day ago
          Good to know. Thanks!
      • supersimpleguy 1 day ago
        [dead]
    • jp191919 1 day ago
      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.
      • MBCook 21 hours ago
        Yeah, the silicone crisis and their profit margins have made things insane. They were crazily priced before, now they’re worse.

        Considering how much they want to sell services and have people buy shows off iTunes, you’d think they would try and go lower. Nope.

        Either way, I think it’s totally worth it.

        • hurfdurf 10 hours ago

            They were crazily priced before, now they’re worse.
          
          129/169 was on the high side in relation to the competition, but still reasonable for the offering. 299 is just silly.
    • neogodless 1 day ago
      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 1 day ago
        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.
        • Larrikin 21 hours ago
          His point was when you have a non Apple device you aren't locked down to the pre-approved apps. I used to be shocked people would use their browser with out an ad blocker. Now I can't understand how people can bear YouTube without sponsor block, which isn't available on iOS as far as I know
          • jimmyjazz14 17 hours ago
            ah yeah understandable, I don't have any special love for Apple though they are one of the few companies that make a straight forward ad free streaming devices that doesn't lag. I have thought about setting up a good ol fashion media pc but unfortunately I haven't found a good platform that would also work for my families viewing as well.
    • nntwozz 1 day ago
      This is the way, just sucks the price is so high now.
    • stronglikedan 22 hours ago
      Obligatory comment about how the new TVs are constantly scanning for open wifi networks to dump your data even if you didn't explicitly connect to anything.
    • lern_too_spel 1 day ago
      With an Apple TV, you have no way to hide the ads at all. With Android TV, at least it's possible.
      • jimmyjazz14 1 day ago
        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.
        • lern_too_spel 19 hours ago
          Not just within streaming services but within the App Store, which is littered with malware ads.
  • jesterson 15 hours ago
    Wish we have something like that for VIDAA for these who bought TV without thinking like me :)
  • SilentM68 20 hours ago
    This looks very interesting.
  • _tardigrade_ 1 day ago
    we need this for Samsung TV!
  • ChrisArchitect 1 day ago
    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

  • starik36 1 day ago
    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 1 day ago
      Same here, and isn't a Fire TV stick an Android device?
      • hurfdurf 1 day ago
        Not the latest ones.
      • dsr_ 1 day ago
        In only slightly more correlation than the sense in which FireTV and a Samsung TV are both Linux.
  • baal80spam 1 day ago
    Oh my god, this looks great.
  • tonymet 17 hours ago
    does this platform disable ads APKs or do more deeper content filtering with dns ?

    i'm on board with APK control.

    Google needs much better transparency & control with Google TV ads, they are disturbing.

  • devilfileprong 6 hours ago
    [dead]
  • AdmiralAsshat 1 day ago
    [dead]
  • ValCD 19 hours ago
    [dead]
  • cosmicgbp 12 hours ago
    [dead]
  • thanh219 12 hours ago
    [dead]
  • iliashark 1 day ago
    [dead]