Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
docs: a Tizen set has no ADB, so none of the tools reach it (Samsung AU8000)
xbshengbc26a89c5046
diff --git a/README.md b/README.mdindex 5fb052aae..ed5370422 100644--- a/README.md+++ b/README.md@@ -110,9 +110,11 @@ phoning home, no apps you never asked for.## Supported TVsAnything running **Android TV** or **Google TV**. Samsung (Tizen) and LG (webOS) run different-systems; see [SHOWCASE.md](SHOWCASE.md) for a webOS port. **Fire TV** takes the debloat half only,-since Fire OS will not hand Home to a third-party launcher. A few China-market TCL sets refuse to-install any launcher at all; their lists say so in the header.+systems; see [SHOWCASE.md](SHOWCASE.md) for a webOS port, and+[docs/devices/samsung-tizen.md](docs/devices/samsung-tizen.md) for what a 2021 Samsung set answers+over Wi-Fi (no ADB, so no `pm disable-user`) if you are weighing a Tizen port. **Fire TV** takes the+debloat half only, since Fire OS will not hand Home to a third-party launcher. A few China-market TCL+sets refuse to install any launcher at all; their lists say so in the header.Tested lists from contributors, one folder per model in [`examples/`](examples/):diff --git a/README.zh-CN.md b/README.zh-CN.mdindex 53004876c..8a5a57128 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -87,7 +87,7 @@清理清单面向 **Android TV / Google TV**;当前桌面 APK 要求 **Android 8.0(API 26)或更高版本**。社区提供了多种电视与电视盒子的配置;其中一些设备运行的 Android 版本低于桌面的最低要求,清理清单不代表桌面可安装。请在[机型清单](examples/README.md)中核对型号、地区和固件,阅读对应目录的说明,再使用停用列表。-- Samsung Tizen 和 LG webOS 不能直接运行本项目的 Android 桌面;社区移植项目可参考[社区作品](SHOWCASE.md)。+- Samsung Tizen 和 LG webOS 不能直接运行本项目的 Android 桌面;[docs/devices/samsung-tizen.md](docs/devices/samsung-tizen.md) 记录了一台 2021 年 Tizen 机型在局域网里暴露的接口(没有 ADB,因而无法停用应用),社区移植项目可参考[社区作品](SHOWCASE.md)。- Fire TV 的清理记录可供手动适配;[操作提示词](PROMPT.md)不适用于 Fire TV,Fire OS 也限制替换默认桌面。- 部分中国大陆版电视会拒绝侧载 APK 或安装第三方 HOME 桌面,已记录的 TCL 机型只是其中的例子。不能仅凭品牌判断兼容性。- 没有现成清单时,可以让助手检查实际设备,并按[贡献指南](CONTRIBUTING.md)提交经过验证的机型记录。diff --git a/docs/devices/samsung-tizen.md b/docs/devices/samsung-tizen.mdnew file mode 100644index 000000000..ed42139ff--- /dev/null+++ b/docs/devices/samsung-tizen.md@@ -0,0 +1,66 @@+# Samsung Tizen (2021 AU8000): what a set exposes, and what a port would face++One owner's reconnaissance from a Mac on the same network, not a port and not a tested list. It was+reported in [#441](https://github.com/Gathin23/cleanyourtv/issues/441) on 2026-10-20 by+[@csmith1133](https://github.com/csmith1133), with nothing changed on the TV. Nothing in `tools/`+speaks Tizen: `tools/tv.py` drives `adb`, and this set has no `adb` to connect to.++| Field | Observed value |+|---|---|+| Retail model | UN50AU8000FXZA, 50" AU8000, 2021 |+| Model string (`/api/v2/`) | `21_KANTSU2E_UHD_VOICE` |+| System | Tizen, US firmware |+| Network | Wi-Fi |++## What answers without touching the TV++- SSDP replies as `Samsung-Linux/4.1, UPnP/1.0, Samsung_UPnP_SDK/1.0`, with a DMR on `9197` and+ `nservice` on `7678`.+- `GET http://<tv>:8001/api/v2/` returns the model, the power state, `TokenAuthSupport: true` and+ `developerMode: 0`.++| Port | State | What it is |+|---|---|---|+| 8001 | open | HTTP API and the remote-control websocket |+| 8002 | open | the same remote over TLS |+| 8080 | open | open in the report, purpose not identified |+| 9080 | open | open in the report, purpose not identified |+| 9197 | open | UPnP DMR (media rendering) |+| 7678 | open | `nservice` |+| 5555 | closed | no ADB on retail firmware |+| 26101 | closed | no `sdb` while Developer Mode is off |++## What that rules out++- **No shell, so no `pm disable-user`.** Samsung's own apps cannot be disabled from outside on+ retail firmware, which is what every list in `examples/` is built on.+- **No screenshot.** `screencap` is part of that missing shell, and there is no capture API on 8001+ or 8002, so a script cannot see the TV to decide what the next key press should be.+- **No Home takeover.** No third-party app can take the Home button, so `launcher/` has nowhere to+ go here even if it could be installed.++## What a Tizen cleanup could still be++The remote on 8002 accepts key presses once the "Allow" prompt is accepted on the TV, and+`/api/v2/applications/<appId>` can launch an app, so a script can walk the settings menus the owner+named in the report: interest-based ads, viewing information services, autorun Smart Hub. That is a+key sequence with a person watching the screen, not a package list. Combined with DNS blocking at+the router, it is the realistic shape of a Tizen version of this repo: settings by remote keys plus+DNS, rather than debloat plus a launcher.++A port like that belongs in its own repository, with a row in [SHOWCASE.md](../../SHOWCASE.md), the+same as the [webOS launcher](https://github.com/OmkarK97/webos-vibehack).++## What this report does not establish++- One set, one firmware, one region, one session. Tizen versions differ between years and markets,+ and none of this was checked on a second TV.+- Developer Mode was off, so the path through `sdb` on 26101 was not tested. A developer-mode set+ would still not have `adb`, and no `pm`-style package disabling was claimed.+- Whether the remote socket asks for the "Allow" prompt again after every TV reboot, and how long+ that grant lasts, is unmeasured.+- The app-launch endpoint was reported to work; which Smart Hub apps answer it, and whether it can+ reach a settings activity rather than only an app, is unmeasured.++If you have one of these sets and want to extend this page, a second unit on a different year or+region is the useful data point.diff --git a/tests/test_samsung_tizen_note.py b/tests/test_samsung_tizen_note.pynew file mode 100644index 000000000..05f45d20a--- /dev/null+++ b/tests/test_samsung_tizen_note.py@@ -0,0 +1,80 @@+"""A Samsung Tizen set is documented as out of reach for this repo's tools, not as a supported TV.++#441 offered one owner's reconnaissance of an AU8000, and the answer to "can this repo clean my+Samsung?" is no: there is no ADB on retail firmware, so there is no `pm disable-user`, no shell, no+screenshot, and no way to take Home. The ports are pinned open or closed here because that split is+the whole argument, and because a later edit that moves 5555 into the open column would turn an+honest "not supported" into a wrong one. The README has to keep sending Tizen readers to the page;+otherwise the only answer they get is "different system" with nowhere to go.++Run from the repository root: python3 -m unittest discover -s tests -v+"""+import re+from pathlib import Path+import unittest+++ROOT = Path(__file__).resolve().parents[1]+PAGE = ROOT / "docs" / "devices" / "samsung-tizen.md"+README = ROOT / "README.md"+++def page():+ return PAGE.read_text(encoding="utf-8")+++def ports():+ """The port table: port number -> state, from the three-column rows."""+ found = {}+ for line in page().split("\n"):+ cells = [c.strip() for c in line.strip().strip("|").split("|")]+ if len(cells) == 3 and cells[0].isdigit():+ found[cells[0]] = cells[1].lower()+ return found+++class SamsungTizenPageTest(unittest.TestCase):+ def test_page_names_the_set_it_describes(self):+ text = page()+ self.assertIn("UN50AU8000FXZA", text, "a Tizen reader has to be able to tell whether it is their set")+ self.assertIn("Tizen", text)+ self.assertIn("#441", text, "the report the page is transcribed from")++ def test_no_adb_and_no_sdb(self):+ table = ports()+ self.assertEqual(table.get("5555"), "closed", f"5555 is not the ADB port here: {table}")+ self.assertEqual(table.get("26101"), "closed", f"26101 is closed with Developer Mode off: {table}")++ def test_the_remote_ports_are_the_open_ones(self):+ table = ports()+ for port in ("8001", "8002"):+ self.assertEqual(table.get(port), "open", f"{port} carries the remote: {table}")++ def test_the_page_says_why_the_lists_cannot_be_applied(self):+ text = page()+ self.assertRegex(text, r"(?i)no\s+`pm disable-user`", "the page has to say there is no disable path")+ self.assertRegex(text, r"(?i)no screenshot|no capture api", "the page has to say a script cannot see the screen")+ self.assertRegex(text, r"(?i)no home takeover|no third-party app can take the home",+ "the page has to say the launcher half does not carry over")++ def test_the_page_keeps_its_limits(self):+ self.assertRegex(page(), r"(?i)one set, one firmware",+ "one owner's report must not read like a platform-wide claim")++ def test_readme_sends_tizen_readers_to_the_page(self):+ text = README.read_text(encoding="utf-8")+ self.assertIn("docs/devices/samsung-tizen.md", text,+ "the Supported TVs paragraph is where a Samsung owner looks")+ self.assertRegex(text, r"(?i)samsung \(tizen\)")+++class PageLinksTest(unittest.TestCase):+ def test_readme_links_resolve(self):+ text = README.read_text(encoding="utf-8")+ for target in sorted(set(re.findall(r"\]\((docs/devices/[^)#]+)\)", text))):+ with self.subTest(target=target):+ self.assertTrue((ROOT / target).is_file(), f"README points at a missing file: {target}")+++if __name__ == "__main__":+ unittest.main()