Skip to content

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

examples/tcl-g09: TvSettings pins itself with ttvs disabled; the appops way out (#887)

Cristian Rojaseac33a40668c
diff --git a/examples/tcl-g09-google-tv/README.md b/examples/tcl-g09-google-tv/README.md
index d300d9ec9..e209dfb74 100644
--- a/examples/tcl-g09-google-tv/README.md
+++ b/examples/tcl-g09-google-tv/README.md
@@ -99,3 +99,10 @@ good when launcherx was disabled — re-enabling every debloated package did not
- Firmware updates come through Play Services and are untouched.
- Screenshots come out black while HDMI or Live TV is on screen; press Home first.
- Switch USB debugging off when you're done; the launcher keeps working without it.
+- With `com.tcl.ttvs` disabled, TvSettings falls back to TCL's own app tracker: a foreground service
+ (`com.tcl.awareness.component.services.LoopTaskService`) that reads the open app every 2 s and keeps
+ TvSettings (77-90 MB) pinned in memory for good. Enabling ttvs again is no cure, since it runs the same
+ polling and turns its BI reporting back on. Instead, take the foreground away from TvSettings:
+ `adb shell appops set com.android.tv.settings START_FOREGROUND ignore`. The service then runs as a plain
+ one, TvSettings drops to cached and Android can reclaim it; TCL's quick menu (the remote's Menu key)
+ still opens. Undo with `allow` instead of `ignore`. Details in #887.
diff --git a/examples/tcl-g09-google-tv/debloat.txt b/examples/tcl-g09-google-tv/debloat.txt
index 52f2f2ac8..faa02934e 100644
--- a/examples/tcl-g09-google-tv/debloat.txt
+++ b/examples/tcl-g09-google-tv/debloat.txt
@@ -13,7 +13,7 @@
# Firmware updates come through Play Services (gms SystemUpdatePanoActivity); there is no TCL OTA package.
# TCL telemetry and analytics
-com.tcl.ttvs # TCL BI/awareness/identifier services
+com.tcl.ttvs # TCL BI/awareness/identifier services; see the README on TvSettings without it
com.tcl.logkit # log capture and upload
com.tcl.interactive # TCL TIAS background service
com.google.android.feedback