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
Merge PR #80: Add Chromecast with Google TV 4K (sabrina) debloat list
Gathin231f139ab2c519
diff --cc examples/README.mdindex 785c0c7f0,78eeda2fa..cc21bf8d4--- a/examples/README.md+++ b/examples/README.md@@@ -5,29 -5,12 +5,30 @@@ on that firmware, grouped and commented| Folder | TV | OS | Notes ||---|---|---|---|-| `xiaomi-mi-tv-4a/` | Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 | PatchWall, Mi analytics, SmartShare, MiLink |-| `tcl-g10-google-tv/` | TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 | TCL TV+, TCL Live, store demo, smartlink installer |-| `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal) | Android TV 9 | PatchWall, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice |-| `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA |+| `benq-e55-735/` | BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 | Homwee store/help, Anoki ACR, Google TV recommendations; wireless-debugging pairing, setupwraith, deep-standby notes |+| `chiq-ai-pont/` | CHiQ AI PONT (DVB93CQ) | Android TV 11 | Anoki ACR, FAST channels, AI PONT, Homwee services |+| `hisense-smarttv-4k-ffm/` | Hisense SmartTV 4K FFM (huangshan, MediaTek) | Android TV 10 | ACR (evservice), VIDAA preload, store/hotel mode, OTA; smartsense must stay enabled |+| `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 |+| `nvidia-shield-tv-pro-2019/` | NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 | NVIDIA telemetry, GameStream leftovers, sponsored rows, partner auto-installs || `oneplus-tv-dubai/` | OnePlus TV (D00, Dubai) | Google TV 14 | HeyTap/OnePlus extras, OnePlus Connect, Smart Home |+| `philips-smart-4k-google-tv/` | Philips Smart 4K TV (Skyworth, eleonas, MediaTek), India | Google TV 14 | Skyworth recommendations, after-sale/activation trackers, iCast; Chromecast, Assistant off by choice; wireless-debugging pairing, setupwraith |+| `rca-ai-pont/` | RCA AI PONT SA (Changhong, redwood, ISDB92RC) | Android 14 | Homwee store and installers, Anoki ACR, FAST channels; 1 GB |+| `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA |+| `sony-bravia-4k-ur2/` | Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 | Samba TV, Sony promos/Select, demo mode; Assistant, Chromecast, unused streaming apps off by choice |+| `sony-xbr-x900e/` | Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 | Samba TV ACR, Sony Select, My BRAVIA promos, Discover, device agents; Chromecast, DLNA, mirroring off by choice |+| `tcl-g10-google-tv/` | TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 | TCL TV+, TCL Live, store demo, smartlink installer |+| `tcl-65c725/` | TCL 65C725 (Smart TV Pro, BeyondTV4) | Android TV 11 | TCL analytics/promos, Google recommendation rows; voice off, OTA off by choice |+| `tcl-ak30a5/` | TCL ak30a5 (China, Amlogic) | Android TV 9 | No Google services, TCL boot ad + analytics, no TvInputManager, installs via USB only; debloat only, third-party launchers cannot be installed on this firmware |+| `tcl-beyondtv/` | TCL BeyondTV (India) | Android TV 9 | TCL analytics, content feed, TCL app store, Google recommendation rows; Jio/Airtel/Hotstar apps untouched |+| `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 |+| `xiaomi-mi-box-s/` | Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 | PatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice, casting, phone remote off by choice |+| `xiaomi-mitv-mooq0/` | Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 | PatchWall, Mi analytics, MiChannel, TV Manager, Alexa bridge; factory test app also claims HOME |+| `xiaomi-mi-tv-4a/` | Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 | PatchWall, Mi analytics, SmartShare, MiLink |+| `xiaomi-mitv-aesp0/` | Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 | No inputs; Home key sends ALL_APPS, needs `HOME_KEY_SERVICE=1`; Chromecast kept |+| `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro) | Android TV 9 | PatchWall, Glance ads, Mi TV+, Sensara, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice |+| `xiaomi-mitv-moor2/` | Xiaomi MiTV-MOOR2 (venom, MediaTek) | Google TV 11 | Mi ad row and PatchWall, Mi analytics, MiLink, store demo; setup wizard off so a third-party launcher can own Home |+| `xiaomi-tv-a-pro-2026/` | Xiaomi TV A Pro 75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 | PatchWall/Mi Home tab, Mi analytics, TV Manager, updaters; setup wizard off, launcherx crash-loop notes |+ | `google-chromecast-gtv-4k/` | Chromecast with Google TV 4K (sabrina) | Google TV 14 | Google telemetry and ad services, ambient mode, launcherx + setupwraith; wireless-debugging pairing, YouTube button remap |To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is torun the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.diff --cc examples/google-chromecast-gtv-4k/debloat.txtindex 000000000,975e2b44a..91522730amode 000000,100644..100644--- a/examples/google-chromecast-gtv-4k/debloat.txt+++ b/examples/google-chromecast-gtv-4k/debloat.txt@@@ -1,0 -1,62 +1,65 @@@+ # Chromecast with Google TV 4K (2020, device sabrina, product sabrina_prod_stable), 2 GB RAM+ # Google TV 14 (SDK 34), build UTTC.250917.004 (14193937)+ #-# Apply: TV_HOST=<ip:port> tools/disable.sh examples/google-chromecast-gtv-4k/debloat.txt-# Undo: TV_HOST=<ip:port> tools/restore.sh examples/google-chromecast-gtv-4k/debloat.txt com.google.android.apps.tv.launcherx++# Apply: TV_HOST=<ip> tools/disable.sh examples/google-chromecast-gtv-4k/debloat.txt++# Undo: TV_HOST=<ip> tools/restore.sh examples/google-chromecast-gtv-4k/debloat.txt com.google.android.apps.tv.launcherx+ # Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+ #+ # Stock launcher: com.google.android.apps.tv.launcherx. No Live TV app and no HDMI inputs (it's a dongle):+ # leave live_tv_package empty in config.xml.+ #+ # Known quirks on this firmware:-# - ADB on port 5555 is closed (connection refused). Android 14 uses Wireless debugging with a pairing-# code: Developer options > Wireless debugging > Pair device with pairing code. `adb mdns services`-# lists both the pairing and the connect port, then `adb pair <ip:pairport> <code>` and-# `adb connect <ip:connectport>`. The connect port changes every time debugging is toggled or the-# device reboots. Tested with the stock adb on Windows; tools/tv.py assumes port 5555.++# - ADB on port 5555 is closed (connection refused) until you pair once through Wireless debugging with++# the stock adb: Developer options > Wireless debugging > Pair device with pairing code, `adb pair++# <ip:pairport> <code>`, `adb connect <ip:connectport>` (`adb mdns services` lists both ports), then++# `adb tcpip 5555`. After that tools/tv.py works on 5555 (README, Troubleshooting).+ # - `cmd package set-home-activity com.gathin.tvhome` returns Success but launcherx stays the default.+ # Disable BOTH com.google.android.apps.tv.launcherx and com.google.android.tungsten.setupwraith+ # (setupwraith re-enables launcherx), only after the new launcher is installed.+ # - With launcherx disabled the YouTube button on the remote does nothing. It sends BUTTON_3+ # (keycode 190). Button Mapper only remaps added buttons in its paid Pro version; Key Mapper+ # (open source, keymapperorg/KeyMapper) does it for free. Play Store lists Key Mapper as incompatible+ # with this device, so install the -foss APK from its GitHub releases, then over ADB:+ # pm grant io.github.sds100.keymapper android.permission.WRITE_SECURE_SETTINGS+ # settings put secure enabled_accessibility_services io.github.sds100.keymapper/io.github.sds100.keymapper.system.accessibility.MyAccessibilityService+ # Map trigger "Button 3" (short press) to action "Launch app > YouTube". Record the trigger with the+ # physical remote: keys injected with `input keyevent 190` don't reach Key Mapper, and D-pad presses+ # made while recording get added to the trigger.+ # - com.google.android.tvrecommendations and com.google.android.apps.education.cast2class ship+ # disabled at the factory; `pm disable-user` on them fails with "Shell cannot change component+ # state". Don't add them to a restore list either.+ # - Disabling dreamx leaves screensaver_components pointing at it. Point it at the launcher's clock:+ # settings put secure screensaver_components com.gathin.tvhome/.ClockDream+ # - Animation scales already ship at 0.5x on this build.+ #+ # Kept on purpose (all work after this list): Google Assistant (com.google.android.katniss),+ # Cast receiver (com.google.android.apps.mediashell), phone remote (com.google.android.tv.remote.service),+ # Play Store / Play Services, Gboard, Bluetooth, com.google.android.tv.dfuservice (remote firmware updates).++ # Telemetry, feedback and ads+ com.google.android.feedback+ com.android.tv.feedbackconsent+ com.google.android.tv.remotecontrol.logging # remote usage logging+ com.google.android.apps.tv.netoscope # network diagnostics reporting++# The next four are Privacy Sandbox / federated-learning Mainline modules: worked here, re-enable if++# the Play Store or Assistant misbehave.+ com.google.android.federatedcompute+ com.google.android.ondevicepersonalization.services+ com.google.android.adservices.api # Privacy Sandbox ad services+ com.google.android.ext.adservices.api++ # Preloaded apps+ com.google.android.play.games+ com.google.android.videos # Google TV / Play Movies+ com.android.printspooler+ com.google.android.marvin.talkback # re-enable if you need the screen reader++ # Google ambient mode screensaver (replaced by the launcher's Clock screensaver)+ com.google.android.apps.tv.dreamx+ com.google.android.backdrop+-# Stock launcher: disable LAST, after com.gathin.tvhome is installed (see quirks)-com.google.android.apps.tv.launcherx-com.google.android.tungsten.setupwraith++# Stock home. launcher/build-and-install.sh disables launcherx itself once the new launcher is installed++# and verified, and restore.sh re-enables it; setupwraith has to go too on this firmware (see quirks),++# so it stays in the list for restore.sh to bring back.++# com.google.android.apps.tv.launcherx++com.google.android.tungsten.setupwraith # setup wizard; its RecoveryActivity otherwise takes over Home