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
feat(examples): add Grundig 50 GFU 7850 B debloat profile
underd0se1dc1d7135c67
diff --git a/examples/grundig-50gfu7850b/README.md b/examples/grundig-50gfu7850b/README.mdnew file mode 100644index 000000000..4c6b9d9ca--- /dev/null+++ b/examples/grundig-50gfu7850b/README.md@@ -0,0 +1,37 @@+# Grundig 50 GFU 7850 B 50" 4K Android TV (Arçelik, `sinchon`)++| | |+|---|---|+| Model | Grundig 50 GFU 7850 B 50" Ultra HD (4K) Android TV, product `CO3Plus`, device `sinchon`, manufacturer ARCELIK, Turkey |+| OS | Android TV 11 (API 30), build `RTO1.251027.001`, MediaTek M7322 SoC |+| RAM | 1.38 GB. `MemAvailable` went from ~280 MB (stock) to ~499 MB after the list, CleanYourTV, and a cold reboot (+360 MB resident RAM recovered) |+| Display | 4K panel, UI natively rendered at 1920×1080 @ 60 Hz, density 320 dpi |+| ADB | USB debugging opens port 5555 over Wi-Fi and Ethernet. `ro.adb.secure=1` |+| Home | `com.google.android.tvlauncher` (classic Android TV leanback, not Google TV launcherx). Only `com.android.tv.settings/.system.FallbackHome` also claims HOME |++## What worked++- **`pm disable-user` works** cleanly for every package in [`debloat.txt`](debloat.txt). After cold reboots, `pm list packages -d` remains identical.+- **The launcher installs** and owns Home (`mFocusedApp`) reliably across cold reboots. CleanYourTV runs at ~38.3 MB PSS (compared to ~140–160 MB for the stock launcher suite and ~140 MB for Google Backdrop with its Chromium sandbox process).+- **Remote buttons:** Home, Input, Settings and app keys work directly with no extra helper service.+- **Live TV:** Routes to `com.mediatek.wwtv.tvcenter/.nav.TurnkeyUiMainActivity` directly from CleanYourTV's Inputs menu.+- **Screensaver:** Replaced `com.google.android.backdrop` with `com.gathin.tvhome/.ClockDream`.+- **HDMI-CEC Native Device Names:**+ On this firmware, Android TV Settings pre-assigns generic labels ("Game console", "Blu-ray") to ports in `tv_input_custom_labels`, which overrides the CEC broadcast names. Clearing this setting via:+ ```bash+ adb shell settings put secure tv_input_custom_labels '""'+ ```+ allows CleanYourTV's native **Inputs** dropdown to surface connected HDMI-CEC device names directly (e.g. `PlayStation 5 · HDMI 2`, `BD HTS · HDMI 3`) without needing a separate add-on app.++## Keep++- `fusion.android.tv.demo`: Handles `android.intent.action.TV_INPUT_BUTTON` (the remote's Input key).+- `com.arcelik.tv.arcelikbacklight`: Persistent backlight control daemon (preserves picture & brightness settings).+- `com.mediatek.tv.service`, `com.mediatek.tvinput`, `com.mediatek.wwtv.tvcenter`: Core TV tuner and HDMI framework.+- `com.google.android.tungsten.setupwraith`: Manages Wi-Fi credentials and network state.+- `com.arcelik.ChannelEditor`: TV channel management tool.+- Factory packages, never opened: `arcelik.factorymenu.hatone`, `com.mediatek.tv.factory`, `mediatek.factorymenu.ui`.++## Tested on++Grundig 50 GFU 7850 B (50", 4K, 2021/2022). Debloat applied, verified over multiple cold boots, and tested with connected CEC devices (PlayStation 5, LG Home Theatre System) and streaming apps (Stremio, Netflix, YouTube TV, Spotify).diff --git a/examples/grundig-50gfu7850b/debloat.txt b/examples/grundig-50gfu7850b/debloat.txtnew file mode 100644index 000000000..d6cb87efc--- /dev/null+++ b/examples/grundig-50gfu7850b/debloat.txt@@ -0,0 +1,65 @@+# Grundig 50 GFU 7850 B 50" 4K Android TV (Arcelik-built, device "sinchon", MediaTek M7322), Turkey+# Android TV 11 (API 30), build RTO1.251027.001. ro.product.manufacturer = ARCELIK, ro.adb.secure = 1.+# USB debugging alone opens port 5555 (tested over Wi-Fi and Ethernet), no pairing.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/grundig-50gfu7850b/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/grundig-50gfu7850b/debloat.txt+# Windows: tools\disable.ps1 -TvHost <tv ip> examples\grundig-50gfu7850b\debloat.txt (restore.ps1 to undo)+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.tvlauncher (classic Android TV home, not Google TV launcherx).+# Live TV, HDMI and the source menu: com.mediatek.wwtv.tvcenter, as on examples/grundig-kunyang.+# Also claiming HOME: com.android.tv.settings/.system.FallbackHome. Make the new launcher Home before the stock one goes.+#+# KEEP, even though some names look like bloat (same Arcelik/MediaTek family as examples/grundig-kunyang and beko-b43b880b):+# - fusion.android.tv.demo: the remote's Input key (answers android.intent.action.TV_INPUT_BUTTON).+# - com.arcelik.tv.arcelikbacklight: backlight control service (keeps picture settings working).+# - com.mediatek.tv.service, com.mediatek.tvinput, com.mediatek.wwtv.tvcenter: Live TV, HDMI, source menu.+# - com.google.android.tungsten.setupwraith: Wi-Fi setup and saved network credentials.+# - com.arcelik.ChannelEditor: TV channel management.+# - Factory packages, never opened: arcelik.factorymenu.hatone, com.mediatek.tv.factory, mediatek.factorymenu.ui.+#+# Launcher works: installed with launcher/build-and-install.sh, owns Home (mFocusedApp) also after reboot;+# every remote button (Home, Input, Settings, app keys) works without extra key services. Screensaver set to+# com.gathin.tvhome/.ClockDream before backdrop goes.+#+# Inputs & HDMI-CEC:+# Android TV Settings > Device Preferences > Inputs pre-assigns generic labels ("Game console", "Blu-ray")+# to HDMI ports, which hides real device names. Clearing them via `settings put secure tv_input_custom_labels '""'`+# lets CleanYourTV show HDMI-CEC devices natively (e.g. "PlayStation 5", "BD HTS") under the Inputs menu.+#+# Owner's choices: Chromecast kept; voice assistant, YouTube Music, Play Games, and TTS off.+# Self-installed streaming apps untouched.++# --- Ads, telemetry and partner auto-installs+com.cltv.fast # FAST channels: ad-supported channel rows+com.google.android.feedback # Google feedback / bug report uploader+com.google.android.partnersetup # partner-app attribution (RLZ)+android.autoinstalls.config.arcelik.an # Arcelik partner auto-installs config+com.mstar.android.tv.disclaimercustomization # MediaTek disclaimer popups+com.google.android.syncadapters.calendar # calendar sync, no calendar app on a TV+com.google.android.onetimeinitializer # first-setup leftover+com.android.printspooler # printing++# --- Factory tools & unused OEM services+com.arcelik.tv.rctest # Factory RC remote testing tool+com.arcelik.smartremoteservice # Arcelik mobile remote companion++# --- Unused Android sync / providers+com.android.providers.calendar # calendar provider+com.android.providers.contacts # contacts provider+com.android.providers.userdictionary # user dictionary+com.android.wallpaperbackup # wallpaper backup+com.android.se # Secure Element service (unsupported on this TV)++# --- Owner's choice: not used+com.google.android.play.games # Google Play Games+com.google.android.youtube.tvmusic # YouTube Music pre-install+com.google.android.tts # Google Text-to-Speech+com.google.android.katniss # Google voice search / Assistant (remote mic button)+com.google.android.leanbacklauncher.partnercustomizer # OEM partner launcher rows++# --- After launcher/ owns Home (build-and-install.sh disables com.google.android.tvlauncher itself)+com.google.android.tvlauncher # stock Android TV home: sponsored rows & ad banners+com.google.android.tvrecommendations # feeds the stock home's recommendation rows+com.google.android.backdrop # Ambient screensaver (eats ~140 MB RAM with WebView); replaced by ClockDreamdiff --git a/examples/grundig-50gfu7850b/tv.json b/examples/grundig-50gfu7850b/tv.jsonnew file mode 100644index 000000000..75ee8357a--- /dev/null+++ b/examples/grundig-50gfu7850b/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Grundig 50 GFU 7850 B 50\" (Arçelik, CO3Plus, sinchon, MediaTek), Turkey",+ "os": "Android TV 11",+ "brand": "Grundig",+ "notes": "First 50 GFU 7850 B list, Arçelik sinchon platform: Google Backdrop, Recommendations, Katniss, FAST channels off; HDMI-CEC port names work natively; +360 MB RAM recovered"+}