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
examples: add Tuvio TD50UFBCV5 (Changhong AI PONT, DVB96, MediaTek), Google TV 14
Konstantin Bulanove4715f2ad522
diff --git a/examples/tuvio-td50ufbcv5/README.md b/examples/tuvio-td50ufbcv5/README.mdnew file mode 100644index 000000000..6c2119e10--- /dev/null+++ b/examples/tuvio-td50ufbcv5/README.md@@ -0,0 +1,88 @@+# Tuvio TD50UFBCV5 (Google TV 14, AI PONT)++Tuvio's 50" Google TV model, built by Changhong (`ro.product.model` "AI PONT", product `DVB96`,+device/board `central`, MediaTek `m7632`, armv7l), firmware `UKNV.260506.001`, UI at 1920x1080+(320 dpi), 1.8 GB of RAM. No Yandex apps are preinstalled. Same board and firmware as the+[`tuvio-td43ufbcv5`](../tuvio-td43ufbcv5/) (43") and the BenQ E55-735.++Tested on 1 November 2026 with the list below, the launcher as Home and the real remote: same-day+test, not a multi-day soak.++| File | What it is |+|---|---|+| `debloat.txt` | The packages that were disabled, grouped and commented |+| `config.json` | The launcher's dock and layout for this set; push it with `tools/theme.sh` |++++All commands run from the repo root, with the TV's address in `TV_HOST`. They need network ADB on+the TV while they run, and it should be off again afterwards. Port 5555 answered straight away on+this set and survived reboots.++## The Wi-Fi network comes first++The saved Wi-Fi network belongs to the Google TV setup wizard,+`com.google.android.tungsten.setupwraith` (`dumpsys wifi | grep -o 'cname=[^ ]*'`). Disabling it+takes the network with it, and the TV drops off Wi-Fi and off ADB. Before the last batch:++1. Settings → Network & Internet → the saved network → Forget.+2. Join it again. It then belongs to `android.uid.system:1000`.+3. Only then run the list. `tools/disable.sh` refuses a list with setupwraith in it while the+ network still belongs to it.++## Install, from scratch or again++The order matters: the Wi-Fi note first, then the list while Google TV's home still owns Home+(setupwraith goes with it), then the launcher.++```bash+TV_HOST=<tv-ip> tools/disable.sh examples/tuvio-td50ufbcv5/debloat.txt+TV_HOST=<tv-ip> launcher/build-and-install.sh+TV_HOST=<tv-ip> tools/theme.sh examples/tuvio-td50ufbcv5+```++`launcher/build-and-install.sh` builds from source, checks the SDK level against the launcher's+`minSdk`, installs the APK, makes it Home and applies the repository's Home guard: the stock+launcher is only disabled once the new one answers Home. On this firmware `set-home-activity`+prints "Success" while `launcherx` is still enabled, so Home has to be set once more after the+last batch.++The screensaver is the launcher's own clock:++```bash+TV_HOST=<tv-ip> tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream; settings put secure screensaver_default_component com.gathin.tvhome/.ClockDream'+```++`config.json` is the launcher's layout for this set, as it was on the tested TV: the dock+(YouTube, NUM, OTT Navigator, AniLabX), the Live TV app hidden from the grid but offered in the+Inputs menu, four columns and the app library as a round button in the top bar. `tools/theme.sh`+pushes it to the launcher's own config file; the dock order can be changed there, or in the+launcher's own Settings.++## Undo everything++```bash+TV_HOST=<tv-ip> tools/restore.sh examples/tuvio-td50ufbcv5/debloat.txt com.google.android.apps.tv.launcherx+```++That enables every package the list disabled, using the recovery record `tools/disable.sh` wrote.+Nothing is uninstalled. It does not put the screensaver back: the stock value is+`com.google.android.apps.tv.dreamx/.service.Backdrop` (`screensaver_components` and+`screensaver_default_component`).++## Known behaviour on this set++* The remote's Settings (gear) button does nothing with the stock launcher gone: it arrives as+ scancode 498 (`KEY_BRL_DOT2`). `settings_key_scancodes 498` with `HOME_KEY_SERVICE=1` brings it+ back, but any key-filtering accessibility helper bound on this firmware makes a held volume+ button step once or twice instead of ramping. It is left off; Settings opens from the launcher's+ own Settings pill.+* The Netflix button does nothing while Netflix is disabled (`app_keys` in `config.json` can map+ it to another app).+* The launcher's network pill says "Wi-Fi" and not the network name: Android 14 redacts the SSID+ from an app that has no location permission, and this firmware's privacy service puts the+ location master switch back off by itself.+* Standby is MediaTek suspend: from deep standby the Bluetooth remote cannot wake the TV, the IR+ remote and the power button can. That is not damage.+* The Live TV app (`com.mediatek.wwtv.tvcenter`) is in the app library and at the end of the+ Inputs menu.diff --git a/examples/tuvio-td50ufbcv5/config.json b/examples/tuvio-td50ufbcv5/config.jsonnew file mode 100644index 000000000..01c64466d--- /dev/null+++ b/examples/tuvio-td50ufbcv5/config.json@@ -0,0 +1,19 @@+{+ "dock_apps": [+ "com.google.android.youtube.tv",+ "ru.yourok.num",+ "studio.scillarium.ottnavigator",+ "xyz.anilabx.app"+ ],+ "hidden_apps": [+ "com.mediatek.wwtv.tvcenter"+ ],+ "live_tv_package": "com.mediatek.wwtv.tvcenter",+ "columns": 4,+ "rows_below_dock": 0,+ "library_button": true,+ "show_library_pill": false,+ "app_library": true,+ "background_color": "#000000",+ "wallpaper": false+}diff --git a/examples/tuvio-td50ufbcv5/debloat.txt b/examples/tuvio-td50ufbcv5/debloat.txtnew file mode 100644index 000000000..066c2f522--- /dev/null+++ b/examples/tuvio-td50ufbcv5/debloat.txt@@ -0,0 +1,97 @@+# Tuvio TD50UFBCV5 (50", 4K, Yandex Market brand), built by Changhong:+# ro.product.model "AI PONT", product DVB96, device/board central, MediaTek m7632, armv7l,+# Google TV 14 (API 34), firmware UKNV.260506.001, about 1.8 GB RAM, UI 1920x1080 at 320 dpi.+# Same board and firmware as examples/tuvio-td43ufbcv5/ (43") and examples/benq-e55-735 (DVB96BQ).+# No Yandex apps preinstalled.+#+# Tested on the TV on 1 November 2026, batch by batch, with two reboots: one in the middle (it ends+# the ADB session, which has to be authorised again) and one after the Home handover, as the last+# step. Home, the Inputs menu (TV_INPUT), switching to HDMI, YouTube playback and the real remote+# checked after each; no FATAL or ANR in logcat, no crash buffer entries. Same-day test, not a+# multi-day soak.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tuvio-td50ufbcv5/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tuvio-td50ufbcv5/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+# restore.sh does not put the screensaver back: the stock value is+# com.google.android.apps.tv.dreamx/.service.Backdrop (screensaver_components and _default_component).+#+# HOME candidates: launcherx (priority 2), setupwraith/.RecoveryActivity (priority 1), tv.settings/.FallbackHome.+# Not installed on this set: com.google.android.videos (the Google TV app, the source of the home+# screen's recommendations).+#+# Quirks on this firmware, all checked on the TV:+# - Port 5555 answered after the reboot that follows turning on USB + Wireless debugging.+# - `cmd package set-home-activity com.gathin.tvhome/.MainActivity` prints Success but Home stays on+# launcherx while it is enabled (priority 2). Home moves only once launcherx is disabled; set it+# again after that and confirm with `dumpsys activity activities | grep mFocusedApp`.+# - The Wi-Fi network saved in the first-run wizard belonged to setupwraith (cname=...setupwraith).+# Forget and re-join it in Settings first; it then belongs to android.uid.system:1000 and setupwraith+# can go. With setupwraith disabled, RecoveryActivity never started (logcat) and Home has no delay.+# Without that, the TV drops off Wi-Fi and off ADB together with the network.+# - The IR remote ("MStar Smart TV IR Receiver", vendor 3697 product 0001):+# Input sends KEYCODE_TV_INPUT, routed by com.mediatek.tv.service to the system Inputs menu: works+# without any helper. KEYCODE_TV opens the Live TV app. YouTube works with the stock launcher gone.+# The Settings (gear) button arrives as scancode 498 (KEY_BRL_DOT2) and does nothing once launcherx+# is disabled. settings_key_scancodes 498 with HOME_KEY_SERVICE=1 brings it back, BUT with any+# key-filtering accessibility helper bound, a held volume button steps only once or twice instead of+# ramping (volume repeat is back as soon as the helper is off). Kept off here; Settings stays+# reachable from the launcher's Settings pill.+# The Netflix button is KEYCODE_STEM_1 -> com.mediatek.tv.service NetflixKeyReceiver; with Netflix+# disabled it does nothing (app_keys could map it to another app).+# - com.mediatek.androidbox (WFDSinkTest_CH) has a MiracastService and uses com.mediatek.wfdsink: on+# this set it is the Miracast receiver, not just a test app.+# - Standby is MediaTek suspend: from deep standby the Bluetooth remote cannot wake the TV, the IR+# remote and the power button can. That is not damage.+# - Android 14 hides the Wi-Fi name from the launcher on this firmware: its privacy service puts the+# location master switch back off by itself, so the launcher's network pill says "Wi-Fi".+#+# KEEP, do not disable:+# - com.mediatek.tv.service, com.mediatek.tvinput, com.mediatek.wwtv.tvcenter, com.mediatek.wwtv.setupwizard,+# com.google.android.tv.inputplayer, com.mediatek.android.tv.globalkeyoverlay: Live TV, HDMI, Inputs key.+# - com.mediatek.autopair (remote pairing), com.homwee.synckey (remote keys),+# com.google.android.tv.remote.service (phone remote).+# - com.homwee.factory, com.mediatek.tv.factorykey: also handle key broadcasts. Never LAUNCH them.+# - com.homwee.dynamicbacklight, com.homwee.lightsensorservice: picture and auto brightness.+# - com.homwee.upgrade, com.homwee.dmt.upgrade: firmware updates.+# - com.dolby.android.audio.service, Play Store / Services / GSF, Gboard, WebView.+# - com.google.android.katniss (voice search), com.mediatek.android.leanbacklauncher.partnercustomizer+# (MediaTek launcher customization, lives in /vendor/odm): both left alone.++# Batch 1: telemetry and ad services+tv.anoki.acr.anokiacroptin # automatic content recognition (reports what is on screen)+com.android.adservices.api # Privacy Sandbox ads+com.android.ondevicepersonalization.services+com.android.federatedcompute.services+com.google.android.feedback+com.android.tv.feedbackconsent+com.google.android.partnersetup # partner setup: Phenotype flags, RLZ pings, partner app auto-installs++# Batch 2: vendor and Google extras+com.homwee.store # Changhong app store+com.homwee.help # e-manual+com.google.android.play.games+com.google.android.syncadapters.calendar++# Batch 3: the owner's own apps, and the casting and mirroring apps: this set has them off, they are+# commented out here so a set whose owner uses them keeps them.+# com.netflix.ninja # Netflix+# com.amazon.amazonvideo.livingroom # Prime Video+# com.google.android.youtube.tvmusic # YouTube Music+# com.google.android.apps.mediashell # Chromecast+# com.homwee.mmp.screenshare # AirPlay receiver (iPhone casting)+# com.homwee.multiscreenshare # screen sharing+# com.mediatek.androidbox # WFDSinkTest_CH: the Miracast receiver on this set+# com.homwee.mmp.fileexplorer # USB file browser ("Media Player")+# com.homwee.mmp.imageplayer # USB photo viewer++# Batch 4: screensaver. First set the launcher's clock as screensaver:+# settings put secure screensaver_components com.gathin.tvhome/.ClockDream+# settings put secure screensaver_default_component com.gathin.tvhome/.ClockDream+com.google.android.apps.tv.dreamx # ambient mode, mixes recommendations into the screensaver++# Batch 5: stock home, LAST, only after launcher/ is installed and confirmed as Home.+# Before setupwraith: `dumpsys wifi | grep -o 'cname=[^ ]*'`; if the Wi-Fi network belongs to it,+# forget and re-join the network in Settings first, or the TV drops off Wi-Fi.+com.google.android.tungsten.setupwraith # disable before launcherx; costs phone casting after a reboot (the Cast receiver reads its credentials from setupwraith)+com.google.android.apps.tv.launcherx # then: cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivitydiff --git a/examples/tuvio-td50ufbcv5/home.png b/examples/tuvio-td50ufbcv5/home.pngnew file mode 100644index 000000000..50472ba4aBinary files /dev/null and b/examples/tuvio-td50ufbcv5/home.png differdiff --git a/examples/tuvio-td50ufbcv5/tv.json b/examples/tuvio-td50ufbcv5/tv.jsonnew file mode 100644index 000000000..978787741--- /dev/null+++ b/examples/tuvio-td50ufbcv5/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Tuvio TD50UFBCV5 (Changhong AI PONT, DVB96, MediaTek m7632), Russia",+ "os": "Google TV 14",+ "brand": "Tuvio",+ "notes": "Same board and firmware as the Tuvio TD43UFBCV5: Anoki ACR, adservices/federated compute, Google feedback, partnersetup (Phenotype, partner auto-installs), Homwee store/help, Play Games and dreamx off; Netflix, Prime Video, YouTube Music, Chromecast, AirPlay, Miracast (`com.mediatek.androidbox` is the receiver here) and the USB media apps off by the owner's choice, so they are commented out; voice assistant, Play Store, Live TV, HDMI and remote pairing kept; setupwraith owned the saved Wi-Fi (forget and re-join it first); Home moves only once launcherx is disabled; IR remote Settings key is scancode 498 but any key helper kills volume repeat, so it is left off; 1.8 GB; reboot-checked"+}