Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Add Toshiba (Vestel Cosmos170) Android TV 11 example

carlosmolados-droid782821bf8ea9
diff --git a/examples/README.md b/examples/README.md
index 701c189ac..9a7484cf6 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -106,6 +106,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `tcl-uniontv-latin-america/` | TCL UnionTV, Latin America (TCL-built like Thomson 32HE5800, Realtek RT2841) | Android TV 9 | TCL BI analytics, promo rows/partner customizer, app store, cleaner, user center; Ambient Mode, TTS, TalkBack and voice off; Chromecast and firmware updater kept; standby (STR) takes Ethernet down, no network wake |
| `telesystem-ont2hd/` | Tele System TS ON T2/HD (ONT2HD, SDMC, Amlogic), Italy | Android TV 11 | SDMC factory test/hardware info, partner configuration, Google recommendation rows and Play apps; Live TV `com.sdmc.tv` kept, updater and remote services kept; port 5555 open |
| `thomson-32he5800/` | Thomson 32HE5800 (TCL-built UnionTV, Realtek RT2841), Spain | Android TV 9 | TCL BI analytics, TCL app store/user center, TV Guard cleaner, Google recommendation rows; 1.4 GB low-RAM; voice, USB media players off by choice |
+| `toshiba-cosmos-android-tv/` | Toshiba (Vestel Cosmos170, yeoksam, MediaTek), Spain | Android TV 11 | First Vestel list: vestelreporter telemetry, retail demo, partner auto-installs, Google recommendation rows/feedback, Freeview Play remnants; voice, stock YouTube/YT Music, Prime Video, USB media player off by choice; OTA and Chromecast kept; 1 GB low-RAM; Live TV is `com.mediatek.wwtv.tvcenter` (`com.cltv.fast` is an OEM-disabled decoy); remote's YouTube/Prime keys are handled below Android and cannot be remapped; uk.co.freeview.* ships factory-disabled on Spain units |
| `toshiba-fire-tv-aftha004/` | Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 | Amazon ACR, metrics, shopping, tutorials, Miracast sink; streaming preloads off by choice; debloat only |
| `vidda-mt9653/` | Vidda VIDAA_TV (Hisense sub-brand; device MT9653, board mt5879), China JuUI | Android TV 11 | First JuUI-namespace list (`com.jamdeo.*`): telemetry, Alibaba/CIBN shopping and ad services, operator widget rows, retail/hotel/factory, the 拍信创意 ad screensaver, and two vendor homes (`com.jamdeo.tv.vod`, `com.keylab.speech.view.vidaa` secondscreen, which boots by component name and can only be disabled as a package); `com.hisense.tv.tiletransition` must stay or input switching silently stops working; Home key arrives as KEYCODE_F12 (scancode 102); source panel is the only input path (no TvInputManager); `ro.adb.secure=0`; 3.8 GB |
| `vu-4k-lushan/` | Vu 4K (HVCL, lushan, MediaTek), India | Google TV 12 | Vu/Hisense ACR (evservice), store mode, Alexa, Vu preloads, partner auto-installs; smartsense/aiot kept, setupwraith off for the launcher |
diff --git a/examples/toshiba-cosmos-android-tv/debloat.txt b/examples/toshiba-cosmos-android-tv/debloat.txt
new file mode 100644
index 000000000..ed4623f12
--- /dev/null
+++ b/examples/toshiba-cosmos-android-tv/debloat.txt
@@ -0,0 +1,63 @@
+# Toshiba (Vestel) Cosmos, Android TV 11 — Spain-market unit, UK/multi-market firmware
+# ro.product.model=Cosmos ro.product.name=Cosmos170 ro.product.device=yeoksam brand/manufacturer=Vestel
+# Fingerprint: Vestel/Cosmos170/yeoksam:11/RTOC.251019.001/14296264:user/release-keys
+# Build date 2025-10-20, security patch 2025-08-01, SDK 30, MediaTek platform, ro.config.low_ram=true (~1 GB).
+#
+# Match on the Vestel/Cosmos170/yeoksam fingerprint, not on the Toshiba badge: Vestel ships this
+# firmware across several European badge brands (Toshiba, JVC, Hitachi, Telefunken...). A Toshiba
+# Fire TV (examples/toshiba-fire-tv-aftha004) is a completely different platform; nothing here applies.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/toshiba-cosmos-android-tv/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/toshiba-cosmos-android-tv/debloat.txt com.google.android.tvlauncher
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Stock launcher: com.google.android.tvlauncher (pass it to restore.sh, as above).
+# Live TV app: com.mediatek.wwtv.tvcenter (.nav.TurnkeyUiMainActivity) — NEVER disable it.
+# NOT the live TV app: com.cltv.fast ("FAST" streaming channels, iWedia). Its activities ship
+# disabled by Vestel (disabledComponents), so it looks launchable in the resolver table but is not.
+# Keep also: com.vestel.tv.service, com.vestel.tv.backlight, com.vestel.tv.keycontroller (hardware),
+# com.vestel.tv.servicepatch + com.vestel.tv.rcupdater (firmware/remote updates, owner keeps updates),
+# com.mediatek.tvinput, com.mediatek.tv.service, com.mediatek.wwtv.tvcenter,
+# com.mediatek.tvinputservice.arbitratorservice (tuner/HDMI plumbing),
+# com.google.android.apps.mediashell (Chromecast built-in, owner uses it).
+#
+# QUIRKS ON THIS FIRMWARE:
+# - screencap prints "Init wrapper sys mutex successful..." junk to stdout before the PNG, so
+# `adb exec-out screencap -p` is corrupt. Use `screencap -p /sdcard/x.png` + `adb pull` instead.
+# - Port 5555 is closed until USB debugging has been toggled/authorised; it opened without a
+# separate Network-debugging switch on this unit. No Wireless-debugging (pairing) menu exists.
+# - The uk.co.freeview.* pack (BBC, ITV, Ch4/5, Freeview explore...) ships already disabled on
+# Spain-market units; it is not listed below because `pm list packages -d` already held it.
+# - The remote's YouTube and Prime Video buttons are handled by Vestel firmware below Android: the
+# IR driver logs "u4IRKey after convert: 0xffffffff" and no keycode reaches InputDispatcher
+# (getevent shows scancodes 0x129/0x13e, but the IR device's vendor keylayout drops them). With
+# their apps disabled the buttons simply do nothing; no launcher key service can remap them.
+# - The TV closes Wi-Fi (and ADB with it) in standby, and `settings put secure
+# enabled_accessibility_services` was found cleared once afterwards: re-check accessibility
+# services after a standby cycle if you rely on one.
+
+# --- Vestel telemetry and retail junk ---
+com.vestel.vestelreporter # Vestel analytics/telemetry uploader
+fusion.android.tv.demo # retail/shop demo loops
+android.autoinstalls.config.vestel.cosmos # partner auto-preinstall config
+
+# --- Google services nobody asked for ---
+com.google.android.tvrecommendations # home-screen recommendation rows
+com.google.android.leanbacklauncher.partnercustomizer # partner rows/channels for the stock launcher
+com.google.android.feedback # crash/feedback uploader to Google
+com.google.android.syncadapters.calendar # calendar sync, on a TV
+com.google.android.videos # Google TV / Play Movies storefront
+com.google.android.play.games # Play Games
+com.google.android.apps.nbu.smartconnect.tv # Smart Connect
+com.google.android.backdrop # ambient photo screensaver (launcher's ClockDream replaces it)
+
+# --- Owner's checklist choices (this unit: no voice, no stock YouTube, no Prime) ---
+com.google.android.katniss # Google Assistant / voice search (mic unused here)
+com.google.android.youtube.tv # stock YouTube (SmartTube kept instead)
+com.google.android.youtube.tvmusic # YouTube Music
+com.amazon.amazonvideo.livingroom # Prime Video (unused here)
+com.mediatek.wwtv.mediaplayer # USB media player; re-enable: pm enable --user 0 com.mediatek.wwtv.mediaplayer
+com.mediatek.tv.freeviewplay # Freeview Play (UK) integration, dead weight in Spain
+
+# --- Stock launcher: tools/disable.sh skips it until another app answers HOME ---
+com.google.android.tvlauncher # disable LAST, after launcher/build-and-install.sh