Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
docs: on a TCL C728 the main log is under a minute long, and a long press can't be injected
Caner49ee83424425
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex e6e74fe45..3e85e024a 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -41,6 +41,10 @@ DynamicAnimation, no Kotlin, no Compose, no network. It targets TVs with 1 GB ofthen hold it for a second:`tools/tv.py 'e=/dev/input/event1; sendevent $e 1 352 1; sendevent $e 0 0 0; sleep 1.2; sendevent $e 1 352 0; sendevent $e 0 0 0'`.This needs the shell user in the `input` group (`tools/tv.py id`).+ SELinux can refuse it even then: on a TCL 55C728 (Google TV 11, enforcing) the shell is in `input`,+ yet `sendevent` fails with `Permission denied` and `logcat` shows+ `avc: denied { write } ... scontext=u:r:shell:s0 tcontext=u:object_r:input_device:s0`, while+ `--longpress` arrives as a short press too. On a set like that, test long presses with the remote.Build with `TV_HOST=<ip> launcher/build-and-install.sh` (JDK 17, Android SDK platform 34 andbuild-tools 34.0.0; on macOS `brew install openjdk@17 android-commandlinetools` thendiff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex b7ae0541a..17ce14e0f 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -53,6 +53,13 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/- **Chained `pm` commands** (`pm disable a; pm disable b`) may silently stop after the first. Runone per shell call; `--batch` does exactly that.- **Large pushes hang** through the Python client. Use `tools/b64push.py` for APKs.+- **A `logcat` without the line you expected is not proof that nothing happened.** On a TCL 55C728+ (`G05_4K_GB`, Google TV 11) the main buffer is 1 MiB (`persist.logd.size.main`), and the TV's own+ HDMI, ARC and media logging fills it in well under a minute; around power-on it held about 30+ seconds. A wake or boot event read a minute later is already gone. Enlarge the buffer for the+ session with `tools/tv.py 'logcat -G 16M'` (`logcat -g` shows the size; a reboot brings back the+ firmware's), or keep `logcat` running from before the event. For sound, `dumpsys audio` keeps a+ history of player events that outlasts the log.- **Every way of disabling a package is refused**, not just one. On a Fire TV Box 2015 (`sloane`,Fire OS 5 / Android 5.1) `pm disable-user --user 0` returns `SecurityException`,`pm uninstall --user 0` returns `DELETE_FAILED_INTERNAL_ERROR`, and `pm hide` reports success