Skip to content

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

docs: the Cast receiver frozen by Android 14's app freezer, and the binding that keeps it awake (TCL G08 US)

Eric Miller11993bb0513c
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
index 685440fd8..7c061075c 100644
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@ -647,6 +647,19 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/
com.google.android.apps.mediashell"` restarts it (the TV starts it again on demand), and
advertising returned within seconds, without a reboot. Device notes:
[TCL 75QM751G](devices/tcl-75qm751g-qm7.md).
+ On Android 14 the receiver may be frozen rather than hung: with launcherx disabled nothing keeps it
+ above the cached state, and the cached-app freezer stops it a few minutes after each wake. A TCL Smart TV Pro
+ (`G08_4K_US`, `UTT2.250416.001 AU16`) showed `isFrozen=true` and `curProcState=19` in
+ `tools/tv.py "dumpsys activity processes | grep -A3 mediashell"`, and `ActivityManager: freezing <pid>
+ com.google.android.apps.mediashell` in `logcat` every two or three minutes, with the same slow and
+ missing discovery and, once, the `CLOSE_WAIT` sockets on 8009. A force-stop only helps until the next
+ freeze. What lasts is an app that is always running binding the receiver: there, the Home app binding
+ `com.google.android.apps.mediashell/.CastReceiverService` (action `com.google.cast.action.BIND`, with
+ the package in its `<queries>`) moved it to `vis` with `(service)` in
+ `tools/tv.py "dumpsys activity oom | grep -A1 mediashell"`, and it has not frozen since. This repo's
+ launcher does not do that today. That the freezing causes the lost discovery is inferred from the two
+ showing up together, not proven: if `isFrozen=true` is not there, the receiver is hung, as above.
+ [The G08 US notes](../examples/tcl-g08-us-google-tv/README.md#fourth-unit-cast-and-the-freezer).
- **The TV drops off Wi-Fi every minute right after the install**, seen on Google TV 14 (Xiaomi
MiTV-MZTU0): the same setupwraith `.RecoveryActivity` took Home and system_server crash-looped
on it. The install script now starts the new launcher before disabling the stock one, sets the
diff --git a/examples/tcl-g08-us-google-tv/README.md b/examples/tcl-g08-us-google-tv/README.md
index 2dbcb4343..07883ffce 100644
--- a/examples/tcl-g08-us-google-tv/README.md
+++ b/examples/tcl-g08-us-google-tv/README.md
@@ -109,3 +109,20 @@ launcherx for the reference launcher. All of it came through a reboot the same d
```
The held-volume trade described above applies to this helper; it was not measured on this unit.
+
+## Fourth unit: Cast and the freezer
+
+Another `G08_4K_US` set on `UTT2.250416.001 AU16`, in Google TV basic mode with no account, launcherx and the setup
+wizard disabled for a custom Home app. Seen 22 and 23 October 2026.
+
+- **Cast froze.** With launcherx off, `com.google.android.apps.mediashell` sat in the cached state and Android 14's
+ freezer stopped it every few minutes (`isFrozen=true`, `curProcState=19`, and `ActivityManager: freezing <pid>
+ com.google.android.apps.mediashell` in `logcat`). Phones found the TV slowly or not at all, and once its 8009
+ connections sat in `CLOSE_WAIT`. Having the Home app bind `.CastReceiverService` (action
+ `com.google.cast.action.BIND`) kept it at `vis (service)` in `dumpsys activity oom`, and it has not frozen since.
+ Details and the caveat in
+ [TROUBLESHOOTING](../../docs/TROUBLESHOOTING.md#working-on-the-tv), under "Casting disappears although the Cast
+ receiver is still running".
+- **Reinstalling the Home app can switch the TV to an input.** While Home restarts, TCL's player `com.tcl.tv` is next
+ in the back stack: it resumes, re-tunes its last input (here the AirPlay input) and stays in front.
+ `am force-stop com.tcl.tv` before `pm install -r` avoids it.
diff --git a/examples/tcl-g08-us-google-tv/tv.json b/examples/tcl-g08-us-google-tv/tv.json
index fefced413..f6440a9a2 100644
--- a/examples/tcl-g08-us-google-tv/tv.json
+++ b/examples/tcl-g08-us-google-tv/tv.json
@@ -2,5 +2,5 @@
"tv": "TCL 75T7 / 55Q77K (Smart TV Pro, G08, G08_4K_US, MediaTek tcl9618), US firmware",
"os": "Google TV 14",
"brand": "TCL",
- "notes": "Same G08 board as the C755/QM6K/85RM7L lists, US build AU16: TCL TV+, messages, e-sticker, dashboard and home pushes, store/hotel/exhibit demo, log capture, Android 14 ad and privacy services, manual/repair/hearing/solo apps, TCL account, browser, Channel+, Alexa and AirPlay, US streaming preloads; ttvs, partnercustomizer, Chromecast and the USB player kept; launcherx and setupwraith off for a custom launcher; one day of use, first 35 reboot-checked; 55Q77K second unit: remote button codes, YouTube as a global key to launcherx, the setup wizard's saved Wi-Fi on an Ethernet set, Apps only mode; 55Q77K third unit: a stale wizard-owned Wi-Fi network removed from the shell, every app button mapped with one key helper"
+ "notes": "Same G08 board as the C755/QM6K/85RM7L lists, US build AU16: TCL TV+, messages, e-sticker, dashboard and home pushes, store/hotel/exhibit demo, log capture, Android 14 ad and privacy services, manual/repair/hearing/solo apps, TCL account, browser, Channel+, Alexa and AirPlay, US streaming preloads; ttvs, partnercustomizer, Chromecast and the USB player kept; launcherx and setupwraith off for a custom launcher; one day of use, first 35 reboot-checked; 55Q77K second unit: remote button codes, YouTube as a global key to launcherx, the setup wizard's saved Wi-Fi on an Ethernet set, Apps only mode; 55Q77K third unit: a stale wizard-owned Wi-Fi network removed from the shell, every app button mapped with one key helper; fourth unit: Cast frozen by Android 14's freezer with launcherx off, kept awake by a Home app binding CastReceiverService"
}