Skip to content

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

docs: TCL's Android 14 boot guard needs ASSOC_START, and launcherx cannot be disabled again from Apps

dhungana-dinesh7f96e3f797f8
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
index 5b29ecf09..9f1043d0d 100644
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@ -197,6 +197,20 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/
launcher with `stock_home_redirect` (`themes/README.md`) instead of disabling it. Seen on a TCL Smart TV
Pro (`G03_4K_US`, Google TV 11, GTV93,
[#1653](https://github.com/Gathin23/cleanyourtv/issues/1653)).
+- **Once launcherx is enabled again, Apps offers no Disable for it, so Home cannot be handed back without
+ ADB** (TCL Smart TV Pro, `G10_4K_GB`, Android 14, `UTT2.250416.001`). Settings > Apps > See all apps >
+ Google TV shows Enable while the package is disabled, and once it is enabled the same screen offers only
+ Force stop and Uninstall updates: there is no Disable to press, and Uninstall updates reverts launcherx to
+ its factory version while leaving it installed and enabled, so it still wins Home on its priority. Neither
+ `cmd role add-role-holder android.app.role.HOME com.gathin.tvhome` nor
+ `cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivity` moves Home while launcherx is
+ enabled: the role holder is recorded on the new launcher and Home still opens launcherx, and
+ `set-home-activity` answers `Success` and changes nothing, so the system Home picker behind it behaves the
+ same. Only disabling the package does, which after enabling it again needs ADB:
+ `pm disable-user --user 0 com.google.android.apps.tv.launcherx`, then
+ `cmd package clear-package-preferred-activities`, because the preferred-activity record still names
+ launcherx and Home otherwise falls through to `FallbackHome`, a blank screen. Plan for it before enabling
+ launcherx on a set where the person cannot re-open ADB themselves.
- **Ambient mode's "Select albums" closes at once, or says "Unable to load content"**, while the
slideshow itself keeps playing with launcherx and setupwraith off. Screen saver > Ambient mode
settings (`am start -a dreamx.two.panel.SETTINGS -p com.google.android.apps.tv.dreamx`) > Google
@@ -1027,6 +1041,22 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/
`tools/tv.py 'am start -n com.android.systemui/.Somnambulator'`, then
`tools/tv.py 'dumpsys dreams | grep mCurrentDreamName'`. The key helpers hit the same denial: see
[Accessibility helper enabled but the remote button does nothing](#accessibility-helper-enabled-but-the-remote-button-does-nothing).
+- **On Android 14 the op is `ASSOC_START`, and `AUTO_START` alone is not enough** (TCL Smart TV Pro,
+ `G10_4K_GB`, Android 14, `UTT2.250416.001`). `cmd appops set <package> APP_AUTO_START allow` is refused
+ on this firmware with `Unknown operation string`, and the denial for a content provider is the start
+ association, not the start: with `AUTO_START` at `allow` and `ASSOC_START` at `ignore`, the firmware will
+ not start the helper's process for the caller, so the provider query throws and a launcher that hides its
+ row when the provider cannot be read shows nothing at all. The reading works from a shell
+ (`content query --uri content://<authority>/today` prints a row) while the launcher's own query fails,
+ which is what makes it look like an app bug. Allow both and save them:
+
+ ```sh
+ tools/tv.py 'appops set <package> ASSOC_START allow; appops write-settings'
+ ```
+
+ `appops write-settings` matters here as it does for `AUTO_START`: app-ops reach the disk lazily and a
+ plain reboot drops an unsaved grant. Check with
+ `tools/tv.py 'cmd appops get <package> ASSOC_START'`. Verified on that set across reboots and reinstalls.
- **The TV wakes from standby back on the last HDMI input, and `power_on_home` takes about 5 s or misses it**
(Philips 65OLED706, Android TV 11): the firmware only resumes the `org.droidtv.playtv` window it left, which
sends its window event once the input has a picture, if at all. Set `power_on_home_always` too: Home comes