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: document Philips Google TV TA7 support
Wesley Prado876b275fe624
diff --git a/README.md b/README.mdindex 84e1dc5b9..4d3f85e10 100644--- a/README.md+++ b/README.md@@ -139,6 +139,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 || Philips 65PUS8102/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 || 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 | 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 (TP Vision, PH9M_EA_5599, MediaTek mt5887), Europe | Android TV 12 |diff --git a/examples/README.md b/examples/README.mdindex 701c189ac..ac66f51b3 100644--- a/examples/README.md+++ b/examples/README.md@@ -48,6 +48,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `philips-55pus7503/` | Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 | Conservative older-generation list: Philips demo, Top Picks and usage logging; Google recommendations/tutorials; voice, Chromecast, updates, Ambilight and all streaming apps kept || `philips-65pus8102/` | Philips 65PUS8102/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 | Extends the 55PUS7503 list on the same firmware: DAC/GEL analytics, Inscape ACR client (its `inscape_fp` daemon needs root), NetTV store and 13 web apps, Assistant and Alexa off by choice; keep `nettvbrowser`, it is the HbbTV handler; RSA prompt needed revoke + mains power cycle || `philips-75pus8505/` | Philips 75PUS8505/12 (TP Vision TPM191E, PH9M_EA_5599, MediaTek MT5887), Europe | Android TV 12 | Same board and firmware as `philips-tpm191e/`, the 2020 "The One": DAC/GEL analytics, usage logger, Top Picks, app gallery, retail demo, Alexa, Play-Fi soft AP; Assistant off by choice, Chromecast and DLNA (for Média) kept; keep `fastip`, the SOURCES drawer dies without it; Play-Fi itself re-enables at boot, so it is left out |+| `philips-google-tv-ta7/` | Philips Google TV TA7 (TPV, PH3M_AL_T32, MediaTek), Brazil | Google TV 14 | TP Vision `candeebug`/`gel` analytics, partner attribution and auto-installs, European operator apps, ad-consent and disclaimer popups; Netflix, Prime Video, Google TV app and Chromecast off by choice, Assistant and OTA kept; setupwraith + launcherx off for a custom launcher (setupwraith owned only an unused network); the gear button is KEYCODE_SETTINGS and needs HomeKeyService; has its own install.sh, restore.sh and theme || `philips-r8g-google-tv/` | Philips R8G Google TV (MOKA, whitefield, Realtek RTD2851F), US | Google TV 14 | Anoki ACR, store-demo overlay, Realtek partner customizer, HbbTV (unused with ATSC), Android ad services; voice and ambient mode off by choice; port 5555 opens without pairing; setupwraith owned the Wi-Fi saved at setup and disabling it deleted the network || `philips-smart-4k-google-tv/` | Philips Smart 4K TV (Skyworth, eleonas, MediaTek), India | Google TV 14 | Skyworth recommendations, after-sale/activation trackers, iCast; Chromecast, Assistant off by choice; wireless-debugging pairing, setupwraith || `philips-tpm191e/` | Philips TPM191E (TP Vision, PH9M_EA_5599, MediaTek mt5887), Europe | Android TV 12 | `org.droidtv` TP Vision list on Android 12: DAC analytics uploader, usage logging, demo mode, Top Picks, app gallery; voice, Prime Video, DLNA off by choice; Alexa, Chromecast and updates kept; DTS Play-Fi is re-enabled at every boot by the audio service, so it is left on; `eum` kept, as on the 50PUS8517 |diff --git a/examples/philips-google-tv-ta7/README.md b/examples/philips-google-tv-ta7/README.mdnew file mode 100644index 000000000..583b69e12--- /dev/null+++ b/examples/philips-google-tv-ta7/README.md@@ -0,0 +1,109 @@+# Philips Google TV TA7 (Brazil)++Philips Google TV TA7 (TPV, PH3M_AL_T32, MediaTek), Google TV 14, build UTT1.250308.001, about 1.9 GB RAM.+Debloated and given the Clean Your TV launcher on 2026-10-20.++| File | What it is |+|---|---|+| `debloat.txt` | The packages that were disabled, in the batches they were applied, with what each one is and what was kept on purpose |+| `install.sh` | Builds the launcher, installs it as Home (disabling the setup wizard and the stock launcher), turns on the gear-button fix and pushes `theme/` |+| `restore.sh` | Undoes all of it: re-enables every package in `debloat.txt`, gives Home back to the stock Google TV launcher and turns AdGuard DNS off |+| `theme/config.json` | Dock order, greeting, hidden apps |++All commands run from the repository root and need the Python client once:+`python3 -m venv tools/venv && tools/venv/bin/pip install -r tools/requirements.txt`.+They also need network ADB, which is switched off when you're done (see the last section), so turn it on+again first: Settings > System > About > press Build 7 times, then Developer options > USB debugging on.+Accept the "Allow USB debugging?" prompt on the TV the first time a command connects.++## What changed++- **Disabled** (never uninstalled): TP Vision analytics (`candeebug`, `gel`), partner attribution and+ auto-installs, European satellite operator apps, the ad-consent and disclaimer popups, Play Games,+ calendar sync, print spooler, Netflix, Prime Video, the Google TV films app, Chromecast, the setup+ wizard and the stock Google TV launcher.+- **Re-enabled**: HBO Max (`com.wbd.stream`) and Google Assistant (`com.google.android.katniss`), which+ had been disabled before.+- **Kept**: everything that plays HDMI and the tuner, the input menu, remote pairing, keyboards, Play+ Store and Play Services, firmware updates, and all the streaming apps you use.+- **Launcher**: `com.gathin.tvhome` is Home. Dock: YouTube, HBO Max, Crunchyroll, CineVS.+- **Gear button**: the remote's Settings button only worked through the stock launcher, so the+ launcher's HomeKeyService (an accessibility service) now handles it. If the button stops working,+ check Settings > Accessibility > "Botão Home" is on, or run `install.sh` again.+- **Private DNS**: `dns.adguard-dns.com`, which blocks ad and tracker domains for the whole TV. It does+ **not** block YouTube ads.++## Re-enable an app++On the TV: Settings > Apps > See all apps > Show system apps (or "Disabled apps"), pick the app, Enable.++Over ADB:++```bash+TV_HOST=192.168.0.10 tools/venv/bin/python -I tools/tv.py 'pm enable --user 0 com.netflix.ninja'+```++Then delete or comment out its line in `debloat.txt`, so a later run doesn't disable it again. The+package names and what each one does are in `debloat.txt`.++## Change the dock order++Edit `theme/config.json`. `dock_apps` lists the four dock apps from left to right:++```json+"dock_apps": ["com.google.android.youtube.tv", "com.wbd.stream", "com.crunchyroll.crunchyroid", "com.cnvs.apptv"]+```++Other package names: Globoplay `com.globo.globotv`, Disney+ `com.disney.disneyplus`, Spotify+`com.spotify.tv.android`, YouTube Music `com.google.android.youtube.tvmusic`, Red Bull TV+`com.nousguide.android.rbtv` (all of them: `tools/tv.py 'pm list packages'`). Then push it; no rebuild:++```bash+TV_HOST=192.168.0.10 tools/theme.sh examples/philips-google-tv-ta7/theme+```++You can also reorder on the TV itself: hold OK on the Settings pill and choose the reorder option.+`greeting_name` sets the name after the greeting; `hidden_apps` hides tiles.++## Change the wallpaper++Put a dark 1920×1080 JPEG under about 300 KB at `theme/wallpaper.jpg`, set `"wallpaper": true` in+`theme/config.json`, and push the theme with the command above. For a rotating set, put the pictures in+`theme/wallpapers/` and add `"wallpaper_rotation_minutes": 30` (and `"wallpaper_dim": 40` to darken them).+`"background_color"` changes the plain black. To go back to plain black, set `"wallpaper": false` and push+again. All keys are in [themes/README.md](../../themes/README.md).++## Turn AdGuard DNS off++```bash+TV_HOST=192.168.0.10 tools/venv/bin/python -I tools/tv.py 'settings put global private_dns_mode opportunistic'+```++Or Settings > Network & Internet > Private DNS > Automatic. Do this first if an app stops loading.++## Undo everything++```bash+TV_HOST=192.168.0.10 examples/philips-google-tv-ta7/restore.sh # keep the launcher installed+UNINSTALL_LAUNCHER=1 TV_HOST=192.168.0.10 examples/philips-google-tv-ta7/restore.sh # remove it too+```++`tools/restore.sh examples/philips-google-tv-ta7/debloat.txt com.google.android.apps.tv.launcherx` does+the same from the state recorded before the first change (`~/.cleanyourtv/`). Either way, the apps that+were already disabled before 2026-10-20 (Aptoide, VS Cine, Viki, the ambient screensaver and the+others listed at the top of `debloat.txt`) stay disabled. Re-enable them one by one as above.++## Reinstall or update the launcher++```bash+TV_HOST=192.168.0.10 examples/philips-google-tv-ta7/install.sh+```++Needs JDK 17+ and the Android SDK (platform 34, build-tools 34) in `~/Android/Sdk`. A reinstall switches+accessibility services off, and the script turns the gear-button service back on.++## Close ADB when you're done++Port 5555 is plaintext, so leave it off: Settings > System > Developer options > switch off USB debugging+(and Wireless debugging if it is on), choose "Revoke USB debugging authorisations", then restart the TV.+From the PC, `nc -vz 192.168.0.10 5555` should then fail.