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: add TCL 32SF560 (AFTSHN02, Fire OS 7.7.1.7 / Android 9)
oli8f518ee6a09a
diff --git a/examples/tcl-32sf560-fire-tv/README.md b/examples/tcl-32sf560-fire-tv/README.mdnew file mode 100644index 000000000..48cc20ba9--- /dev/null+++ b/examples/tcl-32sf560-fire-tv/README.md@@ -0,0 +1,61 @@+# TCL 32SF560 (TCL Fire TV Edition, Fire OS 7.7.1.7)++TCL 32" Fire TV Edition, Amazon model `AFTSHN02`, codename `shine`, Fire OS 7.7.1.7 on Android 9 (SDK 28),+build `PS7717.5741N.0036408028416` - the same build as `toshiba-fire-tv-aftha004/`, which together with+`amazon-fire-tv-afttiff43/`, `amazon-fire-tv-stick-lite-2020/`, `insignia-ns55f301na25/` and+`amazon-fire-tv-afteu014/` was the starting point for this list. European set with a DVB tuner. Done over+Wi-Fi on 24 October 2026 with `tools/tv.py` (adb-shell, no adb binary; port 5555 opens as soon as ADB+debugging is on, no pairing), in four batches with a screenshot after each and a reboot at the end.++| File | What it is |+|---|---|+| `debloat.txt` | The 83 packages that were disabled, grouped and commented, plus the 10 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.** Amazon ACR (which also reads HDMI input), every metrics and log upload, the advertising ID+and ad bidding, Shopping, retail demo content, the remote tutorials, the promos and popups, the recommendation+rows, Fire TV Channels, Amazon Music, Photos, Kids, miniTV and Luna, Silk and its website shortcut, the account+sync services, the `dummy.*` placeholders, the Alexa helpers, the Miracast and DIAL receivers, printing, and the+forced-OTA promoter. Applied in four batches with a screenshot after each, then rebooted: all 83 stayed+disabled across that reboot, and HDMI, Live TV, Settings and the sideloaded streaming apps were confirmed on+the set afterwards. Ten packages are protected (`Cannot disable a protected package`) and are left out of the+list; the header of `debloat.txt` names them.++**Launcher: no.** This is Fire OS, not Google TV. `com.amazon.tv.launcher` claims Home at priority 950 and is a+protected package, `cmd package set-home-activity` prints Success and changes nothing, and a third-party+launcher's HOME filter stays at 0 because Fire OS ignores priority from an app it did not sign. So+`launcher/build-and-install.sh` does not apply here: the stock launcher keeps Home and the hero banner at the+top of it, which is the launcher's own feed. The recommendation rows under that banner are gone once+`media.recommendations` and `kso.blackbird` are off. Launchers that put themselves *on top* of Amazon's Home+with an Accessibility service are a fork's job and live in [the showcase](https://github.com/Gathin23/cleanyourtv/blob/main/SHOWCASE.md),+not in this list.++## Apply and undo++```+TV_HOST=<tv ip> tools/disable.sh examples/tcl-32sf560-fire-tv/debloat.txt+TV_HOST=<tv ip> tools/restore.sh examples/tcl-32sf560-fire-tv/debloat.txt com.amazon.tv.launcher+TV_HOST=<tv ip> tools/tv.py 'pm enable com.amazon.cloud9' # one app back+```++## Notes++- `com.amazon.vizzini` (Alexa voice) is not listed: Fire OS re-enables it at every boot on 7 and 8, so the+ microphone button comes and goes. `com.amazon.vizzini.ftvcds` stays off. Setting `secure voice_disabled=1`+ does not survive a reboot either.+- The enforced OTA packages are protected, so firmware and security updates keep running; only+ `com.amazon.tv.forcedotaupdater.v2`, the update promoter, is disabled.+- One setting was changed by hand, and it is not part of the list:+ `settings put global com.amazon.tv.settings.featured_item_video_enabled 0` turns off the autoplaying ad video+ in Home's hero banner. `limit_ad_tracking` and `amz_limit_ad_tracking` were already `1`.+- Private DNS was deliberately not set: the router already filters by domain, and Private DNS would send the+ TV around those rules. The Sponsored rows are the launcher's own feed and are only partly affected by either.+- The favourites bar on Home keeps tiles for packages that are now disabled (Music, Photos, Kids, Silk):+ highlight one, press the ☰ button and remove it.+- The screen recorder returns black frames for Netflix and other DRM apps (`screencap` is not a bug in this+ list); check `dumpsys activity activities | grep topResumedActivity` instead.+- Wait about 20 seconds after the last `pm disable-user` before rebooting: Android writes the package state to+ disk with a delay, and a reboot right away can lose the last change.diff --git a/examples/tcl-32sf560-fire-tv/debloat.txt b/examples/tcl-32sf560-fire-tv/debloat.txtnew file mode 100644index 000000000..561aa9cd9--- /dev/null+++ b/examples/tcl-32sf560-fire-tv/debloat.txt@@ -0,0 +1,137 @@+# TCL 32SF560 (TCL Fire TV, AFTSHN02, codename shine), Fire OS 7.7.1.7 / Android 9 (SDK 28),+# build PS7717.5741N.0036408028416 - the same build as examples/toshiba-fire-tv-aftha004, whose list plus+# amazon-fire-tv-afttiff43, amazon-fire-tv-stick-lite-2020, insignia-ns55f301na25 and amazon-fire-tv-afteu014+# were the starting point, filtered to the packages this set actually ships.+#+# FIRE OS: DEBLOAT ONLY. Fire OS will not let a third-party launcher take over Home: com.amazon.tv.launcher+# claims HOME at priority 950 (com.amazon.firehomestarter at 1), both are protected packages, and+# `cmd package set-home-activity` prints Success but changes nothing. This list removes Amazon's telemetry,+# ads, preloads and voice assistant around the stock home screen. Live TV app: com.amazon.tv.livetv.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-32sf560-fire-tv/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-32sf560-fire-tv/debloat.txt com.amazon.tv.launcher+# Everything is DISABLED for user 0, not uninstalled. Comment out any line you want to keep.+#+# Applied on 2026-10-24 in four batches with a screenshot after each, then rebooted: all 83 stayed disabled+# across that reboot, and HDMI, Live TV, Settings and the sideloaded streaming apps were confirmed on the set+# afterwards. Lived with since that day; re-check after a firmware update, Fire OS resets some packages.+#+# Not listed because pm disable-user refuses it ("Cannot disable a protected package") on this build:+# com.amazon.device.software.ota, com.amazon.device.software.ota.override (firmware and security updates keep+# running - Amazon enforces them here), com.amazon.device.sync, com.amazon.device.sync.sdk.internal,+# com.amazon.sync.service, com.amazon.diode, com.amazon.platform.fdrw, com.amazon.securitysyncclient,+# com.amazon.tcomm, com.amazon.tcomm.client. Also not listed: com.amazon.vizzini (Alexa voice), which Fire OS+# re-enables at every boot on 7 and 8, so the microphone button comes and goes; com.amazon.vizzini.ftvcds below+# does stay off.+#+# Kept on purpose: the stock launcher, Live TV and the whole tuner and input stack (channelscan,+# conditionalaccess, franktvinput, com.vewd.*, com.droidlogic.*, inputpreference.service), Settings and Quick+# Settings, the on-screen keyboard, remote and Bluetooth pairing, profiles and parental controls, the Appstore,+# Prime Video, AirPlay, the screensaver, OTA, and every app the owner sideloaded (Netflix, Disney+, Prime,+# HBO Max, Apple TV, YouTube, Kodi, ZDF, ARD, MagentaTV, 7TV, JustWatch, Downloader). Miracast and DIAL+# receivers are off by choice - casting *to* this TV is not used; nothing here touches casting *from* it.++# Ads, shopping, content recognition+com.amazon.tv.acr # Automatic Content Recognition; also sees HDMI input+com.amazon.hybridadidservice # advertising ID+com.amazon.kso.blackbird # launcher ad sync / bidding+com.amazon.dpcclient # device personalization, ad profiles+com.amazon.shoptv.client # Shop on Fire TV+com.amazon.tv.democontent.provider # retail demo content++# Telemetry, metrics, log and diagnostic uploads+com.amazon.tv.fw.metrics+com.amazon.neo.minerva # metrics pipeline+com.amazon.neo.minerva.logcat+com.amazon.wirelessmetrics.service # Wi-Fi metrics upload+com.amazon.perfcollection+com.amazon.perfc+com.amazon.dp.logger # log upload+com.amazon.client.metrics.api+com.amazon.tcomm.jackson # Amazon's own telemetry transport (tcomm itself is protected)+com.amazon.ceviche # data-collection pipelines+com.amazon.privacypassservice+com.amazon.spiderpork+com.amazon.neodelegate+com.amazon.neopactservice+com.amazon.csm.htmlruntime+com.amazon.communication.discovery+com.amazon.fireos.cirruscloud+com.amazon.rtcsessioncontroller+com.amazon.alta.h2clientservice+com.amazon.audiolatencymeasurer+com.amazon.livedeviceservice+com.amazon.wifilocker # uploads Wi-Fi passwords to Amazon+com.amazon.whisperjoin.middleware.np # "frustration-free" setup of other Amazon devices++# Tutorials, promos, Amazon content and the recommendation rows+com.amazon.storm.lightning.tutorial # remote tutorial+com.amazon.tmm.tutorial # remote tutorial+com.amazon.gamehub # Luna / games hub+com.amazon.bueller.music # Amazon Music+com.amazon.bueller.photos # Amazon Photos+com.amazon.minitv.android.app # Freevee / miniTV+com.amazon.naatyam+com.amazon.tahoe # Amazon Kids+com.amazon.tv.localgallery # local gallery (not a USB media player)+com.amazon.sneakpeek # auto-playing previews on Home+com.amazon.tv.easyupgrade # "Upgrade your Fire TV" promos+com.amazon.tv.releasenotes # "What's new" notes+com.amazon.systemnotices # system popups+com.amazon.uxnotification # UX popups+com.amazon.tv.notificationcenter+com.amazon.tv.developer.dataservice # content personalization for third parties+com.amazon.tv.ffsprovisioneeclient+com.amazon.media.recommendations # sponsored / recommendation rows+com.amazon.hedwig # Fire TV Channels+com.amazon.providers.contentsupport+com.amazon.ods.kindleconnect # "show on Fire TV" from an Echo or Fire tablet++# Alexa / voice assistant (vizzini itself is not listed: it returns at every boot)+com.amazon.vizzini.ftvcds+com.amazon.aria # Alexa surfaces+com.amazon.cardinal+com.ivona.orchestrator # Alexa TTS+com.ivona.tts.oem+com.amazon.aca # Alexa hints and cues, about 44 MB of always-on service+com.amazon.aiondec # Alexa skill connections+com.amazon.alexa.datastore.app+com.amazon.alexadirectivebrokerservice+com.amazon.alexa.externalmediaplayer.fireos+com.amazon.alexamediaplayer.runtime.ftv+com.amazon.tv.alexaalerts # alarms, timers, reminders+com.amazon.tv.alexanotifications+com.amazon.audiohome # Alexa Home Theater+com.amazon.firetv.androidskillconnectioncapability++# Cast receivers: this TV as a target for Miracast, Fling and DIAL (off by choice)+com.amazon.cast.sink # Miracast sink+com.amazon.awvflingreceiver+com.amazon.dialservice++# Firmware update promoter (the enforced OTA packages are protected and keep running)+com.amazon.tv.forcedotaupdater.v2++# Printing (nothing prints from this set)+com.android.bips+com.android.printspooler++# Silk browser and its website shortcut+com.amazon.cloud9 # Silk+com.amazon.tv.website_launcher # opens websites in Silk++# Amazon account and device sync+com.amazon.sync.provider.ipc+com.amazon.device_remote_config_sync_service++# Media browser services (Spotify over Alexa, whole-home audio)+com.amazon.spotify.mediabrowserservice+com.amazon.wha.mediabrowserservice++# Placeholder apps with no launchable activity (versionName=9, no start activity)+com.amazon.dummy.alarmclock+com.amazon.dummy.calendar+com.amazon.dummy.contacts+com.amazon.dummy.gallery+com.amazon.dummy.music+com.amazon.dummy.settingsdiff --git a/examples/tcl-32sf560-fire-tv/tv.json b/examples/tcl-32sf560-fire-tv/tv.jsonnew file mode 100644index 000000000..c0803e435--- /dev/null+++ b/examples/tcl-32sf560-fire-tv/tv.json@@ -0,0 +1,6 @@+{+ "tv": "TCL 32SF560 (TCL Fire TV, AFTSHN02, shine)",+ "os": "Fire OS 7.7.1.7 / Android 9",+ "brand": "TCL",+ "notes": "Same build as `toshiba-fire-tv-aftha004/`: Amazon ACR, metrics and log uploads, ad ID and bidding, Shopping, demo content, tutorials, promos, recommendation rows, Silk, account sync, dummy placeholders and the Alexa helpers (`com.amazon.vizzini` returns at every boot and is not listed); Miracast/DIAL receivers, printing and the forced-OTA promoter off by choice; OTA itself protected and running; Live TV, tuner and input stack, AirPlay, Appstore, Prime Video, sideloads and the stock launcher kept; debloat only, reboot-checked"+}