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 #775: examples: TCL 43S450F-CA (S4 Fire TV Edition, Fire OS 8.1.8.5)
Gathin232284682db92e
diff --cc README.mdindex a92078e15,e1b2878f9..85dfba286--- a/README.md+++ b/README.md@@@ -227,8 -225,9 +227,9 @@@ BYINTEK, JMGO, Portronics, Stellamore,| TCL 32S5K (C06, C06_2K_GB, MediaTek MT9221, 918 MB), EU | Android TV 11 || TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 || TCL 43P615 (Europe, BeyondTV, Realtek RTD2851, AR06) | Android TV 11 |+ | TCL 43S450F-CA (S4 Fire TV Edition, AFTDEC012E, ginza, MediaTek), Canada | Fire OS 8.1.8.5 / Android 11 || TCL 43S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 |-| TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652) | Google TV launcher on Android TV 11 |+| TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652); also TCL 60C635 (G03_4K_GB, Realtek rtd288o), Spain | Google TV launcher on Android TV 11 || TCL 43EP660 (Europe, BeyondTV, Realtek rtd285o, V8-R851T02-LF1V378) | Android TV 9 || TCL 43S5K (G13, G13_2K_GB, MediaTek MT9221, 1 GB), India | Google TV 14 || TCL 50C725K (Smart TV Pro, BeyondTV4/BeyondTV6, RTD2851M, Realtek rtd288o, 2 GB), AR10 build | Android TV 11 |diff --cc examples/README.mdindex c96a498cb,181fb99f4..b298c498d--- a/examples/README.md+++ b/examples/README.md@@@ -121,9 -119,10 +121,10 @@@ on that firmware, grouped and commented| `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-43s5400a/` | TCL 43S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 | 43" variant of the C06 platform; TCL account/TGuard/promo rows, stock players, voice and photo screensaver off by choice; ttvs kept for OTA updates; CleanYourTV replaces stock launcher (HOME priority 2); Live TV `com.tcl.tv` and inputs `com.tcl.tvinput` kept || `tcl-l40s66e/` | TCL L40S66E (C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 | Same firmware as `hitachi-cdh-le32smart21/`: Google telemetry and recommendation rows, TCL account/promos/popups, TGuard (disable does stop it here, and free RAM is higher without it), data-saver VPN, setupwraith; all streaming apps, voice, Chromecast, screensaver and USB players kept by choice; ttvs and rc.ota kept for updates; launcher/ needs reduced_motion on this GPU |-| `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-43c645/` | TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652); also TCL 60C635 (G03_4K_GB, Realtek rtd288o), Spain | Google TV launcher on Android TV 11 | TCL BI/TTVS/logkit analytics, promos and content rows, TCL Live FAST channels, Google partner plumbing, setupwraith (takes HOME once the stock launcher is off), unused preloads; voice assistant, firmware updater and Miracast off by choice; Chromecast kept; Netflix/YouTube/Prime buttons fixed with app_keys 4062/4065/4099, TCL (4020) and gear (4077) buttons open Settings; config.json, build-and-install and restore scripts; tested on a real unit of each model || `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) || `tcl-43p615/` | TCL 43P615 (Europe, BeyondTV, Realtek RTD2851, AR06) | Android TV 11 | Sibling of the BeyondTV2 Android 11 above (AR05); same TCL set plus dashboard, useragreement, copydatatotv and notereminder; **`com.google.android.videos` re-enables on every boot** (and YouTube came back via a Play update), `usercenter` stays off unlike the Android 9 RTD2851 sets; 2 HDMI + AV through TvInputManager, Inputs pill works, setupwraith does not claim HOME; voice, Miracast/MagiConnect, stock screensaver and TCL Dashboard off by choice, Chromecast, OTA and phone remote kept; launcher installed and reboot-checked, TV Bro replaces a Play-installed white-label browser |+ | `tcl-43s450f-ca/` | TCL 43S450F-CA (S4 Fire TV Edition, AFTDEC012E, ginza, MediaTek), Canada | Fire OS 8.1.8.5 / Android 11 | First TCL Fire TV Edition list, from the Stick 4K 2023 and Hisense Fire OS 8 lists: Amazon telemetry, ACR, ad bidding and sponsored rows, Fire TV Channels, Shopping, demo content, popups, Photos/Kids/miniTV/Silk, tutorials, other-device setup, Matter controller, screensaver; Crave, Paramount+, Max and Apple TV off by choice; seven protected packages noted; Alexa, Prime Video, Music, Luna, casting, OTA, Live TV and tuner kept; AdGuard Private DNS works; debloat only, stock launcher protected; reboot-checked; notes in README.md || `tcl-43s5k/` | TCL 43S5K (G13, G13_2K_GB, MediaTek MT9221, 1 GB), India | Google TV 14 | TCL analytics and the firmware updater are one app (ttvs, kept on for updates), log upload, promo rows, Google partner auto-installs and tracking; Assistant and TCL browser off by choice; Live TV and HDMI are MediaTek's `wwtv.tvcenter`, not `com.tcl.tv`; the Wi-Fi saved during setup belongs to setupwraith, so re-join it before setupwraith goes; launcherx, setupwraith and dreamx off for launcher/; the remote's gear sends keycode 83 (`settings_key_keycodes`) || `tcl-50c725k/` | TCL 50C725K (Smart TV Pro, BeyondTV4/BeyondTV6, RTD2851M, Realtek rtd288o, 2 GB), AR10 build | Android TV 11 | Same BeyondTV4 family as `tcl-65c725/` and `tcl-55c725/`, with the older `tvlauncher` (replaced by `launcher/`); TCL home-content push, TCL Channel, promos, analytics, messagebox, dashboard, browser, gallery, auto-installs and Google feedback/partner setup; Google voice (katniss, ~175 MB RAM), TalkBack/TTS and Netflix/Stan/Play Games off by choice; TCL account, firmware updater, Chromecast, Miracast and screensaver kept; Live TV `com.tcl.tv` and inputs `com.tcl.tvinput` kept; reboot-checked || `tcl-50dp660/` | TCL 50DP660 (Europe, "Percee TV", MediaTek MT5658 / board mt5891, V8-T658T01-LF1V602) | Android TV 8.0 | TCL content tiles (T-Channel), MagiConnect, Alexa bridge, OTA updater, USB players, Rakuten preload and ODM test apps; Assistant and speech recognition off (no microphone), Cast kept; stock launcher has HOME priority 2 and must be disabled; three PERSISTENT `android.uid.system` packages survive `disable-user`; factory menu from the remote via Picture > Advanced Settings > Brightness > Contrast > `1950` with network ADB on 5555; an NVM reset needs a factory reset and a USB reflash afterwards or the Wi-Fi MAC, Widevine keybox and Netflix ESN stay wiped; [compatibility notes](../docs/devices/tcl-50dp660.txt) |diff --cc examples/tcl-43s450f-ca/README.mdindex 000000000,c752521f3..1859efe09mode 000000,100644..100644--- a/examples/tcl-43s450f-ca/README.md+++ b/examples/tcl-43s450f-ca/README.md@@@ -1,0 -1,53 +1,49 @@@+ # TCL 43S450F-CA (TCL S4 Fire TV Edition, Fire OS 8.1.8.5)++ TCL 43" S4 Fire TV Edition, Amazon model `AFTDEC012E`, codename `ginza`, Fire OS 8.1.8.5 (RS8185/3885) on+ Android 11 (SDK 30), MediaTek, ATSC tuner, 1.8 GB RAM. Canadian set with the UI in Spanish. Done over Wi-Fi+ on 21 October 2026 with `tools/tv.py` (adb-shell, no adb binary; port 5555 opens as soon as ADB debugging is+ on, no pairing). The first TCL Fire TV Edition list here; same firmware line as `amazon-fire-tv-stick-4k-2023/`+ and `hisense-fire-tv-aftcibfbd1/`.++ | File | What it is |+ |---|---|+ | `debloat.txt` | The 45 packages that were disabled, grouped and commented, plus the 7 that Fire OS protects |++ All commands run from the repo root with the TV's IP in `TV_HOST`.++ ## What worked and what did not++ **Debloat: yes.** Telemetry, ACR, ad bidding and sponsored rows, Fire TV Channels, Shopping, demo content,+ popups, Amazon Photos, Kids, miniTV, Silk, tutorials, other-Amazon-device setup, the Matter controller, the+ screensaver, and the unused streaming apps (Crave, Paramount+, Max, Apple TV). Applied in four batches with a+ screenshot after each, then rebooted: all 45 stayed disabled, Home, YouTube and Live TV settings open.+ Seven packages are protected (`Cannot disable a protected package`), the same set as the Stick 4K 2023 list:+ device.metrics, device.logmanager, device.crashmanager, diode, usagestats.proxy, ftvads.deeplinking, tv.csapp.++ **Launcher: no.** This is Fire OS, not Google TV. `com.amazon.tv.launcher` owns Home at priority 950 and is a+ protected package, so `launcher/build-and-install.sh` does not apply. The hero banner at the top of Home is+ the launcher's own feed and stays; the recommendation rows under it are gone once `media.recommendations`+ and `kso.blackbird` are off.+-**Private DNS: works.** `settings put global private_dns_specifier dns.adguard-dns.com` then-`settings put global private_dns_mode hostname`: `doubleclick.net` resolves to 127.0.0.1 and YouTube still-plays (its own ads are not DNS-blockable). Undo with `settings put global private_dns_mode opportunistic`.-+ ## Apply and undo++ ```+ TV_HOST=<tv ip> tools/disable.sh examples/tcl-43s450f-ca/debloat.txt+ TV_HOST=<tv ip> tools/restore.sh examples/tcl-43s450f-ca/debloat.txt com.amazon.tv.launcher+ TV_HOST=<tv ip> tools/tv.py "pm enable --user 0 com.cbs.ca" # one app back+ ```++ ## Notes++ - Alexa voice was kept on this set, so none of the Alexa helpers that return at every boot on other Fire OS 8+ sets (`vizzini` and friends) were in the list; nothing came back after the reboot.+ - The favourites bar on Home keeps tiles for apps that are now disabled (Max, Internet, Photos, Kids+) and+ placeholders (DAZN, Twitch): highlight one, press the ☰ button and remove it.+ - Settings > Preferences > Privacy Settings (device and app usage data, interest-based ads) and Featured+ Content autoplay are account-synced toggles: turn them off in the menu, not with `settings put`.+ - Closing ADB from the shell: `settings put global adb_enabled 0` closes port 5555 at once (the connection+ drops, as expected). A backgrounded `nohup ... reboot` dies with the shell session on this firmware, so+ reboot from the TV's menu afterwards.+ - Kept on purpose: Prime Video, Amazon Music, Luna, Alexa, AirPlay, Miracast, DIAL casting, OTA updates,+ Live TV and the tuner, Tubi, Pluto TV, Netflix, YouTube, Spotify and the owner's own sideloads.diff --cc examples/tcl-43s450f-ca/debloat.txtindex 000000000,eada3da3b..f2a6d765dmode 000000,100644..100644--- a/examples/tcl-43s450f-ca/debloat.txt+++ b/examples/tcl-43s450f-ca/debloat.txt@@@ -1,0 -1,87 +1,87 @@@+ # TCL 43S450F-CA (TCL S4 Fire TV Edition, Amazon model AFTDEC012E, codename ginza), Fire OS 8.1.8.5 (RS8185/3885),+ # Android 11 (SDK 30), MediaTek, ATSC tuner, 1.8 GB RAM, Canada. Spanish UI.+ # Same firmware line as hisense-fire-tv-aftcibfbd1 (Fire OS 8.0 TV) and amazon-fire-tv-stick-4k-2023 (Fire OS 8.1.8.5).+ #+ # FIRE OS: DEBLOAT ONLY. Home is com.amazon.tv.launcher/.ui.HomeActivity_vNext (priority 950), with+ # com.amazon.firehomestarter (priority 1) behind it; both are protected on Fire OS 8, so launcher/ does not take Home.+ # HDMI input switching is reserved to Amazon-signed apps (com.amazon.tv.permission.TUNE_INPUT).+ #+ # Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-43s450f-ca/debloat.txt+ # Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-43s450f-ca/debloat.txt com.amazon.tv.launcher+ # Everything is DISABLED for user 0, never uninstalled. Comment out any line you want to keep.+ #+ # Kept on purpose (owner's choice): Prime Video (com.amazon.firebat, tv.support, imp, ottssocompanionapp), Amazon Music+ # (bueller.music), Luna (gamehub), Alexa voice and its services (vizzini, aria, alexa*, aca, aiondec, audiohome,+ # rtcsessioncontroller, spotify.mediabrowserservice, androidskillconnectioncapability), AirPlay, Miracast (cast.sink),+ # DIAL casting (dialservice, whisperplay, whisperlink, awvflingreceiver), OTA updates (device.software.ota*,+ # tv.forcedotaupdater.v2), Tubi, Pluto TV, Netflix, YouTube, Spotify, Stremio, Nuvio, NordVPN, Downloader.+ # Always kept: Live TV and tuner (tv.livetv, mediatek.livetv, mediatek.dtv.tvinput.*, tv.channelscan, franktvinput),+ # settings, quick settings, IME, remote/Bluetooth, Appstore (venezia), com.amazon.tv.oobe, com.amazon.tv.matter+ # (Matter casting), com.amazon.providers.contentsupport (switches the TTS engine Alexa uses), accessibility (logan).-# Applied 2026-10-21 in four batches with a screenshot after each, then rebooted: all 45 stayed disabled, Home, YouTube-# and Private DNS (dns.adguard-dns.com, doubleclick.net -> 127.0.0.1) work. Alexa was kept, so nothing came back at boot.++# Applied 2026-10-21 in four batches with a screenshot after each, then rebooted: all 45 stayed disabled, Home and++# YouTube work. Alexa was kept, so nothing came back at boot.+ # The hero banner on Home is the launcher's own feed and stays; the recommendation rows under it are gone.+ # Looked at and left alone, role unclear: com.amazon.ale, katoch, spiderpork, tv.arc, securitysyncclient, device.details,+ # tv.fss, neodelegate, sharingservice proxy, cpl, tifobserver, connectivitydiag, neopactservice, dpcclient, mediatek.*.++ # Amazon telemetry, metrics, logs, usage reporting+ com.amazon.client.metrics.api+ com.amazon.neo.minerva+ com.amazon.neo.minerva.logcat+ com.amazon.wirelessmetrics.service+ com.amazon.perfcollection+ com.amazon.perfc+ com.amazon.dp.logger+ com.amazon.ceviche # data collection pipelines+ com.amazon.tv.developer.dataservice # content personalization data for third-party apps+ com.amazon.device.telemetry.emitter+ com.amazon.livedeviceservice+ com.amazon.privacypassservice+ com.amazon.wifilocker # uploads Wi-Fi passwords to Amazon+ com.amazon.tv.acr # Automatic Content Recognition (what is on screen, HDMI included)+ com.amazon.audiolatencymeasurer++ # Ads, sponsored rows, recommendations, promos, shopping+ com.amazon.kso.blackbird # launcher ad sync / bidding+ com.amazon.sneakpeek # sponsored "Sneak Peek" autoplay previews+ com.amazon.hybridadidservice # advertising ID+ com.amazon.media.recommendations # sponsored and recommendation rows+ com.amazon.tv.easyupgrade # "upgrade your Fire TV" promos+ com.amazon.shoptv.client # Shop on Fire TV+ com.amazon.hedwig # Fire TV Channels+ com.amazon.tv.democontent.provider # retail demo content+ com.amazon.systemnotices+ com.amazon.tv.releasenotes # "what's new" popups+ com.amazon.uxnotification # UX notification popups+ com.amazon.tv.earlyaccess # early-access / preview program stub++ # Preloaded apps and tutorials (owner's choice)+ com.amazon.bueller.photos # Amazon Photos+ com.amazon.tahoe # Amazon Kids+ com.amazon.minitv.android.app # miniTV stub+ com.amazon.cloud9 # Silk browser+ com.amazon.tv.website_launcher # opens websites in Silk+ com.amazon.naatyam+ com.amazon.tmm.tutorial # remote tutorial+ com.amazon.storm.lightning.tutorial # remote app tutorial+ ca.bellmedia.cravetv # Crave+ com.cbs.ca # Paramount+ / CBS+ com.wbd.stream # Max+ com.apple.atve.amazon.appletv # Apple TV app (AirPlay is separate and stays)++ # Other Amazon devices, smart home, screensaver (owner's choice)+ com.amazon.whisperjoin.middleware.v2.np # frustration-free setup of other Amazon devices+ com.amazon.tv.ffsprovisioneeclient+ com.amazon.ods.kindleconnect # "show on Fire TV" from Echo / Fire tablet+ com.amazon.smarthomemapviewapp # smart home dashboard+ com.amazon.tv.mattercohost # Matter smart-home controller (com.amazon.tv.matter stays for casting)+ com.amazon.ftv.screensaver # Amazon Photos screensaver++ # Protected on this build: pm disable-user answered "Cannot disable a protected package" for all seven, so they stay on:+ # com.amazon.device.metrics+ # com.amazon.device.logmanager+ # com.amazon.device.crashmanager+ # com.amazon.diode+ # com.fireos.usagestats.proxy+ # com.amazon.ftvads.deeplinking+ # com.amazon.tv.csapp