Skip to content

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

examples: add Chromecast with Google TV HD (boreal, Google TV 14)

timhayforde9a3a37c4f0c
diff --git a/README.md b/README.md
index c44fe50c9..70b5cb511 100644
--- a/README.md
+++ b/README.md
@@ -130,6 +130,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors
| CHiQ AI PONT (Changhong GTVU65, dangni, MediaTek mt5867) | Google TV 14 |
| CHiQ AI PONT (DVB93CQ) | Android TV 11 |
| Chromecast with Google TV 4K (sabrina) | Google TV 14 |
+| Chromecast with Google TV HD (boreal) | Google TV 14 |
| Compac ATV R2 (SCBC R2, Realtek RTD285O) | Android TV 9 |
| Dialog ViU (SEI Robotics SEI103DL, Amlogic, NES middleware), Sri Lanka | Android TV 9 |
| EKO 2K Google TV (MTC-built, tennoji, MediaTek mt5867 / T56) | Google TV 14 |
diff --git a/examples/README.md b/examples/README.md
index b27d8ceaa..a1d13b234 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -24,6 +24,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `chiq-gtvu65/` | CHiQ AI PONT (Changhong GTVU65, dangni, MediaTek mt5867) | Google TV 14 | Google ad services and auto-installs, Homwee store/help; 1 GB; setupwraith must go (RecoveryActivity component cannot be disabled alone); MediaTek partnercustomizer safe to disable (reboot-checked) |
| `chiq-ai-pont/` | CHiQ AI PONT (DVB93CQ) | Android TV 11 | Anoki ACR, FAST channels, AI PONT, Homwee services |
| `google-chromecast-gtv-4k/` | Chromecast with Google TV 4K (sabrina) | Google TV 14 | Google telemetry and ad services, ambient mode, launcherx + setupwraith; wireless-debugging pairing, YouTube button remap; casting needs setupwraith (its CastInfoProvider holds the receiver's credentials) |
+| `google-chromecast-gtv-hd/` | Chromecast with Google TV HD (boreal) | Google TV 14 | Same build as the 4K: Google telemetry and ad services, ambient mode, launcherx + setupwraith; casting needs setupwraith (Cast Fix re-provisions the receiver at boot), and setupwraith owns Wi-Fi joined during setup; 1.4 GB, tight storage |
| `google-tv-streamer-4k-kirkwood/` | Google TV Streamer 4K (kirkwood, GZRNL) | Google TV 14 | Google telemetry and ad services; setupwraith must go (package level: its RecoveryActivity claims HOME and crash-loops system_server), so the cast credentials have to be re-provisioned with an enable/wait/disable ritual after every reboot; the launcher HOME intent-filter priority is ignored on this build; wireless-debugging pairing, YouTube button remap |
| `compac-atv-r2/` | Compac ATV R2 (SCBC R2, Realtek RTD285O) | Android TV 9 | Same SCBC platform and build as the SANYO ATV R2: data-consent agent, Vewd, S-Channel rows, E-SHOW demo, recommendation rows, partner auto-installs, TV Booster; `com.realtek.leanbacklauncher.partnercustomizer` must stay or the stock Home loses its Inputs button; OTA, Assistant and FastCast kept, Chromecast off by choice |
| `coocaa-k3-pro-90p3d-max/` | Skyworth Coocaa K3 Pro 90P3D Max (8R145_P3DM, Realtek RTD2885N), China market | Android 11 (Coocaa OS) | First China-market Coocaa (Realtek) list; Coocaa ad SDK, ACR, telemetry, push, silent auto-install and Coocaa content apps off; NEVER disable com.tianci.movieplatform (boot hangs on the COOCAA logo, factory reset only); Home key hard-coded to the Coocaa launcher, no BOOT_COMPLETED broadcast; 23 packages, reboot-checked |
diff --git a/examples/google-chromecast-gtv-hd/debloat.txt b/examples/google-chromecast-gtv-hd/debloat.txt
new file mode 100644
index 000000000..f22eb63c2
--- /dev/null
+++ b/examples/google-chromecast-gtv-hd/debloat.txt
@@ -0,0 +1,97 @@
+# Chromecast with Google TV HD (2022, device boreal, product boreal, Amlogic S805X2), 1.4 GB RAM
+# Google TV 14 (SDK 34), build UTTC.250917.004 (14193937), security patch 2025-10-01
+#
+# Apply: TV_HOST=<ip> tools/disable.sh examples/google-chromecast-gtv-hd/debloat.txt
+# Undo: TV_HOST=<ip> tools/restore.sh examples/google-chromecast-gtv-hd/debloat.txt com.google.android.apps.tv.launcherx
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Same firmware build as the 4K model, so examples/google-chromecast-gtv-4k applies almost as is; this
+# list is that one minus com.google.android.apps.tv.netoscope, which the HD doesn't ship, plus the Play
+# Auto Installs config stub.
+# Stock launcher: com.google.android.apps.tv.launcherx. No Live TV app and no HDMI inputs (it's a dongle):
+# leave live_tv_package empty (a theme with "live_tv_package": "" does it without a rebuild).
+#
+# Known quirks on this firmware:
+# - ADB: the same one-time pairing as the 4K (Developer options > Wireless debugging > Pair device with
+# pairing code, `adb pair`, then `adb tcpip 5555` on the device `adb devices` lists). Port 5555 closes
+# again on every reboot and Wireless debugging switches itself off; turn it back on (no new pairing
+# code needed, stock adb reconnects by mDNS) and run `adb tcpip 5555` again.
+# - WARNING: Wi-Fi joined during the first-run setup belongs to setupwraith (`dumpsys wifi | grep -o
+# 'cname=[^ ]*'` printed com.google.android.tungsten.setupwraith), and Android deletes such a network
+# when setupwraith is disabled (see examples/sony-bravia-9-ii). The HD has no Ethernet, so that drops
+# ADB too. Before disabling setupwraith: Settings > Network & Internet > your network > Forget, then
+# join it again. The owner then reads android.uid.system:1000, and disabling setupwraith kept Wi-Fi.
+# tools/disable.sh skips setupwraith while it still owns the network.
+# - setupwraith has to go before the launcher can own Home, as on the 4K: launcherx is HOME priority 2,
+# setupwraith/.RecoveryActivity priority 1. launcher/build-and-install.ps1 then switched Home on the
+# first try.
+# - WARNING: disabling setupwraith breaks casting from phones ("Untrusted device ... couldn't be
+# verified"). setupwraith hosts the CastInfoProvider the Cast receiver (mediashell) loads its factory
+# device credentials from; without it logcat shows `cast_ClientAuthCredsFactoryProvisioned: Cannot get
+# device credentials` once a minute and auth replies go out unsigned. adb can't disable RecoveryActivity
+# alone ("Shell cannot change component state"). Either keep setupwraith and launcherx (debloat only),
+# or enable setupwraith until mediashell logs `Created singleton instance of ClientAuthSigner` and then
+# disable it again: the receiver keeps the credentials until it restarts, so that is needed after every
+# reboot and whenever the receiver restarts (crash, force-stop, update). Cast Fix (SHOWCASE.md) does it
+# at boot; it ran on every reboot during the trial and phone casting worked each time. Details in
+# docs/TROUBLESHOOTING.md ("Casting from a phone fails with Untrusted device", issue #361).
+# - With launcherx disabled the remote's YouTube button does nothing (the Netflix button still works).
+# Same fix as the 4K: Key Mapper's -foss APK from GitHub (4.6.1 here), `pm install` from
+# /data/local/tmp, then the `pm grant` / `settings put secure enabled_accessibility_services` lines
+# from the 4K list, and `dumpsys deviceidle whitelist +io.github.sds100.keymapper` to clear its
+# battery warning. Don't `am force-stop` Key Mapper over ADB: that unbinds its accessibility service
+# until the setting is cleared and set again. Record the "Button 3" trigger with the physical remote.
+# - The "type on your phone" prompt that never works: default_input_method was
+# com.google.android.tv.remote.service/.ImeBridgeService before anything here was changed. Gboard is
+# installed and enabled, so the on-screen keyboard comes back with
+# `ime set com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME`.
+# - Disabling dreamx leaves screensaver_components pointing at it. Point it at the launcher's clock:
+# settings put secure screensaver_components com.gathin.tvhome/.ClockDream
+# `cmd dreams start-dreaming` needs root here; to see the screensaver, set screen_off_timeout to
+# 60000 for a minute and put it back (600000 by default).
+# - Location is off by default, so the launcher's Wi-Fi pill shows "Wi-Fi" instead of the network name.
+# - Only 1.4 GB RAM (about 480 MB available with Home idle) and a 4.3 GB /data partition that was 82%
+# full before anything was installed; the launcher's 270 KB APK fits, larger sideloads may not.
+# - com.google.android.tvrecommendations and com.google.android.apps.education.cast2class ship
+# disabled at the factory, as on the 4K. Don't add them to a restore list.
+# - AdGuard Private DNS (README) validated; Spotify loads and Tubi plays with it on.
+#
+# Lived with from 2026-10-19 to 2026-10-21 (several reboots and a full power cycle), nothing re-enabled.
+# The new launcher comes back as Home with Wi-Fi connected; the Assistant mic button, the remote's TV
+# volume buttons, Home from inside an app, PBS Kids, Tubi and Spotify playback, casting from a phone
+# (YouTube) and a tablet (Disney+) with Cast Fix, and Play Store app updates (com.wbd.stream updated
+# on 2026-10-21) all work.
+#
+# Kept on purpose: Google Assistant (com.google.android.katniss), Cast receiver
+# (com.google.android.apps.mediashell), phone remote (com.google.android.tv.remote.service), remote
+# pairing and TV control setup (com.google.android.tv.axel), Play Store /
+# Play Services, Gboard, Bluetooth, com.google.android.tv.dfuservice (remote firmware updates),
+# com.netflix.tokenmanager.
+
+# Telemetry, feedback and ads
+com.google.android.feedback
+com.android.tv.feedbackconsent
+com.google.android.tv.remotecontrol.logging # remote usage logging
+# The next four are Privacy Sandbox / federated-learning Mainline modules: worked here, re-enable if
+# the Play Store or Assistant misbehave.
+com.google.android.federatedcompute
+com.google.android.ondevicepersonalization.services
+com.google.android.adservices.api # Privacy Sandbox ad services
+com.google.android.ext.adservices.api
+android.autoinstalls.config.google.gtvpai # Play Auto Installs config stub, only read during setup
+
+# Preloaded apps
+com.google.android.play.games
+com.google.android.videos # Google TV / Play Movies; re-enable for purchased titles
+com.android.printspooler
+com.google.android.marvin.talkback # re-enable if you need the screen reader
+
+# Google ambient mode screensaver (replaced by the launcher's Clock screensaver)
+com.google.android.apps.tv.dreamx
+com.google.android.backdrop
+
+# Stock home. launcher/build-and-install.sh disables launcherx itself once the new launcher is installed
+# and verified, and restore.sh re-enables it; setupwraith has to go too (see quirks: fix Wi-Fi ownership
+# first, and it breaks casting), so it stays in the list for restore.sh to bring back.
+# com.google.android.apps.tv.launcherx
+com.google.android.tungsten.setupwraith # setup wizard; its RecoveryActivity otherwise takes over Home