Skip to content

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

Add TCL 32L5A debloat profile

DEVIL291f727b68be
diff --git a/examples/README.md b/examples/README.md
index 701c189ac..5133972bd 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -80,6 +80,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `stellamore-t950s/` | Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 | Zeasn App Store and stock launcher both bundle Google Ads (doubleclick); Zeasn device portal/OTA, Stellamore factory/test/guide; 1 GB; keystone correction must stay enabled |
| `tcl-32s5400a/` | TCL 32S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB), 2023 | Android TV 11 | Same C06 platform as `tcl-40s5400a/`, but older AR2101 / V8-T221T05-LF1V005 firmware and SonyLIV/YuppTV preloads; TCL account/TGuard/promos, Google extras, regional preloads; firmware updater kept (ttvs is the updater); stock launcher priority 2, keep the remote/BT/TCL settings packages |
| `tcl-32s5k/` | TCL 32S5K (C06, C06_2K_GB, MediaTek MT9221, 918 MB), EU | Android TV 11 | Same build family as the 40S5400A; TCL account/TGuard/promo rows, USB players, voice and photo screensaver off by choice; `com.tcl.usercenter` is re-enabled by ttvs at every boot; setupwraith safe here (Settings owns the Wi-Fi); remote standby is a full power-down |
+| `tcl-32l5a/` | TCL 32L5A (C06, model "Smart TV", 1 GB) | Android TV 11 | Same C06 platform as `tcl-32s5400a/` (SDK 30, build AR2101); TCL account, TGuard cleaner, promo rows, TCL Channel waterfall, store demo sticker, browser, feedback and Google TV recommendations; custom Apple TV style launcher installed as default home (`com.gathin.tvhome`), stock launcher `com.google.android.tvlauncher` disabled; Live TV `com.tcl.tv` and inputs `com.tcl.tvinput` kept; reboot-checked |
| `tcl-40s5400a/` | TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 | TCL account/TGuard/promo rows, USB players, voice and photo screensaver off by choice; ttvs is the firmware updater, keep it; stock launcher has HOME priority 2, so it must be disabled |
| `tcl-43c645/` | TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652) | Google TV launcher on Android TV 11 | TCL BI analytics/promos, Google partner plumbing, setupwraith (takes HOME once the stock launcher is off); voice and Chromecast kept, firmware updater and Miracast off by choice; tested on a real unit, launcher works |
| `tcl-43ep660/` | TCL 43EP660 (Europe, BeyondTV, Realtek rtd285o, V8-R851T02-LF1V378) | Android TV 9 | TCL BI analytics, user center, TCL Channel, message box, stickers, TV Guard, T-Cast, app store, USB players; voice and Miracast off by choice, Chromecast and updaters kept; stock launcher has HOME priority 2, so it must be disabled; setupwraith owns the setup Wi-Fi and does not claim HOME, so it stays; `StartandroidService` kept (device authentication) |
diff --git a/examples/tcl-32l5a/README.md b/examples/tcl-32l5a/README.md
new file mode 100644
index 000000000..dee9b1d69
--- /dev/null
+++ b/examples/tcl-32l5a/README.md
@@ -0,0 +1,135 @@
+# TCL 32L5A (Android TV 11)
+
+**Device Model:** TCL 32L5A
+**Platform:** C06 / C06_2K_GB
+**OS Version:** Android TV 11 (SDK 30, build AR2101)
+**RAM:** 1 GB
+
+---
+
+## 1. Overview
+
+This directory contains the debloat configuration and documentation for the **TCL 32L5A** Android TV set. The TV has been debloated of manufacturer telemetry, background bloat, and ad services, and the stock launcher (`com.google.android.tvlauncher`) has been replaced with a clean **Apple TV 4K-style native launcher**.
+
+---
+
+## 2. Debloat Details
+
+### Packages Disabled
+- `com.tcl.usercenter` — TCL account and sign-in service
+- `com.tcl.guard` — TGuard background cleaner
+- `com.tcl.partnercustomizer` — Promo rows on stock launcher
+- `com.tcl.waterfall.overseas` — TCL web-video feed / TCL Channel
+- `com.tcl.esticker` — Store demo sticker app
+- `com.tcl.copydatatotv` — Copy data promo utility
+- `com.tcl.t_solo` — TCL promotional service
+- `com.internet.tvbrowser` — Preloaded browser
+- `com.tcl.browser` — TCL Browser
+- `com.google.android.feedback` — User feedback collector
+- `com.google.android.play.games` — Google Play Games TV service
+- `com.google.android.tvrecommendations` — Google recommendations/ads feed
+
+### Packages Kept Intact
+- **Live TV & Hardware Inputs:** `com.tcl.tv`, `com.tcl.tvinput` (HDMI 1, HDMI 2, AV, Tuner)
+- **Remote & Bluetooth:** `com.tcl.tcl_bt_rcu_service`, `com.tcl.autopair`
+- **Settings & Plumbing:** `com.tcl.settings`, `com.android.tv.settings`, `com.tcl.system.server`, `com.tcl.dashboard`
+- **Keyboards & Input Methods:** `com.tcl.inputmethod.international`, `com.google.android.inputmethod.latin`
+- **Core Google Services:** Google Play Store (`com.android.vending`), Play Services (`com.google.android.gms`), Google Assistant (`com.google.android.katniss`), Chromecast (`com.google.android.apps.mediashell`)
+- **Streaming Apps:** Netflix, YouTube, YouTube Music, Prime Video, Spotify, Crunchyroll, MovieBox TV, NetMirror TV, Kick, Tamasha TV, GES Live TV
+
+---
+
+## 3. How to Re-enable Any Disabled App
+
+### Re-enable a Single Package
+Over ADB or `tools/tv.py`:
+```powershell
+python tools/tv.py "pm enable com.tcl.usercenter"
+```
+
+### Restore All Debloated Packages
+Run the restore script:
+```powershell
+powershell -ExecutionPolicy Bypass -Command "$env:TV_HOST='192.168.1.3'; tools\restore.ps1 examples\tcl-32l5a\debloat.txt"
+```
+
+---
+
+## 4. How to Re-build and Re-install the Launcher
+
+To re-build and re-install the launcher with updated settings or key mappings:
+```powershell
+powershell -ExecutionPolicy Bypass -File run_build.ps1
+```
+
+Or directly via `build-and-install.ps1`:
+```powershell
+powershell -ExecutionPolicy Bypass -Command "$env:JAVA_HOME='C:\Users\Anas\.jdks\jbr-17.0.14'; $env:TV_HOST='192.168.1.3'; & 'launcher\build-and-install.ps1' -InputKeyService -HomeKeyService"
+```
+
+---
+
+## 5. How to Change Dock Order or App Pinnings
+
+To customize the 4 apps pinned to the dock at the bottom of the screen:
+
+1. Open `launcher/app/src/main/res/values/config.xml`.
+2. Edit the `dock_apps` array:
+ ```xml
+ <string-array name="dock_apps">
+ <item>com.netflix.ninja</item>
+ <item>com.google.android.youtube.tv</item>
+ <item>com.crunchyroll.crunchyroid</item>
+ <item>com.spotify.tv.android</item>
+ </string-array>
+ ```
+3. Re-run `run_build.ps1` to rebuild and deploy.
+
+Alternatively, you can place a `config.json` on the TV under `/sdcard/Android/data/com.gathin.tvhome/files/config.json`:
+```json
+{
+ "dock_apps": [
+ "com.netflix.ninja",
+ "com.google.android.youtube.tv",
+ "com.crunchyroll.crunchyroid",
+ "com.spotify.tv.android"
+ ]
+}
+```
+
+---
+
+## 6. How to Change or Set Wallpaper
+
+To set a custom wallpaper background:
+
+1. Place your JPEG image named `wallpaper.jpg` in `/sdcard/Android/data/com.gathin.tvhome/files/`.
+2. Push a `config.json` file to the same folder containing:
+ ```json
+ {
+ "wallpaper": true,
+ "wallpaper_dim": 30
+ }
+ ```
+3. Restart the launcher or press Home on the remote.
+
+---
+
+## 7. Optional Ad-blocking Private DNS Undo
+
+If Private DNS was configured to AdGuard (`dns.adguard-dns.com`), you can revert it to default automatic mode at any time with:
+```powershell
+python tools/tv.py "settings put global private_dns_mode opportunistic"
+```
+
+---
+
+## 8. Closing Network ADB and Securing the TV
+
+For security on plaintext port 5555, close network ADB once complete:
+
+1. On the TV, go to **Settings → Device Preferences → Developer options**.
+2. Turn **USB debugging** OFF.
+3. Turn **Network ADB debugging** OFF.
+4. Select **Revoke USB debugging authorizations**.
+5. Reboot the TV.
diff --git a/examples/tcl-32l5a/debloat.txt b/examples/tcl-32l5a/debloat.txt
new file mode 100644
index 000000000..aa35f1e2f
--- /dev/null
+++ b/examples/tcl-32l5a/debloat.txt
@@ -0,0 +1,27 @@
+# TCL 32L5A (32" FHD Smart TV, device C06), Android TV 11 (SDK 30), build AR2101
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-32l5a/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-32l5a/debloat.txt
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Stock launcher: com.google.android.tvlauncher (replaced by launcher/)
+# Live TV app: com.tcl.tv
+# Inputs: com.tcl.tvinput (HDMI 1, HDMI 2, AV, tuner)
+
+# TCL account, promos, telemetry and content
+com.tcl.usercenter # TCL account center
+com.tcl.guard # TGuard cleaner app
+com.tcl.partnercustomizer # Promo/recommendation rows on stock home
+com.tcl.waterfall.overseas # TCL Channel / web video portal
+com.tcl.esticker # Store demo sticker app
+com.tcl.copydatatotv # Copy data utility
+com.tcl.t_solo # TCL promotional service
+
+# Web browsers and feedback bloat
+com.internet.tvbrowser # Preloaded TV Browser
+com.tcl.browser # TCL Browser
+com.google.android.feedback # User feedback reporting
+com.google.android.play.games # Play Games TV service
+
+# Stock Google TV launcher recommendations
+com.google.android.tvrecommendations # Channel recommendation feeds