Skip to content

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

examples: add HY320 projector (t950s_be311, Google-certified Android TV), Android 13

rahuling310e91533e6d
diff --git a/README.md b/README.md
index 163d019f3..58a1aafbe 100644
--- a/README.md
+++ b/README.md
@@ -179,6 +179,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, JMGO, Magcubic, Portroni
| Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 |
| Hitachi CDH-LE32SMART21 (TCL-built C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 |
| HOTACK SMART2KPJT projector, "Whale TV 95C8" (Amlogic am30b8, WhaleOS S8E, Zeasn firmware) | Android 13 |
+| HY320 projector (t950s_be311, Google-certified Android TV) | Android 13 |
| INCLO Google TV 4K (KTC, Realtek, khardi, KTC_INCLO_4K_EU_23GV1), Taiwan | Google TV 11 |
| Insignia 55" F30 4K Fire TV (NS-55F301NA25, AFTDCT31, duckie) | Fire OS 7 / Android 9 |
| JMGO N1S projector (K80A, holan, MediaTek m7332), Australia | Google TV 14 |
diff --git a/examples/README.md b/examples/README.md
index 68185e524..7763e0eb6 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -59,6 +59,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `hitachi-65qledsm20/` | Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 | Anoki ACR and FAST channels, JVC auto-installs; the "demo" package handles the Input key and remote pairing; 1.3 GB |
| `hitachi-cdh-le32smart21/` | Hitachi CDH-LE32SMART21 (TCL-built C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 | TCL promo/portal/popups, TGuard (memory manager keeps running), Google feedback and recommendation rows; same platform as the TCL 40S5400A; ttvs is the firmware updater, keep it; /data nearly full blocks installs, low RAM makes TGuard kill Play mid-install; Prime Video, Chromecast, USB players off by choice |
| `hotack-smart2kpjt/` | HOTACK SMART2KPJT projector, "Whale TV 95C8" (Amlogic am30b8, WhaleOS S8E, Zeasn firmware) | Android 13 | Zeasn token/tracker, device portal, logger and factory test apps; Zeasn App Gallery is the only store (no Play Store) and is kept; keystone, focus helper, OTA and factory menu kept; Live TV app `com.zeasn.livetv` kept (it hosts HDMI playback); Input needs INPUT_KEY_SERVICE=1 (no system switcher), Netflix is F2 and Disney+ is keycode 312 (`app_keys`); HDMI, USB and Bluetooth checked; 1 GB |
+| `hy320/` | HY320 projector (t950s_be311, Google-certified Android TV) | Android 13 | Manufacturer ad/telemetry services, three manufacturer app stores, background services and preloaded apps disabled; stock launcher uses a custom HOME.JM category (the launcher manifest needs the category to take the Home key); projector settings, keystone, firmware updater, HDMI inputs kept; Google Assistant, recommendations, screensaver, Miracast, AirPlay kept by choice; AdGuard Private DNS works; config.json has the dock; 24 packages; reboot-checked |
| `inclo-google-tv-4k/` | INCLO Google TV 4K (KTC, Realtek, khardi, KTC_INCLO_4K_EU_23GV1), Taiwan | Google TV 11 | First INCLO list, the same KTC `khardi` board as `lumio-vision-7/` on Android 11 (one-day test): Google auto-installs, feedback, partner rows, store demo, e-manual, Play Games; setupwraith owned the active Wi-Fi (forgotten and re-joined first), yet iPhone casting survived its disable; the Netflix/YouTube buttons (IR keycodes 3001/3003) only work through launcherx; gear is keycode 83 |
| `insignia-ns55f301na25/` | Insignia 55" F30 4K Fire TV (NS-55F301NA25, AFTDCT31, duckie) | Fire OS 7 / Android 9 | Amazon ACR telemetry, Fire TV ads/shopping, Alexa, OTA updates; AirPlay and TIF HDMI inputs kept |
| `jmgo-n1s-holan/` | JMGO N1S projector (K80A, holan, MediaTek m7332), Australia | Google TV 14 | JMGO tracker (`com.jmgo.spider`), help centre with a preinstall downloader, Atmosphere app, retail demo, Google feedback, Play Games, partner rows; launcherx + setupwraith off (Wi-Fi survived); autofocus, keystone, gimbal and `com.jmgo.hippo` (remote, brightness) kept; voice, Chromecast, OTA kept |
diff --git a/examples/hy320/README.md b/examples/hy320/README.md
new file mode 100644
index 000000000..109882f77
--- /dev/null
+++ b/examples/hy320/README.md
@@ -0,0 +1,57 @@
+# HY320 Projector — CleanYourTV Setup
+
+## Device
+- **Model**: HY320 projector (t950s_be311, Google-certified Android TV)
+- **Android**: 13 (SDK 33)
+- **Firmware**: be311-13 TQ2A.20250729 06:21:20.E1
+- **Resolution**: 1280x720, 213dpi
+
+## What was done
+1. **Debloated 24 packages** — ad services, app stores, background junk, unused preloaded apps
+2. **Installed Apple TV-style launcher** (com.gathin.tvhome) with dock: Netflix, YouTube, Wave IPTV, MX Player
+3. **Set launcher as default home**, disabled stock launcher (com.htc.htclauncherhighenglishd08)
+4. **Enabled AdGuard Private DNS** for ad blocking
+
+## Re-enable an app
+```sh
+TV_HOST=<tv ip> tools/venv/bin/python tools/tv.py 'pm enable --user 0 <package>'
+```
+
+## Restore everything (undo the debloat)
+```sh
+TV_HOST=<tv ip> tools/restore.sh examples/hy320/debloat.txt
+```
+
+## Rebuild and reinstall the launcher
+```sh
+cd launcher
+JAVA_HOME=/opt/homebrew/opt/openjdk@17 ANDROID_HOME=/opt/homebrew/share/android-commandlinetools \
+ TV_HOST=<tv ip> bash build-and-install.sh
+```
+
+## Change dock apps or order
+Edit `launcher/app/src/main/res/values/config.xml`, the `dock_apps` array, then rebuild.
+Or push a theme: edit `examples/hy320/config.json` and run:
+```sh
+TV_HOST=<tv ip> tools/theme.sh examples/hy320/config.json
+```
+
+## Change wallpaper
+Set `wallpaper: true` in config.json and add a wallpaper image, or use a theme folder under `themes/`.
+
+AdGuard Private DNS works on this TV.
+
+## Firmware note: HOME.JM
+This projector's firmware routes the Home key through a custom `android.intent.category.HOME.JM`
+category (from the JM launcher that was preloaded). The launcher's AndroidManifest.xml was updated
+to include this category in its HOME intent filter. If you rebuild from a clean checkout, that
+change must be re-applied or the Home key will go to FallbackHome instead of the launcher.
+
+## Security
+This TV has `ro.adb.secure` unset, meaning port 5555 accepts any device on the network without
+a prompt. ADB was left open during setup. When done, turn off USB debugging and Network/ADB
+debugging on the TV (Settings > Developer Options), revoke USB debugging authorisations, and
+reboot. Verify with:
+```sh
+tools/adb-closed.py <tv ip>
+```
diff --git a/examples/hy320/config.json b/examples/hy320/config.json
new file mode 100644
index 000000000..01333c2a8
--- /dev/null
+++ b/examples/hy320/config.json
@@ -0,0 +1,16 @@
+{
+ "dock_apps": [
+ "com.netflix.mediaclient",
+ "com.google.android.youtube.tv",
+ "com.smartwave.wave_iptv",
+ "com.mxtech.videoplayer.ad"
+ ],
+ "hidden_apps": [],
+ "live_tv_package": "",
+ "app_library": true,
+ "library_apps": [
+ "com.netflix.mediaclient"
+ ],
+ "columns": 4,
+ "wallpaper": false
+}
diff --git a/examples/hy320/debloat.txt b/examples/hy320/debloat.txt
new file mode 100644
index 000000000..a4010bda3
--- /dev/null
+++ b/examples/hy320/debloat.txt
@@ -0,0 +1,53 @@
+# HY320 projector (t950s_be311, Google-certified Android TV), Android 13 (SDK 33)
+# Firmware be311-13 TQ2A.20250729 06:21:20.E1, 1280x720 panel, 213dpi.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hy320/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hy320/debloat.txt
+# Everything is DISABLED, not uninstalled. Comment out anything you use.
+#
+# Kept on purpose:
+# - com.htc.htcsettings: projector's own settings (Wi-Fi, picture, keystone)
+# - com.htc.htclauncherhighenglishd08: stock launcher, disabled by build-and-install.sh after
+# the new launcher is installed and confirmed as Home. This firmware's Home key uses a custom
+# HOME.JM category; the launcher's manifest was updated to handle it.
+# - com.softwinner.tcorrection: projection/keystone settings
+# - com.droidlogic.updater: firmware updater (kept enabled; firmware updaters are better left on)
+# - com.droidlogic.tvinput: HDMI/input hardware layer (TV_INPUT_HARDWARE permission)
+# - Factory/test packages (com.fb): not started, disabled only
+# - com.google.android.katniss (Google Assistant), com.google.android.tvrecommendations,
+# com.google.android.landscape (screensaver), com.droidlogic.miracast, com.waxrain.airplayer2:
+# kept enabled per user preference
+#
+# User keeps: Netflix, YouTube, MX Player, Wave IPTV, Google Assistant, content recommendations,
+# screensaver, Miracast, AirPlay/DLNA, Clock, Music Player, File Browser, Media Center, Gallery
+
+# Manufacturer ad/telemetry services
+com.jiumao.screen.systemadplayer
+com.smart.tv.launcher
+com.ht1.launcher
+
+# Manufacturer app stores
+com.master.apps
+com.master.tv.market
+com.overseas.store.appstore
+com.android.mgstv
+
+# Background services not needed
+com.fb
+com.define.shellservice
+com.jm.jmlauncher
+com.android.printspooler
+com.android.wallpaperbackup
+com.android.camera2
+com.android.hotspot2.osulogin
+com.android.soundpicker
+com.android.htmlviewer
+com.spocky.projengmenu
+
+# Preloaded apps not used
+com.droidlogic.videoplayer
+com.droidlogic.imageplayer
+com.android.chrome
+com.google.android.youtube.tvmusic
+com.amazon.avod.thirdpartyclient
+org.videolan.vlc