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
README: a start-here table, a contents line and a brand grid; long sections move to docs/
Gathin23095b71ad93d9
diff --git a/AGENTS.md b/AGENTS.mdindex 215de0ebc..018b82dc2 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -71,7 +71,7 @@ share their TV's list afterwards, follow [`docs/workflows/tv-list.md`](docs/work| Path | What it is ||---|---|| `PROMPT.md` | The prompt people paste into their agent. Brand-neutral; safety rules live here. |-| `README.md` | Front page, with the TV table (generated from `examples/*/tv.json` by `tools/gen_tables.py`) and the Tools table. `README.zh-CN.md` and `README.vi.md` are translations. |+| `README.md` | Front page, with the brand grid (generated from `examples/*/tv.json` by `tools/gen_tables.py`) and the Tools table. Longer guides it links live in `docs/`: `launcher.md`, `restore.md`, `firmware-updates.md`, `privacy.md` and `faq.md`. `README.zh-CN.md` and `README.vi.md` are translations. || `CONTRIBUTING.md` | The contributor guide for people. "Where does my idea go?" is the routing table. || `SECURITY.md` | Private vulnerability reporting. || `SHOWCASE.md` | Projects built on this repo that live in their own repositories. |@@ -127,7 +127,7 @@ use it and ends with the check to run.| Tests, as CI runs them | `tools/venv/bin/python -m unittest discover -s tests -v` after `python3 -m venv tools/venv` and `tools/venv/bin/pip install -r tools/requirements.txt`. On `main`, CI sets `CLEANYOURTV_STRICT=1`, and its "README tables" job checks that the TV tables and counts are what `tools/gen_tables.py` writes. On Windows the suites that drive `tools/*.sh` report as skipped: they need a POSIX shell, and CI runs them. || Launcher, if you touched `launcher/` | JDK 17, Android SDK platform 34, build-tools 34.0.0. In `launcher/`: `./gradlew --no-daemon testReleaseUnitTest lintRelease assembleRelease`. Lint must stay at zero errors. || APK size gate | `launcher/app/build/outputs/apk/release/app-release.apk` must be under 589,824 B (576 KB). Linux: `stat -c %s`, macOS: `stat -f %z`. |-| README rows | A new list adds only its folder, with a `tv.json`: the TV tables, the brand line and the counts are generated after merging, so leave them alone. A theme has its row in `themes/README.md`; an add-on in `addons/README.md`. |+| README rows | A new list adds only its folder, with a `tv.json`: the TV tables, the brand grid and the counts are generated after merging, so leave them alone. A theme has its row in `themes/README.md`; an add-on in `addons/README.md`. || One topic per PR | A TV list never rides inside a launcher feature PR. A device's list plus small fixes for that same device can be one PR. || Tested on | Say which TV, Android version and firmware you tested on, in the PR template's "Tested on" line. || Real TV | Launcher changes are verified on a real TV, not only the emulator: `tools/tv.py --screenshot shots/after.png DPAD_DOWN`. D-pad from every edge (Up, Down, Left, Right). A button handled by an accessibility helper needs a press on the real remote, and a force-stop of the launcher switches the helpers off (`docs/TROUBLESHOOTING.md`). |diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 1fae64576..2e48f625e 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -37,10 +37,10 @@ Every brand ships different bloat. If you ran the prompt (or did it by hand) onbroke and what you re-enabled.4. Add `examples/<brand>-<model>/tv.json`, the row the TV tables show for your list. Copy`examples/xiaomi-mi-tv-4a/tv.json`: `tv` (the model as the tables name it), `os`, `brand` (spelled as- on the README's brand line; a new brand is fine) and `notes` (one line: what the list disables and- keeps). One optional key, `readme_os`, is the OS cell of the `README.md` table when it should read- shorter than `os` does in `examples/README.md`. Change nothing outside your folder: the TV tables in- `README.md` and `examples/README.md`, the brand line and the counts are generated from every folder's+ in the README's brand grid; a new brand is fine) and `notes` (one line: what the list disables and+ keeps). One optional key, `readme_os`, is the OS cell of the short table in `README.nl.md` when it should+ read shorter than `os` does in `examples/README.md`. Change nothing outside your folder: the TV table in+ `examples/README.md`, the brand grid in the READMEs and the counts are generated from every folder's`tv.json` after merging, so a PR that edits them only collides with the other open lists.5. If your TV's Live TV app or stock launcher has a different package name, say so in the header. Wherea script needs the stock launcher, `tools/restore.sh` takes it as its second argumentdiff --git a/README.md b/README.mdindex 87642cc64..5041b6983 100644--- a/README.md+++ b/README.md@@ -3,12 +3,7 @@</p><p align="center">- <a href="README.zh-CN.md"><img src="https://img.shields.io/badge/README-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-cfffcf?style=flat&labelColor=15181e" alt="简体中文"></a>- <a href="README.zh-TW.md"><img src="https://img.shields.io/badge/README-%E6%AD%A3%E9%AB%94%E4%B8%AD%E6%96%87-cfffcf?style=flat&labelColor=15181e" alt="正體中文"></a>- <a href="README.vi.md"><img src="https://img.shields.io/badge/README-Ti%E1%BA%BFng%20Vi%E1%BB%87t-cfffcf?style=flat&labelColor=15181e" alt="Tiếng Việt"></a>- <a href="README.ja.md"><img src="https://img.shields.io/badge/README-%E6%97%A5%E6%9C%AC%E8%AA%9E-cfffcf?style=flat&labelColor=15181e" alt="日本語"></a>- <a href="README.it.md"><img src="https://img.shields.io/badge/README-Italiano-cfffcf?style=flat&labelColor=15181e" alt="Italiano"></a>- <a href="README.nl.md"><img src="https://img.shields.io/badge/README-Nederlands-cfffcf?style=flat&labelColor=15181e" alt="Nederlands"></a>+ Read in: <a href="README.zh-CN.md">简体中文</a> · <a href="README.zh-TW.md">正體中文</a> · <a href="README.vi.md">Tiếng Việt</a> · <a href="README.ja.md">日本語</a> · <a href="README.it.md">Italiano</a> · <a href="README.nl.md">Nederlands</a></p><p align="center">@@ -28,21 +23,22 @@<a href="docs/PRESS.md"><img src="docs/card.jpg" alt="345 TV models · 93 brands · 29 languages · 532 KB launcher. Featured in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP and 297 more: 313 articles from 44 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a></p>-**Samsung, LG, Roku or another non-Android TV?** CleanYourTV can't run there, but you can still turn off-the tracking, step by step with your remote: [cleanyour.tv/not-android](https://cleanyour.tv/not-android)+## Start here-**The viral tweet:** [x.com/gathint/status/2111379569030939102](https://x.com/gathint/status/2111379569030939102)--On 17 October 2026 I posted a before and after of my parents' TV, cleaned up by Claude Code over Wi-Fi.-It reached 7.4M views, people started doing the same to their own TVs, and their replies turned into-the lists here: 170+ TV models from 200+ contributors in four days. The repo was called tv-vibehack-until the 19th; old links work.+| You have | Go to |+|---|---|+| **An Android TV or Google TV** | [Quick start](#quick-start): a coding assistant does the work in about fifteen minutes. |+| **A Samsung, LG, Roku, Vizio or Hisense VIDAA TV** | [cleanyour.tv/not-android](https://cleanyour.tv/not-android): CleanYourTV can't run there, but you can turn off the tracking with your remote. |+| **Only an Android phone** | The community-built [Clean Your TV app](https://cleanyour.tv/app): no laptop, no coding agent. |+| **Want to see it first** | [What you get](#what-you-get): screenshots of the new home screen. |-**Themes, switches and add-ons:** [cleanyour.tv/addons](https://cleanyour.tv/addons)+**Official links:** [cleanyour.tv](https://cleanyour.tv) and this repo. Other domains using the name, such as+cleanyourtv.com, are not run by this project ([#1004](https://github.com/Gathin23/cleanyourtv/issues/1004)).-**Official links:** the website is [cleanyour.tv](https://cleanyour.tv) and the code, launcher and-tools live only in this repo. Other domains using the name, such as cleanyourtv.com, are not run by-this project ([#1004](https://github.com/Gathin23/cleanyourtv/issues/1004)).+[How it works](#how-it-works) · [Quick start](#quick-start) · [What you get](#what-you-get) ·+[Supported TVs](#supported-tvs) · [Doing it by hand](#doing-it-by-hand) · [The launcher](#the-launcher) ·+[Restoring](#restoring-your-tv) · [Firmware updates](#after-a-firmware-update) ·+[Questions](#questions-people-ask) · [Contributing](#contributing)## How it works@@ -125,14 +121,22 @@ Anything running **Android TV** or **Google TV**.| **A few China-market TCL sets** | They refuse to install any launcher at all; their lists say so in the header. || **Samsung (Tizen), LG (webOS), Roku, Vizio, Hisense VIDAA** | Not supported (no ADB). Turn off the tracking instead: [cleanyour.tv/not-android](https://cleanyour.tv/not-android). See [SHOWCASE.md](SHOWCASE.md#other-platforms-fire-tv-and-lg-webos) for four webOS ports, 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. |-Tested lists from contributors, one folder per model in [`examples/`](examples/):+Tested lists from contributors, one folder per model in [`examples/`](examples/). The brands with the+most lists, each linked to its models on the website:<!-- tv-brands:start: generated by tools/gen_tables.py from examples/*/tv.json; edit those, not this -->-**TCL** 76 · **Sony** 40 · **Xiaomi** 32 · **Philips** 18 · **Skyworth** 14 · **Hisense** 11 · **Amazon Fire TV** 7 ·-**Panasonic** 6 · **BenQ** 5 · **SHARP** 5 · **JVC** 4 · **OnePlus** 4 · **Thomson** 4 · **Google** 3 · **Grundig** 3 ·-**Haier** 3 · **Motorola** 3 · **NVIDIA Shield** 3 · **RCA** 3 · **Redmi** 3 · **Toshiba** 3 · **Vu** 3 · **CHiQ** 2 ·-**EKO** 2 · **FFalcon** 2 · **Hitachi** 2 · **Insignia Fire TV** 2 · **Kalley** 2 · **Kogan** 2 · **Nokia** 2 ·+| | | | | | |+|---|---|---|---|---|---|+| [TCL](https://cleanyour.tv/tvs?q=TCL) · 76 | [Sony](https://cleanyour.tv/tvs?q=Sony) · 40 | [Xiaomi](https://cleanyour.tv/tvs?q=Xiaomi) · 32 | [Philips](https://cleanyour.tv/tvs?q=Philips) · 18 | [Skyworth](https://cleanyour.tv/tvs?q=Skyworth) · 14 | [Hisense](https://cleanyour.tv/tvs?q=Hisense) · 11 |+| [Amazon Fire TV](https://cleanyour.tv/tvs?q=Amazon%20Fire%20TV) · 7 | [Panasonic](https://cleanyour.tv/tvs?q=Panasonic) · 6 | [BenQ](https://cleanyour.tv/tvs?q=BenQ) · 5 | [SHARP](https://cleanyour.tv/tvs?q=SHARP) · 5 | [JVC](https://cleanyour.tv/tvs?q=JVC) · 4 | [OnePlus](https://cleanyour.tv/tvs?q=OnePlus) · 4 |+| [Thomson](https://cleanyour.tv/tvs?q=Thomson) · 4 | [Google](https://cleanyour.tv/tvs?q=Google) · 3 | [Grundig](https://cleanyour.tv/tvs?q=Grundig) · 3 | [Haier](https://cleanyour.tv/tvs?q=Haier) · 3 | [Motorola](https://cleanyour.tv/tvs?q=Motorola) · 3 | [NVIDIA Shield](https://cleanyour.tv/tvs?q=NVIDIA%20Shield) · 3 |+| [RCA](https://cleanyour.tv/tvs?q=RCA) · 3 | [Redmi](https://cleanyour.tv/tvs?q=Redmi) · 3 | [Toshiba](https://cleanyour.tv/tvs?q=Toshiba) · 3 | [Vu](https://cleanyour.tv/tvs?q=Vu) · 3 | [CHiQ](https://cleanyour.tv/tvs?q=CHiQ) · 2 | [EKO](https://cleanyour.tv/tvs?q=EKO) · 2 |+| [FFalcon](https://cleanyour.tv/tvs?q=FFalcon) · 2 | [Hitachi](https://cleanyour.tv/tvs?q=Hitachi) · 2 | [Insignia Fire TV](https://cleanyour.tv/tvs?q=Insignia%20Fire%20TV) · 2 | [Kalley](https://cleanyour.tv/tvs?q=Kalley) · 2 | [Kogan](https://cleanyour.tv/tvs?q=Kogan) · 2 | [Nokia](https://cleanyour.tv/tvs?q=Nokia) · 2 |++<details>+<summary>+49 more brands and 14 projector brands</summary>+**onn** 2 · **RockTek** 2 · **Sankey** 2 · **Sber** 2 · **Vidda** 2 ·Acer · AiPro2K · AIWA · AQUA · Artel · ASUS · Beko · BGH · Caxium · Cecotec · Challenger · Compac · Dcolor · Dialog ·DYON · Freebox · Home+ · INCLO · Karbonn · KTC · Liberton · Lumio · Master-G · MTC · Next · Noblex · OK. · OPPO ·@@ -140,364 +144,12 @@ Panavox · PEAQ · Polytron · PPTV · PRISM+ · SANYO · Seleco · Super GeneraTurkcell · Tuvio · Verizon · Vision ·Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, Magcubic, Portronics, Stellamore, Wanbo and XGIMI projectors-<!-- tv-brands:end -->--<details>-<summary><strong>The full list</strong></summary>--<!-- tv-table:start: generated by tools/gen_tables.py from examples/*/tv.json; edit those, not this -->+</details>-| TV | OS |-|---|---|-| Acer AR55AR2851UDPRO 55" (SCBC R4, Realtek rtd2851m), India | Android TV 14 |-| AiPro2K (Expressluck, dongnae; Changhong AI PONT family) | Android TV 14 |-| AIWA AI PONT SA (Changhong, osaka, ISDB86AW) | Google TV 14 |-| Alwtniet HY320 Mini projector (device adt3, Askey; Allwinner/HTC firmware), 1 GB, 720p | Android 11 |-| Amazon Fire TV 4K smart TV, 50" and 75" Omni Series (AFTTIFF43, brandenburg) | Fire OS 7.7.1.4 / 7.7.1.7, Android 9 |-| Amazon Fire TV smart TV (AFTEU014, greta, MediaTek m7322), Germany | Fire OS 7.6.8.5 / Android 9 |-| Amazon Fire TV Stick 4K Max, 1st gen 2021 (AFTKA, kara), Colombia | Fire OS 7.7.1.3 / Android 9 |-| Amazon Fire TV Stick 4K, 1st gen 2018 (AFTMM, mantis) | Fire OS 6.7.1.1 / Android 7.1 |-| Amazon Fire TV Stick 4K, 2nd gen 2023 (AFTKM, karat), Brazil | Fire OS 8.1.8.5 / Android 11 |-| Amazon Fire TV Stick Lite, 1st gen 2020 (AFTSS, sheldon) | Fire OS 7.7.1.7 / Android 9 |-| Amazon Fire TV, AFTDEC012E (ginza), Android 11 | Fire OS / Android 11 |-| Anker Nebula Cosmos projector D2140 (D2140-Cosmos, SDMC/Amlogic, 2 GB), Vietnam | Android TV 9 |-| Anker Nebula Mars 3 Air projector D2325 (Nebula_Mars_2_V2, taihang, MediaTek m7332), Portugal | Google TV 14 |-| Anker Nebula projector D2426 (D2426_CapsuleIIIPro, baekdu, SDMC/MediaTek m7632, 1.7 GB), Brazil | Android TV 14 |-| AQUA MatrixTV EE 50" 4K (Haier, AQ9676EU, omonia, MediaTek), Indonesia | Google TV 14 |-| Artel smart TV (CVTE TP.MT5510S.PB782, cvt_mt5863_eu, SMART_TV), Uzbekistan | Android 7.0 |-| ASUS M1G Google TV (MOKA, dahu, Realtek RTD2851F), US | Android TV 11 |-| Beko B43B880B (Arçelik, sinchon, MediaTek), Turkey | Android TV 11 |-| BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 |-| BenQ E55-750 (Changhong AI PONT, DVB96BQ) | Google TV (Android 11) |-| BenQ E55-760 (Changhong AI PONT, GTVU64BQ, board alimos) | Google TV 14 |-| BenQ GV32 portable projector (SDMC, BenQ_GV01, himalaya, MediaTek m7332) | Google TV 14 |-| BenQ QS01 Android TV dongle for BenQ projectors (Inspur, Amlogic S905Y2, 2 GB) | Android TV 12 |-| BGH Smart TV (reported model; UKNV.260821.001) | Android TV 14 |-| BYINTEK Love U4 projector, 1080P (Skyworth RG_HS352, HiSilicon Hi3751V350, 1 GB), Brazil | Android 9 |-| BYINTEK T5 Max projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic), Brazil | Google TV 14 |-| Caxium 58" 147 cm UHD Smart TV (Realtek RTD285O, RTK2851P, TopTech + Zeasn), Colombia | Android TV 9 |-| Cecotec VQU10065S 65" QLED (Vestel-built, shandao, MediaTek), Spain | Android TV 14 |-| Challenger 32T22 BT (cvt_mt5863_col, board TP.MT5510.PB781, MediaTek MT5659, 1 GB RAM), Colombia | Android 7.0 |-| CHiQ AI PONT (Changhong GTVU65, dangni, MediaTek mt5867) | Google TV 14 |-| CHiQ AI PONT (DVB93CQ) | Android TV 11 |-| Compac ATV R2 (SCBC R2, Realtek RTD285O) | Android TV 9 |-| Dcolor GD2 (YHT) | Google TV 14 (SDK 34) |-| Dialog ViU (SEI Robotics SEI103DL, Amlogic, NES middleware), Sri Lanka | Android TV 9 |-| DYON 2K Android TV (MTC, komagome, MediaTek m5621), Germany | Android TV 11 |-| EKO 2K Google TV (MTC-built, tennoji, MediaTek mt5867 / T56) | Google TV 14 |-| EKO 4K Android TV (bangbae, MTC, MediaTek) | Android TV 11 |-| Epson LS800 laser projector (Askey HA90 module, sti6202d101, Amlogic) | Android TV 14 |-| FFalcon (雷鸟) r34a0, China (V8-A920T01-LF1V147, Amlogic T920), 1 GB | Android 5.1.1 |-| FFalcon (雷鸟) 鹤6 PRO 65S585C Pro (China, tcl_mt5879_cn, MediaTek MT9653) | Android TV 11 |-| Formovie / Fengmi projector MiProjM05 (eva, Amlogic) | Android TV 9 |-| Formovie Laser 4K projector / Formovie Theater (hanlla, MediaTek T31 / m7632, 1.8 GB) | Android TV 14 |-| Freebox Player POP (Free, fbx8am, Amlogic), IPTV/DVB-T box | Android TV 10 |-| Gadnic PROJ100W projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic HP46B), Argentina | Google TV 14 |-| Google Chromecast with Google TV 4K (sabrina) | Google TV 14 |-| Google Chromecast with Google TV HD (boreal) | Google TV 14 |-| Google TV Streamer 4K (kirkwood, GZRNL) | Google TV 14 |-| Grundig 50 GFU 7850 B 50" (Arçelik, CO3Plus, sinchon, MediaTek), Turkey | Android TV 11 |-| Grundig 50VLX22LDLBV (Arçelik, CO3Plus, sinchon, MediaTek), Netherlands | Android TV 11 |-| Grundig Android UHD TV (Arçelik, GxGrNM, kunyang, MediaTek), Turkey | Android TV 14 |-| Haier Android TV DVB2K (broadway, HaierATVT56DVB; also sold as the CANDY Android TV DVB2K, CANDYATVT56) | Android TV 11 |-| Haier H32S80EFX (MatrixTV CE, HRT56EU, deto, MediaTek), Thailand | Google TV 14 |-| Haier MatrixTV GE (HR9216EU, haeundae, MediaTek), EU | Google TV 14 |-| Hisense 55QD6QF Fire TV (AFTOLCBC82, ginza), Canada | Fire OS 8.1.8.0 / Android 11 |-| Hisense 65D62QH (VIDAA_TV, MediaTek MT9653), China | Android TV 11 |-| Hisense E5Q Pro (VIDAA_TV, MediaTek MT9653), China | Android TV 11 |-| Hisense Fire TV (AFTCIBFBD1, coyote, MediaTek), US | Fire OS 8.0 / Android 11 |-| Hisense HG9 (HiSmart 4K A4FFM) | Android TV 9 |-| Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), Android 11 firmware RTT2.221108.001 | Android TV 11 |-| Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), India | Android TV 9 |-| Hisense SmartTV 4K FFM (huangshan, MediaTek), Latin America; also the US Hisense U9DG | Android TV 10 |-| Hisense SmartTV 4K FFM (lushan, MediaTek MT9676), Mongolia | Google TV 12 |-| Hisense SmartTV 4K FFM (songshan, MediaTek m7632); also the US Hisense 50A6H4 | Android 11 (SDK 30) |-| Hisense U75 / 75U75N / 65U7ESG (hengshan, MediaTek), Latin America and US | Google TV 12 |-| Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 |-| Hitachi CDH-LE32SMART21 (TCL-built C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 |-| Home+ STB-6252C (中嘉寬頻, Inspur, MT5221), DVB-C/OTT box | Android TV 11 |-| HOTACK SMART2KPJT projector, "Whale TV 95C8" (Amlogic am30b8, WhaleOS S8E, Zeasn firmware) | Android 13 |-| HY320 projector (t950s_be311, Google-certified Android TV) | Android 13 |-| INCLO Google TV 4K (KTC, Realtek, khardi, KTC_INCLO_4K_EU_23GV1), Taiwan | Google TV 11 |-| Insignia 42" F20 Fire TV (NS-42F201NA22, AFTEAMR311, blanche) | Fire OS 6.7.1.1 / Android 7.1.2 |-| Insignia 55" F30 4K Fire TV (NS-55F301NA25, AFTDCT31, duckie) | Fire OS 7 / Android 9 |-| JMGO N1S projector (K80A, holan, MediaTek m7332), Australia | Google TV 14 |-| JVC Android TV (Vestel-built, BARTU_Jvc, menlo, MediaTek mt5867), Spain | Android TV 11 |-| JVC LT-43KM348 (KTC-built, KTC_JVC_2K_25GV1, jagalchi, MediaTek mt5867 / T56) | Google TV 14 |-| JVC LT55MB508 (MTC, seocho, MediaTek MSD6886), Brazil | Android TV 11 |-| JVC UK 4K Android TV (MTC, MTCMSD6886UK, sadang, MediaTek m7322), UK | Android TV 11 |-| Kalley 43G200 (device R3_GTV, MOKA, Realtek RTD2841A), Latin America | Google TV 14 |-| Kalley R10G (device R10G, product ACER_FFM, MOKA, Realtek RTD2875P), Latin America | Google TV 14 |-| Karbonn / Motorola SWTV-20AE (Skyworth OEM, SW4H, MediaTek), India | Android TV 10 |-| Kogan G7 (Expressluck, cottongreen, Realtek), Australia | Google TV (Android 11) |-| Kogan Google TV (Changhong CHiQ AI PONT, GTVU65KG, dangni, MediaTek mt5867), Australia | Google TV 14 |-| KTC 4K Smart TV (device hongkong, MediaTek), Taiwan | Google TV 14 |-| Liberton LTV 24H01AT (Liberton, built by Changhong, device redwood), Ukraine | Android TV 11 |-| Lumio Vision 7 55" (KTC ODM, Realtek, khardi, KTC_LUMIO_4K_EU_23GV1), India | Google TV 14 |-| Magcubic HY300 Pro projector (rk3566_rgo, device adt3, Askey) | Android 11 |-| Master-G MGA3200 (SCBC R1, Realtek; Android reports model `ATV R1`), Chile | Android TV 9 |-| Motorola / Coocaa SWTV-24AE-FHD (24LP6000G, Skyworth OEM, beomil), India/SEA | Google TV 14 |-| Motorola MT4310 (Newsan; Hisense board, hayward, MediaTek), Argentina | Android TV 11 |-| Motorola SWTV-24AE-4K (Skyworth OEM, eleonas, MediaTek), India | Google TV 14 |-| MTC UK 2K Android TV (tabata, MediaTek m5621; JVC-family firmware, `android.autoinstalls.config.JVC` present), UK | Android TV 11 |-| Next Start Pro 4K TV Box (SDT HPR314-Next, Realtek RTD1325), Turkey, streaming box | Google TV 14 |-| Noblex NoblexTV (Skyworth-built, shinjuku, MediaTek m5621), Argentina | Android TV 11 |-| Nokia Streaming Box 8000 (Sagemcom/NES, SEI600NK4, HND, Amlogic) | Android TV 14 |-| Nokia Streaming Box 8010 (Sagemcom/NES, SEI804NK, YYJ, Amlogic) | Android TV 14 |-| NVIDIA SHIELD TV 2017 (darcy) | Android TV 11 |-| NVIDIA SHIELD TV 2019 tube (P3430, sif) | Android TV 11 |-| NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 |-| OK. AI PONT (Changhong, ikebukuro, MediaTek), Italy; also Nikkei DVB91NK | Android TV 11 |-| OnePlus TV (C00, Cebu, MediaTek m7632), India | Android TV 10 and 11 |-| OnePlus TV (D00, Dubai) | Android TV 11 / Google TV 14 |-| OnePlus TV (Dosa, Oneplus_Dosa_IN) | Android TV 11 |-| OnePlus Y1 43" (Y Series, shibuya) | Android TV 11 |-| onn 4K Streaming Box (2023, Walmart; YOC, Amlogic), US | Google TV 14 |-| onn. 4K Plus Streaming (2025, Walmart; coffey, Amlogic S905X5M), US | Google TV 14 |-| OPPO K9 55 (OPPOCNM632) | Android 9 (ColorOS TV) |-| Panasonic 4KTV-0SU (Skyworth-built SW4H, MediaTek m7332), Gulf region | Android TV 10 |-| Panasonic 4KTV-3MUP (MOKA R4_GTV, Realtek rtd2851m), Taiwan | Google TV 14 |-| Panasonic 4KTV-3SU (Skyworth-built SW6H, MediaTek, same board as `thomson-sppl-4k-sw6h/`), ~1.9 GB | Android TV 14 (Google TV home) |-| Panasonic 4KTV-JUP (Jupiter_PA, MediaTek) | Android TV 11 |-| Panasonic Google TV LCD (OZUM_Panasonic, kowloon, MediaTek) | Android 14 |-| Panasonic TH-40HS550K (Skyworth-built, GS655 shibuya, MediaTek) | Android TV 11 |-| PANAVOX Google TV (dongnae) | Google TV 14 |-| PEAQ PTV 43AQU-5023C (Changhong, reports OK. AI PONT, dundas, MediaTek m7332) | Android TV 11 |-| Philips 50PUD7406/43 (TPV, PH0M_EA_T32, MStar/MediaTek), Chile; 55PUS7906/12, Lithuania; 50PUS7906/12, Germany | Android TV 11 |-| Philips 50PUF7099/T3 (TPV EBONY_V560, Hisilicon), China | Android TV 9 |-| Philips 50PUS8517/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), Europe | Android TV 11 |-| Philips 55OLED707/12 / 55OLED887/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK and Poland | Android TV 11 |-| Philips 55OLED708/12 (TPV, PH1M_WW_9972, MediaTek), Poland | Google TV 12 |-| Philips 55OLED820/12 (TPV, PH1M_WW_9972, MediaTek), Czech Republic | Google TV 14 |-| Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 |-| Philips 65OLED706/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), France; 55OLED706/12, Poland | Android TV 11 |-| Philips 65OLED907/12 and 55OLED907/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK and France | Android TV 11 |-| Philips 65PML9506/12 (TP Vision, PH1M_EA_9970A, MediaTek), Spain | Android TV 11 |-| Philips 65PUS8102/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 |-| Philips 65PUS8729/60 (TPV, PH1M_WW_9972, MediaTek), Russia | Google TV 14 |-| Philips 65PUS9435/12 / 55PUS9435/12 (TP Vision TPM191E, PH9M_EA_5599, MediaTek MT5887), Germany | Android TV 12 |-| Philips 75PUS8505/12 (TP Vision TPM191E, PH9M_EA_5599, MediaTek MT5887), Europe | Android TV 12 |-| Philips Google TV TA7 (TPV, PH3M_AL_T32, MediaTek), Brazil; 55PUD7908/77, Latin America; 50PUD7408/77, Argentina | Google TV 14 |-| Philips R8G Google TV (MOKA, whitefield, Realtek RTD2851F), US | Google TV 14 |-| Philips Smart 4K TV (Skyworth, eleonas, MediaTek), India | Google TV 14 |-| Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 / 50PUS7354 / 43PUS7304 (TP Vision, PH9M_EA_5599, MediaTek MT5887), Europe | Android TV 12 |-| Polytron 2K (WLTV POLYTRON2K, hayward; Hisense/CVTE board, MediaTek mt5867), Indonesia | Android TV 11 |-| Portronics Beem 470 Smart LED Projector (Allwinner H713, 1 GB), India | Android 11 |-| PPTV p34a4p (Suning PPTV, Amlogic board), China | Android 5.1.1 |-| PRISM+ Q65 Ultra 2026 QLED 4K AI Google TV (R10G, PRISMPLUS_FFM, MOKA, Realtek RTD2875 SoC, RTD6748 platform) | Google TV 14 |-| RCA 2K Android TV (KONKA, device lasalle, Realtek RTD2841A, ISDB) | Android TV 11 |-| RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch, AIWA AW32B4SMG, CHiQ AI PONT DVB92CQ and ERGO DVB92YC) | Android 14 |-| RCA RC50A21S-4KSM, Zeasn home (Toptech firmware RTK2851P, Realtek RTD2851P, board mac6p) | Android TV 9 |-| Redmi TV (MiTV-ANTL0, starwars) | Android 5.1.1 (not Android TV) |-| Redmi TV (MiTV-MFTP0, alita), China firmware 23.2.10.6129 | Android TV 9 (CN build) |-| Redmi TV 43" (MiTV-MOOQ3, tarzan) | Android TV 11 |-| RockTek GB1 | Google TV 14 |-| RockTek GX1 (HPR3A1325_4K) | Google TV 14 |-| Sankey SMART2KTVSE (Whale OS, SiliconPlayer am30bm) | Android TV 13 |-| Sankey SMART_TV (CVTE, HiSilicon Hi3751V350, 1 GB) | Android 12 |-| SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 |-| Sber Salute TV 32" (CVTE TPD.MT9216.PB766, MediaTek MT9256, 1 GB), Russia | StarOS 1.103 / Android 11 |-| Sber Salute TV 43" (CVTE TP.T962D4.PC756, Amlogic T962D4, at30a6, 2 GB), Russia | StarOS 1.101 / Android 13 |-| Seleco TV39020HDA9SMART 39" (AT_SmartScreen, Toptech + Zeasn, Realtek RTK2842P), Italy | Android TV 9 |-| SHARP 2T-C32GH3000I (SHARP 2K Smart TV-A; Skyworth-built, beomil, MediaTek mt5867), Indonesia | Google TV 14 |-| SHARP 55GP6260E (Sharp Google TV, kaitak, MediaTek MTK9612), EU | Google TV 11 |-| SHARP AQUOS 4T-C43DL1 (AQUOS-TVJ21-2, tcve2uj, MediaTek), Japan | Android TV 11 |-| SHARP AQUOS TVE21F (AQUOS-TVE21F, banqiao, CVTE/MediaTek), UK | Android TV 14 |-| SHARP AQUOS TVE23A (AQUOS-TVE23A, sandiego, CVTE/MediaTek mt5889), Denmark | Google TV 14 |-| Skyworth / Coocaa 8R40_K5C (Realtek rtd285x, 1 GB, 32-bit), China domestic firmware | Android 8.0 (not Google TV) |-| Skyworth 43E6A (open_fhd, MediaTek MT5886) | Android TV 8.0 |-| Skyworth 65A3F (7T641_A3F, MediaTek MT9633), China | Android 13 (CCOS 10.01.250328) |-| Skyworth 7S60_A5 (sky8S34, 1.9 GB), China market | Coocaa OS / Android 8 |-| Skyworth 7T861_A23 (MediaTek MT9638), China market | Coocaa OS / Android 10 |-| Skyworth Coocaa K3 Pro 90P3D Max (8R145_P3DM, Realtek RTD2885N), China market | Android 11 (Coocaa OS) |-| Skyworth SW-22HK NF (SW6H, MediaTek m7332) | Android TV 11 (Google TV home) |-| Skyworth SW-22SA (SW6H, MediaTek), ~1.9 GB | Android TV 14 (Google TV home) |-| Skyworth SWTV-21AE (sunnyvale, MediaTek) | Android TV 14 |-| Skyworth SWTV-22AE-FHD (umeda, MediaTek), Vietnam/Global | Google TV 14 |-| Skyworth SWTV-24AE-4K NF (eleonas, MediaTek mt5896), South Africa/Global | Google TV 14 |-| Skyworth SWTV-24NA-4K NF (eleonas, MediaTek mt5896), US | Google TV 14 |-| Skyworth Xiaopai P3 (Q5001, cupid-p2), streaming box | Android 10 |-| Sony BRAVIA 4K AE2 (BRAVIA_AE2, MediaTek MT5897), North America | Google TV 14 |-| Sony BRAVIA 4K GB (BRAVIA_ATV2_UC, MediaTek mt5891) | Android TV 9 |-| Sony BRAVIA 4K GB (KD-75XE8596, XBR-49X705D; BRAVIA_ATV2_EU, BRAVIA_ATV2_BR) | Android TV 9 |-| Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 |-| Sony BRAVIA 4K UR3 / KD-55X8000H (BRAVIA_UR3, MediaTek mt5893), EU and TW | Android TV 10 |-| Sony BRAVIA 4K VH1 (KD-55XH9096 / XBR-55X900H, BRAVIA_VH1, MediaTek MT5895), EU and US | Google TV 12 |-| Sony BRAVIA 4K VH2 (KD-55X80J / XR-65A83J, BRAVIA_VH2, MediaTek), EU, North America and India | Google TV 12 |-| Sony BRAVIA 4K VH21 (KD-65X85K, 2022, BRAVIA_VH21, MediaTek MT5895), Australia | Google TV 12 |-| Sony BRAVIA 4K VH21 (XR-55A80K, 2022, BRAVIA_VH21, MediaTek mt5895), EU | Google TV 12 |-| Sony BRAVIA 4K VH21 (XR-65A95K, 2022, BRAVIA_VH21, MediaTek), US | Google TV 12 |-| Sony BRAVIA 9 II (K-65XR90M2, BRAVIA_AE3, MediaTek MT5838) | Google TV 14 |-| Sony BRAVIA BF1 (BRAVIA 2 II class, BRAVIA_BF1_4K_A, MediaTek) | Google TV 12 |-| Sony BRAVIA KD-43X8000G (2019, BRAVIA_ATV3_4K, MediaTek), APAC | Android TV 9 |-| Sony BRAVIA KD-43X80L (2023, BRAVIA_VH22, MediaTek MT5895), EU | Google TV 12 |-| Sony BRAVIA KD-49X8307C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 |-| Sony BRAVIA KD-55X75K (BRAVIA_VU3_4K, Realtek rtd2885m) | Google TV 14 |-| Sony BRAVIA KD-55X8000C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), China firmware | Android TV 7.0 |-| Sony BRAVIA KD-55X82L / KD-65X82L / XR-65X90L (2023, BRAVIA_VH22, MediaTek), India and US | Google TV 12 |-| Sony BRAVIA KD-55X8509C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 |-| Sony BRAVIA KD-55X85J (2021, BRAVIA_VH2, MediaTek MT5895), South America | Google TV 12 |-| Sony BRAVIA KD-55X9500G (BRAVIA_UR2_4K_CN), China | Android TV 10 |-| Sony BRAVIA KD-55XE8596 (2017, "BRAVIA 4K GB", BRAVIA_ATV2_EU, MediaTek MT5891), UK | Android TV 9 |-| Sony BRAVIA KD-55XF7596 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), EU | Android TV 9 |-| Sony BRAVIA KD-55XF8096 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), Spain | Android TV 9 |-| Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 |-| Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 |-| Sony BRAVIA KDL-43W950D (2015/2016, SVP-DTV15, MediaTek), India ("PA") firmware | Android TV 8.0.0 |-| Sony BRAVIA KDL-55W800C (2015, "BRAVIA 2015", SVP-DTV15, MediaTek), Taiwan firmware | Android TV 7.0 |-| Sony BRAVIA TL2 (OD0M_EA_T32, TPV-built, MediaTek), Europe | Android TV 11 |-| Sony BRAVIA VU1 (KD-43X7500H, BRAVIA_VU1_UC, Realtek) | Android TV 11 |-| Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 |-| Sony BRAVIA X9000H (2020, BRAVIA_VH1_CN, MediaTek MT5895), China | Android TV 12 |-| Sony BRAVIA XBR-55X850C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), US firmware | Android TV 8.0 |-| Sony BRAVIA XBR-55X850D (Android model "BRAVIA 4K 2015"), firmware 6.827 | Android TV 8.0.0 |-| Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 |-| Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 |-| Sony BRAVIA XR-55A95L (A95L, 2023 QD-OLED; Android reports BRAVIA 4K AE1, BRAVIA_AE_M6L, MediaTek MT5838), EU | Google TV 12 |-| Sony KD-55X7500 (BRAVIA 4K GB ATV3, BRAVIA_ATV3_4K_CN), China | Android TV 9 |-| Sony XR-65A80J (65-inch OLED, 2021, BRAVIA_VH2), EU | Google TV 12 |-| Sony XR-65X90J (2021, BRAVIA_VH2, MediaTek MT5895), China | Android TV 10 |-| Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 |-| Strong LEAP-S3 box (SkyworthDigital YDA, Amlogic S905Y4), Italy | Google TV 14 |-| Super General 55" 4K (CVTE TP.SK708D.PC821, Amlogic T972, x30a4, 1 GB), Saudi Arabia | Android 9 |-| Síragon 4K Smart TV (KTC, MediaTek MT9676, elliniko, KTC_SIRAGON_4K_24GV1), Venezuela | Google TV 14 |-| TCL / FFalcon China (tcl9655_cn, MediaTek MT9655 "merak", UTT2.250416.001 AU01) | Android 14 |-| TCL 32ES570F (C06, C06_2K_GB, MStar mt5867, 939 MB), Italy | Android TV 11 |-| TCL 32L5A (C06, model "Smart TV", 1 GB) | Android TV 11 |-| TCL 32S334 (BeyondTV5, North America, Realtek RTD2851) | Android TV 9 |-| TCL 32S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB), 2023 | Android TV 11 |-| TCL 32S5K (C06, C06_2K_GB, MediaTek MT9221, 918 MB), EU | Android TV 11 |-| TCL 32SF560 (TCL Fire TV, AFTSHN02, shine) | Fire OS 7.7.1.7 / Android 9 |-| TCL 40" Smart TV (G06, MediaTek MT9221 / T221, AR2101, V8-T221T02-LF1V058), Indonesia | Google TV 11 |-| TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 |-| TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652); also TCL 50C635 / 60C635 (G03_4K_GB, Realtek rtd288o), Spain | Google TV launcher on Android TV 11 |-| TCL 43EP660 (Europe, BeyondTV, Realtek rtd285o, V8-R851T02-LF1V378) | Android TV 9 |-| TCL 43P615 (Europe, BeyondTV, Realtek RTD2851, AR06) | Android TV 11 |-| TCL 43P725 (Smart TV Pro, BeyondTV4, Realtek rtd288o), Italy | Android TV 11 |-| TCL 43S450F-CA (S4 Fire TV Edition, AFTDEC012E, ginza, MediaTek), Canada | Fire OS 8.1.8.5 / Android 11 |-| TCL 43S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 |-| TCL 43S5K / 32V5C (G13, G13_2K_GB, MediaTek MT9221/MT5867, 1 GB), India; also a G13 unit from Brazil, a 40" V5C on AU13 and a 32V51C from Indonesia (AU13) | Google TV 14 |-| TCL 50C725K (Smart TV Pro, BeyondTV4/BeyondTV6, RTD2851M, Realtek rtd288o, 2 GB), AR10 build | Android TV 11 |-| TCL 50DP660 / L49C2US ("Percee TV", tcl_eu, MediaTek MT5658 / board mt5891, V8-T658T01-LF1V602 / V570) | Android TV 8.0 |-| TCL 50EP680 (Europe, BeyondTV, Realtek rtd285o) | Android TV 11 |-| TCL 50J7000A (Thailand, BeyondTV, Realtek RT2851 / rtd285o, AR04, V8-R851T02-LF1V674) | Android TV 11 |-| TCL 50P615 (Greece and Türkiye, BeyondTV, Realtek RTD2851 / rtd285o, AR05) | Android TV 11 |-| TCL 50P735 (BeyondTV4, Smart TV Pro) | Google TV 11 |-| TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF); also TCL 55P6K, Spain and TCL 43P69K, Netherlands (G10_4K_GB_NF_32BIT) | Google TV 12 |-| TCL 55A300W picture-frame TV (2023, G08, G08_4K_US_NF, MediaTek MT9653), US | Google TV 12 |-| TCL 55C715 QLED (Europe, BeyondTV2, Realtek RTD2851, V8-R851T02-LF1V606); also TCL 55C718 (Finland, same build) | Android TV 9 |-| TCL 55C725 (Smart TV Pro, BeyondTV4, G03_4K_GB, Realtek R51MT05, V8-R51MT05-LF1V620), Italy; also TCL 65C655 Pro (same build) | Google TV launcher on Android TV 11 |-| TCL 55C745, 2023 (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 |-| TCL 55C7K QD-Mini LED, 2025, UK (G08, MediaTek tcl9618) | Google TV 14 |-| TCL 55C815 (2020, Europe/Denmark, BeyondTV2, Realtek rtd285o) | Android TV 11 |-| TCL 55EP640 (Greece, BeyondTV, Realtek RTD2851 / rtd285o, AR04) | Android TV 11 |-| TCL 55P638 (Smart TV, BeyondTV4) | Android TV 11 |-| TCL 55P7K, Middle East (G10, G10_4K_GB, Realtek RTD2875P) | Google TV 12 |-| TCL 55P8LS QD-Mini LED, Vietnam (G10, G10_4K_GB_32BIT, Realtek rtd6748) | Google TV 12 |-| TCL 55Q10G Pro (China, tcl_mt5879_cn, MediaTek MT9952) | Android TV 11 |-| TCL 55Q6CX1 (Smart TV Pro, G08, G08_4K_GB, MediaTek) | Google TV 12 |-| TCL 55S470G (G10, G10_4K_US_NF, Realtek), US | Google TV 12 |-| TCL 55S546 (5-Series, G03_4K_US, BeyondTV4, GTV93), US | Google TV 11 |-| TCL 58S571F (TCL Fire TV, AFTDEC012E, ginza, MediaTek mt5896), US | Fire OS 8 / Android 11 |-| TCL 65C6K (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618 / mt5896, SoC MT9689), Latin America | Google TV 14 |-| TCL 65C725 (Smart TV Pro, BeyondTV4) | Android TV 11 |-| TCL 65C735 (Smart TV Pro, G05, MediaTek), France; also TCL 55C728, Turkey, TCL 65C935, France, and TCL 65C745, France | Google TV 11 |-| TCL 65C7K (Smart TV Pro, G08, G08_4K_GB, MediaTek mt5896), Brazil | Google TV 14 |-| TCL 65C7L (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618), 2025, Australia | Google TV 14 |-| TCL 65C8L (Smart TV Pro, G17, G17_4K_GB, MediaTek tcl9655), 2025, Australia | Google TV 14 |-| TCL 65EP640 (Finland, BeyondTV, Realtek RTD2851 / rtd285o, AP06) | Android TV 9 |-| TCL 65EP68 (Europe, BeyondTV, Realtek RTD2851 / rtd285o, V8-R851T02-LF1V722) | Android TV 11 |-| TCL 65Q550G (TCL Smart TV, Google TV 11, V8-R51MT08-LF1V095.021344) | Google TV |-| TCL 65Q650G (US Q6 2023, BeyondTV4, Realtek RTD2851 / R51MT08, V8-R51MT08-LF1V095, 2 GB) | Google TV 11 |-| TCL 65QM8L (Smart TV Pro, G17, G17_4K_US, MediaTek tcl9655), 2025, US | Google TV 14 |-| TCL 65X10 QLED (France, BeyondTV2, Realtek RTD2851, V8-R851T02-LF1V363) | Android TV 9 |-| TCL 75C845X2, UK/Europe (G08_4K_GB, MediaTek tcl9618) | Google TV 14 |-| TCL 75P635 (Smart TV, BeyondTV4, G07), AR07 build | Android TV 11 |-| TCL 75P8K, Europe / Nordics (G10, G10_4K_GB / C6KS, Realtek RTD2875P / rtd6748) | Google TV 12 |-| TCL 75T7 / 55Q77K (Smart TV Pro, G08, G08_4K_US, MediaTek tcl9618), US firmware | Google TV 14 |-| TCL 85RM7L (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 |-| TCL ak30a5 (China, Amlogic) | Android TV 9 |-| TCL BeyondTV (India) | Android TV 9 |-| TCL BeyondTV, EU/Nordic (Realtek RTD2851, V8-R851T02-LF1V606) | Android TV 9 |-| TCL BeyondTV, Poland (Realtek RTD2851, AP03, 2 GB) | Android TV 9 |-| TCL BeyondTV2 (Latin America / Brazil, Realtek RTD2851); also confirmed on a 55" unit | Android TV 9 |-| TCL BeyondTV2, Android 11 build (AR05, Realtek rtd285o); also sold as the Hitachi CDH-LE554KSMART22 (Argentina) | Android TV 11 |-| TCL C635 (Smart TV Pro, BeyondTV4, Realtek rtd288o, Android 11/SDK 30), Brazil | Android TV 11 |-| TCL C755 QD-Mini LED, 2024, Australia and UAE (G08, MediaTek tcl9618) | Google TV 14 |-| TCL C89B 85", 2024, a local variant of the C855 (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 |-| TCL L40S66E (C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 |-| TCL Q7C (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618), European firmware | Google TV 14 |-| TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 |-| TCL Smart TV (G07, G07_4K_GB_NF, Realtek RTD2851A, 2 GB) | Google TV 11 |-| TCL Smart TV Pro (G03, G03_4K_GB / G03_4K_US, BeyondTV4, Realtek R51MT05, V8-R51MT05-LF1V620 / LF1V813), Middle East and US firmware | Google TV 11 |-| TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889); also TCL 55Q750G | Google TV 11 |-| TCL Smart TV Pro (G08, G08_4K_GB, MediaTek), Australian firmware | Google TV 12 |-| TCL Smart TV Pro (G08, G08_4K_GB, MediaTek), Europe/UK firmware | Android TV 12 |-| TCL Smart TV Pro (G09, G09_4K_GB, Amlogic T5M, 2 GB), UK firmware, Brazil | Google TV 12 |-| TCL Smart TV Pro, UK Freeview Play (BeyondTV4 / BeyondTV6, Realtek rtd288o, 2 GB, AR05) | Android TV 11 |-| TCL tc8000_ay30a2 (China, Amlogic ohm, TC8000, 3.8 GB) | Android 11 |-| TCL UnionTV, Latin America (TCL-built like Thomson 32HE5800, Realtek RT2841); also confirmed on a TCL 32S6500S and L40S6500 (persist.tcl.client_type TCL-LA-RT41KB-S1) | Android TV 9 |-| Tele System TS ON T2/HD (ONT2HD, SDMC, Amlogic), Italy | Android TV 11 |-| Thomson 32HE5800 (TCL-built UnionTV, Realtek RT2841), Spain | Android TV 9 |-| Thomson 43RT1055 FA Series (SPPL-built, sauve, Realtek RTD2841A), India | Android TV 14 |-| Thomson SPPL 4K Google TV (Skyworth SW6H, MediaTek, same board as `skyworth-sw-22sa/`), India, ~1.9 GB | Android TV 14 (Google TV home) |-| Thomson T32RTL6000 (SCBC, Realtek; Android reports model `ATV R1`) | Android TV 9 |-| TiVo Stream 4K (SEI Robotics IPA1104HDW, SEI400TV, Amlogic S905Y2, NES) | Android TV 12 |-| Tornado 65UA1400E (El Araby, Skyworth-built SW4H, MediaTek m7332), Egypt | Android TV 11 |-| Toshiba (Vestel Cosmos170, yeoksam, MediaTek), Spain | Android TV 11 |-| Toshiba 65UA2363DG (Vestel-built, BODRUM_Toshiba, finch, MediaTek m7332), France | Android TV 14 |-| Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 |-| Turkcell TV+ 4K Box (SDMC DV6069Y, Amlogic), Turkey, operator streaming box | Android TV 10 |-| Tuvio TD43UFBCV5 (Changhong AI PONT, DVB96, MediaTek m7632), Russia | Google TV 14 |-| Verizon Stream TV, 1st gen (WNC JS8V, Amlogic), US | Android 12 |-| Vidda C1S 4K laser projector (VIDAA_TV, device MT9669, board m7642), China JuUI | Android 9 |-| Vidda VIDAA_TV (Hisense sub-brand; device MT9653, board mt5879), China JuUI | Android TV 11 |-| Vision 2024VISION43STV (CVTE TP.T950D4T.PB751, Amlogic T950D4, 1 GB), Europe | Android 13 |-| Vu 4K (HVCL, lushan, MediaTek), India | Google TV 12 |-| Vu Premium FHD 43-inch (Smart 2K ATV4, hamamatsucho), India | Android TV 9 |-| Vu VIBE TV (KONKA, bandra, Realtek), India | Google TV 14 |-| Wanbo X5 Pro projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic), Australia | Google TV 14 |-| XGIMI Horizon S Pro / Halo+ projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 |-| XGIMI MoGo 2 projector (MoGo, xgimiapollo, pokemon) | Android TV 11 |-| XGIMI MoGo 3 Pro projector (G0035, altai, MediaTek) | Google TV 14 |-| XGIMI MoGo 4 Laser projector (WK03K, altai, MediaTek) | Google TV 14 |-| XGIMI MoGo 4 projector (WK08K, altai, MediaTek) | Google TV 14 |-| Xiaomi Mi Box 3 (MIBOX3, once), streaming box | Android TV 9 |-| Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 |-| Xiaomi Mi Box S (MIBOX4, oneday), streaming box, Android 12 update | Android TV 12 |-| Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 |-| Xiaomi Mi TV (MiTV-MOOQ0, croods; includes P1 43" EU variant) | Android TV 10 and 11 |-| Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 and 11 |-| Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods) | Android TV 11 |-| Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 |-| Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAM | Android TV 9 (CN build) |-| Xiaomi MiTV-ASTP0 (mulan, sold as L55M7-EA), China firmware 22.12.2.1630, 1.5 GB RAM | Android TV 9 (CN build) |-| Xiaomi MiTV-ASTP1 (maverick), China firmware 2.40.641.0514.cn, 1 GB RAM, 720p | Android TV 9 (CN build) |-| Xiaomi MiTV-AXFR0 (rango, Amlogic, 1 GB), India | Android TV 11 |-| Xiaomi MiTV-AXFR1 (rango, Amlogic, 1 GB), India | Android TV 11 |-| Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro) | Android TV 9 |-| Xiaomi MiTV-AXSO2 (dangalUHD, India, 2 GB) | Android TV 9 |-| Xiaomi MiTV-MFTR0 (freeguy, MediaTek mt9653), China firmware OS2.0.23.0.RFTMATV (HyperOS TV 2) | Android 11 (HyperOS TV 2, CN build) |-| Xiaomi MiTV-MOOR2 / MOOR4 (venom, MediaTek) | Google TV 11 |-| Xiaomi MiTV-MOSR4 (irobot, MediaTek) | Google TV 11 |-| Xiaomi MiTV-MSSP0 / Xiaomi Mi TV 4A 32 (amelie), firmware PI.5926 | Android TV 9 |-| Xiaomi MiTV-MSSP1 (nino), firmware PI.5925 | Android TV 9 |-| Xiaomi MiTV-MSSP2 (volver, MediaTek), firmware PI.4621, low-RAM | Android TV 9 |-| Xiaomi MiTV-MSSP3 (machuca, MediaTek) | Android TV 11 |-| Xiaomi MiTV-MSSP3 (machuca, MediaTek), Android 9 firmware PI.7524 | Android TV 9 |-| Xiaomi Redmi Smart TV A Pro 55" 2025 Energy-saving (MiTV-ASTR0, blueplanet, Amlogic), China firmware OS3.0.106.0.USTAATV, 3 GB RAM | Android 14 (HyperOS 3, CN build) |-| Xiaomi TV A Pro 55"/75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 |-| Xiaomi TV A43 2025 (MiTV-MOOQ1) | Google TV 11 |-| Xiaomi TV Box S 3rd gen (MiTV-AFMU0, twilight, Amlogic), streaming box | Google TV 14 |-| Xiaomi TV EA Pro 55" (MiTV-MTEQ0, baymax, MediaTek), China firmware 23.6.26.4028 | Android TV 10 (CN build) |-| Xiaomi TV S Mini LED 75 2025 (MiTV-MOEU0, ladybird, MediaTek) | Google TV 14 |-| Xiaomi TV S Pro 100 Mini LED 2025 (小米电视 S Pro 100, L100MB-SP, MiTV-MFFU0, finch, MediaTek), China firmware OS3.0.115.0.UFFMATV, 4 GB RAM | Android 14 (HyperOS 3, CN build) |-| Xiaomi TV Stick 4K (MiTV-AYFR0, soul, Amlogic), streaming stick | Android TV 14 |-| Xiaomi TV Stick 4K 2nd gen (MiTV-AFMU1, twilight, adastra, Amlogic), streaming stick | Google TV 14 |--<!-- tv-table:end -->+<!-- tv-brands:end -->-</details>+**Find your TV:** search [cleanyour.tv/tvs](https://cleanyour.tv/tvs) or the full table in+[examples/README.md](examples/README.md).Your TV not here? The prompt discovers the bloat itself. Add your list afterwards and the nextperson with your model skips that step: [CONTRIBUTING.md](CONTRIBUTING.md).@@ -543,7 +195,8 @@ tools/theme.sh themes/aurora # push a theme; --r| [`launcher/build-and-install.sh`](launcher/build-and-install.sh) | Builds a shrunk release (about 532 KB), installs it, switches Home, and rolls back if Home does not land on it. |The scripts never leave the TV without a Home app: they only disable a stock launcher they recognise,-and skip the Home app in a list until another launcher answers HOME. Details below.+and skip the Home app in a list until another launcher answers HOME. Your own lists can live outside+the repository: list paths are relative to the directory you run from, and absolute paths work too.<details><summary><b>Windows (PowerShell)</b></summary>@@ -567,61 +220,37 @@ in `KNOWN_STOCK_LAUNCHERS`: `com.google.android.tvlauncher`, `com.google.android`com.google.android.leanbacklauncher` and Xiaomi's `com.mitv.tvhome` (PatchWall). Pass`STOCK_LAUNCHER=<package>` (`-StockLauncher`) to override, or `none` to leave it alone.-`tools/disable.sh` (`disable.ps1`) applies the same rule before it disables anything: if the list-contains the app that owns Home and no other app on the TV answers HOME, it skips that entry, says-why, and disables the rest of the list. The setup wizard, the settings apps, a vendor `FallbackHome`-and factory-test apps (Xiaomi's `com.duokan.factorytest`) answer HOME too and don't count. So a list applied before the launcher handover cannot leave-the TV with nothing to start. On Google TV it also keeps the owner while setupwraith answers HOME and-stays enabled (not listed, or kept for the Wi-Fi network): setupwraith answers ahead of an installed-launcher that is not Home yet, so it would take Home. Run the same list again once `launcher/build-and-install.sh` has made-the new launcher Home and the entry is applied; `FORCE_HOME=1` (`$env:FORCE_HOME`) disables it anyway.+`tools/disable.sh` (`disable.ps1`) applies the same rule before it disables anything:-</details>+- If the list contains the app that owns Home and no other app on the TV answers HOME, it skips that+ entry, says why, and disables the rest of the list. So a list applied before the launcher handover+ cannot leave the TV with nothing to start.+- The setup wizard, the settings apps, a vendor `FallbackHome` and factory-test apps (Xiaomi's+ `com.duokan.factorytest`) answer HOME too and don't count.+- On Google TV it also keeps the owner while setupwraith answers HOME and stays enabled (not listed, or+ kept for the Wi-Fi network): setupwraith answers ahead of an installed launcher that is not Home yet,+ so it would take Home.-<details>-<summary><b>Where your lists can live</b></summary>--Debloat list paths passed to `disable.sh` and `restore.sh` are relative to the directory you run-from, so your own lists can live outside the repository. Absolute paths also work.+Run the same list again once `launcher/build-and-install.sh` has made the new launcher Home and the+entry is applied; `FORCE_HOME=1` (`$env:FORCE_HOME`) disables it anyway.</details>## The microphone, and what can be said about it-"Which of these packages is listening?" has no honest one-line answer, and a permission scan makes-it worse: on many sets most packages run as `android.uid.system`, so fifty of them show-`RECORD_AUDIO: granted=true` and none of them record anything. On others the microphone is in the-remote, not the panel, and a package with no audio permission at all still sees everything on screen-— ACR clients such as `tv.inscape.tvclient.inscapeacr` identify content from the picture and need-only `INTERNET`.--`tools/privacy.py` reports what the TV actually says instead of guessing:-`TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/privacy.py` prints voice, ACR and telemetry-candidates in three groups, each with its evidence — named by the firmware's own-`voice_interaction_service`, a known component from [`examples/`](examples/), or nothing but a-matching name — plus whether the package declares `RECORD_AUDIO`, whether it shares the system UID,-and whether the returned AppOps history contains microphone access. A configured mode or a rejected-attempt alone is not evidence of access.--`--write privacy.txt` turns the identified candidates into a normal debloat list, so applying it and-undoing it are the commands you already use (`tools/disable.sh`, `tools/restore.sh`). Packages that-only matched by name stay out unless you pass `--include-low`; they are the ones to check with-`dumpsys package <name>` first.--What the audit cannot do is prove intent. `appops` shows an op was touched, not what happened to the-stream afterwards, and no scan of package names proves a TV is or is not recording. Disabling an-assistant is a trade you make with a specific loss (the remote's mic button, voice search inside-apps), which is why the report names that loss per package instead of calling it a win.+"Which of these packages is listening?" has no honest one-line answer: a permission scan shows fifty+system packages with `RECORD_AUDIO` that record nothing, and ACR clients see the screen with no audio+permission at all. [`tools/privacy.py`](tools/privacy.py) reports what the TV actually says, with the+evidence for each voice, ACR and telemetry candidate:+`TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/privacy.py`, and `--write` turns them into a normal+debloat list. What the audit cannot do is prove intent: [docs/privacy.md](docs/privacy.md) explains why.## The launcherA small native home screen for Android TV: **about 532 KB**, plain Java, built for TVs with 1 GB of RAM.-No blur, no video, no network permission, no background services.--The **TV** needs Android 8.0 (API 26) or newer: `minSdk` is a compile-time floor in-[`launcher/app/build.gradle`](launcher/app/build.gradle), and the install script asks the TV for-`ro.build.version.sdk` before it builds, so an older set is told both numbers instead of failing at-`pm install` (see [Troubleshooting](docs/TROUBLESHOOTING.md) for what is left on such a set).+No blur, no video, no network permission, no background services. The **TV** needs Android 8.0 (API 26)+or newer, the `minSdk` in [`launcher/app/build.gradle`](launcher/app/build.gradle); what is left on an older+set is in [Troubleshooting](docs/TROUBLESHOOTING.md).| What | How it works ||---|---|@@ -636,123 +265,10 @@ The **TV** needs Android 8.0 (API 26) or newer: `minSdk` is a compile-time floor| **Clock screensaver** | A drifting clock over the glow, so nothing burns in || **Remote keys** | Keeps the Input, YouTube and gear buttons working after the stock launcher is gone |-<details>-<summary><b>Build it yourself</b></summary>--It needs JDK 17 and Android SDK platform 34. On macOS: `brew install openjdk@17 android-commandlinetools`-and `sdkmanager "platforms;android-34" "build-tools;34.0.0"`. On Linux the install script finds-`~/Android/Sdk` and the `java` on your PATH.--</details>--<details>-<summary><b>Configure</b></summary>--[`config.xml`](launcher/app/src/main/res/values/config.xml) sets the dock order, hidden apps, the Live TV-package, columns (tiles shrink from 5 up), rows under the dock, an optional VPN app for the network pill,-and `reduced_motion` for TVs whose GPU cannot keep up. Themes set the same keys plus a background colour-and a wallpaper.--</details>--<details>-<summary><b>Launcher settings and the default home</b></summary>--- Click **Settings** for the TV's own settings. Hold OK on it for its menu: **Launcher settings** (with- `launcher_settings_button` a click opens those instead and the menu leaves the row out), **Native settings**- where the TV ships a settings app of its own beside Android's - Xiaomi China, TCL/FFALCON and Fire OS are- in `settings_fallback_components` - because that app holds pages Android's has no row for, such as- Xiaomi's Account & Security with the ADB switch; **Module cards** with `module_cards`; **Edit dock** with- `dock_row`; **Reorder apps**; and **Restart…** while `HomeKeyService` runs, which opens the system power menu- (a launcher may not restart the TV itself). The launcher's own page has these rows, top to bottom:- - **Reorder apps**, only with `launcher_settings_button`: OK picks an app up, the arrows move it, Back- places it, and Back again finishes.- - **Apps per row** 4, 5, 6 or 7; **Rows below dock** 0 to 3, how many rows of tiles stay visible under the- dock band; **Dock band opacity** 100%, 70%, 50% or 30%. The last two only do anything while the dock is- its own row (`dock_row`, on by default).- - **Wallpaper**: one picture from the theme's collection (or its `wallpaper.jpg`), **None**, or **Theme- default**. A pick holds that picture and stops the rotation until you choose Theme default, press- Follow theme, or push the theme again.- - **Animations** on or off, and **Advanced effects** (tile lift, icon zoom and smooth ambient-colour- transitions; they may use more memory) once animations are on.- - **Open on start**, only with `open_on_start_choice`: Off, or an app that opens instead of Home the first- time Home comes up after the TV starts. Once per boot, so Home and Back still reach the launcher.- - **Follow theme (reset on-TV choices)**, which clears every choice above. Pushing or resetting a theme- clears them too.- - **Choose default home** opens Android's home picker, and **TV system settings** the TV's own settings- page.-- **Change the default home:** Launcher settings and the optional Default-home tile- (`show_home_settings_shortcut`) open Android's home picker. Choose the original launcher to stop using- CleanYourTV as Home, or CleanYourTV to return. The original launcher must be enabled; if the install- script disabled it, run the restore script below first. Some TVs provide no home picker.--</details>--<details>-<summary><b>Languages</b></summary>--English, German, Danish, Spanish, Catalan, French, Russian, Serbian (Latin), Polish, Czech, Italian, Portuguese,-Turkish, Arabic, Hebrew, Simplified Chinese, Traditional Chinese (Taiwan), Thai, Finnish, Vietnamese,-Bangla, Indonesian, Norwegian Bokmål, Swedish, Dutch, Uzbek (Latin), Ukrainian and Korean. The launcher follows the TV's language. Android 13+ can set it for the launcher-alone: `tools/tv.py 'cmd locale set-app-locales com.gathin.tvhome --locales ca'`.--Hebrew mirrors the layout: menu buttons on the left, date and clock on the right with the greeting above,-dock and app rows starting on the right with matching remote navigation, the input selector's icons and-labels on the right, and dates with the month prefix ב (for example, 19 באוקטובר). The Clock screensaver-right-aligns its date and time. Russian covers every screen, including race weekends, festival greetings and the Shamsi date. Other-languages keep their original layouts.--</details>--<details>-<summary><b>Module cards</b></summary>--Any TV app can declare its own tile (label, caption, glow). The launcher asks you once per app, keeps it-hidden by default, and remembers the answer for that app's signing key and card name. Hold OK on Settings-and choose Module cards to change your mind. How to make one: [`docs/modules.md`](docs/modules.md); the-contract: [`docs/specs/card.md`](docs/specs/card.md).--</details>--<details>-<summary><b>Clock screensaver</b></summary>--Pick "Clock" in the TV's screensaver settings, or over ADB:+Themes, switches and add-ons together, with screenshots: [cleanyour.tv/addons](https://cleanyour.tv/addons).-```bash-tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream; settings put secure screensaver_enabled 1'-```--</details>--<details>-<summary><b>Remote keys</b></summary>--- An optional accessibility service keeps the remote's **Input** button working on Google TV- (`INPUT_KEY_SERVICE=1` at install).-- It can bring back other buttons only the stock launcher answered, such as the **YouTube** button- (`app_keys` and `input_key_keycodes`, in config.xml or a theme; `HOME_KEY_SERVICE=1` reads `app_keys` too).-- A `hold:` prefix on an `app_keys` entry gives that button a second app: a normal press opens the- unprefixed app, holding for half a second opens the hold one (by keycode or `hold:scan:...`). An entry can- name an activity (`package/.Activity`), such as an add-on's quick bar, instead of the app's launcher entry.-- In place of an app, an `app_keys` entry can name an action: `back`, `home`, `recents`, `mute`, `sleep`,- `screensaver`, `settings` or `wifi`, so a spare colour button can mute the TV or, held, put it in standby.-- `HOME_KEY_SERVICE=1` also fixes sticks whose Home key sends ALL_APPS, and opens Settings from the remote's- **gear** button, even one Android does not map (scancodes or keycodes in config.xml).-- With `settings_key_panel` the gear opens a [small quick settings panel](docs/quick-settings-panel.jpg)- over Home or any app: TV settings, Display, Network, Apps and Launcher settings.--</details>--<details>-<summary><b>Navigation and artwork</b></summary>--Up and Down move one row. The top buttons never fall through to tiles, and Down from them returns to the-dock tile you came from. The last focused app is remembered, and installing or removing an app refreshes-the tiles while Home is open. App banners load at xhdpi or better, so low-density TV UIs do not downsample-them before the focus zoom.--</details>+**More:** [docs/launcher.md](docs/launcher.md) has the launcher settings page row by row, changing the+default home, the languages, remote keys, the Clock screensaver, navigation and building it yourself.## Restoring your TV@@ -770,124 +286,21 @@ TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt com.google.| **The launcher stays installed** | Remove it from the TV's Settings → Apps if you want it gone. || **No computer?** | If the TV is unreachable, its own Settings → Apps page can re-enable packages too. |-<details>-<summary><b>What the record holds, and what happens without one</b></summary>--Before `tools/disable.sh` changes anything it writes down what the TV looked like: for every package-in the list whether it was enabled, already disabled or not installed, which component owned Home,-and the three animation scales. That record lives in `~/.cleanyourtv/`, one file per TV and list, and-a second run of the same list keeps the first record instead of saving the cleaned-up state over it.-If you added packages to the list since, that run adds them to the record before disabling them, and-a listed package that was not installed then but is installed and enabled now is recorded as enabled.-`check.py --fix` does the same before it disables anything.--Keep the list you applied. The restore script replays the record, so a package you had disabled-yourself stays disabled and Home goes back to the component that owned it:--The `stock launcher` argument is only a fallback: with a record, the launcher that actually owned Home-is the one that gets it back, and the argument is used only when nothing answered HOME at the time-or this project's launcher owned it. The record also notes whether the known stock launchers were on,-listed or not, and the stock launcher is enabled again only if it was. One that was already off (from-the factory, or because the install script had disabled it before you applied this list) stays off,-and if this project's launcher owned Home then, Home goes back to it. A record from before this note-was added does not say, so the script leaves that launcher as it is and prints the-`tools/tv.py 'pm enable <package>'` that turns it on.-Without a record (an older run, or a record you deleted) the script says so and falls back to-enabling the whole list and resetting the scales to `1.0`, which is what it used to do.--It leaves the new launcher installed (remove it from the TV's Settings → Apps if you want it gone)-and does not know about packages you disabled outside the list. To switch back later, run the-install script again; it works out which launcher to disable even when Home has fallen back to-Android's chooser. If the TV is unreachable, its own-Settings → Apps page can re-enable packages too.--</details>+**More:** [docs/restore.md](docs/restore.md) has what the record holds, when the stock launcher argument+counts, and what happens without a record.## After a firmware updateAn update installs over the cleaned-up system: the listed packages come back, Home goes to the-stock launcher, and new preloads appear that no list mentions. Nothing else here notices, so-compare the TV with the list you applied.--The check and `--fix` reach the TV over network ADB. If you closed ADB as-[Isn't ADB access a security hole?](#questions-people-ask) describes, open it again first: USB-debugging, and Network/ADB debugging if the TV has it, back on as in [Quick start](#quick-start)-step 1. On a TV whose port 5555 only opens through Wireless debugging, switch that on as well, pair-it again with the stock `adb` and run `adb tcpip 5555`, as in [Doing it by hand](#doing-it-by-hand).-Closing revoked this computer's authorisation, so accept "Allow USB debugging?" on the TV when the-check connects. While ADB is closed the check can only report "could not reach the TV", even with-the TV on and `TV_HOST` right. Close ADB the same way once you are done. With it open:+stock launcher, and new preloads appear that no list mentions. Open ADB again as in+[Quick start](#quick-start) step 1, then compare the TV with the list you applied; `--fix` puts it back:```bashTV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/<your tv>/debloat.txt```-It exits with `0` when the TV still matches the list, `1` when something drifted, and `2` when it-could not check at all: the TV did not answer, nobody accepted the "Allow USB debugging?" prompt in-time, the list path is not there, the list disables Android's core packages, or, under `--fix`, the-recovery record for this TV and list cannot be read or updated (nothing is changed on the TV then).-Only 1 is drift, so-a job that mails on 1 alone stays quiet while the check never ran; mail on anything but 0, or on 2 as-well, and a weekly job on a home server or a Pi is enough to hear about it:--```bash-0 9 * * 1 cd ~/cleanyourtv && TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/<your tv>/debloat.txt-```--`TV_HOST` is read before any of that: a run that leaves it unset stops in `tools/tv.py` with its own-message and also exits 1, so set it in the job line, as above, where cron does not inherit it from-your shell.--The job only gets an answer from a TV that keeps network ADB listening between runs and has-accepted "Allow USB debugging?" for the computer that runs it with "Always allow from this computer"-ticked: without the tick the TV asks again at every run, and with nobody there to accept, the run-exits 2. A port left listening is the one [Isn't ADB access a security hole?](#questions-people-ask)-says to close, since anything on the network can reach it. With ADB closed as described there,-every run exits 2: run the check by hand after an update instead, with ADB opened again as above.--`--fix` reapplies the list to what drifted: it switches Home to the launcher the list does not-disable (pass a package as the second argument if you run a fork), then disables the listed packages-that came back, and reads the TV back to confirm both. It never writes a recovery record of its own,-because only the first run's record holds the state from before cleanup. When there is one, `--fix`-first adds to it what a second `tools/disable.sh` run would (names the list gained, and a package that-was not installed then and is installed and enabled now), so `tools/restore.sh` still returns the TV-to stock afterwards. Home is fixed first; if no launcher is left to take it, `--fix` changes nothing-and says so.--It runs the same safety checks as `tools/disable.sh` before it disables anything, since an update is-the moment they matter again: it leaves setupwraith on while the saved Wi-Fi network belongs to it-(`FORCE_SETUPWRAITH=1` on Ethernet), leaves the packages under the HDMI/AV inputs on-(`TVINPUT_ALLOW=1` if you really want them off), leaves on the apps the TV opens its inputs and-Settings with (`HANDLERS_ALLOW=1`), and never takes Home to a vendor `FallbackHome` or a factory-test-app.-Each package it leaves on comes with the reason and exits 1, because the TV is not back to the list-until you deal with that one by hand.--With `stock_home_redirect` the stock launcher can stay Home on purpose: the list leaves it out, the-install script ran with `STOCK_LAUNCHER=none`, Android keeps it as Home, and `HomeKeyService` sends-its home screen on to this launcher. On the Chromecast with Google TV 4K that setup matches the-folder's `debloat-keep-cast.txt`, not its `debloat.txt`, which disables setupwraith and the-screensaver pair the redirect setup keeps. On the Acer AR55AR2851UDPRO it is the folder's-`debloat.txt`. Check those lists with the stock launcher as the second argument. Without it the-check expects `com.gathin.tvhome` on Home, so every run reports Home as drift, and `--fix` tries to-move Home to it, which those TVs do not keep:--```bash-TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/google-chromecast-gtv-4k/debloat-keep-cast.txt com.google.android.apps.tv.launcherx-TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/acer-ar55ar2851udpro/debloat.txt com.google.android.tvlauncher-```--Leave the argument out where the stock launcher is meant to be off. Where the install script-disables it, as with the Chromecast's `debloat.txt` and the XGIMI MoGo 3 Pro list (there the-redirect only covers for firmware that turns it back on), the stock launcher on Home is drift, and-naming it as the second argument would hide that drift. Where the list disables it itself, as the-XGIMI MoGo 4's does, `check.py` refuses that argument with exit 2 and checks nothing: a launcher the-list disables cannot be the one Home stays on.--Lists that also disable the updater get no updates at all. To install one, re-enable the updater on-the TV, let it update, run `check.py --fix`, and disable the updater again.--On Windows the same command is `tools\venv\Scripts\python.exe -I tools\check.py <list>`.+**More:** [docs/firmware-updates.md](docs/firmware-updates.md) has the exit codes, a weekly check, what+`--fix` changes, TVs that keep the stock launcher as Home, and lists that disable the updater.## When something goes wrong@@ -896,7 +309,10 @@ three that matter most:- 🍎 **macOS blocks `adb connect`** ("No route to host") under Local Network privacy. `tools/tv.py` avoids the binary.- ⚠️ **Disable the stock launcher only after the new one is installed and running**, or Home lands on a factory test app. The install script orders this for you.-- 🔁 **On Google TV the setup wizard** (`com.google.android.tungsten.setupwraith`) can take Home and crash-loop the system after the stock launcher is disabled. Disable it too, and list it in your `debloat.txt` so restore brings it back. But check `dumpsys wifi | grep -o 'cname=[^ ]*'` first: if the Wi-Fi network was saved during setup it belongs to setupwraith, and disabling it deletes the network (re-join it in Settings first; `tools/disable.sh` skips setupwraith until you do). On Google's own Chromecast and on the Google TV Streamer it also costs phone casting, see [Troubleshooting](docs/TROUBLESHOOTING.md). Stuck already? `tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx'`.+- 🔁 **On Google TV the setup wizard** (`com.google.android.tungsten.setupwraith`) can take Home and crash-loop the system after the stock launcher is disabled. Disable it too, and list it in your `debloat.txt` so restore brings it back.+ - But check `dumpsys wifi | grep -o 'cname=[^ ]*'` first: if the Wi-Fi network was saved during setup it belongs to setupwraith, and disabling it deletes the network (re-join it in Settings first; `tools/disable.sh` skips setupwraith until you do).+ - On Google's own Chromecast and on the Google TV Streamer it also costs phone casting, see [Troubleshooting](docs/TROUBLESHOOTING.md).+ - Stuck already? `tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx'`.## Questions people ask@@ -915,14 +331,10 @@ point, and only switches apps off, so everything can be put back. It's communityNothing is flashed, rooted or deleted; packages are disabledin the user profile. The risk is disabling something the TV leans on, which is why lists areapplied in small batches with a restore script ready. The TV's own Settings → Apps page can-re-enable packages even without the tools.+re-enable packages even without the tools. If the TV no longer starts far enough for that, a factory+reset from its recovery menu is usually the way back.-If the TV no longer starts far enough for that, or for ADB, a factory reset from its recovery menu is-usually the way back ([#1578](https://github.com/Gathin23/cleanyourtv/issues/1578)): everything these-tools change lives in the user data the reset wipes, so every disabled app comes back and the new-launcher is gone, along with your own apps and accounts. A TV that still restarts in a loop after the-reset points to the hardware rather than the debloat ([#1592](https://github.com/Gathin23/cleanyourtv/issues/1592));-[Troubleshooting](docs/TROUBLESHOOTING.md#working-on-the-tv) has the cases seen so far.+More: [docs/faq.md](docs/faq.md#is-this-safe-can-it-brick-the-tv)</details>@@ -958,25 +370,16 @@ TV at their home routing to it. Never by opening the ADB port on their router. S<summary><b>Isn't ADB access a security hole?</b></summary>It is one explicit "allow this computer" tap on the TV, the-same as developing an Android app. Network ADB is plaintext on port 5555, and on firmware with-`ro.adb.secure=0` (or with it unset, on a debug build or Android 4.4) any device on the LAN gets a-shell, so close it when you are done:+same as developing an Android app. Network ADB is plaintext on port 5555, and on some firmware any+device on the LAN gets a shell, so close it when you are done:1. On the TV: Developer options → turn **USB debugging**, **Network/ADB debugging** and**Wireless debugging** off, whichever the TV has, and revoke the USB debugging authorisations.- Wireless debugging listens on a port of its own and stays open when USB debugging goes off (seen- on a Chromecast with Google TV 4K). Note that port before you switch it off (`adb mdns services`- lists it as `_adb-tls-connect._tcp`) and check it straight after, before the reboot:- `python3 tools/adb-closed.py <tv ip> <port>` must say that port is closed. After the reboot the- old number reads closed either way: Wireless debugging takes a new port each time it starts.2. Reboot the TV, then confirm the port is gone from your computer:- `python3 tools/adb-closed.py <tv ip>` must say the port is closed. Wireless debugging must still- be off in Developer options, and `adb mdns services` must list no `_adb-tls-connect._tcp` entry- for the TV; if it came back, switch it off and check its new port as in step 1. With- `nc -vz <tv ip> 5555`, only "Connection refused" counts: on macOS, Local Network privacy can- block `nc` and make it fail with "No route to host" even while the port is open.+ `python3 tools/adb-closed.py <tv ip>` must say the port is closed.-The launcher keeps working without debugging.+The launcher keeps working without debugging. More, including checking Wireless debugging's own port:+[docs/faq.md](docs/faq.md#isnt-adb-access-a-security-hole)</details>@@ -986,49 +389,21 @@ The launcher keeps working without debugging.Partly, with Android's Private DNS (Android 9 and newer). Pointit at an ad-blocking resolver such as [AdGuard DNS](https://adguard-dns.io) and every app's ad andtracker domains stop resolving, system-wide, surviving reboots. The trade-off: that resolver then-sees every DNS query the TV makes.+sees every DNS query the TV makes, and it does not remove YouTube ads.-```bash-tools/tv.py 'settings put global private_dns_specifier dns.adguard-dns.com'-tools/tv.py 'settings put global private_dns_mode hostname'-```--It does not remove YouTube ads, which come from the same servers as the videos. When the TV reports-"No internet", the resolver is down or unreachable and switching back restores everything:-`tools/tv.py 'settings put global private_dns_mode opportunistic'`. That line needs debugging back on,-because Android TV's Settings app has no Private DNS page (not in AOSP, and not in Google TV 14 on a-Chromecast with Google TV 4K); ADB goes to the TV's address, so it connects while the resolver is down.-A resolver that answers can still break one app on its own, so if a single app fails while the rest play, see-[one app refuses to play](docs/TROUBLESHOOTING.md#one-app-refuses-to-play-while-the-rest-of-the-tv-is-online)-before you debug the app.+More, with the two commands and how to switch back: [docs/faq.md](docs/faq.md#can-it-block-ads-inside-apps-too)</details><details><summary><b>Are there switches in the TV's own Settings worth flipping too?</b></summary>-A few. They need no ADB, the remote switches them back, and the debloat leaves them in place-(Usage & diagnostics and Apps only mode aside): their pages belong to Settings and Play services, which-every list keeps. The paths are Google TV's; other Android TV builds move some of them.--- **Settings → Privacy → Ads**: delete the advertising ID, or turn on Opt out of Ads Personalization. On- Android TV it is under About → Legal information → Ads (in Device Preferences on some sets).-- **Settings → Privacy → Location** off. The launcher's network pill may then say "Wi-Fi" instead of the- network's name.-- **Settings → Privacy → Usage & diagnostics** off, before the debloat. On a Chromecast with Google TV 4K- the page comes from setupwraith, which most Google TV lists disable for the launcher swap, and on a- [Hisense 50A6H4](examples/hisense-smarttv-4k-ffm-android11/debloat.txt) it opened nothing after the- debloat.-- **Settings → Network & Internet → Scanning always available** off. It lets Google's location service and- other apps scan for Wi-Fi networks even while Wi-Fi is off, so it matters most on a TV on Ethernet.-- **Settings → Accounts & Sign In → your profile → Apps only mode**, where launcherx stays enabled- (`stock_home_redirect`, or the Chromecast's `debloat-keep-cast.txt`). Google TV's own home then drops its- personalised recommendations and casting still works, but Search and the Assistant switch off. The- switch lives in launcherx, so a list that disables launcherx takes it away.--On Fire OS: Settings → Preferences → Privacy Settings, with Interest-based Ads, Device Usage Data and-Collect App Usage Data off. They sync with the Amazon account, so change them in the menu, not with-`settings put`.+A few, and they need no ADB: the advertising ID, Location, Usage & diagnostics and Scanning always+available, plus Apps only mode where the stock launcher stays. Flip Usage & diagnostics before the+debloat; on some TVs its page goes with it.++More, with the paths for Google TV, Android TV and Fire OS:+[docs/faq.md](docs/faq.md#are-there-switches-in-the-tvs-own-settings-worth-flipping-too)</details>@@ -1049,6 +424,14 @@ control what goes on your TV. No prebuilt binaries.</details>+## The story++On 17 October 2026 I posted [a before and after](https://x.com/gathint/status/2111379569030939102) of my+parents' TV, cleaned up by Claude Code over Wi-Fi. It reached 7.4M views, people started doing the same to+their own TVs, and their replies turned into the lists here: 170+ TV models from 200+ contributors in four+days. The repo was called tv-vibehack until the 19th; old links work. The coverage since is in+[docs/PRESS.md](docs/PRESS.md).+## ContributingThe most useful contribution is your TV's debloat list, so the next person with that model doesdiff --git a/README.nl.md b/README.nl.mdindex d071b2897..6c7b3663c 100644--- a/README.nl.md+++ b/README.nl.md@@ -118,17 +118,26 @@ Tested lists from contributors, one folder per model in [`examples/`](examples/)<!-- tv-brands:start: generated by tools/gen_tables.py from examples/*/tv.json; edit those, not this -->-**TCL** 69 · **Sony** 38 · **Xiaomi** 31 · **Philips** 17 · **Hisense** 11 · **Skyworth** 11 · **Amazon Fire TV** 7 ·-**BenQ** 4 · **JVC** 4 · **OnePlus** 4 · **Panasonic** 4 · **Thomson** 4 · **Google** 3 · **Haier** 3 ·-**NVIDIA Shield** 3 · **RCA** 3 · **SHARP** 3 · **Vu** 3 · **CHiQ** 2 · **EKO** 2 · **FFalcon** 2 · **Hitachi** 2 ·-**Insignia Fire TV** 2 · **Kalley** 2 · **Kogan** 2 · **Motorola** 2 · **Nokia** 2 · **onn** 2 · **Redmi** 2 ·-**RockTek** 2 · **Sankey** 2 · **Toshiba** 2 · **Vidda** 2 ·+| | | | | | |+|---|---|---|---|---|---|+| [TCL](https://cleanyour.tv/tvs?q=TCL) · 76 | [Sony](https://cleanyour.tv/tvs?q=Sony) · 40 | [Xiaomi](https://cleanyour.tv/tvs?q=Xiaomi) · 32 | [Philips](https://cleanyour.tv/tvs?q=Philips) · 18 | [Skyworth](https://cleanyour.tv/tvs?q=Skyworth) · 14 | [Hisense](https://cleanyour.tv/tvs?q=Hisense) · 11 |+| [Amazon Fire TV](https://cleanyour.tv/tvs?q=Amazon%20Fire%20TV) · 7 | [Panasonic](https://cleanyour.tv/tvs?q=Panasonic) · 6 | [BenQ](https://cleanyour.tv/tvs?q=BenQ) · 5 | [SHARP](https://cleanyour.tv/tvs?q=SHARP) · 5 | [JVC](https://cleanyour.tv/tvs?q=JVC) · 4 | [OnePlus](https://cleanyour.tv/tvs?q=OnePlus) · 4 |+| [Thomson](https://cleanyour.tv/tvs?q=Thomson) · 4 | [Google](https://cleanyour.tv/tvs?q=Google) · 3 | [Grundig](https://cleanyour.tv/tvs?q=Grundig) · 3 | [Haier](https://cleanyour.tv/tvs?q=Haier) · 3 | [Motorola](https://cleanyour.tv/tvs?q=Motorola) · 3 | [NVIDIA Shield](https://cleanyour.tv/tvs?q=NVIDIA%20Shield) · 3 |+| [RCA](https://cleanyour.tv/tvs?q=RCA) · 3 | [Redmi](https://cleanyour.tv/tvs?q=Redmi) · 3 | [Toshiba](https://cleanyour.tv/tvs?q=Toshiba) · 3 | [Vu](https://cleanyour.tv/tvs?q=Vu) · 3 | [CHiQ](https://cleanyour.tv/tvs?q=CHiQ) · 2 | [EKO](https://cleanyour.tv/tvs?q=EKO) · 2 |+| [FFalcon](https://cleanyour.tv/tvs?q=FFalcon) · 2 | [Hitachi](https://cleanyour.tv/tvs?q=Hitachi) · 2 | [Insignia Fire TV](https://cleanyour.tv/tvs?q=Insignia%20Fire%20TV) · 2 | [Kalley](https://cleanyour.tv/tvs?q=Kalley) · 2 | [Kogan](https://cleanyour.tv/tvs?q=Kogan) · 2 | [Nokia](https://cleanyour.tv/tvs?q=Nokia) · 2 |++<details>+<summary>+49 more brands and 14 projector brands</summary>++**onn** 2 · **RockTek** 2 · **Sankey** 2 · **Sber** 2 · **Vidda** 2 ·Acer · AiPro2K · AIWA · AQUA · Artel · ASUS · Beko · BGH · Caxium · Cecotec · Challenger · Compac · Dcolor · Dialog ·-Freebox · Grundig · INCLO · Karbonn · KTC · Liberton · Lumio · Master-G · MTC · Next · Noblex · OK. · Panavox · PEAQ ·-Polytron · PRISM+ · SANYO · Sber · Seleco · Super General · Síragon · Tele System · TiVo · Tornado · Turkcell · Tuvio ·-Verizon · Vision ·+DYON · Freebox · Home+ · INCLO · Karbonn · KTC · Liberton · Lumio · Master-G · MTC · Next · Noblex · OK. · OPPO ·+Panavox · PEAQ · Polytron · PPTV · PRISM+ · SANYO · Seleco · Super General · Síragon · Tele System · TiVo · Tornado ·+Turkcell · Tuvio · Verizon · Vision ·Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, Magcubic, Portronics, Stellamore, Wanbo and XGIMI projectors+</details>+<!-- tv-brands:end --><details>@@ -158,6 +167,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Beko B43B880B (Arçelik, sinchon, MediaTek), Turkey | Android TV 11 || BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 || BenQ E55-750 (Changhong AI PONT, DVB96BQ) | Google TV (Android 11) |+| BenQ E55-760 (Changhong AI PONT, GTVU64BQ, board alimos) | Google TV 14 || BenQ GV32 portable projector (SDMC, BenQ_GV01, himalaya, MediaTek m7332) | Google TV 14 || BenQ QS01 Android TV dongle for BenQ projectors (Inspur, Amlogic S905Y2, 2 GB) | Android TV 12 || BGH Smart TV (reported model; UKNV.260821.001) | Android TV 14 |@@ -171,20 +181,23 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Compac ATV R2 (SCBC R2, Realtek RTD285O) | Android TV 9 || Dcolor GD2 (YHT) | Google TV 14 (SDK 34) || Dialog ViU (SEI Robotics SEI103DL, Amlogic, NES middleware), Sri Lanka | Android TV 9 |+| DYON 2K Android TV (MTC, komagome, MediaTek m5621), Germany | Android TV 11 || EKO 2K Google TV (MTC-built, tennoji, MediaTek mt5867 / T56) | Google TV 14 || EKO 4K Android TV (bangbae, MTC, MediaTek) | Android TV 11 || Epson LS800 laser projector (Askey HA90 module, sti6202d101, Amlogic) | Android TV 14 || FFalcon (雷鸟) r34a0, China (V8-A920T01-LF1V147, Amlogic T920), 1 GB | Android 5.1.1 || FFalcon (雷鸟) 鹤6 PRO 65S585C Pro (China, tcl_mt5879_cn, MediaTek MT9653) | Android TV 11 || Formovie / Fengmi projector MiProjM05 (eva, Amlogic) | Android TV 9 |-| Formovie Laser 4K projector (hanlla, MediaTek T31 / m7632, 1.8 GB) | Android TV 14 |+| Formovie Laser 4K projector / Formovie Theater (hanlla, MediaTek T31 / m7632, 1.8 GB) | Android TV 14 || Freebox Player POP (Free, fbx8am, Amlogic), IPTV/DVB-T box | Android TV 10 || Gadnic PROJ100W projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic HP46B), Argentina | Google TV 14 || Google Chromecast with Google TV 4K (sabrina) | Google TV 14 || Google Chromecast with Google TV HD (boreal) | Google TV 14 || Google TV Streamer 4K (kirkwood, GZRNL) | Google TV 14 |+| Grundig 50 GFU 7850 B 50" (Arçelik, CO3Plus, sinchon, MediaTek), Turkey | Android TV 11 |+| Grundig 50VLX22LDLBV (Arçelik, CO3Plus, sinchon, MediaTek), Netherlands | Android TV 11 || Grundig Android UHD TV (Arçelik, GxGrNM, kunyang, MediaTek), Turkey | Android TV 14 |-| Haier Android TV DVB2K (broadway, HaierATVT56DVB) | Android TV 11 |+| Haier Android TV DVB2K (broadway, HaierATVT56DVB; also sold as the CANDY Android TV DVB2K, CANDYATVT56) | Android TV 11 || Haier H32S80EFX (MatrixTV CE, HRT56EU, deto, MediaTek), Thailand | Google TV 14 || Haier MatrixTV GE (HR9216EU, haeundae, MediaTek), EU | Google TV 14 || Hisense 55QD6QF Fire TV (AFTOLCBC82, ginza), Canada | Fire OS 8.1.8.0 / Android 11 |@@ -197,9 +210,10 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Hisense SmartTV 4K FFM (huangshan, MediaTek), Latin America; also the US Hisense U9DG | Android TV 10 || Hisense SmartTV 4K FFM (lushan, MediaTek MT9676), Mongolia | Google TV 12 || Hisense SmartTV 4K FFM (songshan, MediaTek m7632); also the US Hisense 50A6H4 | Android 11 (SDK 30) |-| Hisense U75 / 75U75N (hengshan, MediaTek), Latin America and US | Google TV 12 |+| Hisense U75 / 75U75N / 65U7ESG (hengshan, MediaTek), Latin America and US | Google TV 12 || Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 || Hitachi CDH-LE32SMART21 (TCL-built C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 |+| Home+ STB-6252C (中嘉寬頻, Inspur, MT5221), DVB-C/OTT box | Android TV 11 || HOTACK SMART2KPJT projector, "Whale TV 95C8" (Amlogic am30b8, WhaleOS S8E, Zeasn firmware) | Android 13 || HY320 projector (t950s_be311, Google-certified Android TV) | Android 13 || INCLO Google TV 4K (KTC, Realtek, khardi, KTC_INCLO_4K_EU_23GV1), Taiwan | Google TV 11 |@@ -212,7 +226,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| JVC UK 4K Android TV (MTC, MTCMSD6886UK, sadang, MediaTek m7322), UK | Android TV 11 || Kalley 43G200 (device R3_GTV, MOKA, Realtek RTD2841A), Latin America | Google TV 14 || Kalley R10G (device R10G, product ACER_FFM, MOKA, Realtek RTD2875P), Latin America | Google TV 14 |-| Karbonn SWTV-20AE (Skyworth OEM, SW4H, MediaTek), India | Android TV 10 |+| Karbonn / Motorola SWTV-20AE (Skyworth OEM, SW4H, MediaTek), India | Android TV 10 || Kogan G7 (Expressluck, cottongreen, Realtek), Australia | Google TV (Android 11) || Kogan Google TV (Changhong CHiQ AI PONT, GTVU65KG, dangni, MediaTek mt5867), Australia | Google TV 14 || KTC 4K Smart TV (device hongkong, MediaTek), Taiwan | Google TV 14 |@@ -222,6 +236,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Master-G MGA3200 (SCBC R1, Realtek; Android reports model `ATV R1`), Chile | Android TV 9 || Motorola / Coocaa SWTV-24AE-FHD (24LP6000G, Skyworth OEM, beomil), India/SEA | Google TV 14 || Motorola MT4310 (Newsan; Hisense board, hayward, MediaTek), Argentina | Android TV 11 |+| Motorola SWTV-24AE-4K (Skyworth OEM, eleonas, MediaTek), India | Google TV 14 || MTC UK 2K Android TV (tabata, MediaTek m5621; JVC-family firmware, `android.autoinstalls.config.JVC` present), UK | Android TV 11 || Next Start Pro 4K TV Box (SDT HPR314-Next, Realtek RTD1325), Turkey, streaming box | Google TV 14 || Noblex NoblexTV (Skyworth-built, shinjuku, MediaTek m5621), Argentina | Android TV 11 |@@ -231,74 +246,85 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| NVIDIA SHIELD TV 2019 tube (P3430, sif) | Android TV 11 || NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 || OK. AI PONT (Changhong, ikebukuro, MediaTek), Italy; also Nikkei DVB91NK | Android TV 11 |-| OnePlus TV (C00, Cebu, MediaTek m7632), India | Android TV 10 |-| OnePlus TV (D00, Dubai) | Google TV 14 |+| OnePlus TV (C00, Cebu, MediaTek m7632), India | Android TV 10 and 11 |+| OnePlus TV (D00, Dubai) | Android TV 11 / Google TV 14 || OnePlus TV (Dosa, Oneplus_Dosa_IN) | Android TV 11 || OnePlus Y1 43" (Y Series, shibuya) | Android TV 11 || onn 4K Streaming Box (2023, Walmart; YOC, Amlogic), US | Google TV 14 || onn. 4K Plus Streaming (2025, Walmart; coffey, Amlogic S905X5M), US | Google TV 14 |+| OPPO K9 55 (OPPOCNM632) | Android 9 (ColorOS TV) || Panasonic 4KTV-0SU (Skyworth-built SW4H, MediaTek m7332), Gulf region | Android TV 10 |+| Panasonic 4KTV-3MUP (MOKA R4_GTV, Realtek rtd2851m), Taiwan | Google TV 14 |+| Panasonic 4KTV-3SU (Skyworth-built SW6H, MediaTek, same board as `thomson-sppl-4k-sw6h/`), ~1.9 GB | Android TV 14 (Google TV home) || Panasonic 4KTV-JUP (Jupiter_PA, MediaTek) | Android TV 11 || Panasonic Google TV LCD (OZUM_Panasonic, kowloon, MediaTek) | Android 14 || Panasonic TH-40HS550K (Skyworth-built, GS655 shibuya, MediaTek) | Android TV 11 || PANAVOX Google TV (dongnae) | Google TV 14 || PEAQ PTV 43AQU-5023C (Changhong, reports OK. AI PONT, dundas, MediaTek m7332) | Android TV 11 |-| Philips 50PUD7406/43 (TPV, PH0M_EA_T32, MStar/MediaTek), Chile; 55PUS7906/12, Lithuania | Android TV 11 |+| Philips 50PUD7406/43 (TPV, PH0M_EA_T32, MStar/MediaTek), Chile; 55PUS7906/12, Lithuania; 50PUS7906/12, Germany | Android TV 11 || Philips 50PUF7099/T3 (TPV EBONY_V560, Hisilicon), China | Android TV 9 || Philips 50PUS8517/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), Europe | Android TV 11 |-| Philips 55OLED707/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK | Android TV 11 |+| Philips 55OLED707/12 / 55OLED887/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK and Poland | Android TV 11 || Philips 55OLED708/12 (TPV, PH1M_WW_9972, MediaTek), Poland | Google TV 12 |+| Philips 55OLED820/12 (TPV, PH1M_WW_9972, MediaTek), Czech Republic | Google TV 14 || Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 || Philips 65OLED706/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), France; 55OLED706/12, Poland | Android TV 11 |-| Philips 65OLED907/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK | Android TV 11 |+| Philips 65OLED907/12 and 55OLED907/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK and France | Android TV 11 || Philips 65PML9506/12 (TP Vision, PH1M_EA_9970A, MediaTek), Spain | Android TV 11 || Philips 65PUS8102/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 || Philips 65PUS8729/60 (TPV, PH1M_WW_9972, MediaTek), Russia | Google TV 14 |-| Philips 65PUS9435/12 (TP Vision TPM191E, PH9M_EA_5599, MediaTek MT5887), Germany | Android TV 12 |+| Philips 65PUS9435/12 / 55PUS9435/12 (TP Vision TPM191E, PH9M_EA_5599, MediaTek MT5887), Germany | Android TV 12 || Philips 75PUS8505/12 (TP Vision TPM191E, PH9M_EA_5599, MediaTek MT5887), Europe | Android TV 12 |-| Philips Google TV TA7 (TPV, PH3M_AL_T32, MediaTek), Brazil; 55PUD7908/77, Latin America | Google TV 14 |+| Philips Google TV TA7 (TPV, PH3M_AL_T32, MediaTek), Brazil; 55PUD7908/77, Latin America; 50PUD7408/77, Argentina | Google TV 14 || Philips R8G Google TV (MOKA, whitefield, Realtek RTD2851F), US | Google TV 14 || Philips Smart 4K TV (Skyworth, eleonas, MediaTek), India | Google TV 14 |-| Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 (TP Vision, PH9M_EA_5599, MediaTek MT5887), Europe | Android TV 12 |+| Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 / 50PUS7354 / 43PUS7304 (TP Vision, PH9M_EA_5599, MediaTek MT5887), Europe | Android TV 12 || Polytron 2K (WLTV POLYTRON2K, hayward; Hisense/CVTE board, MediaTek mt5867), Indonesia | Android TV 11 || Portronics Beem 470 Smart LED Projector (Allwinner H713, 1 GB), India | Android 11 |+| PPTV p34a4p (Suning PPTV, Amlogic board), China | Android 5.1.1 || PRISM+ Q65 Ultra 2026 QLED 4K AI Google TV (R10G, PRISMPLUS_FFM, MOKA, Realtek RTD2875 SoC, RTD6748 platform) | Google TV 14 || RCA 2K Android TV (KONKA, device lasalle, Realtek RTD2841A, ISDB) | Android TV 11 || RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch, AIWA AW32B4SMG, CHiQ AI PONT DVB92CQ and ERGO DVB92YC) | Android 14 || RCA RC50A21S-4KSM, Zeasn home (Toptech firmware RTK2851P, Realtek RTD2851P, board mac6p) | Android TV 9 || Redmi TV (MiTV-ANTL0, starwars) | Android 5.1.1 (not Android TV) || Redmi TV (MiTV-MFTP0, alita), China firmware 23.2.10.6129 | Android TV 9 (CN build) |+| Redmi TV 43" (MiTV-MOOQ3, tarzan) | Android TV 11 || RockTek GB1 | Google TV 14 || RockTek GX1 (HPR3A1325_4K) | Google TV 14 || Sankey SMART2KTVSE (Whale OS, SiliconPlayer am30bm) | Android TV 13 || Sankey SMART_TV (CVTE, HiSilicon Hi3751V350, 1 GB) | Android 12 || SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 |+| Sber Salute TV 32" (CVTE TPD.MT9216.PB766, MediaTek MT9256, 1 GB), Russia | StarOS 1.103 / Android 11 || Sber Salute TV 43" (CVTE TP.T962D4.PC756, Amlogic T962D4, at30a6, 2 GB), Russia | StarOS 1.101 / Android 13 || Seleco TV39020HDA9SMART 39" (AT_SmartScreen, Toptech + Zeasn, Realtek RTK2842P), Italy | Android TV 9 || SHARP 2T-C32GH3000I (SHARP 2K Smart TV-A; Skyworth-built, beomil, MediaTek mt5867), Indonesia | Google TV 14 |+| SHARP 55GP6260E (Sharp Google TV, kaitak, MediaTek MTK9612), EU | Google TV 11 |+| SHARP AQUOS 4T-C43DL1 (AQUOS-TVJ21-2, tcve2uj, MediaTek), Japan | Android TV 11 || SHARP AQUOS TVE21F (AQUOS-TVE21F, banqiao, CVTE/MediaTek), UK | Android TV 14 || SHARP AQUOS TVE23A (AQUOS-TVE23A, sandiego, CVTE/MediaTek mt5889), Denmark | Google TV 14 || Skyworth / Coocaa 8R40_K5C (Realtek rtd285x, 1 GB, 32-bit), China domestic firmware | Android 8.0 (not Google TV) |+| Skyworth 43E6A (open_fhd, MediaTek MT5886) | Android TV 8.0 || Skyworth 65A3F (7T641_A3F, MediaTek MT9633), China | Android 13 (CCOS 10.01.250328) || Skyworth 7S60_A5 (sky8S34, 1.9 GB), China market | Coocaa OS / Android 8 || Skyworth 7T861_A23 (MediaTek MT9638), China market | Coocaa OS / Android 10 || Skyworth Coocaa K3 Pro 90P3D Max (8R145_P3DM, Realtek RTD2885N), China market | Android 11 (Coocaa OS) |+| Skyworth SW-22HK NF (SW6H, MediaTek m7332) | Android TV 11 (Google TV home) || Skyworth SW-22SA (SW6H, MediaTek), ~1.9 GB | Android TV 14 (Google TV home) || Skyworth SWTV-21AE (sunnyvale, MediaTek) | Android TV 14 || Skyworth SWTV-22AE-FHD (umeda, MediaTek), Vietnam/Global | Google TV 14 || Skyworth SWTV-24AE-4K NF (eleonas, MediaTek mt5896), South Africa/Global | Google TV 14 || Skyworth SWTV-24NA-4K NF (eleonas, MediaTek mt5896), US | Google TV 14 || Skyworth Xiaopai P3 (Q5001, cupid-p2), streaming box | Android 10 |-| Sony BRAVIA 4K AE1 (BRAVIA_AE_M6L, MediaTek MT5897), EU | Google TV 12 || Sony BRAVIA 4K AE2 (BRAVIA_AE2, MediaTek MT5897), North America | Google TV 14 |-| Sony BRAVIA 4K GB (BRAVIA_ATV2_EU, BRAVIA_ATV2) | Android TV 9 || Sony BRAVIA 4K GB (BRAVIA_ATV2_UC, MediaTek mt5891) | Android TV 9 |+| Sony BRAVIA 4K GB (KD-75XE8596, XBR-49X705D; BRAVIA_ATV2_EU, BRAVIA_ATV2_BR) | Android TV 9 || Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 |-| Sony BRAVIA 4K UR3 (BRAVIA_UR3, MediaTek mt5893), EU | Android TV 10 |-| Sony BRAVIA 4K VH1 (KD-55XH9096, BRAVIA_VH1, MediaTek MT5895), EU | Google TV 12 |+| Sony BRAVIA 4K UR3 / KD-55X8000H (BRAVIA_UR3, MediaTek mt5893), EU and TW | Android TV 10 |+| Sony BRAVIA 4K VH1 (KD-55XH9096 / XBR-55X900H, BRAVIA_VH1, MediaTek MT5895), EU and US | Google TV 12 || Sony BRAVIA 4K VH2 (KD-55X80J / XR-65A83J, BRAVIA_VH2, MediaTek), EU, North America and India | Google TV 12 || Sony BRAVIA 4K VH21 (KD-65X85K, 2022, BRAVIA_VH21, MediaTek MT5895), Australia | Google TV 12 || Sony BRAVIA 4K VH21 (XR-55A80K, 2022, BRAVIA_VH21, MediaTek mt5895), EU | Google TV 12 |+| Sony BRAVIA 4K VH21 (XR-65A95K, 2022, BRAVIA_VH21, MediaTek), US | Google TV 12 || Sony BRAVIA 9 II (K-65XR90M2, BRAVIA_AE3, MediaTek MT5838) | Google TV 14 || Sony BRAVIA BF1 (BRAVIA 2 II class, BRAVIA_BF1_4K_A, MediaTek) | Google TV 12 || Sony BRAVIA KD-43X8000G (2019, BRAVIA_ATV3_4K, MediaTek), APAC | Android TV 9 |@@ -306,6 +332,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Sony BRAVIA KD-49X8307C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 || Sony BRAVIA KD-55X75K (BRAVIA_VU3_4K, Realtek rtd2885m) | Google TV 14 || Sony BRAVIA KD-55X8000C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), China firmware | Android TV 7.0 |+| Sony BRAVIA KD-55X82L / KD-65X82L / XR-65X90L (2023, BRAVIA_VH22, MediaTek), India and US | Google TV 12 || Sony BRAVIA KD-55X8509C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 || Sony BRAVIA KD-55X85J (2021, BRAVIA_VH2, MediaTek MT5895), South America | Google TV 12 || Sony BRAVIA KD-55X9500G (BRAVIA_UR2_4K_CN), China | Android TV 10 |@@ -313,9 +340,9 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Sony BRAVIA KD-55XF7596 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), EU | Android TV 9 || Sony BRAVIA KD-55XF8096 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), Spain | Android TV 9 || Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 |-| Sony BRAVIA KD-65X82L (2023, BRAVIA_VH22, MediaTek), India | Google TV 12 || Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 || Sony BRAVIA KDL-43W950D (2015/2016, SVP-DTV15, MediaTek), India ("PA") firmware | Android TV 8.0.0 |+| Sony BRAVIA KDL-55W800C (2015, "BRAVIA 2015", SVP-DTV15, MediaTek), Taiwan firmware | Android TV 7.0 || Sony BRAVIA TL2 (OD0M_EA_T32, TPV-built, MediaTek), Europe | Android TV 11 || Sony BRAVIA VU1 (KD-43X7500H, BRAVIA_VU1_UC, Realtek) | Android TV 11 || Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 |@@ -324,18 +351,22 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Sony BRAVIA XBR-55X850D (Android model "BRAVIA 4K 2015"), firmware 6.827 | Android TV 8.0.0 || Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 || Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 |+| Sony BRAVIA XR-55A95L (A95L, 2023 QD-OLED; Android reports BRAVIA 4K AE1, BRAVIA_AE_M6L, MediaTek MT5838), EU | Google TV 12 || Sony KD-55X7500 (BRAVIA 4K GB ATV3, BRAVIA_ATV3_4K_CN), China | Android TV 9 || Sony XR-65A80J (65-inch OLED, 2021, BRAVIA_VH2), EU | Google TV 12 || Sony XR-65X90J (2021, BRAVIA_VH2, MediaTek MT5895), China | Android TV 10 || Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 |+| Strong LEAP-S3 box (SkyworthDigital YDA, Amlogic S905Y4), Italy | Google TV 14 || Super General 55" 4K (CVTE TP.SK708D.PC821, Amlogic T972, x30a4, 1 GB), Saudi Arabia | Android 9 || Síragon 4K Smart TV (KTC, MediaTek MT9676, elliniko, KTC_SIRAGON_4K_24GV1), Venezuela | Google TV 14 || TCL / FFalcon China (tcl9655_cn, MediaTek MT9655 "merak", UTT2.250416.001 AU01) | Android 14 || TCL 32ES570F (C06, C06_2K_GB, MStar mt5867, 939 MB), Italy | Android TV 11 || TCL 32L5A (C06, model "Smart TV", 1 GB) | Android TV 11 |+| TCL 32S334 (BeyondTV5, North America, Realtek RTD2851) | Android TV 9 || TCL 32S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB), 2023 | Android TV 11 || TCL 32S5K (C06, C06_2K_GB, MediaTek MT9221, 918 MB), EU | Android TV 11 || TCL 32SF560 (TCL Fire TV, AFTSHN02, shine) | Fire OS 7.7.1.7 / Android 9 |+| TCL 40" Smart TV (G06, MediaTek MT9221 / T221, AR2101, V8-T221T02-LF1V058), Indonesia | Google TV 11 || TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 || TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652); also TCL 50C635 / 60C635 (G03_4K_GB, Realtek rtd288o), Spain | Google TV launcher on Android TV 11 || TCL 43EP660 (Europe, BeyondTV, Realtek rtd285o, V8-R851T02-LF1V378) | Android TV 9 |@@ -343,7 +374,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| TCL 43P725 (Smart TV Pro, BeyondTV4, Realtek rtd288o), Italy | Android TV 11 || TCL 43S450F-CA (S4 Fire TV Edition, AFTDEC012E, ginza, MediaTek), Canada | Fire OS 8.1.8.5 / Android 11 || TCL 43S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 |-| TCL 43S5K / 32V5C (G13, G13_2K_GB, MediaTek MT9221/MT5867, 1 GB), India; also a G13 unit from Brazil and a 40" V5C on AU13 | Google TV 14 |+| TCL 43S5K / 32V5C (G13, G13_2K_GB, MediaTek MT9221/MT5867, 1 GB), India; also a G13 unit from Brazil, a 40" V5C on AU13 and a 32V51C from Indonesia (AU13) | Google TV 14 || TCL 50C725K (Smart TV Pro, BeyondTV4/BeyondTV6, RTD2851M, Realtek rtd288o, 2 GB), AR10 build | Android TV 11 || TCL 50DP660 / L49C2US ("Percee TV", tcl_eu, MediaTek MT5658 / board mt5891, V8-T658T01-LF1V602 / V570) | Android TV 8.0 || TCL 50EP680 (Europe, BeyondTV, Realtek rtd285o) | Android TV 11 |@@ -351,7 +382,8 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| TCL 50P615 (Greece and Türkiye, BeyondTV, Realtek RTD2851 / rtd285o, AR05) | Android TV 11 || TCL 50P735 (BeyondTV4, Smart TV Pro) | Google TV 11 || TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF); also TCL 55P6K, Spain and TCL 43P69K, Netherlands (G10_4K_GB_NF_32BIT) | Google TV 12 |-| TCL 55C715 QLED (Europe, BeyondTV2, Realtek RTD2851, V8-R851T02-LF1V606) | Android TV 9 |+| TCL 55A300W picture-frame TV (2023, G08, G08_4K_US_NF, MediaTek MT9653), US | Google TV 12 |+| TCL 55C715 QLED (Europe, BeyondTV2, Realtek RTD2851, V8-R851T02-LF1V606); also TCL 55C718 (Finland, same build) | Android TV 9 || TCL 55C725 (Smart TV Pro, BeyondTV4, G03_4K_GB, Realtek R51MT05, V8-R51MT05-LF1V620), Italy; also TCL 65C655 Pro (same build) | Google TV launcher on Android TV 11 || TCL 55C745, 2023 (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 || TCL 55C7K QD-Mini LED, 2025, UK (G08, MediaTek tcl9618) | Google TV 14 |@@ -365,16 +397,20 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| TCL 55S470G (G10, G10_4K_US_NF, Realtek), US | Google TV 12 || TCL 55S546 (5-Series, G03_4K_US, BeyondTV4, GTV93), US | Google TV 11 || TCL 58S571F (TCL Fire TV, AFTDEC012E, ginza, MediaTek mt5896), US | Fire OS 8 / Android 11 |+| TCL 65C6K (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618 / mt5896, SoC MT9689), Latin America | Google TV 14 || TCL 65C725 (Smart TV Pro, BeyondTV4) | Android TV 11 || TCL 65C735 (Smart TV Pro, G05, MediaTek), France; also TCL 55C728, Turkey, TCL 65C935, France, and TCL 65C745, France | Google TV 11 || TCL 65C7K (Smart TV Pro, G08, G08_4K_GB, MediaTek mt5896), Brazil | Google TV 14 || TCL 65C7L (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618), 2025, Australia | Google TV 14 |+| TCL 65C8L (Smart TV Pro, G17, G17_4K_GB, MediaTek tcl9655), 2025, Australia | Google TV 14 || TCL 65EP640 (Finland, BeyondTV, Realtek RTD2851 / rtd285o, AP06) | Android TV 9 || TCL 65EP68 (Europe, BeyondTV, Realtek RTD2851 / rtd285o, V8-R851T02-LF1V722) | Android TV 11 || TCL 65Q550G (TCL Smart TV, Google TV 11, V8-R51MT08-LF1V095.021344) | Google TV || TCL 65Q650G (US Q6 2023, BeyondTV4, Realtek RTD2851 / R51MT08, V8-R51MT08-LF1V095, 2 GB) | Google TV 11 |+| TCL 65QM8L (Smart TV Pro, G17, G17_4K_US, MediaTek tcl9655), 2025, US | Google TV 14 || TCL 65X10 QLED (France, BeyondTV2, Realtek RTD2851, V8-R851T02-LF1V363) | Android TV 9 || TCL 75C845X2, UK/Europe (G08_4K_GB, MediaTek tcl9618) | Google TV 14 |+| TCL 75P635 (Smart TV, BeyondTV4, G07), AR07 build | Android TV 11 || TCL 75P8K, Europe / Nordics (G10, G10_4K_GB / C6KS, Realtek RTD2875P / rtd6748) | Google TV 12 || TCL 75T7 / 55Q77K (Smart TV Pro, G08, G08_4K_US, MediaTek tcl9618), US firmware | Google TV 14 || TCL 85RM7L (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 |@@ -382,10 +418,10 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| TCL BeyondTV (India) | Android TV 9 || TCL BeyondTV, EU/Nordic (Realtek RTD2851, V8-R851T02-LF1V606) | Android TV 9 || TCL BeyondTV, Poland (Realtek RTD2851, AP03, 2 GB) | Android TV 9 |-| TCL BeyondTV2 (Latin America / Brazil, Realtek RTD2851) | Android TV 9 |-| TCL BeyondTV2, Android 11 build (AR05, Realtek rtd285o) | Android TV 11 |+| TCL BeyondTV2 (Latin America / Brazil, Realtek RTD2851); also confirmed on a 55" unit | Android TV 9 |+| TCL BeyondTV2, Android 11 build (AR05, Realtek rtd285o); also sold as the Hitachi CDH-LE554KSMART22 (Argentina) | Android TV 11 || TCL C635 (Smart TV Pro, BeyondTV4, Realtek rtd288o, Android 11/SDK 30), Brazil | Android TV 11 |-| TCL C755 QD-Mini LED, 2024, Australia (G08, MediaTek tcl9618) | Google TV 14 |+| TCL C755 QD-Mini LED, 2024, Australia and UAE (G08, MediaTek tcl9618) | Google TV 14 || TCL C89B 85", 2024, a local variant of the C855 (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 || TCL L40S66E (C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 || TCL Q7C (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618), European firmware | Google TV 14 |@@ -398,7 +434,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| TCL Smart TV Pro (G09, G09_4K_GB, Amlogic T5M, 2 GB), UK firmware, Brazil | Google TV 12 || TCL Smart TV Pro, UK Freeview Play (BeyondTV4 / BeyondTV6, Realtek rtd288o, 2 GB, AR05) | Android TV 11 || TCL tc8000_ay30a2 (China, Amlogic ohm, TC8000, 3.8 GB) | Android 11 |-| TCL UnionTV, Latin America (TCL-built like Thomson 32HE5800, Realtek RT2841) | Android TV 9 |+| TCL UnionTV, Latin America (TCL-built like Thomson 32HE5800, Realtek RT2841); also confirmed on a TCL 32S6500S and L40S6500 (persist.tcl.client_type TCL-LA-RT41KB-S1) | Android TV 9 || Tele System TS ON T2/HD (ONT2HD, SDMC, Amlogic), Italy | Android TV 11 || Thomson 32HE5800 (TCL-built UnionTV, Realtek RT2841), Spain | Android TV 9 || Thomson 43RT1055 FA Series (SPPL-built, sauve, Realtek RTD2841A), India | Android TV 14 |@@ -407,6 +443,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| TiVo Stream 4K (SEI Robotics IPA1104HDW, SEI400TV, Amlogic S905Y2, NES) | Android TV 12 || Tornado 65UA1400E (El Araby, Skyworth-built SW4H, MediaTek m7332), Egypt | Android TV 11 || Toshiba (Vestel Cosmos170, yeoksam, MediaTek), Spain | Android TV 11 |+| Toshiba 65UA2363DG (Vestel-built, BODRUM_Toshiba, finch, MediaTek m7332), France | Android TV 14 || Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 || Turkcell TV+ 4K Box (SDMC DV6069Y, Amlogic), Turkey, operator streaming box | Android TV 10 || Tuvio TD43UFBCV5 (Changhong AI PONT, DVB96, MediaTek m7632), Russia | Google TV 14 |@@ -418,7 +455,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Vu Premium FHD 43-inch (Smart 2K ATV4, hamamatsucho), India | Android TV 9 || Vu VIBE TV (KONKA, bandra, Realtek), India | Google TV 14 || Wanbo X5 Pro projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic), Australia | Google TV 14 |-| XGIMI Horizon S Pro projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 |+| XGIMI Horizon S Pro / Halo+ projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 || XGIMI MoGo 2 projector (MoGo, xgimiapollo, pokemon) | Android TV 11 || XGIMI MoGo 3 Pro projector (G0035, altai, MediaTek) | Google TV 14 || XGIMI MoGo 4 Laser projector (WK03K, altai, MediaTek) | Google TV 14 |@@ -428,7 +465,7 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Xiaomi Mi Box S (MIBOX4, oneday), streaming box, Android 12 update | Android TV 12 || Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 || Xiaomi Mi TV (MiTV-MOOQ0, croods; includes P1 43" EU variant) | Android TV 10 and 11 |-| Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 |+| Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 and 11 || Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods) | Android TV 11 || Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 || Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAM | Android TV 9 (CN build) |@@ -447,7 +484,8 @@ Alwtniet, Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, HY320, JMGO, M| Xiaomi MiTV-MSSP3 (machuca, MediaTek) | Android TV 11 || Xiaomi MiTV-MSSP3 (machuca, MediaTek), Android 9 firmware PI.7524 | Android TV 9 || Xiaomi Redmi Smart TV A Pro 55" 2025 Energy-saving (MiTV-ASTR0, blueplanet, Amlogic), China firmware OS3.0.106.0.USTAATV, 3 GB RAM | Android 14 (HyperOS 3, CN build) |-| Xiaomi TV A Pro 75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 |+| Xiaomi TV A Pro 55"/75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 |+| Xiaomi TV A43 2025 (MiTV-MOOQ1) | Google TV 11 || Xiaomi TV Box S 3rd gen (MiTV-AFMU0, twilight, Amlogic), streaming box | Google TV 14 || Xiaomi TV EA Pro 55" (MiTV-MTEQ0, baymax, MediaTek), China firmware 23.6.26.4028 | Android TV 10 (CN build) || Xiaomi TV S Mini LED 75 2025 (MiTV-MOEU0, ladybird, MediaTek) | Google TV 14 |diff --git a/docs/devices/tcl-55p635.md b/docs/devices/tcl-55p635.mdindex e11b27226..f0ea6a1fc 100644--- a/docs/devices/tcl-55p635.md+++ b/docs/devices/tcl-55p635.md@@ -44,7 +44,7 @@ filtering disabled. I also enabled `restore_key_services`, which requires the`WRITE_SECURE_SETTINGS` grant. These are existing launcher options; I did notchange Java code or the defaults for other TVs. Setting these values alone doesnot enable the accessibility service; see the-[launcher and remote-key guidance](../../README.md#the-launcher).+[launcher and remote-key guidance](../launcher.md#remote-keys).## Opening broadcast TV from the launcherdiff --git a/docs/faq.md b/docs/faq.mdnew file mode 100644index 000000000..05be1d17e--- /dev/null+++ b/docs/faq.md@@ -0,0 +1,98 @@+# Questions people ask: the long answers++[Back to the README](../README.md#questions-people-ask)++The README keeps a short answer to each question. These are the ones that need more room.++## Is this safe? Can it brick the TV?++Nothing is flashed, rooted or deleted; packages are disabled+in the user profile. The risk is disabling something the TV leans on, which is why lists are+applied in small batches with a restore script ready. The TV's own Settings → Apps page can+re-enable packages even without the tools.++If the TV no longer starts far enough for that, or for ADB, a factory reset from its recovery menu is+usually the way back ([#1578](https://github.com/Gathin23/cleanyourtv/issues/1578)):++- Everything these tools change lives in the user data the reset wipes, so every disabled app comes+ back and the new launcher is gone, along with your own apps and accounts.+- A TV that still restarts in a loop after the reset points to the hardware rather than the debloat+ ([#1592](https://github.com/Gathin23/cleanyourtv/issues/1592)).++[Troubleshooting](TROUBLESHOOTING.md#working-on-the-tv) has the cases seen so far.++## Isn't ADB access a security hole?++It is one explicit "allow this computer" tap on the TV, the+same as developing an Android app. Network ADB is plaintext on port 5555, and on firmware with+`ro.adb.secure=0` (or with it unset, on a debug build or Android 4.4) any device on the LAN gets a+shell, so close it when you are done:++1. On the TV: Developer options → turn **USB debugging**, **Network/ADB debugging** and+ **Wireless debugging** off, whichever the TV has, and revoke the USB debugging authorisations.+ - Wireless debugging listens on a port of its own and stays open when USB debugging goes off (seen+ on a Chromecast with Google TV 4K).+ - Note that port before you switch it off (`adb mdns services` lists it as `_adb-tls-connect._tcp`)+ and check it straight after, before the reboot: `python3 tools/adb-closed.py <tv ip> <port>` must+ say that port is closed.+ - After the reboot the old number reads closed either way: Wireless debugging takes a new port each+ time it starts.+2. Reboot the TV, then confirm the port is gone from your computer:+ `python3 tools/adb-closed.py <tv ip>` must say the port is closed.+ - Wireless debugging must still be off in Developer options, and `adb mdns services` must list no+ `_adb-tls-connect._tcp` entry for the TV; if it came back, switch it off and check its new port as+ in step 1.+ - With `nc -vz <tv ip> 5555`, only "Connection refused" counts: on macOS, Local Network privacy can+ block `nc` and make it fail with "No route to host" even while the port is open.++The launcher keeps working without debugging.++## Can it block ads inside apps too?++Partly, with Android's Private DNS (Android 9 and newer). Point+it at an ad-blocking resolver such as [AdGuard DNS](https://adguard-dns.io) and every app's ad and+tracker domains stop resolving, system-wide, surviving reboots. The trade-off: that resolver then+sees every DNS query the TV makes.++```bash+tools/tv.py 'settings put global private_dns_specifier dns.adguard-dns.com'+tools/tv.py 'settings put global private_dns_mode hostname'+```++It does not remove YouTube ads, which come from the same servers as the videos.++When the TV reports "No internet", the resolver is down or unreachable and switching back restores+everything: `tools/tv.py 'settings put global private_dns_mode opportunistic'`.++- That line needs debugging back on, because Android TV's Settings app has no Private DNS page (not in+ AOSP, and not in Google TV 14 on a Chromecast with Google TV 4K).+- ADB goes to the TV's address, so it connects while the resolver is down.++A resolver that answers can still break one app on its own, so if a single app fails while the rest play, see+[one app refuses to play](TROUBLESHOOTING.md#one-app-refuses-to-play-while-the-rest-of-the-tv-is-online)+before you debug the app.++## Are there switches in the TV's own Settings worth flipping too?++A few. They need no ADB, the remote switches them back, and the debloat leaves them in place+(Usage & diagnostics and Apps only mode aside): their pages belong to Settings and Play services, which+every list keeps. The paths are Google TV's; other Android TV builds move some of them.++- **Settings → Privacy → Ads**: delete the advertising ID, or turn on Opt out of Ads Personalization. On+ Android TV it is under About → Legal information → Ads (in Device Preferences on some sets).+- **Settings → Privacy → Location** off. The launcher's network pill may then say "Wi-Fi" instead of the+ network's name.+- **Settings → Privacy → Usage & diagnostics** off, before the debloat. On a Chromecast with Google TV 4K+ the page comes from setupwraith, which most Google TV lists disable for the launcher swap, and on a+ [Hisense 50A6H4](../examples/hisense-smarttv-4k-ffm-android11/debloat.txt) it opened nothing after the+ debloat.+- **Settings → Network & Internet → Scanning always available** off. It lets Google's location service and+ other apps scan for Wi-Fi networks even while Wi-Fi is off, so it matters most on a TV on Ethernet.+- **Settings → Accounts & Sign In → your profile → Apps only mode**, where launcherx stays enabled+ (`stock_home_redirect`, or the Chromecast's `debloat-keep-cast.txt`). Google TV's own home then drops its+ personalised recommendations and casting still works, but Search and the Assistant switch off. The+ switch lives in launcherx, so a list that disables launcherx takes it away.++On Fire OS: Settings → Preferences → Privacy Settings, with Interest-based Ads, Device Usage Data and+Collect App Usage Data off. They sync with the Amazon account, so change them in the menu, not with+`settings put`.diff --git a/docs/firmware-updates.md b/docs/firmware-updates.mdnew file mode 100644index 000000000..2822eb00a--- /dev/null+++ b/docs/firmware-updates.md@@ -0,0 +1,97 @@+# After a firmware update++[Back to the README](../README.md#after-a-firmware-update)++An update installs over the cleaned-up system: the listed packages come back, Home goes to the+stock launcher, and new preloads appear that no list mentions. Nothing else here notices, so+compare the TV with the list you applied.++## Open ADB again, then check++The check and `--fix` reach the TV over network ADB. If you closed ADB as+[Isn't ADB access a security hole?](faq.md#isnt-adb-access-a-security-hole) describes, open it again first: USB+debugging, and Network/ADB debugging if the TV has it, back on as in [Quick start](../README.md#quick-start)+step 1. On a TV whose port 5555 only opens through Wireless debugging, switch that on as well, pair+it again with the stock `adb` and run `adb tcpip 5555`, as in [Doing it by hand](../README.md#doing-it-by-hand).+Closing revoked this computer's authorisation, so accept "Allow USB debugging?" on the TV when the+check connects. While ADB is closed the check can only report "could not reach the TV", even with+the TV on and `TV_HOST` right. Close ADB the same way once you are done. With it open:++```bash+TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/<your tv>/debloat.txt+```++On Windows the same command is `tools\venv\Scripts\python.exe -I tools\check.py <list>`.++## Exit codes, and a weekly job++It exits with `0` when the TV still matches the list, `1` when something drifted, and `2` when it+could not check at all: the TV did not answer, nobody accepted the "Allow USB debugging?" prompt in+time, the list path is not there, the list disables Android's core packages, or, under `--fix`, the+recovery record for this TV and list cannot be read or updated (nothing is changed on the TV then).+Only 1 is drift, so+a job that mails on 1 alone stays quiet while the check never ran; mail on anything but 0, or on 2 as+well, and a weekly job on a home server or a Pi is enough to hear about it:++```bash+0 9 * * 1 cd ~/cleanyourtv && TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/<your tv>/debloat.txt+```++`TV_HOST` is read before any of that: a run that leaves it unset stops in `tools/tv.py` with its own+message and also exits 1, so set it in the job line, as above, where cron does not inherit it from+your shell.++The job only gets an answer from a TV that keeps network ADB listening between runs and has+accepted "Allow USB debugging?" for the computer that runs it with "Always allow from this computer"+ticked: without the tick the TV asks again at every run, and with nobody there to accept, the run+exits 2. A port left listening is the one [Isn't ADB access a security hole?](faq.md#isnt-adb-access-a-security-hole)+says to close, since anything on the network can reach it. With ADB closed as described there,+every run exits 2: run the check by hand after an update instead, with ADB opened again as above.++## Putting it back with `--fix`++`--fix` reapplies the list to what drifted: it switches Home to the launcher the list does not+disable (pass a package as the second argument if you run a fork), then disables the listed packages+that came back, and reads the TV back to confirm both. It never writes a recovery record of its own,+because only the first run's record holds the state from before cleanup. When there is one, `--fix`+first adds to it what a second `tools/disable.sh` run would (names the list gained, and a package that+was not installed then and is installed and enabled now), so `tools/restore.sh` still returns the TV+to stock afterwards. Home is fixed first; if no launcher is left to take it, `--fix` changes nothing+and says so.++It runs the same safety checks as `tools/disable.sh` before it disables anything, since an update is+the moment they matter again: it leaves setupwraith on while the saved Wi-Fi network belongs to it+(`FORCE_SETUPWRAITH=1` on Ethernet), leaves the packages under the HDMI/AV inputs on+(`TVINPUT_ALLOW=1` if you really want them off), leaves on the apps the TV opens its inputs and+Settings with (`HANDLERS_ALLOW=1`), and never takes Home to a vendor `FallbackHome` or a factory-test+app.+Each package it leaves on comes with the reason and exits 1, because the TV is not back to the list+until you deal with that one by hand.++## When the stock launcher stays Home on purpose++With `stock_home_redirect` the stock launcher can stay Home on purpose: the list leaves it out, the+install script ran with `STOCK_LAUNCHER=none`, Android keeps it as Home, and `HomeKeyService` sends+its home screen on to this launcher. On the Chromecast with Google TV 4K that setup matches the+folder's `debloat-keep-cast.txt`, not its `debloat.txt`, which disables setupwraith and the+screensaver pair the redirect setup keeps. On the Acer AR55AR2851UDPRO it is the folder's+`debloat.txt`. Check those lists with the stock launcher as the second argument. Without it the+check expects `com.gathin.tvhome` on Home, so every run reports Home as drift, and `--fix` tries to+move Home to it, which those TVs do not keep:++```bash+TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/google-chromecast-gtv-4k/debloat-keep-cast.txt com.google.android.apps.tv.launcherx+TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/acer-ar55ar2851udpro/debloat.txt com.google.android.tvlauncher+```++Leave the argument out where the stock launcher is meant to be off. Where the install script+disables it, as with the Chromecast's `debloat.txt` and the XGIMI MoGo 3 Pro list (there the+redirect only covers for firmware that turns it back on), the stock launcher on Home is drift, and+naming it as the second argument would hide that drift. Where the list disables it itself, as the+XGIMI MoGo 4's does, `check.py` refuses that argument with exit 2 and checks nothing: a launcher the+list disables cannot be the one Home stays on.++## Lists that disable the updater++Lists that also disable the updater get no updates at all. To install one, re-enable the updater on+the TV, let it update, run `check.py --fix`, and disable the updater again.diff --git a/docs/launcher.md b/docs/launcher.mdnew file mode 100644index 000000000..1d3036a53--- /dev/null+++ b/docs/launcher.md@@ -0,0 +1,131 @@+# The launcher++[Back to the README](../README.md#the-launcher)++A small native home screen for Android TV: **about 532 KB**, plain Java, built for TVs with 1 GB of RAM.+No blur, no video, no network permission, no background services. This page has the details the+README leaves out: settings, languages, remote keys and building it yourself. Every key a theme can+set is in [`themes/README.md`](../themes/README.md#keys), and the opt-in switches with their+screenshots are in [`docs/switches.md`](switches.md).++## Which TVs++The **TV** needs Android 8.0 (API 26) or newer: `minSdk` is a compile-time floor in+[`launcher/app/build.gradle`](../launcher/app/build.gradle), and the install script asks the TV for+`ro.build.version.sdk` before it builds, so an older set is told both numbers instead of failing at+`pm install` (see [Troubleshooting](TROUBLESHOOTING.md) for what is left on such a set).++## Build it yourself++It needs JDK 17 and Android SDK platform 34. On macOS: `brew install openjdk@17 android-commandlinetools`+and `sdkmanager "platforms;android-34" "build-tools;34.0.0"`. On Linux the install script finds+`~/Android/Sdk` and the `java` on your PATH.++## Configure++[`config.xml`](../launcher/app/src/main/res/values/config.xml) sets:++- the dock order, hidden apps and the Live TV package;+- columns (tiles shrink from 5 up) and rows under the dock;+- an optional VPN app for the network pill;+- `reduced_motion`, for TVs whose GPU cannot keep up.++Themes set the same keys plus a background colour and a wallpaper.++## Launcher settings and the default home++Click **Settings** for the TV's own settings. Hold OK on it for its menu:++- **Launcher settings**. With `launcher_settings_button` a click opens those instead, and the menu+ leaves the row out.+- **Native settings**, where the TV ships a settings app of its own beside Android's - Xiaomi China,+ TCL/FFALCON and Fire OS are in `settings_fallback_components` - because that app holds pages+ Android's has no row for, such as Xiaomi's Account & Security with the ADB switch.+- **Module cards**, with `module_cards`.+- **Edit dock**, with `dock_row`.+- **Reorder apps**.+- **Restart…** while `HomeKeyService` runs, which opens the system power menu (a launcher may not+ restart the TV itself).++The launcher's own page has these rows, top to bottom:++- **Reorder apps**, only with `launcher_settings_button`: OK picks an app up, the arrows move it, Back+ places it, and Back again finishes.+- **Apps per row** 4, 5, 6 or 7; **Rows below dock** 0 to 3, how many rows of tiles stay visible under the+ dock band; **Dock band opacity** 100%, 70%, 50% or 30%. The last two only do anything while the dock is+ its own row (`dock_row`, on by default).+- **Wallpaper**: one picture from the theme's collection (or its `wallpaper.jpg`), **None**, or **Theme+ default**. A pick holds that picture and stops the rotation until you choose Theme default, press+ Follow theme, or push the theme again.+- **Animations** on or off, and **Advanced effects** (tile lift, icon zoom and smooth ambient-colour+ transitions; they may use more memory) once animations are on.+- **Open on start**, only with `open_on_start_choice`: Off, or an app that opens instead of Home the first+ time Home comes up after the TV starts. Once per boot, so Home and Back still reach the launcher.+- **Follow theme (reset on-TV choices)**, which clears every choice above. Pushing or resetting a theme+ clears them too.+- **Choose default home** opens Android's home picker, and **TV system settings** the TV's own settings+ page.++**Change the default home:** Launcher settings and the optional Default-home tile+(`show_home_settings_shortcut`) open Android's home picker. Choose the original launcher to stop using+CleanYourTV as Home, or CleanYourTV to return. The original launcher must be enabled; if the install+script disabled it, run the [restore script](../README.md#restoring-your-tv) first. Some TVs provide no+home picker.++## Languages++English, German, Danish, Spanish, Catalan, French, Russian, Serbian (Latin), Polish, Czech, Italian, Portuguese,+Turkish, Arabic, Hebrew, Simplified Chinese, Traditional Chinese (Taiwan), Thai, Finnish, Vietnamese,+Bangla, Indonesian, Norwegian Bokmål, Swedish, Dutch, Uzbek (Latin), Ukrainian and Korean. The launcher follows the TV's language. Android 13+ can set it for the launcher+alone: `tools/tv.py 'cmd locale set-app-locales com.gathin.tvhome --locales ca'`.++Hebrew mirrors the layout:++- menu buttons on the left, date and clock on the right with the greeting above;+- dock and app rows starting on the right, with matching remote navigation;+- the input selector's icons and labels on the right;+- dates with the month prefix ב (for example, 19 באוקטובר).++The Clock screensaver right-aligns its date and time. Russian covers every screen, including race+weekends, festival greetings and the Shamsi date. Other languages keep their original layouts.++## Module cards++Any TV app can declare its own tile (label, caption, glow). The launcher asks you once per app, keeps it+hidden by default, and remembers the answer for that app's signing key and card name. Hold OK on Settings+and choose Module cards to change your mind. How to make one: [`docs/modules.md`](modules.md); the+contract: [`docs/specs/card.md`](specs/card.md). Ready-made ones are in [`addons/`](../addons/), and+[cleanyour.tv/addons](https://cleanyour.tv/addons) shows the themes, switches and add-ons together.++## Clock screensaver++Pick "Clock" in the TV's screensaver settings, or over ADB:++```bash+tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream; settings put secure screensaver_enabled 1'+```++## Remote keys++- An optional accessibility service keeps the remote's **Input** button working on Google TV+ (`INPUT_KEY_SERVICE=1` at install).+- It can bring back other buttons only the stock launcher answered, such as the **YouTube** button+ (`app_keys` and `input_key_keycodes`, in config.xml or a theme; `HOME_KEY_SERVICE=1` reads `app_keys` too).+- A `hold:` prefix on an `app_keys` entry gives that button a second app: a normal press opens the+ unprefixed app, holding for half a second opens the hold one (by keycode or `hold:scan:...`). An entry can+ name an activity (`package/.Activity`), such as an add-on's quick bar, instead of the app's launcher entry.+- In place of an app, an `app_keys` entry can name an action: `back`, `home`, `recents`, `mute`, `sleep`,+ `screensaver`, `settings` or `wifi`, so a spare colour button can mute the TV or, held, put it in standby.+- `HOME_KEY_SERVICE=1` also fixes sticks whose Home key sends ALL_APPS, and opens Settings from the remote's+ **gear** button, even one Android does not map (scancodes or keycodes in config.xml).+- With `settings_key_panel` the gear opens a [small quick settings panel](quick-settings-panel.jpg)+ over Home or any app: TV settings, Display, Network, Apps and Launcher settings.++The full `app_keys` format is in the [`themes/README.md` keys table](../themes/README.md#keys).++## Navigation and artwork++Up and Down move one row. The top buttons never fall through to tiles, and Down from them returns to the+dock tile you came from. The last focused app is remembered, and installing or removing an app refreshes+the tiles while Home is open. App banners load at xhdpi or better, so low-density TV UIs do not downsample+them before the focus zoom.diff --git a/docs/privacy.md b/docs/privacy.mdnew file mode 100644index 000000000..238228ea0--- /dev/null+++ b/docs/privacy.md@@ -0,0 +1,32 @@+# The microphone, and what can be said about it++[Back to the README](../README.md#the-microphone-and-what-can-be-said-about-it)++"Which of these packages is listening?" has no honest one-line answer, and a permission scan makes+it worse:++- On many sets most packages run as `android.uid.system`, so fifty of them show+ `RECORD_AUDIO: granted=true` and none of them record anything.+- On others the microphone is in the remote, not the panel, and a package with no audio permission at+ all still sees everything on screen — ACR clients such as `tv.inscape.tvclient.inscapeacr` identify+ content from the picture and need only `INTERNET`.++`tools/privacy.py` reports what the TV actually says instead of guessing:+`TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/privacy.py` prints voice, ACR and telemetry+candidates in three groups, each with:++- its evidence — named by the firmware's own `voice_interaction_service`, a known component from+ [`examples/`](../examples/), or nothing but a matching name;+- whether the package declares `RECORD_AUDIO`, and whether it shares the system UID;+- whether the returned AppOps history contains microphone access. A configured mode or a rejected+ attempt alone is not evidence of access.++`--write privacy.txt` turns the identified candidates into a normal debloat list, so applying it and+undoing it are the commands you already use (`tools/disable.sh`, `tools/restore.sh`). Packages that+only matched by name stay out unless you pass `--include-low`; they are the ones to check with+`dumpsys package <name>` first.++What the audit cannot do is prove intent. `appops` shows an op was touched, not what happened to the+stream afterwards, and no scan of package names proves a TV is or is not recording. Disabling an+assistant is a trade you make with a specific loss (the remote's mic button, voice search inside+apps), which is why the report names that loss per package instead of calling it a win.diff --git a/docs/restore.md b/docs/restore.mdnew file mode 100644index 000000000..93462a25a--- /dev/null+++ b/docs/restore.md@@ -0,0 +1,54 @@+# Restoring your TV++[Back to the README](../README.md#restoring-your-tv)++Keep the list you applied. One line puts the TV back the way it was:++```bash+TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt # Android TV+TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt com.google.android.apps.tv.launcherx # Google TV+```++## What the record holds++Before `tools/disable.sh` changes anything it writes down what the TV looked like:++- for every package in the list, whether it was enabled, already disabled or not installed;+- which component owned Home;+- the three animation scales.++That record lives in `~/.cleanyourtv/`, one file per TV and list.++- A second run of the same list keeps the first record instead of saving the cleaned-up state over it.+- If you added packages to the list since, that run adds them to the record before disabling them, and+ a listed package that was not installed then but is installed and enabled now is recorded as enabled.+- `check.py --fix` does the same before it disables anything.++Keep the list you applied. The restore script replays the record, so a package you had disabled+yourself stays disabled and Home goes back to the component that owned it.++## The stock launcher argument++The `stock launcher` argument is only a fallback: with a record, the launcher that actually owned Home+is the one that gets it back, and the argument is used only when nothing answered HOME at the time+or this project's launcher owned it.++The record also notes whether the known stock launchers were on, listed or not, and the stock launcher+is enabled again only if it was:++- One that was already off (from the factory, or because the install script had disabled it before you+ applied this list) stays off, and if this project's launcher owned Home then, Home goes back to it.+- A record from before this note was added does not say, so the script leaves that launcher as it is+ and prints the `tools/tv.py 'pm enable <package>'` that turns it on.++## Without a record++Without a record (an older run, or a record you deleted) the script says so and falls back to+enabling the whole list and resetting the scales to `1.0`, which is what it used to do.++## What restore leaves alone++It leaves the new launcher installed (remove it from the TV's Settings → Apps if you want it gone)+and does not know about packages you disabled outside the list. To switch back later, run the+install script again; it works out which launcher to disable even when Home has fallen back to+Android's chooser. If the TV is unreachable, its own Settings → Apps page can re-enable packages too.diff --git a/docs/workflows/translation.md b/docs/workflows/translation.mdindex 626d3308f..e5f85509c 100644--- a/docs/workflows/translation.md+++ b/docs/workflows/translation.md@@ -20,7 +20,7 @@the launcher on a TV running that language and nothing anywhere else.3. Add the locale to `launcher/app/src/main/res/xml/locales_config.xml`, in the tag form: a languagefolder that is not registered there cannot be chosen for the launcher alone on Android 13+.-4. Add the language to the Languages list in `README.md`.+4. Add the language to the Languages list in `docs/launcher.md`.5. To fix a missing string in existing locales, add it to every `values-*` folder you can, in the same order asthe default `strings.xml`. A missing string falls back to English (`launcher/app/lint.xml`), but a new switchneeds its strings in every locale.diff --git a/docs/workflows/tv-list.md b/docs/workflows/tv-list.mdindex e326d0b77..3d0230171 100644--- a/docs/workflows/tv-list.md+++ b/docs/workflows/tv-list.md@@ -22,13 +22,13 @@"notes": "PatchWall, Mi analytics, SmartShare, MiLink"}```- `tv` and `os` fill the folder's row in both TV tables, `brand` the brand line (spelled as it is there),+ `tv` and `os` fill the folder's row in the TV tables, `brand` the README's brand grid (spelled as it is there),`notes` the Notes cell in `examples/README.md`: one line of Markdown, links relative to `examples/`, `\|`- for a pipe. `readme_os` is the one optional key: it is the OS cell of the front page's two-column table,+ for a pipe. `readme_os` is the one optional key: it is the OS cell of the two-column table in `README.nl.md`,for a set whose row there should read shorter than the same set's row in `examples/README.md` - that table- has room for `Google TV launcher on Android TV 11`, the front page for `Google TV 11`.+ has room for `Google TV launcher on Android TV 11`, the short one for `Google TV 11`.`tests/test_examples.py` checks the file.-5. Change nothing outside the folder. The tables in `README.md` and `examples/README.md`, the brand line and the+5. Change nothing outside the folder. The tables in `examples/README.md` and `README.nl.md`, the brand grid and thecounts (the `TV models` number in the card's alt text) are generated from every `tv.json` by`tools/gen_tables.py`, which a maintainer runs after merging; CI compares them only on `main`.6. A `README.md` for TV-specific notes and a `config.json` with the dock are welcome in the folder. Do not adddiff --git a/tests/test_check_exit_codes.py b/tests/test_check_exit_codes.pyindex 84dad62ad..7fd32fbc4 100644--- a/tests/test_check_exit_codes.py+++ b/tests/test_check_exit_codes.py@@ -10,6 +10,9 @@ drift". A job built from the page alone could therefore not tell "the TV driftednever ran", and one more case ends at 1 as well: with `TV_HOST` unset the run stops in tools/tv.pybefore any of the above, with tv.py's own message and its own exit code, which is 1.+The section has since moved out of the README into docs/firmware-updates.md ("Exit codes, and a weekly+job"), which the README's "After a firmware update" links; the checks below read it there.+So: the codes are read out of tools/check.py and out of real runs, and the README section that givesthe job has to name each of them. Nothing here reads the page's wording: a number on a line thattalks about the exit the run makes is what counts, so the sentences can be rewritten freely.@@ -31,6 +34,8 @@ from test_drift_check import FAKE_TV # noqa: E402 (the simulated TV check.py aROOT = Path(__file__).resolve().parents[1]README = ROOT / "README.md"+GUIDE = ROOT / "docs" / "firmware-updates.md"+JOB = "## Exit codes, and a weekly job"CHECK = ROOT / "tools" / "check.py"STOCK = "com.google.android.tvlauncher"CUSTOM = "com.gathin.tvhome"@@ -181,8 +186,9 @@ class CheckExitCodeTest(unittest.TestCase):self.assertNotIn("could not read the TV", result.stderr)def test_the_readme_names_every_code_the_checker_can_return(self):- section = readme_section(README.read_text(encoding="utf-8"))- self.assertIsNotNone(section, "%s is gone from README.md: the weekly job has no page" % HEADING)+ self.assertIn("(docs/firmware-updates.md)", "\n".join(readme_section(README.read_text(encoding="utf-8"))))+ section = readme_section(GUIDE.read_text(encoding="utf-8"), JOB)+ self.assertIsNotNone(section, "%s is gone from docs/firmware-updates.md: the weekly job has no page" % JOB)self.assertGreaterEqual(len(paragraphs(section)), 4, "the section reads as nearly empty")named = codes_named(section)codes = literal_returns(CHECK.read_text(encoding="utf-8"))@@ -192,7 +198,7 @@ class CheckExitCodeTest(unittest.TestCase):% (sorted(codes), sorted(named)))def test_the_readme_still_carries_the_weekly_job(self):- section = readme_section(README.read_text(encoding="utf-8"))+ section = readme_section(GUIDE.read_text(encoding="utf-8"), JOB)self.assertIsNotNone(section)self.assertTrue(any(re.match(r"^\s*\d+\s+\d+\s+\*", line) for line in section),"the cron line a home server runs is gone from the section")diff --git a/tests/test_check_redirect_docs.py b/tests/test_check_redirect_docs.pyindex 9344fc4e8..f37dbd1f6 100644--- a/tests/test_check_redirect_docs.py+++ b/tests/test_check_redirect_docs.py@@ -15,7 +15,8 @@ and goes with the install script disabling launcherx. So the README names the liof `examples/<your tv>/debloat.txt`: filled in for the sabrina, that placeholder reported all threeas back on every run, and `--fix` disabled them.-These tests pin that the README's "After a firmware update" section, the sabrina list's "Home by+These tests pin that the "After a firmware update" page (docs/firmware-updates.md, moved out of the+README, which links it), the sabrina list's "Home byredirect" note and the keep-cast list's Check line carry the argument with the right list, and thenrun the real check.py against the fake TV from tests/test_drift_check.py, set up the way the sabrinaanswered on UTTC.250917.004, so the command the docs hand out is checked against the tool instead of@@ -41,7 +42,7 @@ sys.path.insert(0, str(ROOT / "tests"))import recovery # noqa: E402from test_drift_check import FAKE_TV # noqa: E402-README = ROOT / "README.md"+README = ROOT / "docs" / "firmware-updates.md" # the README's "After a firmware update" pageFOLDER = ROOT / "examples" / "google-chromecast-gtv-4k"DEBLOAT = FOLDER / "debloat.txt"KEEP_CAST = FOLDER / "debloat-keep-cast.txt"@@ -55,13 +56,11 @@ CHECK = re.compile(r"tools/check\.py\s+(?P<list>examples/.+?\.txt)(?:\s+(?P<laundef firmware_section():- """The README's "After a firmware update" section, up to the next heading of the same level."""+ """docs/firmware-updates.md, the README's "After a firmware update" page, whole."""text = README.read_text(encoding="utf-8")- start = text.find("\n## After a firmware update\n")- if start == -1:+ if not text.startswith("# After a firmware update\n"):return None- end = text.find("\n## ", start + 1)- return text[start:] if end == -1 else text[start:end]+ return textdef check_commands(lines):diff --git a/tests/test_examples.py b/tests/test_examples.pyindex c76757c95..6a992932a 100644--- a/tests/test_examples.py+++ b/tests/test_examples.py@@ -119,13 +119,22 @@ class ExampleListsTest(unittest.TestCase):self.fail(str(e))def test_readme_table_has_one_row_per_list(self):- readme_rows = table_rows(ROOT / "README.md", "| TV | OS |")+ # README.md has no TV table of its own any more: it points at examples/README.md and the site's+ # search. A translation that still carries the short table has one row per list.+ readme = (ROOT / "README.md").read_text(encoding="utf-8")+ self.assertIn("[examples/README.md](examples/README.md)", readme)+ self.assertIn("https://cleanyour.tv/tvs", readme)example_rows = table_rows(EXAMPLES / "README.md", "| Folder |")- self.assertEqual(len(readme_rows), len(example_rows),- "README.md TV table and examples/README.md have a different number of rows")- readme_tvs = sorted(r.split("|")[1].strip() for r in readme_rows)example_tvs = sorted(r.split("|")[2].strip() for r in example_rows)- self.assertEqual(readme_tvs, example_tvs, "the TV column differs between the two tables")+ for name in ("README.md", "README.nl.md"):+ if "\n| TV | OS |\n" not in (ROOT / name).read_text(encoding="utf-8"):+ continue+ readme_rows = table_rows(ROOT / name, "| TV | OS |")+ with self.subTest(readme=name):+ self.assertEqual(len(readme_rows), len(example_rows),+ f"{name} TV table and examples/README.md have a different number of rows")+ readme_tvs = sorted(r.split("|")[1].strip() for r in readme_rows)+ self.assertEqual(readme_tvs, example_tvs, "the TV column differs between the two tables")class CommentedOutReaderTest(unittest.TestCase):diff --git a/tests/test_gen_tables.py b/tests/test_gen_tables.pyindex cd8266f84..adaf83fe6 100644--- a/tests/test_gen_tables.py+++ b/tests/test_gen_tables.py@@ -1,9 +1,10 @@-"""tools/gen_tables.py: the README tables, the brand line and the counts come out of examples/*/tv.json.+"""tools/gen_tables.py: the TV tables, the README's brand grid and the counts come out of examples/*/tv.json.Every list PR used to add rows to the same two tables, so each merge made the other open list PRs conflict.Now a PR adds only its folder and the script writes the rows. These tests run it on this repository (running-it twice changes nothing, both tables come out in the same alphabetical order) and on small trees written here-(a new folder gets its rows, the brand line counts right, a bad tv.json is refused, a --font path given from+it twice changes nothing, the tables come out in the same alphabetical order, the brand grid counts every+folder once) and on small trees written here (a new folder gets its rows, the brand grid and the brands under+it come out right, a README without a table is fine, a bad tv.json is refused, a --font path given fromanother folder reaches the card scripts, an old-style PR's rows become a tv.json).Run from the repository root: python3 -m unittest discover -s tests -v@@ -19,6 +20,7 @@ import tempfileimport unittestfrom contextlib import redirect_stderr, redirect_stdoutfrom pathlib import Path+from unittest import mockROOT = Path(__file__).resolve().parents[1]sys.path.insert(0, str(ROOT / "tests"))@@ -115,28 +117,77 @@ def section(text, name):return [l for l in lines[start + 1:end] if l]+GRID_HEAD = ["| | | | | | |", "|---|---|---|---|---|---|"]+CELL = re.compile(r"^\[([^\]]+)\]\(https://cleanyour\.tv/tvs\?q=([^)]+)\) · (\d+)$")+++def grid(block):+ """[(brand, link query, lists)] from the brand block's grid, row by row, empty cells left out."""+ cells = []+ for row in block:+ if not row.startswith("| [") and not row.startswith("| "):+ continue+ for cell in row.strip().strip("|").split(" | "):+ cell = cell.strip()+ if cell:+ cells.append(CELL.match(cell).groups())+ return [(b, q, int(n)) for b, q, n in cells]+++def below_grid(block):+ """The brand lines inside the block's <details>, as one string, and its <summary>."""+ summary = next((l for l in block if l.startswith("<summary>")), "")+ inside = block[block.index("<details>") + 2:block.index("</details>")] if "<details>" in block else []+ return " ".join(inside), summary++class ThisRepositoryTest(unittest.TestCase):def test_running_it_twice_changes_nothing(self):once = gen_tables.render(ROOT)self.assertEqual(gen_tables.render(ROOT, texts=once), once)- def test_the_brand_line_counts_every_folder_once(self):+ def test_the_brand_grid_counts_every_folder_once(self):readme = gen_tables.render(ROOT)["README.md"]- line = " ".join(section(readme, "tv-brands"))- projectors = re.search(r"·\s*([^·]*) projectors$", line).group(1)+ block = section(readme, "tv-brands")+ top = grid(block)+ line, summary = below_grid(block)+ projectors = re.search(r"(?:·\s*|^)([^·]*) projectors$", line).group(1)names = re.split(r", | and ", projectors)bold = [int(n) for n in re.findall(r"\*\*[^*]+\*\* (\d+)", line)]plain = [p.strip() for p in line[:line.rindex(projectors)].split("·")if p.strip() and not p.strip().startswith("**")]entries = gen_tables.load(ROOT)projector_lists = sum(1 for _, d in entries if d["brand"] in names)- self.assertEqual(sum(bold) + len(plain) + projector_lists, len(entries))- brands = len(bold) + len(plain) + len(names)+ self.assertEqual(sum(n for _, _, n in top) + sum(bold) + len(plain) + projector_lists, len(entries))+ brands = len(top) + len(bold) + len(plain) + len(names)self.assertIn(f"{len(entries)} TV models · {brands} brands · ", readme)+ self.assertEqual(summary, f"<summary>+{len(bold) + len(plain)} more brands and "+ f"{len(names)} projector brands</summary>")++ def test_the_grid_is_the_thirty_brands_with_the_most_lists(self):+ block = section(gen_tables.render(ROOT)["README.md"], "tv-brands")+ self.assertEqual(block[:2], GRID_HEAD)+ rows = [r for r in block if r.startswith("| [")]+ self.assertEqual(len(rows), 5, "30 brands in 6 columns make 5 rows")+ top = grid(block)+ self.assertEqual(len(top), gen_tables.TOP)+ counts = [n for _, _, n in top]+ self.assertEqual(counts, sorted(counts, reverse=True))+ line, _ = below_grid(block)+ below = [int(n) for n in re.findall(r"\*\*[^*]+\*\* (\d+)", line)] or [1]+ self.assertGreaterEqual(min(counts), max(below), "a brand under the grid has more lists than one in it")+ for brand, query, _ in top:+ self.assertEqual(query, gen_tables.quote(brand, safe=""))++ def test_the_readme_has_no_table_and_the_translation_keeps_its_block(self):+ texts = gen_tables.render(ROOT)+ self.assertFalse(gen_tables.has_markers(texts["README.md"], "tv-table"))+ self.assertIn("README.nl.md", texts)+ self.assertEqual(section(texts["README.nl.md"], "tv-brands"), section(texts["README.md"], "tv-brands"))def test_both_tables_are_in_the_same_alphabetical_order(self):texts = gen_tables.render(ROOT)- readme = [r.split(" | ")[0][2:] for r in section(texts["README.md"], "tv-table")[2:]]+ readme = [r.split(" | ")[0][2:] for r in section(texts["README.nl.md"], "tv-table")[2:]]examples = [r.split(" | ")[1] for r in section(texts["examples/README.md"], "tv-table")[2:]]self.assertEqual(readme, examples)self.assertEqual(readme, sorted(readme, key=str.casefold))@@ -144,7 +195,7 @@ class ThisRepositoryTest(unittest.TestCase):@unittest.skipUnless(os.environ.get("CLEANYOURTV_STRICT"), "tables are generated on merge; strict on main only")def test_the_committed_tables_are_sorted(self):# What main shows a reader, not only what the script would write.- for path, header, cell in (("README.md", "| TV | OS |", 1), ("examples/README.md", "| Folder |", 2)):+ for path, header, cell in (("README.nl.md", "| TV | OS |", 1), ("examples/README.md", "| Folder |", 2)):with self.subTest(path=path):lines = (ROOT / path).read_text(encoding="utf-8").split("\n")start = next(i for i, l in enumerate(lines) if l.startswith(header))@@ -161,7 +212,7 @@ class ThisRepositoryTest(unittest.TestCase):names = sorted(p.name for p in (ROOT / "examples").iterdir() if p.is_dir())rows = section(texts["examples/README.md"], "tv-table")[2:]self.assertEqual(sorted(re.match(r"\| `([^`]+)/`", r).group(1) for r in rows), names)- self.assertEqual(len(section(texts["README.md"], "tv-table")) - 2, len(names))+ self.assertEqual(len(section(texts["README.nl.md"], "tv-table")) - 2, len(names))class GeneratorTest(unittest.TestCase):@@ -181,7 +232,9 @@ class GeneratorTest(unittest.TestCase):["| Sony B | Android TV 11 |", "| TCL A | Android TV 11 |", "| TCL C | Android TV 11 |"])self.assertEqual(section(examples, "tv-table")[-1],"| `tcl-c/` | TCL C | Android TV 11 | `com.tcl.ads` disabled |")- self.assertEqual(section(readme, "tv-brands"), ["**TCL** 2 ·", "Sony ·"])+ self.assertEqual(section(readme, "tv-brands"), GRID_HEAD + [+ "| [TCL](https://cleanyour.tv/tvs?q=TCL) · 2 | [Sony](https://cleanyour.tv/tvs?q=Sony) · 1 "+ "| | | | |"])self.assertIn('"3 TV models · 2 brands · 3 languages · 1 KB launcher"', readme)self.assertIn("| **3 languages** | yes |", readme)self.assertIn('("3", "TV MODELS"), ("2", "BRANDS"), ("3", "LANGUAGES")',@@ -202,15 +255,52 @@ class GeneratorTest(unittest.TestCase):("sony-2", tv("Sony 2", "Sony")), ("sony-3", tv("Sony 3", "Sony")), ("acer", tv("Acer 1", "Acer")),("xgimi", tv("XGIMI MoGo projector", "XGIMI")), ("epson", tv("Epson LS800 laser projector", "Epson")),("benq-tv", tv("BenQ E55", "BenQ")), ("benq-gv", tv("BenQ GV32 portable projector", "BenQ"))]- with tempfile.TemporaryDirectory() as tmp:+ with tempfile.TemporaryDirectory() as tmp, mock.patch.object(gen_tables, "TOP", 2):root = tree(tmp, lists)run(root)readme = (root / "README.md").read_text(encoding="utf-8")- # Most lists first, then single-list brands; BenQ also makes TVs, so it stays off the projector line.- self.assertEqual(section(readme, "tv-brands"),- ["**Sony** 3 · **BenQ** 2 · **TCL** 2 ·", "Acer ·", "Epson and XGIMI projectors"])+ # Most lists first in the grid, alphabetical within a count. Under it, in the <details>: the other+ # brands with more than one list, then single-list brands, then the projector makers. BenQ also+ # makes TVs, so it stays off the projector line.+ self.assertEqual(section(readme, "tv-brands"), GRID_HEAD + [+ "| [Sony](https://cleanyour.tv/tvs?q=Sony) · 3 | [BenQ](https://cleanyour.tv/tvs?q=BenQ) · 2 "+ "| | | | |",+ "<details>",+ "<summary>+2 more brands and 2 projector brands</summary>",+ "**TCL** 2 ·", "Acer ·", "Epson and XGIMI projectors",+ "</details>"])self.assertIn("10 TV models · 6 brands", readme)+ def test_a_grid_cell_links_to_the_search_with_the_brand_quoted(self):+ lists = [("fire", tv("Fire TV Stick", "Amazon Fire TV")), ("ok", tv("OK. 32", "OK.")),+ ("plus", tv("Home+ 40", "Home+"))]+ cells = grid(gen_tables.brand_lines(lists))+ self.assertEqual([(b, q) for b, q, _ in cells],+ [("Amazon Fire TV", "Amazon%20Fire%20TV"), ("Home+", "Home%2B"), ("OK.", "OK.")])++ def test_only_projectors_left_over_makes_a_short_summary(self):+ lists = [("tcl", tv("TCL 1", "TCL")), ("xgimi", tv("XGIMI Halo projector", "XGIMI"))]+ block = gen_tables.brand_lines(lists)+ self.assertIn("<summary>+1 projector brands</summary>", block)+ self.assertIn("XGIMI projectors", block)++ def test_a_readme_without_a_table_and_a_translation_are_written(self):+ with tempfile.TemporaryDirectory() as tmp:+ root = tree(tmp, [("tcl-a", tv("TCL A", "TCL"))])+ no_table = README.replace(README[README.index("<details>"):README.index("</details>") + 10], "")+ (root / "README.md").write_text(no_table, encoding="utf-8")+ (root / "README.nl.md").write_text(README, encoding="utf-8")+ self.assertEqual(run(root)[0], 0)+ readme = (root / "README.md").read_text(encoding="utf-8")+ dutch = (root / "README.nl.md").read_text(encoding="utf-8")+ self.assertNotIn("tv-table", readme)+ self.assertEqual(section(dutch, "tv-brands"), section(readme, "tv-brands"))+ self.assertEqual(section(dutch, "tv-table")[2:], ["| TCL A | Android TV 11 |"])+ self.assertEqual(run(root, "--check")[0], 0)+ # Without the translation the run is the same for the other files.+ (root / "README.nl.md").unlink()+ self.assertEqual(run(root, "--check")[0], 0)+def test_rows_sort_by_tv_in_both_tables_and_readme_os_applies(self):lists = [("z", tv("zulu", "Z")), ("b", tv("Beta", "B")), ("a", tv("Alpha", "A")),("y", tv("Yankee", "Y", readme_os="Google TV 12"))]diff --git a/tests/test_haier_h50h5f_loop_note.py b/tests/test_haier_h50h5f_loop_note.pyindex 384d20870..e9e9e8cbe 100644--- a/tests/test_haier_h50h5f_loop_note.py+++ b/tests/test_haier_h50h5f_loop_note.py@@ -16,6 +16,7 @@ import unittestROOT = Path(__file__).resolve().parents[1]TROUBLE = ROOT / "docs" / "TROUBLESHOOTING.md"README = ROOT / "README.md"+FAQ = ROOT / "docs" / "faq.md"AQUA = ROOT / "examples" / "aqua-matrixtv-ee-50" / "debloat.txt"TITLE = "- **The TV restarts in a loop after a debloat**"@@ -103,13 +104,20 @@ class HaierLoopBulletTest(unittest.TestCase):class ReadmeSafetyAnswerTest(unittest.TestCase):def test_readme_points_to_the_factory_reset_and_the_bullet(self):+ # The README keeps the short answer and sends the reader to docs/faq.md for the rest.text = README.read_text(encoding="utf-8")answer = text.split("<b>Is this safe? Can it brick the TV?</b>", 1)[1].split("</details>", 1)[0]answer = re.sub(r"\s+", " ", answer)- for token in ("factory reset from its recovery menu", "issues/1578", "issues/1592",- "docs/TROUBLESHOOTING.md#working-on-the-tv"):+ for token in ("factory reset from its recovery menu", "docs/faq.md#is-this-safe-can-it-brick-the-tv"):with self.subTest(token=token):self.assertIn(token, answer)+ faq = FAQ.read_text(encoding="utf-8")+ long_answer = faq.split("## Is this safe? Can it brick the TV?", 1)[1].split("\n## ", 1)[0]+ long_answer = re.sub(r"\s+", " ", long_answer)+ for token in ("factory reset from its recovery menu", "issues/1578", "issues/1592",+ "(TROUBLESHOOTING.md#working-on-the-tv)"):+ with self.subTest(token=token):+ self.assertIn(token, long_answer)if __name__ == "__main__":diff --git a/tests/test_launcher_settings_rows.py b/tests/test_launcher_settings_rows.pyindex 78cc2119e..a16e0642e 100644--- a/tests/test_launcher_settings_rows.py+++ b/tests/test_launcher_settings_rows.py@@ -1,4 +1,6 @@-"""README: the Launcher settings section names every row the settings screen has.+"""docs/launcher.md: the Launcher settings section names every row the settings screen has.++The section moved out of the README into docs/launcher.md, which the README's launcher section links.The rows are read from the screen, not from a list kept here. `activity_launcher_settings.xml` carrieseach row, and the three rows whose label the code writes (`wallpaperChoice`, `animationsChoice`,@@ -16,7 +18,7 @@ ROOT = Path(__file__).resolve().parent.parentLAYOUT = ROOT / "launcher/app/src/main/res/layout/activity_launcher_settings.xml"ACTIVITY = ROOT / "launcher/app/src/main/java/com/gathin/tvhome/LauncherSettingsActivity.java"STRINGS = ROOT / "launcher/app/src/main/res/values/strings.xml"-README = ROOT / "README.md"+GUIDE = ROOT / "docs" / "launcher.md"ANDROID = "{http://schemas.android.com/apk/res/android}"SUMMARY = "Launcher settings and the default home"@@ -111,14 +113,14 @@ def numbered(label, layout_text):return []-def detail_section(readme_text, summary):- """The text inside one <details> block, or '' - so a row named three sections further down- does not count as the settings page being documented."""- start = readme_text.find("<summary><b>%s</b></summary>" % summary)+def detail_section(text, summary):+ """The text under one `## summary` heading up to the next `## `, or '' - so a row named three+ sections further down does not count as the settings page being documented."""+ start = text.find("## %s\n" % summary)if start < 0:return ""- end = readme_text.find("</details>", start)- return readme_text[start:end if end > 0 else len(readme_text)]+ end = text.find("\n## ", start + 3)+ return text[start:end if end > 0 else len(text)]class ScreenRows(unittest.TestCase):@@ -129,7 +131,7 @@ class ScreenRows(unittest.TestCase):self.activity_text = ACTIVITY.read_text(encoding="utf-8")self.strings = english_strings(STRINGS.read_text(encoding="utf-8"))self.rows = row_labels(self.layout_text, self.activity_text, self.strings)- self.section = detail_section(README.read_text(encoding="utf-8"), SUMMARY)+ self.section = detail_section(GUIDE.read_text(encoding="utf-8"), SUMMARY)def test_screen_rows_are_read(self):"""The screen has its rows, and each one resolved to the label the TV shows."""@@ -140,7 +142,7 @@ class ScreenRows(unittest.TestCase):self.assertTrue(label.strip(), row_id)def test_readme_names_every_row(self):- self.assertTrue(self.section, "README has no '%s' section" % SUMMARY)+ self.assertTrue(self.section, "docs/launcher.md has no '%s' section" % SUMMARY)self.assertEqual(missing_rows(self.section, self.rows), [])def test_readme_names_the_numbers_under_each_row(self):@@ -161,9 +163,8 @@ class ScreenRows(unittest.TestCase):[("walls", "Wallpaper")])def test_a_row_named_in_another_section_does_not_count(self):- readme = ("<details>\n<summary><b>%s</b></summary>\n\nNothing here.\n\n</details>\n\n"- "<details>\n<summary><b>Elsewhere</b></summary>\n\n- **Wallpaper** this is not the "- "settings page.\n\n</details>\n" % SUMMARY)+ readme = ("## %s\n\nNothing here.\n\n"+ "## Elsewhere\n\n- **Wallpaper** this is not the settings page.\n" % SUMMARY)section = detail_section(readme, SUMMARY)self.assertIn("Nothing here", section)self.assertNotIn("Elsewhere", section)diff --git a/tests/test_locales_registered.py b/tests/test_locales_registered.pyindex a2bcaf7db..38686273a 100644--- a/tests/test_locales_registered.py+++ b/tests/test_locales_registered.py@@ -15,6 +15,9 @@ day it lands, and the folder-to-locale rule is Android's own: `de`, `zh-rCN` forregion, and `b+sr+Latn` for one with a script, which `locales_config.xml` registers as `sr-Latn`.English needs no folder: `values/` is the default.+The Languages list moved from the README into docs/launcher.md (its "Languages" section); the README+keeps the count in its launcher table and links that page.+Run from the repository root: python3 -m unittest discover -s tests -v"""from pathlib import Path@@ -27,10 +30,10 @@ ROOT = Path(__file__).resolve().parents[1]RES = ROOT / "launcher/app/src/main/res"CONFIG = RES / "xml/locales_config.xml"MANIFEST = ROOT / "launcher/app/src/main/AndroidManifest.xml"-FRONT = ROOT / "README.md"+FRONT = ROOT / "docs" / "launcher.md" # the Languages list, linked from the READMEDEFAULT = "en"-# The name each language goes by in README.md's Languages block, keyed by the locale it registers as.+# The name each language goes by in docs/launcher.md's Languages section, keyed by the locale it registers as.# A new translation has to be named here as well as in that page: this is the only map from the# qualifier Android reads (`sr-Latn`) to the English name the page uses ("Serbian (Latin)").NAMES = {@@ -107,8 +110,8 @@ def without_a_folder(locales, folders):def languages_block(text):- """The body of README.md's Languages block, or '' when the page has no such block."""- found = re.search(r"<summary><b>Languages</b></summary>(.*?)</details>", text, re.S)+ """The body of docs/launcher.md's Languages section, or '' when the page has no such section."""+ found = re.search(r"^## Languages\n(.*?)(?=^## |\Z)", text, re.S | re.M)return found.group(1) if found else ""@@ -145,9 +148,9 @@ class LocaleConfigTest(unittest.TestCase):def test_the_readme_names_every_language(self):block = languages_block(FRONT.read_text(encoding="utf-8"))- self.assertTrue(block, "README.md has no Languages block")+ self.assertTrue(block, "docs/launcher.md has no Languages section")self.assertEqual([], unnamed(block),- "README.md's Languages list leaves these out, though the count above it "+ "docs/launcher.md's Languages list leaves these out, though the count above it ""includes them")def test_the_name_table_covers_every_folder(self):@@ -156,7 +159,7 @@ class LocaleConfigTest(unittest.TestCase):self.assertGreaterEqual(len(NAMES), 20, "the name table is too small to be checked")self.assertEqual([], sorted(set(translated()) - set(NAMES)),"a language has no English name in this test's table: add it here and to "- "README.md's Languages list")+ "docs/launcher.md's Languages list")class ReaderTest(unittest.TestCase):@@ -187,9 +190,9 @@ class ReaderTest(unittest.TestCase):self.assertEqual(["da"], without_a_folder({"en", "da"}, {"de": "values-de"}))self.assertEqual([], without_a_folder({"en", "de"}, {"de": "values-de"}))- def test_the_languages_block_is_read_and_stops_at_its_details(self):- page = ("<summary><b>Languages</b></summary>\n\nGerman and Danish.\n\n</details>\n"- "<summary><b>Remote keys</b></summary>\n\nKorean.\n\n</details>\n")+ def test_the_languages_block_is_read_and_stops_at_the_next_section(self):+ page = ("## Languages\n\nGerman and Danish.\n\n"+ "## Remote keys\n\nKorean.\n")self.assertEqual("German and Danish.", languages_block(page).strip())self.assertEqual(["Korean"], unnamed(languages_block(page), {"ko": "Korean"}))self.assertEqual("", languages_block("no block here"))diff --git a/tests/test_readme_wireless_debugging.py b/tests/test_readme_wireless_debugging.pyindex ffe2bd6e9..b32df7561 100644--- a/tests/test_readme_wireless_debugging.py+++ b/tests/test_readme_wireless_debugging.py@@ -21,6 +21,10 @@ So step 1 checks the port straight after switching Wireless debugging off, and sreboot, checks 5555 and that Wireless debugging has not come back. `tools/adb-closed.py` gives the sameorder when it finds a port still open, and names Wireless debugging with the other two toggles.+The README keeps the question with a short answer, the two steps without the Wireless debugging port+details, and a link; the full steps moved to docs/faq.md under the same heading, and that is what the step+checks below read.+The FAQ heading itself must not move: tools/disable.sh and tools/disable.ps1 send a reader to it by namewhen the TV reports `ro.adb.secure=0`, and tests/test_adb_exposure.py pins that warning. The checks belowread the scripts for the quoted heading instead of copying it, so a rename on either side fails here.@@ -40,6 +44,7 @@ from test_sabrina_cast_restart_note import bullets # noqa: E402ROOT = Path(__file__).resolve().parents[1]README = (ROOT / "README.md").read_text(encoding="utf-8")+FAQ = (ROOT / "docs" / "faq.md").read_text(encoding="utf-8")TROUBLE = (ROOT / "docs" / "TROUBLESHOOTING.md").read_text(encoding="utf-8")SCRIPTS = (ROOT / "tools" / "disable.sh", ROOT / "tools" / "disable.ps1")HEADING = "Isn't ADB access a security hole?"@@ -99,10 +104,30 @@ class DoingItByHandTest(unittest.TestCase):self.assertIn("adb tcpip 5555", pairing[0])-class CloseUpStepsTest(unittest.TestCase):- def setUp(self):+def long_answer(text, heading=HEADING):+ """The docs/faq.md section under `## heading`, or None when the heading is gone."""+ start = text.find(f"## {heading}\n")+ if start == -1:+ return None+ end = text.find("\n## ", start + 3)+ return text[start:] if end == -1 else text[start:end]+++class ReadmeShortAnswerTest(unittest.TestCase):+ def test_the_readme_keeps_two_steps_and_links_the_full_ones(self):answer = faq_answer(README, SUMMARY)self.assertIsNotNone(answer, f"README.md has no {SUMMARY!r}")+ short = steps(answer)+ self.assertEqual(sorted(short), [1, 2])+ self.assertIn("**Wireless debugging**", short[1])+ self.assertIn("`python3 tools/adb-closed.py <tv ip>` must say the port is closed", short[2])+ self.assertIn("(docs/faq.md#isnt-adb-access-a-security-hole)", answer)+++class CloseUpStepsTest(unittest.TestCase):+ def setUp(self):+ answer = long_answer(FAQ)+ self.assertIsNotNone(answer, f"docs/faq.md has no '## {HEADING}'")self.steps = steps(answer)self.assertEqual(sorted(self.steps), [1, 2], "the FAQ answer no longer reads as two steps")diff --git a/tests/test_settings_menu_docs.py b/tests/test_settings_menu_docs.pyindex cc93e007c..d6aa07e65 100644--- a/tests/test_settings_menu_docs.py+++ b/tests/test_settings_menu_docs.py@@ -4,8 +4,8 @@ Clicking Settings opens the TV's own settings app. Holding OK opens a menu insteChina-market set the row an owner needs is the one Xiaomi's own settings app carries: the ADB switchunder Account & Security, which Android's settings app has no page for. MainActivity.showSettingsMenu()offers that app as "Native settings" whenever one of the packages in `settings_fallback_components` is-installed (Xiaomi China, TCL/FFALCON, Fire OS), yet the README block a reader is sent to - "Launcher-settings and the default home" - described the launcher's own settings page and not this menu at all.+installed (Xiaomi China, TCL/FFALCON, Fire OS), yet the block a reader is sent to - "Launcher+settings and the default home", in the README then and in docs/launcher.md now - described the launcher's own settings page and not this menu at all.The row was written down in one device note only, and that note sent the reader to "the pull requestthat added it": merged, so there is nothing there to read, while the notes for other China sets answera closed ADB port with "re-enable it in Account & Security" without saying which app that is.@@ -23,11 +23,11 @@ from pathlib import PathROOT = Path(__file__).resolve().parents[1]MAIN_ACTIVITY = ROOT / "launcher" / "app" / "src" / "main" / "java" / "com" / "gathin" / "tvhome" / "MainActivity.java"STRINGS = ROOT / "launcher" / "app" / "src" / "main" / "res" / "values" / "strings.xml"-README = ROOT / "README.md"+GUIDE = ROOT / "docs" / "launcher.md"VENDOR_NOTE = ROOT / "docs" / "devices" / "xiaomi-mitv-mteq0" / "xiaomi-mitv-mteq0.md"METHOD = "private void showSettingsMenu()"-BLOCK = "<summary><b>Launcher settings and the default home</b></summary>"+BLOCK = "## Launcher settings and the default home"# addSettingsMenuRow(rows, popup, R.string.<name>, ...), however the call is wrapped.ROW = re.compile(r"addSettingsMenuRow\(\s*rows,\s*popup,\s*R\.string\.([a-z_]+)")@@ -67,19 +67,19 @@ def string_text(name, xml):def settings_block(text):- """The README block that answers how to reach the launcher's and the TV's settings."""- start = text.find(BLOCK)+ """The docs/launcher.md section that answers how to reach the launcher's and the TV's settings."""+ start = text.find(BLOCK + "\n")if start < 0:return ""- end = text.find("</details>", start)- return text[start:end]+ end = text.find("\n## ", start + len(BLOCK))+ return text[start:end if end > 0 else len(text)]class SettingsMenuDocumentedTest(unittest.TestCase):def setUp(self):self.body = method_body(MAIN_ACTIVITY.read_text(encoding="utf-8"))self.xml = STRINGS.read_text(encoding="utf-8")- self.block = settings_block(README.read_text(encoding="utf-8"))+ self.block = settings_block(GUIDE.read_text(encoding="utf-8"))def test_the_menu_still_offers_the_vendor_settings_app(self):# The subject of this file: without this row there is no route to Account & Security on a set@@ -90,12 +90,12 @@ class SettingsMenuDocumentedTest(unittest.TestCase):def test_every_menu_row_is_named_in_the_readme_block(self):rows = menu_rows(self.body)self.assertGreaterEqual(len(rows), 4, "read no rows out of showSettingsMenu(): the reader is broken")- self.assertTrue(self.block, f"README.md has no {BLOCK} block")+ self.assertTrue(self.block, f"docs/launcher.md has no {BLOCK} section")for name in rows:with self.subTest(row=name):text = string_text(name, self.xml)self.assertIn(text, self.block,- f"the Settings menu's {text!r} row (R.string.{name}) is not in the README block")+ f"the Settings menu's {text!r} row (R.string.{name}) is not in docs/launcher.md")def test_the_vendor_note_names_the_row_and_reads_on_its_own(self):note = VENDOR_NOTE.read_text(encoding="utf-8")diff --git a/tools/gen_tables.py b/tools/gen_tables.pyindex 52a5d05b7..55e1790c1 100644--- a/tools/gen_tables.py+++ b/tools/gen_tables.py@@ -1,7 +1,8 @@#!/usr/bin/env python3-"""Writes the TV tables, the brand line and the counts from each examples/<folder>/tv.json.+"""Writes the TV tables, the brand grid and the counts from each examples/<folder>/tv.json.- gen_tables.py [--root DIR] rewrite README.md, examples/README.md, tools/readme_stats.py+ gen_tables.py [--root DIR] rewrite README.md, README.nl.md, examples/README.md and+ tools/readme_stats.pygen_tables.py --check write nothing; exit 1 when a file is out of dategen_tables.py --font Fredoka.ttf also redraw docs/stats.png and docs/card.jpg if a count movedgen_tables.py --adopt PATCH write tv.json for folders that have none, from the table rows@@ -17,13 +18,16 @@ conflict. Now a list PR adds only its own folder, with a tv.json beside debloat."notes": "What the list disables and keeps, one line of Markdown (links relative to examples/)"}-and a maintainer runs this after merging. "tv" and "os" fill both tables, "notes" the examples/README.md-one, "brand" the brand line under the README table (a brand whose every TV says "projector" goes on the-projector line). One optional key: "readme_os", the README's OS cell when it is not "os". Both tables list-the folders in the same order, alphabetical by "tv" (case ignored), so a brand's models sit together.+and a maintainer runs this after merging. "tv" and "os" fill the tables, "notes" the examples/README.md+one, "brand" the brand grid in the README (a brand whose every TV says "projector" goes on the projector+line). One optional key: "readme_os", a README table's OS cell when it is not "os". The tables list the+folders in the same order, alphabetical by "tv" (case ignored), so a brand's models sit together.-The tables live between <!-- tv-table:start ... --> and <!-- tv-table:end --> lines, the brand line-between <!-- tv-brands:start ... --> and <!-- tv-brands:end -->; everything outside them is hand-written.+The full table lives in examples/README.md between <!-- tv-table:start ... --> and <!-- tv-table:end -->.+README.md has no table of its own: its brand grid (the TOP brands with the most lists, linked to the site's+search, and the rest in a <details>) sits between <!-- tv-brands:start ... --> and <!-- tv-brands:end -->.+README.nl.md carries the same brand block, and a README that still has tv-table markers gets the short+table there too. Everything outside the markers is hand-written.The counts are the card's alt text ("N TV models · B brands · L languages · "), the "| **L languages** |"feature row and STATS in tools/readme_stats.py. Exit codes: 0 up to date (or written), 1 out of date(--check), or a count moved and --font could not draw one of the pictures (the tables are written; the@@ -36,10 +40,14 @@ import reimport subprocessimport sysfrom pathlib import Path+from urllib.parse import quoteKEYS = ("tv", "os", "brand", "notes")OPTIONAL = ("readme_os",)-WIDTH = 120 # the brand line wraps before this many characters+WIDTH = 120 # the brand lines under the grid wrap before this many characters+TOP = 30 # brands in the README's grid+COLUMNS = 6 # the grid's columns: 30 brands make 5 rows+SEARCH = "https://cleanyour.tv/tvs?q=" # the site's TV search; a brand cell links to its resultsREADME_HEADER = ["| TV | OS |", "|---|---|"]EXAMPLES_HEADER = ["| Folder | TV | OS | Notes |", "|---|---|---|---|"]SOURCE = "generated by tools/gen_tables.py from examples/*/tv.json; edit those, not this"@@ -155,17 +163,34 @@ def brands(entries):def brand_lines(entries):- """Bold brands with their count, most lists first; single-list brands; then the projector makers."""+ """The brand block: a grid of the TOP brands, then the rest in a <details>.++ Grid cells are "[Brand](search link) · lists", most lists first, alphabetical within a count, COLUMNS to+ a row. Under it the remaining brands keep the old line format: bold brands with their count, single-list+ brands, then the projector makers (a brand whose every TV says "projector")."""by = brands(entries)projectors = sorted((b for b, tvs in by.items() if all("projector" in t.lower() for t in tvs)),key=str.casefold)tv = {b: len(tvs) for b, tvs in by.items() if b not in projectors}- bold = sorted((b for b, n in tv.items() if n > 1), key=lambda b: (-tv[b], b.casefold()))- plain = sorted((b for b, n in tv.items() if n == 1), key=str.casefold)- out = wrap([f"**{b}** {tv[b]}" for b in bold]) + wrap(plain)- if projectors:- names = ", ".join(projectors[:-1]) + " and " + projectors[-1] if len(projectors) > 1 else projectors[0]- out.append(names + " projectors")+ ranked = sorted(tv, key=lambda b: (-tv[b], b.casefold()))+ top, rest = ranked[:TOP], ranked[TOP:]+ out = []+ if top:+ cells = [f"[{b}]({SEARCH}{quote(b, safe='')}) · {tv[b]}" for b in top]+ cells += [""] * (-len(cells) % COLUMNS)+ out += ["|" + " |" * COLUMNS, "|" + "---|" * COLUMNS]+ out += ["| " + " | ".join(cells[i:i + COLUMNS]) + " |" for i in range(0, len(cells), COLUMNS)]+ if rest or projectors:+ more = ([f"{len(rest)} more brands"] if rest else []) + \+ ([f"{len(projectors)} projector brands"] if projectors else [])+ bold = [b for b in rest if tv[b] > 1]+ plain = sorted((b for b in rest if tv[b] == 1), key=str.casefold)+ lines = wrap([f"**{b}** {tv[b]}" for b in bold]) + wrap(plain)+ if projectors:+ names = ", ".join(projectors[:-1]) + " and " + projectors[-1] if len(projectors) > 1 else projectors[0]+ lines.append(names + " projectors")+ out += (([""] if out else []) + ["<details>", f"<summary>+{' and '.join(more)}</summary>", ""]+ + lines + ["", "</details>"])return out@@ -174,6 +199,10 @@ def languages(root):return len(list((root / "launcher/app/src/main/res").glob("values-*/strings.xml"))) + 1+def has_markers(text, name):+ return any(l.startswith(f"<!-- {name}:start") for l in text.split("\n"))++def between(text, name, body, path):"""text with the lines between the `name` markers replaced by body (a list of lines), blank-padded."""lines = text.split("\n")@@ -199,20 +228,30 @@ def stats(text, entries, root):OWNED = ("README.md", "examples/README.md", "tools/readme_stats.py")+# Translations that carry the brand block too; written when the file is there.+TRANSLATIONS = ("README.nl.md",)+++def readme(text, entries, root, path):+ """A README with its brand block (required), its short TV table (only if it has the markers) and counts."""+ text = between(text, "tv-brands", brand_lines(entries), path)+ if has_markers(text, "tv-table"):+ text = between(text, "tv-table", readme_rows(entries), path)+ return counts(text, entries, root)def render(root, texts=None):- """{relative path: the text it should have}, for the three files this script owns parts of.+ """{relative path: the text it should have}, for the files this script owns parts of.texts, if given, stands in for what those files hold now (by the same paths)."""entries = load(root)- now = {p: (texts or {}).get(p) or (root / p).read_text(encoding="utf-8") for p in OWNED}- readme = between(now["README.md"], "tv-brands", brand_lines(entries), "README.md")- readme = between(readme, "tv-table", readme_rows(entries), "README.md")- readme = counts(readme, entries, root)- examples = between(now["examples/README.md"], "tv-table", examples_rows(entries), "examples/README.md")- stats_py = stats(now["tools/readme_stats.py"], entries, root)- return {"README.md": readme, "examples/README.md": examples, "tools/readme_stats.py": stats_py}+ paths = list(OWNED) + [p for p in TRANSLATIONS if (texts or {}).get(p) or (root / p).is_file()]+ now = {p: (texts or {}).get(p) or (root / p).read_text(encoding="utf-8") for p in paths}+ out = {p: readme(now[p], entries, root, p) for p in ["README.md"] + paths[len(OWNED):]}+ out["examples/README.md"] = between(now["examples/README.md"], "tv-table", examples_rows(entries),+ "examples/README.md")+ out["tools/readme_stats.py"] = stats(now["tools/readme_stats.py"], entries, root)+ return outdef stale(root):