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
Add Sony BRAVIA 4K VH2 (KD-55X80J) debloat list and Serbian (Latin) launcher translation
Miroslav Maksimovica67f90e5897f
diff --git a/README.md b/README.mdindex d49efe57e..2b17a58f8 100644--- a/README.md+++ b/README.md@@ -5,7 +5,7 @@<p align="center"><a href="https://cleanyour.tv">cleanyour.tv</a> ·<a href="PROMPT.md">The prompt</a> ·- <a href="examples/">30 TV lists</a> ·+ <a href="examples/">31 TV lists</a> ·<a href="SHOWCASE.md">Made with it</a> ·<a href="https://x.com/gathint/status/2111379569030939102">The tweet</a></p>@@ -79,7 +79,7 @@ install any launcher at all; their lists say so in the header.Tested lists from contributors, one folder per model in [`examples/`](examples/):-**Xiaomi** 8 · **TCL** 7 · **Sony** 2 · BenQ · CHiQ · Chromecast with Google TV · Hisense · Insignia Fire TV ·+**Xiaomi** 8 · **TCL** 7 · **Sony** 3 · BenQ · CHiQ · Chromecast with Google TV · Hisense · Insignia Fire TV ·NVIDIA Shield · OnePlus · Philips · RCA · SANYO · Toshiba Fire TV · Stellamore and XGIMI projectors<details>@@ -98,6 +98,7 @@ NVIDIA Shield · OnePlus · Philips · RCA · SANYO · Toshiba Fire TV · Stella| RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch) | Android 14 || SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 || Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 |+| Sony BRAVIA 4K VH2 (KD-55X80J, BRAVIA_VH2, MediaTek), EU | Google TV 12 || Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 || Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 || TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 |@@ -169,7 +170,7 @@ network, no background services. It needs JDK 17 and Android SDK platform 34 to- **Configure** in [`config.xml`](launcher/app/src/main/res/values/config.xml): 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.- **Themes** set the same keys plus a background colour and a wallpaper from a `config.json` pushed to the TV, no rebuild. Three ship in [`themes/`](themes/), documented there.-- **Language** follows the TV: English, German, Spanish, Catalan, French, Russian, Simplified Chinese, Thai. Android 13+ can set it for the launcher alone: `tools/tv.py 'cmd locale set-app-locales com.gathin.tvhome --locales ca'`.+- **Language** follows the TV: English, German, Spanish, Catalan, French, Russian, Serbian (Latin), Simplified Chinese, Thai. Android 13+ can set it for the launcher alone: `tools/tv.py 'cmd locale set-app-locales com.gathin.tvhome --locales ca'`.- **Module cards** let any TV app declare its own tile (label, caption, glow). The launcher asks you once per app, Keep hidden by default, and remembers the answer for that app's signing key and card name. Hold OK on Settings to change your mind. How to make one: [`docs/modules.md`](docs/modules.md); the contract: [`docs/specs/card.md`](docs/specs/card.md).- **Clock screensaver**: a drifting clock over the glow, so nothing burns in. Pick "Clock" in the TV's screensaver settings, or over ADB:`tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream; settings put secure screensaver_enabled 1'`diff --git a/examples/README.md b/examples/README.mdindex 038cce39f..b3b819485 100644--- a/examples/README.md+++ b/examples/README.md@@ -16,6 +16,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `rca-ai-pont/` | RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch) | Android 14 | Homwee store and installers, Anoki ACR, FAST channels; 1 GB || `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA || `sony-bravia-4k-ur2/` | Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 | Samba TV, Sony promos/Select, demo mode; Assistant, Chromecast, unused streaming apps off by choice |+| `sony-bravia-4k-vh2/` | Sony BRAVIA 4K VH2 (KD-55X80J, BRAVIA_VH2, MediaTek), EU | Google TV 12 | Samba TV ACR, Sony/Qterics device agents, demo mode, help tiles; setupwraith off for a custom launcher; Assistant, Chromecast, firmware updates kept || `sony-xbr-x900e/` | Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 | Samba TV ACR, Sony Select, My BRAVIA promos, Discover, device agents; Chromecast, DLNA, mirroring off by choice || `stellamore-t950s/` | Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 | Zeasn App Store and stock launcher both bundle Google Ads (doubleclick); Zeasn device portal/OTA, Stellamore factory/test/guide; 1 GB; keystone correction must stay enabled || `tcl-g10-google-tv/` | TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 | TCL TV+, TCL Live, store demo, smartlink installer |diff --git a/examples/sony-bravia-4k-vh2/debloat.txt b/examples/sony-bravia-4k-vh2/debloat.txtnew file mode 100644index 000000000..6c17afb1f--- /dev/null+++ b/examples/sony-bravia-4k-vh2/debloat.txt@@ -0,0 +1,50 @@+# Sony BRAVIA 4K VH2 (device BRAVIA_VH2, KD-55X80J, MediaTek), EU firmware+# Android 12 (Google TV, API 31), build BRAVIA_VH2_EU-user 12 STT2.230505.001.S136 682241+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-4k-vh2/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-4k-vh2/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.apps.tv.launcherx (Google TV). Pass it to restore.sh as above.+# Live TV / tuner app: com.sony.dtv.tvx (set it as live_tv_package in the launcher's config.xml and hide it).+# Keep the com.sony.dtv.tvinput.* services, com.sony.dtv.braviasync*, com.sony.dtv.tvapi,+# com.sony.dtv.sonysystemservice, imeproxy, settingsprovider, systemupdate/update (firmware), the Sony+# settings apps and all com.mediatek.*: they drive HDMI, the tuner, Bravia Sync, updates and the remote.+# Kept by owner's choice: voice assistant (katniss, voicesearch, assistantadapter), Chromecast built-in+# (mediashell) and firmware updates.+# Already disabled at the factory: com.sony.dtv.promos, com.sony.dtv.b2b.vendorprotocol,+# com.sony.dtv.b2b.softap, com.apple.atve.sony.appletv, the my5/itv/ard/all4/iplayer/sounds launchers,+# com.youview.poa, de.hdplus.tvapp.androidtv, com.sony.dtv.seeds.iot, com.sonypicturescore.+# Not in this list, so restore.sh leaves them as they are.+#+# Live TV in the launcher: set live_tv_package to com.sony.dtv.tvx and hide it; Inputs lists HDMI 1-4 and+# AV from the TV input framework. Launcher installed with the Input-button service (INPUT_KEY_SERVICE=1).+# Applied one afternoon on a KD-55X80J with the dock set to Stremio, Netflix, SmartTube, OTT Navigator.+# Not yet lived with for weeks; if something breaks, re-enable it with `pm enable <package>` and please+# report it. launcherx was left enabled, since Home already resolved to the new launcher once the setup+# wizard was disabled.++# ACR viewing tracker+tv.samba.ssm # Samba TV fingerprints what's on screen+tv.samba.ssm.ui++# telemetry and remote support+com.qterics.da.product+com.sony.dtv.da.service+com.sonyericsson.idd.agent+com.sony.dtv.sonybugreportsys+com.google.android.feedback++# demo / shop mode+com.sony.dtv.demosupport+com.sony.dtv.demosystemsupport+com.sony.dtv.multiscreendemo++# preloaded apps+com.sony.dtv.customersupport # Help tile+com.sony.dtv.smarthelp+com.google.android.youtube.tvmusic+com.google.android.play.games++# Google TV setup wizard: claims HOME and takes over once the stock launcher is disabled+com.google.android.tungsten.setupwraithdiff --git a/launcher/app/src/main/res/values-b+sr+Latn/strings.xml b/launcher/app/src/main/res/values-b+sr+Latn/strings.xmlnew file mode 100644index 000000000..11fa4a675--- /dev/null+++ b/launcher/app/src/main/res/values-b+sr+Latn/strings.xml@@ -0,0 +1,30 @@+<?xml version="1.0" encoding="utf-8"?>+<resources>+ <string name="app_name">Početni ekran</string>+ <string name="inputs">Ulazi</string>+ <string name="wifi">Wi-Fi</string>+ <string name="settings">Podešavanja</string>+ <string name="choose_input">Ulazi</string>+ <string name="connected">Povezano</string>+ <string name="standby">Mirovanje</string>+ <string name="not_connected">Nema uređaja</string>+ <string name="live_tv">TV programi</string>+ <string name="no_inputs">Nema pronađenih ulaza</string>+ <string name="good_morning">Dobro jutro</string>+ <string name="good_afternoon">Dobar dan</string>+ <string name="good_evening">Dobro veče</string>+ <string name="good_night">Laku noć</string>+ <string name="ethernet">Ethernet</string>+ <string name="offline">Nema mreže</string>+ <string name="not_available">Nije dostupno na ovom televizoru</string>+ <string name="cant_open">Nije moguće otvoriti %1$s</string>+ <string name="date_format">EEEE, d. MMMM</string>+ <string name="dream_name">Sat</string>+ <string name="vpn">VPN</string>+ <string name="vpn_off">VPN isključen</string>+ <string name="home_settings">Podrazumevani početni ekran</string>+ <string name="home_settings_help">Izaberite početni ekran u podešavanjima sistema, pa pritisnite Home.</string>+ <string name="input_key_service_description">Otvara izbor ulaza kada se na daljinskom pritisne dugme Input.</string>+ <string name="home_key_name">Dugme Home</string>+ <string name="home_key_description">Dugme Home na daljinskom otvara ovaj početni ekran.</string>+</resources>diff --git a/launcher/app/src/main/res/xml/locales_config.xml b/launcher/app/src/main/res/xml/locales_config.xmlindex 8e6c73bdf..19b95e385 100644--- a/launcher/app/src/main/res/xml/locales_config.xml+++ b/launcher/app/src/main/res/xml/locales_config.xml@@ -11,4 +11,5 @@<locale android:name="ru" /><locale android:name="zh-CN" /><locale android:name="th" />+ <locale android:name="sr-Latn" /></locale-config>