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: TCL BeyondTV2 on Android 11 (AR05)
Tomas Tolozadd9e854f513b
diff --git a/README.md b/README.mdindex 8fb8d61c6..676bc3532 100644--- a/README.md+++ b/README.md@@ -199,6 +199,7 @@ Redmi · SANYO · Thomson · Toshiba Fire TV · Vu · JMGO, Portronics, Stellamo| TCL BeyondTV (India) | Android TV 9 || TCL BeyondTV, EU/Nordic (Realtek RTD2851, V8-R851T02-LF1V606) | Android TV 9 || TCL BeyondTV2 (Latin America / Brazil, Realtek RTD2851) | Android TV 9 |+| TCL BeyondTV2, Android 11 build (AR05, Realtek rtd285o) | Android TV 11 || TCL C755 QD-Mini LED, 2024, Australia (G08, MediaTek tcl9618) | Google TV 14 || TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 || TCL Smart TV (G07, G07_4K_GB_NF, Realtek RTD2851A, 2 GB) | Google TV 11 |diff --git a/examples/README.md b/examples/README.mdindex 24ab7a46d..82a6448ee 100644--- a/examples/README.md+++ b/examples/README.md@@ -73,6 +73,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `tcl-beyondtv/` | TCL BeyondTV (India) | Android TV 9 | TCL analytics, content feed, TCL app store, Google recommendation rows; Jio/Airtel/Hotstar apps untouched || `tcl-beyondtv-rt2851/` | TCL BeyondTV, EU/Nordic (Realtek RTD2851, V8-R851T02-LF1V606) | Android TV 9 | TCL BI analytics, promo rows, cyberui, cleaner and store; mirroring, voice and firmware updater off by choice; Chromecast kept; installer note for appmarket2/tvweishi || `tcl-beyondtv2-latin-america/` | TCL BeyondTV2 (Latin America / Brazil, Realtek RTD2851) | Android TV 9 | TCL analytics and boot content feed; `com.tcl.esticker` does not stay disabled on this firmware; UK Freeview apps already off at the factory |+| `tcl-beyondtv2-android-11/` | TCL BeyondTV2, Android 11 build (AR05, Realtek rtd285o) | Android TV 11 | Different package set from the Android 9 BeyondTV2 above (adds `overseasappshow`, `usercenter`, MagiConnect, `notereminder`); **`com.tcl.overseasappshow` re-enables MagiConnect, notereminder and tclhome_master on every boot**, so it is the key entry; partnercustomizer kept (it carries the remote's TKey activity on this unit); voice, mirroring, phone remote, OTA and backdrop off by choice; 3 HDMI ports, TvInputManager works, setupwraith safe || `tcl-c755-google-tv/` | TCL C755 QD-Mini LED, 2024, Australia (G08, MediaTek tcl9618) | Google TV 14 | Samba TV ACR (ttvs), TCL Live, store/hotel demo, Stan; casting and mirroring off by choice; keep `tv.remote.service` (it carries the remote's mic) || `tcl-qm6k-google-tv/` | TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 | Samba TV ACR (ttvs), TCL TV+, TCL Live, store/hotel demo; setupwraith must go for a custom launcher (also AU14, #23) || `tcl-g07-google-tv/` | TCL Smart TV (G07, G07_4K_GB_NF, Realtek RTD2851A, 2 GB) | Google TV 11 | TCL BI analytics (ttvs, also the firmware updater), TGuard, waterfall, TCL Live, TCL Home dashboard, messages, hotel/demo, partner auto-installs; voice, Miracast, MagiConnect, T-Solo, firmware updates and unused preloads off by choice, Chromecast kept; launcherx, setupwraith and dreamx off (Wi-Fi belonged to android.uid.system), reboot-checked; Input key works without InputKeyService, gear is scancode 561 (`settings_key_scancodes`), Netflix and YouTube buttons need an accessibility helper |diff --git a/examples/tcl-beyondtv2-android-11/debloat.txt b/examples/tcl-beyondtv2-android-11/debloat.txtnew file mode 100644index 000000000..6947a6862--- /dev/null+++ b/examples/tcl-beyondtv2-android-11/debloat.txt@@ -0,0 +1,88 @@+# TCL BeyondTV2, Android 11 variant (ro.product.model BeyondTV2, brand TCL, board rtd285o),+# Android TV 11 (API 30), build PPR1.180610.011, fingerprint+# TCL/BeyondTV2/BeyondTV:11/PPR1.180610.011/AR05:user/release-keys.+#+# Not the same set as examples/tcl-beyondtv2-latin-america: same product name and build number, but+# that unit runs Android 9 (API 28, `AP08`) and ships a different preloaded package set (no+# com.tcl.overseasappshow, no com.tcl.usercenter, no MagiConnect, no com.tcl.notereminder).+# This firmware is also NOT `ro.product.model BeyondTV` (examples/tcl-beyondtv, Android TV 9).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-beyondtv2-android-11/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-beyondtv2-android-11/debloat.txt+# Install the launcher BEFORE disabling the stock launcher.+# Stock launcher: com.google.android.tvlauncher (priority 2, disabled after the replacement was up).+# Other HOME claimants are only fallbacks: com.tcl.keycustomfunctionservice and com.android.tv.settings.+# Live TV app: com.tcl.tv, with com.tcl.tvinput for the tuner and HDMI 1-3 (this set exposes 3 HDMI+# ports through the TV input framework). TvInputManager lists them normally, so the launcher's Inputs+# menu needs no source_panel_service on this firmware.+# setupwraith does not own the saved Wi-Fi network here (dumpsys wifi shows android.uid.system and+# com.google.uid.shared), so it can be disabled without dropping the TV off Wi-Fi.+#+# Tested: applied in four batches with a screenshot after each and a full reboot between batches, on+# 2026-10-20. Verified after the final reboot: 41/41 packages still disabled, Wi-Fi up, Home on the+# replacement launcher, Inputs menu, Live TV (com.tcl.tv/.TVActivity), Netflix and Prime Video launch,+# Home returns from every app, no crash and no ANR in logcat. NOT yet lived with for weeks; this+# list is deliberately conservative (telemetry, ads, promos, and the voice/mirroring/OTA choices).++# --- The one non-obvious entry: TCL re-enables promo packages on every boot.+# Without this line, com.tcl.MultiScreenInteraction_TV, com.tcl.notereminder and+# com.tcl.tv.tclhome_master come back enabled after every reboot, and MagiConnect also comes back+# right after any `pm install`. The enabler is this system-uid service: its BootReceiver runs at+# priority 1000 on BOOT_COMPLETED, STR_RESUME_COMPLETED and com.tcl.countrychange, and it also+# reacts to PACKAGE_CHANGED and connectivity changes. Disabling it holds 41/41 across reboots.+com.tcl.overseasappshow # factory promo/app-show service, re-enables partner packages++# --- TCL analytics, ads, promos+com.tcl.bi # TCL analytics / telemetry service+com.tcl.tv.tclhome_passive # pushes TCL content onto the home screen at boot+com.tcl.waterfall.overseas # TCL web content feed / recommendation waterfall+com.tcl.guard # TGuard: device-use tracking, "health info", memory cleaner+com.tcl.messagebox # pushed messages and promos+com.tcl.esticker # retail demo energy-label sticker (does stay off here,+# unlike the Android 9 BeyondTV2 unit)++# --- TCL's own promo home and its notes widget (both have launcher activities)+com.tcl.tv.tclhome_master # TCL's alternate home, StartUpActivity+com.tcl.notereminder # notes & reminder widget++# --- Google attribution+com.google.android.feedback # "send feedback"+com.google.android.partnersetup # partner-app attribution / installs++# --- Voice: off by choice, the remote's mic button goes dead. Comment out to keep the assistant.+# com.tcl.smartalexa (Alexa) was already disabled at the factory on this unit.+com.google.android.katniss # Google Assistant / voice search+com.google.android.tv.assistant # Assistant LED service+com.tcl.assistant # TCL voice service+com.tcl.micmanager # TCL microphone manager for voice++# --- Casting, remote, updates, screensaver: off by choice. Chromecast itself is kept+# (com.google.android.apps.mediashell stays), only Miracast screen mirroring goes.+com.tcl.miracast # Miracast screen mirroring+com.tcl.MultiScreenInteraction_TV # MagiConnect mirroring/casting companion+com.google.android.tv.remote.service # phone-app remote (the physical remote is unaffected)+com.tcl.versionUpdateApp # TCL OTA firmware updater (Play Store updates still work)+com.google.android.backdrop # stock ambient photo screensaver++# --- Already disabled at the factory on this unit (left alone): au.com.stan.and,+# com.google.android.apps.nbu.smartconnect.tv, com.tcl.gallery, com.tcl.smartalexa, tv.wuaki.apptv+# and the 15 uk.co.freeview.* catch-up apps.++# --- DO NOT DISABLE (load-bearing, checked on this unit)+# com.tcl.tv com.tcl.tvinput (Live TV, HDMI, tuner), com.tcl.autopair+# com.tcl.keycustomfunctionservice (remote, BT pairing, FallbackHome),+# com.tcl.partnercustomizer (remote key handling: .tkey.WithIcon is a LEANBACK_LAUNCHER activity+# here, even though most other TCL lists disable it), com.tcl.inputmethod.international+# com.tcl.settings com.tcl.initsetup com.tcl.factory.view com.tcl.xian.StartandroidService+# com.tcl.copydatatotv com.tcl.systemserver com.tcl.providers.config,+# com.tcl.usercenter com.tcl.useragreement (setup/account screens),+# com.google.android.tungsten.setupwraith (only if you want the first-run wizard gone; see header),+# com.google.android.marvin.talkback com.google.android.tts (accessibility),+# com.realtek.netflix.setting if present (Netflix ESN).++# --- Deliberately NOT in this list+# com.google.android.tvrecommendations - the stock launcher was replaced, so there is no+# recommendation row left to remove; not tested here.+# com.tcl.ui_mediaCenter com.tcl.gallery - USB media players, kept for USB drives.+# All streaming apps (Netflix, YouTube, YouTube Music, Disney+, Prime Video, Spotify, HBO Max,+# Flow, DirecTV Go) are kept; comment out the irrelevant ones if you want them gone.