Skip to content

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

Merge PR #422: docs: Chromecast casting needs setupwraith (CastInfoProvider)

Gathin2313eca23d7991
diff --cc README.md
index 4bca586c8,98b91609a..b948146df
--- a/README.md
+++ b/README.md
@@@ -374,7 -347,7 +374,7 @@@ three that matter most
- **macOS blocks `adb connect`** ("No route to host") under Local Network privacy. `tools/tv.py` avoids the binary.
- **Disable the stock launcher only after the new one is installed and running**, or Home lands on a factory test app. The install script orders this for you.
- - **On Google TV the setup wizard** (`com.google.android.tungsten.setupwraith`) can take Home and crash-loop the system after the stock launcher is disabled. Disable it too, and list it in your `debloat.txt` so restore brings it back. But check `dumpsys wifi | grep -o 'cname=[^ ]*'` first: if the Wi-Fi network was saved during setup it belongs to setupwraith, and disabling it deletes the network (re-join it in Settings first; `tools/disable.sh` skips setupwraith until you do). Stuck already? `tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx'`.
-- **On Google TV the setup wizard** (`com.google.android.tungsten.setupwraith`) can take Home and crash-loop the system after the stock launcher is disabled. Disable it too, and list it in your `debloat.txt` so restore brings it back. But check `dumpsys wifi | grep -o 'cname=[^ ]*'` first: if the Wi-Fi network was saved during setup it belongs to setupwraith, and disabling it deletes the network (re-join it in Settings first; `tools/disable.sh` skips setupwraith until you do). On Google's own Chromecast, disabling it also costs phone casting (YouTube says "Untrusted device") because the Cast receiver takes its credentials from setupwraith; keep it, or re-enable it for a minute after each boot and disable it again. Stuck already? `tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx'`.
++- **On Google TV the setup wizard** (`com.google.android.tungsten.setupwraith`) can take Home and crash-loop the system after the stock launcher is disabled. Disable it too, and list it in your `debloat.txt` so restore brings it back. But check `dumpsys wifi | grep -o 'cname=[^ ]*'` first: if the Wi-Fi network was saved during setup it belongs to setupwraith, and disabling it deletes the network (re-join it in Settings first; `tools/disable.sh` skips setupwraith until you do). On Google's own Chromecast it also costs phone casting, see [Troubleshooting](docs/TROUBLESHOOTING.md). Stuck already? `tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx'`.
## Questions people ask
diff --cc examples/README.md
index 919c25252,3771a7aef..861cbacb3
--- a/examples/README.md
+++ b/examples/README.md
@@@ -12,14 -11,10 +12,14 @@@ on that firmware, grouped and commented
| `amazon-fire-tv-stick-lite-2020/` | Amazon Fire TV Stick Lite, 1st gen 2020 (AFTSS, sheldon) | Fire OS 7.7.1.7 / Android 9 | Same build as the Toshiba list: Amazon telemetry, ACR, ad/recommendation feeders, Live tab, Shopping, Kids, Music/Photos/Silk, whole-home audio, Alexa extras incl. `com.amazon.aca` (Alexa hints, ~44 MB; voice search still works); five protected packages noted; voice search, Prime Video, miniTV, casting, OTA kept; privacy and Featured Content autoplay toggles; debloat only |
| `benq-e55-735/` | BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 | Homwee store/help, Anoki ACR, Google TV recommendations; wireless-debugging pairing, setupwraith, deep-standby notes |
| `benq-e55-750/` | BenQ E55-750 (Changhong AI PONT, DVB96BQ) | Google TV (Android 11) | Homwee store/help, Google TV recommendations and ambient mode; no ACR on this firmware; setupwraith, screensaver handover |
+| `byintek-u4/` | BYINTEK Love U4 projector, 1080P (Skyworth RG_HS352, HiSilicon Hi3751V350, 1 GB), Brazil | Android 9 | Zeasn ad/portal service (also hidden with root: it is persistent) and store, WPS Office, RuStore (reinstalled at boot if uninstalled), phone and setup leftovers, wired USB casting; ADB is behind a key sequence in BYINTEK settings, not Developer options; userdebug firmware; Inputs pill opens BYINTEK's own picker; launcher works (stock `com.zeasn.whale.saas`); config.json has the dock |
| `byintek-t5-max/` | BYINTEK T5 Max projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic), Brazil | Google TV 14 | Same stick/firmware as Wanbo X5 Pro; telemetry, Privacy Sandbox, xCPE, Skyworth device-info and factory test apps off; setupwraith kept (it owns the saved Wi-Fi here) and launcherx kept enabled as recovery while the fork is HOME; voice, Chromecast, OTA kept; autofocus/keystone/HDMI run by the projector mainboard, not Android |
+| `cecotec-shandao/` | Cecotec VQU10065S 65" QLED (Vestel-built, shandao, MediaTek), Spain | Android TV 14 | First Vestel list: Vestel reporter/logger, the "speed up" cleaner and SmartCenter (no UI, holds GET_TASKS + INTERNET, 75 MB resident), Google ad services and partner auto-installs, retail demo, Freeview Play (UK-market firmware, every uk.co.freeview.* already ships disabled); backdrop and tvrecommendations off once the new launcher owns Home; MediaTek partnercustomizer kept (crash-loops tv.service); devicelockcontroller is a protected package; 1.8 GB; reboot-checked |
| `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 |
+| `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 |
+| `eko-2k-google-tv-tennoji/` | EKO 2K Google TV (MTC-built, tennoji, MediaTek mt5867 / T56) | Google TV 14 | First EKO list: Anoki ACR opt-in, Android ad services, feedback, partner setup; Assistant, Miracast, Netflix, Prime Video, YouTube Music off by choice, Chromecast kept; setupwraith owned the setup Wi-Fi (forget and re-join first); `fusion.android.tv.demo` handles the Input key; Live TV takes the tvcenter launch entry, not the tuner passthrough URI; reboot-checked |
+ | `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) |
| `ffalcon-65s585c-pro/` | FFalcon (雷鸟) 鹤6 PRO 65S585C Pro (China, tcl_mt5879_cn, MediaTek MT9653) | Android TV 11 | Same platform and firmware build as tcl-q10g-pro; TCL boot ad, analytics, push, home recommendation cards and silent-install channels stay disabled across a reboot; OTA, account, voice, weather, album, WeChat and video call off by choice; debloat only, no third-party launcher or sideloading; reboot-checked |
| `freebox-player-pop/` | Freebox Player POP (Free, fbx8am, Amlogic), IPTV/DVB-T box | Android TV 10 | Free stats, Google feedback and recommendations, partner auto-installs, NES/CTC factory tests; French catch-up, kids and Free apps off by choice, Arte/Spotify/Stremio kept; OQEE is the stock home (HOME priority 3); Chromecast must stay for Spotify Connect; AdGuard DNS blocks pixel.spotify.com and breaks Spotify; 2 GB |
| `haier-android-tv-dvb2k/` | Haier Android TV DVB2K (broadway, HaierATVT56DVB) | Android TV 11 | Anoki ACR, retail demo, Haier content apps and auto-install; 1 GB, 720p; setupwraith left enabled |
diff --cc examples/google-chromecast-gtv-4k/debloat.txt
index 91522730a,ff577a733..de129b0c3
--- a/examples/google-chromecast-gtv-4k/debloat.txt
+++ b/examples/google-chromecast-gtv-4k/debloat.txt
@@@ -16,6 -16,17 +16,18 @@@
# - `cmd package set-home-activity com.gathin.tvhome` returns Success but launcherx stays the default.
# Disable BOTH com.google.android.apps.tv.launcherx and com.google.android.tungsten.setupwraith
# (setupwraith re-enables launcherx), only after the new launcher is installed.
-# - Disabling setupwraith also breaks casting from phones on this build. The Cast receiver
-# (com.google.android.apps.mediashell) reads its factory device credentials from a provider inside
-# setupwraith (com.google.android.libraries.tv.setupwraith.libs.castinfo.CastInfoProvider), so once
-# the wizard is gone and the device has rebooted, YouTube on the phone answers "Untrusted device ...
-# couldn't be verified" and the receiver logs "No private key, hence empty signature" every minute.
-# Keeping the provider while taking Home away does not work: pm disable-user on
++# - Disabling setupwraith also breaks casting from phones, reported on the Chromecast HD on the same
++# build (#361). The Cast receiver (com.google.android.apps.mediashell) reads its factory device
++# credentials from a provider inside setupwraith
++# (com.google.android.libraries.tv.setupwraith.libs.castinfo.CastInfoProvider), so once the wizard
++# is gone and the device has rebooted, YouTube on the phone answers "Untrusted device ... couldn't
++# be verified" and the receiver logs "No private key, hence empty signature" every minute. Keeping
++# the provider while taking Home away does not work: pm disable-user on
+ # setupwraith/.RecoveryActivity is refused with a SecurityException. Either debloat only (keep
+ # launcherx and setupwraith enabled), or re-enable setupwraith after each boot, wait a minute for
+ # "Created singleton instance of ClientAuthSigner" in logcat, then disable it again - the receiver
+ # holds the credentials in memory, so casting works until the next reboot
+ # (docs/TROUBLESHOOTING.md, "Casting fails with Untrusted device").
# - With launcherx disabled the YouTube button on the remote does nothing. It sends BUTTON_3
# (keycode 190). Button Mapper only remaps added buttons in its paid Pro version; Key Mapper
# (open source, keymapperorg/KeyMapper) does it for free. Play Store lists Key Mapper as incompatible