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
examples: add Epson LS800 laser projector (Askey HA90, Amlogic), Android TV 14
Adam Hansena3ef2a392528
diff --git a/README.md b/README.mdindex c44fe50c9..0cd8f100f 100644--- a/README.md+++ b/README.md@@ -133,6 +133,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Compac ATV R2 (SCBC R2, Realtek RTD285O) | Android TV 9 || Dialog ViU (SEI Robotics SEI103DL, Amlogic, NES middleware), Sri Lanka | Android TV 9 || EKO 2K Google TV (MTC-built, tennoji, MediaTek mt5867 / T56) | Google TV 14 |+| Epson LS800 laser projector (Askey HA90 module, sti6202d101, Amlogic) | Android TV 14 || FFalcon (雷鸟) 鹤6 PRO 65S585C Pro (China, tcl_mt5879_cn, MediaTek MT9653) | Android TV 11 || FFalcon (雷鸟) r34a0, China (V8-A920T01-LF1V147, Amlogic T920), 1 GB | Android 5.1.1 || Freebox Player POP (Free, fbx8am, Amlogic), IPTV/DVB-T box | Android TV 10 |diff --git a/examples/README.md b/examples/README.mdindex b27d8ceaa..20365c934 100644--- a/examples/README.md+++ b/examples/README.md@@ -29,6 +29,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `coocaa-k3-pro-90p3d-max/` | Skyworth Coocaa K3 Pro 90P3D Max (8R145_P3DM, Realtek RTD2885N), China market | Android 11 (Coocaa OS) | First China-market Coocaa (Realtek) list; Coocaa ad SDK, ACR, telemetry, push, silent auto-install and Coocaa content apps off; NEVER disable com.tianci.movieplatform (boot hangs on the COOCAA logo, factory reset only); Home key hard-coded to the Coocaa launcher, no BOOT_COMPLETED broadcast; 23 packages, reboot-checked || `dialog-viu-sei103dl/` | Dialog ViU (SEI Robotics SEI103DL, Amlogic, NES middleware), Sri Lanka | Android TV 9 | Dialog Axiata operator IPTV box: NES bug tracker, Dialog TR-069 remote management, NES Skyway boot ads and silent installs (likely OTA too), partner auto-installs, Google recommendations, factory test app, preloads; Chromecast, voice, remote updater and Backdrop listed as optional; Dialog's home `com.dialog.tv` last, needs `STOCK_LAUNCHER=none` and removes Dialog's channels (Dialog Play from Play is incompatible, a sideloaded copy fails PairIP); remote's Apps/Prime Video/Catch-up are NES keys 5116/5119/5122 that `app_keys` can remap; 1 GB; reboot-checked || `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 |+| `epson-ls800/` | Epson LS800 laser projector (Askey HA90 module, sti6202d101, Amlogic) | Android TV 14 | First Epson list: Google feedback, ad services, partner auto-installs, print spooler, Play Games, Instagram, Pluto TV, Epson Online Meetings; Epson projector-control packages kept, `com.epson.logcollection` kept (it owns Projector Settings > Information; turn the operation log off there); TV Recommendations is re-enabled by `com.droidlogic`; YouTube button hard-coded to YouTube Music, Apps button dead without tvlauncher; Wireless debugging only; config.json dock; reboot-checked || `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 || `ffalcon-r34a0-cn/` | FFalcon (雷鸟) r34a0, China (V8-A920T01-LF1V147, Amlogic T920), 1 GB | Android 5.1.1 | First Android 5.x-era FFalcon list; `pm disable-user` denied by SecurityException (shell uid=2000 → package uid=1000), everything uses `pm hide` and survives reboots; adb install blocked until `setprop persist.tcl.debug.installapk 1` + `persist.tcl.installapk.enable 1`; any HOME-category APK refused with INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES — the same signature gate as tcl-ak30a5/q10g-pro, verified by stripping the HOME category from the bundled launcher (minSdk 22), which then installed but crashes on 5.1 with logd off, so debloat only, stock CyberUI stays; boot ad, push popups (c2dm + messagebox), analytics, preloads, iFlytek voice off; TVBox, 云视听小电视, 千寻, 电视卫士, app store kept by choice; ADB opens from System Info with UP DOWN LEFT RIGHT, repeated 2–3 times; 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 |diff --git a/examples/epson-ls800/README.md b/examples/epson-ls800/README.mdnew file mode 100644index 000000000..6761624ed--- /dev/null+++ b/examples/epson-ls800/README.md@@ -0,0 +1,99 @@+# Epson LS800 (Android TV 14 laser projector)++Epson's Android TV module HA90 (built by Askey, board `sti6202d101`, Amlogic), firmware+UKG3.250826.001 (`u-2.05-U-0`, June 2026). Both halves work: the debloat list and the Clean Your TV+launcher as Home. Tested on 21 October 2026.++| File | What it is |+|---|---|+| `debloat.txt` | The 9 packages that were disabled, grouped and commented, with what to keep and why (`build-and-install.sh` disables the stock launcher on top) |+| `config.json` | Dock order and hidden tiles; push it with `tools/theme.sh` |+| `restore.sh` | Undo everything below in one go |++All commands run from the repo root, with the projector's IP in `TV_HOST`.++## Turning ADB on++Settings → Device Preferences → About → press OK on **Build** 7 times, then Developer options. This+firmware only offers **Wireless debugging** (TLS), not plain network ADB, so pair once with Google's+`adb` ([platform-tools](https://developer.android.com/tools/releases/platform-tools)):++1. Developer options → Wireless debugging → on → **Pair device with pairing code**.+2. `adb pair <ip>:<pairing port> <code>`, then `adb connect <ip>:<port shown under IP address & Port>`.+3. `adb tcpip 5555`, so `tools/tv.py` (port 5555) works. It came back by itself after a restart here.++Android switches Wireless debugging off whenever Wi-Fi drops, so pair again if the port disappears.++## Install, from scratch or again++```bash+TV_HOST=<projector-ip> tools/disable.sh examples/epson-ls800/debloat.txt+TV_HOST=<projector-ip> launcher/build-and-install.sh+TV_HOST=<projector-ip> tools/theme.sh examples/epson-ls800+```++Building needs JDK 17 and the Android SDK (`ANDROID_HOME`, platform 34). On Android 14,+`build-and-install.sh` pushes the APK and runs `pm install -r` itself, so no on-screen confirmation is+needed.++### Extras set on this unit++```bash+# Ad-blocking DNS (does not block YouTube ads). Undo: private_dns_mode opportunistic+TV_HOST=<projector-ip> tools/tv.py 'settings put global private_dns_specifier dns.adguard-dns.com'+TV_HOST=<projector-ip> tools/tv.py 'settings put global private_dns_mode hostname'++# Names in the Inputs menu (this firmware has no Inputs screen in Settings to rename them).+# Undo: settings delete secure tv_input_custom_labels+TV_HOST=<projector-ip> tools/tv.py "settings put secure tv_input_custom_labels 'com.droidlogic.tvinput%2F.services.Hdmi2InputService%2FHW6,ARC:com.droidlogic.tvinput%2F.services.Hdmi3InputService%2FHW7,Nintendo%20Switch'"+```++HDMI 1 names itself over CEC ("PlayStation 5"). Epson's operation-log upload is switched off in+Projector Settings → Information → Projector Operation Log Information, not by disabling+`com.epson.logcollection` (that crashes the Information screen).++## Re-enable an app++```bash+TV_HOST=<projector-ip> tools/tv.py 'pm enable com.instagram.airwave'+```++Use the package name from `debloat.txt`. To put everything back, the launcher included:++```bash+TV_HOST=<projector-ip> examples/epson-ls800/restore.sh # add --uninstall-launcher to remove it too+```++## Change the dock or the wallpaper++Edit `dock_apps` in `config.json` (four package names, left to right; `tools/tv.py 'pm list packages'`+lists them), then push it again:++```bash+TV_HOST=<projector-ip> tools/theme.sh examples/epson-ls800+```++For a wallpaper, put a `wallpaper.jpg` (1920x1080) next to `config.json` and push the same way;+`themes/README.md` has the dim and rotation options. `tools/theme.sh --reset` goes back to the+launcher's built-in config.++## Remote buttons++Home, Input, Settings, the projector-menu button, the mic, Back and volume all work without the stock+launcher. Two buttons are handled by the firmware before any app sees them:++- **YouTube** sends `KEYCODE_MACRO_3`, which Epson's system framework hard-codes to YouTube Music; on+ this firmware YouTube Music forwards straight to YouTube. Keep YouTube Music enabled, or the button+ opens its Play Store page instead. It cannot be remapped to another app.+- **Apps** (`ALL_APPS`) does nothing once the stock launcher is disabled: Android 14 sends it only to a+ system launcher. Re-enabling `com.google.android.tvlauncher` brings it back (along with the stock home+ screen's background work); the new launcher's grid already lists every app.++## When you are done++Switch **USB debugging** and **Wireless debugging** off in Developer options, revoke the debugging+authorisations there, restart, and check that ADB is closed:++```bash+tools/venv/bin/python tools/adb-closed.py <projector-ip>+```diff --git a/examples/epson-ls800/config.json b/examples/epson-ls800/config.jsonnew file mode 100644index 000000000..e2511943f--- /dev/null+++ b/examples/epson-ls800/config.json@@ -0,0 +1,15 @@+{+ "dock_apps": [+ "com.plexapp.android",+ "com.google.android.youtube.tv",+ "com.crunchyroll.crunchyroid",+ "com.ionitech.airscreen"+ ],+ "hidden_apps": [+ "com.droidlogic.android.tv",+ "com.droidlogic.updater"+ ],+ "live_tv_package": "",+ "columns": 4,+ "rows_below_dock": 0+}diff --git a/examples/epson-ls800/debloat.txt b/examples/epson-ls800/debloat.txtnew file mode 100644index 000000000..256f2345e--- /dev/null+++ b/examples/epson-ls800/debloat.txt@@ -0,0 +1,57 @@+# Epson LS800 laser projector, Android TV module HA90 (built by Askey, board sti6202d101, Amlogic/droidlogic),+# Android TV 14 (API 34), firmware UKG3.250826.001 (u-2.05-U-0, 2026-06-15), UI at 1920x1080 on a 3840x2160 panel.+# Fingerprint: Epson/sti6202d101/sti6202d101:14/UKG3.250826.001/20260615:user/release-keys+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/epson-ls800/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/epson-ls800/debloat.txt com.google.android.tvlauncher+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.tvlauncher (Android TV home with Search/Home/Live/Shop/Apps tabs, not+# Google TV's launcherx). HOME claimants on stock: tvlauncher and com.android.tv.settings/.system.FallbackHome.+#+# KEEP, the Android side drives the projector itself:+# - com.epson: projector control (auto focus, auto keystone, cinema/picture modes, Bluetooth speaker mode).+# - com.epson.droidsettings (projector menu), com.epson.flexiblepicture, com.epson.installation,+# com.epson.visualization, com.epson.warningui (lamp/temperature warnings), com.epson.bizmodeui.+# - com.epson.logcollection: it collects operation logs, but it also owns the Information screen+# (com.epson.intent.action.INFORMATION). Disabled, Projector Settings > Information crashes Projector+# Settings with ActivityNotFoundException. Opt out of operation logs on that screen instead.+# - com.droidlogic.tv.extras: input-source screen (com.android.tv.action.VIEW_INPUTS) and sleep timer.+# - com.droidlogic.tvinput, com.droidlogic.android.tv, com.droidlogic.tv.settings: HDMI inputs and settings.+# - Firmware updates kept by choice: com.epson.fwupdate, com.droidlogic.updater, com.askey.autousbota.+#+# Notes from this unit (verified with screenshots, 21 October 2026):+# - Only Wireless debugging (TLS) is offered; pair once with `adb pair`, then `adb tcpip 5555`. Port 5555+# came back by itself after a reboot.+# - The saved Wi-Fi network belongs to setupwraith (cname=com.google.android.tungsten.setupwraith), but+# setupwraith does not claim HOME here, so it stays enabled and is not in this list.+# - Launcher: install and HOME takeover work (mFocusedApp = com.gathin.tvhome after Home and after a reboot).+# Inputs lists HDMI 1-3 (droidlogic HW5-HW7, HDMI 1 also as a CEC device); HDMI opens in+# com.droidlogic.android.tv, so keep that enabled and only hide its tile. No tuner, no Live TV row.+# - Remote ("EPSON PJ REMOTE", BT, Vendor_005d_Product_0001.kl): Home, Input (opens droidlogic's source+# screen), Settings, projector menu and mic all keep working without the stock launcher.+# The YouTube button is usage 0x0c008d -> KEYCODE_MACRO_3, and Epson's PhoneWindowManager.startCustomApp+# hard-codes it to com.google.android.youtube.tvmusic (Play Store page if that is missing), which forwards+# to YouTube. It runs in interceptKeyBeforeQueueing, so app_keys cannot remap it; keep YouTube Music enabled.+# The Apps button (ALL_APPS) goes dead once tvlauncher is disabled: Android 14 consumes it before+# accessibility services and sends it only to a system launcher, so HomeKeyService cannot catch it either.+# - Reboot-checked: everything listed stays disabled. Left out on purpose:+# com.google.android.tvrecommendations. Disabled, it is back to enabled=1 within minutes, with+# `dumpsys package` naming com.droidlogic (Amlogic's system package) as lastDisabledCaller. It only feeds+# the stock launcher's rows, so with that launcher gone it is harmless; don't keep disabling it.++# Batch 1: telemetry+com.google.android.feedback # Google feedback reporter+com.android.tv.feedbackconsent # feedback/diagnostics consent prompt++# Batch 2: ads and content plumbing+# com.google.android.tvrecommendations # firmware re-enables it (lastDisabledCaller: com.droidlogic), see header+android.autoinstalls.config.askey.tvbox # Play auto-install of partner apps+com.android.adservices.api # Android ad services (Topics, attribution)+com.android.printspooler # print spooler, no printers on a projector++# Batch 3: preloaded / unused apps (owner's choice)+com.google.android.play.games+com.instagram.airwave+tv.pluto.android+com.epson.onlinemeetings # Epson Online Meetings (video conferencing), owner does not use itdiff --git a/examples/epson-ls800/restore.sh b/examples/epson-ls800/restore.shnew file mode 100755index 000000000..4fae83b1a--- /dev/null+++ b/examples/epson-ls800/restore.sh@@ -0,0 +1,24 @@+#!/usr/bin/env bash+# Put an Epson LS800 back the way it came: re-enable every package in debloat.txt, give Home back to the+# stock launcher, and undo the extras from examples/epson-ls800/README.md (Private DNS, input names, theme).+# The Projector Operation Log toggle (Projector Settings > Information) is not touched; switch it back on+# there if you want it.+#+# Usage, from the repo root: TV_HOST=<projector ip> examples/epson-ls800/restore.sh [--uninstall-launcher]+set -euo pipefail+cd "$(dirname "$0")/../.."+: "${TV_HOST:?set TV_HOST to the projector IP address}"+PY=tools/venv/bin/python+[ -x "$PY" ] || PY=tools/venv/Scripts/python.exe+tv() { "$PY" -I tools/tv.py "$@"; }++tools/restore.sh examples/epson-ls800/debloat.txt com.google.android.tvlauncher+tools/theme.sh --reset || true+tv 'settings put global private_dns_mode opportunistic'+tv 'settings delete global private_dns_specifier'+tv 'settings delete secure tv_input_custom_labels'+if [ "${1:-}" = --uninstall-launcher ]; then+ tv 'pm uninstall com.gathin.tvhome'+fi+tv 'cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME | tail -n 1'+echo "Restored. Press Home on the remote; restart the projector if the old home screen does not come up."