Skip to content

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

examples: Amazon Fire TV AFTDEC012E debloat list and Fire TV notes

GaneshVarma1c6c2b48e89ef
diff --git a/README.md b/README.md
index 841540833..00ac07936 100644
--- a/README.md
+++ b/README.md
@@ -113,6 +113,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors
|---|---|
| AiPro2K (Expressluck, dongnae; Changhong AI PONT family) | Android TV 14 |
| AIWA AI PONT SA (Changhong, osaka, ISDB86AW) | Google TV 14 |
+| Amazon Fire TV, AFTDEC012E (ginza), Android 11 | Fire OS / Android 11 |
| Amazon Fire TV smart TV (AFTEU014, greta, MediaTek m7322), Germany | Fire OS 7.6.8.5 / Android 9 |
| Amazon Fire TV 50" 4K smart TV (AFTTIFF43, brandenburg) | Fire OS 7.7.1.7 / Android 9 |
| Amazon Fire TV Stick 4K Max, 1st gen 2021 (AFTKA, kara), Colombia | Fire OS 7.7.1.3 / Android 9 |
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
index ba209fdb3..f2ee805c0 100644
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@ -434,6 +434,26 @@ reads `[TclAppBoot]:forbid bind service ComponentInfo{com.gathin.tvhome/com.gath
and whose `appops get` names the op `AUTO_START`: use the name `appops get` prints. When reporting, give the
model, build, current user and the relevant redacted lines, not the raw dump.
+## Fire TV (Fire OS): debloat works, the launcher cannot take Home
+
+Why Google TV differs: on Google TV a third-party app can take the HOME role, so the launcher, the
+`set-home-activity` default and the stock-launcher disable all work. Fire OS keeps Home for Amazon's own
+launcher, and the same tools fail there. Checked on an Amazon Fire TV, model AFTDEC012E (codename ginza),
+Android 11 (SDK 30), build RS8185.3885N:
+
+- `cmd package query-activities` for HOME: `com.amazon.tv.launcher/.ui.HomeActivity_vNext` at priority 950,
+ `com.amazon.firehomestarter` at 1. A third-party launcher installed with `android:priority="1000"` on its
+ HOME filter still sits at 0. Fire OS ignores the priority of a non-system app.
+- `cmd package set-home-activity com.gathin.tvhome/.MainActivity` prints `Success`, and HOME still resolves
+ to Amazon's launcher.
+- `pm disable-user --user 0` on `com.amazon.tv.launcher`, on its component `HomeActivity_vNext`, and on the
+ other Fire OS home packages is refused: `Cannot disable a protected package`.
+- Intercepting the Home key with an AccessibilityService did not work: `onKeyEvent` received nothing for
+ injected keys (`input keyevent KEYCODE_HOME`) or for a 40-second window of remote presses.
+
+Debloat: `tools/disable.sh examples/amazon-fire-tv-aftdec012e/debloat.txt` disables telemetry, ACR, shopping and
+tutorial packages. Undo with `tools/restore.sh examples/amazon-fire-tv-aftdec012e/debloat.txt com.amazon.tv.launcher`.
+
## A key helper is bound and a held remote button stopped repeating
Hold volume up or down and the volume moves one step per press instead of ramping. The remote may be
diff --git a/examples/README.md b/examples/README.md
index 19b13ca8b..f19efd9a7 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -8,6 +8,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `aipro2k/` | AiPro2K (Expressluck, dongnae; Changhong AI PONT family) | Android TV 14 | Anoki ACR, Google ad services, retail demo and Wi-Fi Display test apps; 1 GB; setupwraith must go with launcherx (Home falls to its RecoveryActivity); CVTE/Expressluck factory packages and `com.epl.hotkey` kept |
| `aiwa-ai-pont-sa/` | AIWA AI PONT SA (Changhong, osaka, ISDB86AW) | Google TV 14 | Anoki ACR, ambient mode, partner auto-installs, Homwee store/help; setupwraith before launcherx; Live TV is tvcenter (the input player stays black); remote source button is KEY_G, not mapped yet; config.json puts TV ao vivo first; firmware updater kept |
| `amazon-fire-tv-afteu014/` | Amazon Fire TV smart TV (AFTEU014, greta, MediaTek m7322), Germany | Fire OS 7.6.8.5 / Android 9 | Amazon telemetry, ad/promo feeders, sale service, tutorials, Music/Photos/Kids/Luna/Freevee/miniTV, Alexa voice, Silk, forced OTA updater, printing; OTA service and the usual Fire OS 7 set protected; Alexa voice (vizzini) returns at every boot; Live TV, tuner, HDMI, casting kept; input switching and Live TV are Amazon-only (TUNE_INPUT, TUNE_CHANNEL); AdGuard Private DNS works; debloat only |
+| `amazon-fire-tv-aftdec012e/` | Amazon Fire TV, AFTDEC012E (ginza), Android 11 | Android 11 / Fire OS | Telemetry, ACR, shopping, tutorial and content preloads disabled; debloat only, Fire OS keeps Home (see TROUBLESHOOTING, Fire TV) |
| `amazon-fire-tv-afttiff43/` | Amazon Fire TV 50" 4K smart TV (AFTTIFF43, brandenburg) | Fire OS 7.7.1.7 / Android 9 | Done remotely through a Synology subnet router; Toshiba list plus Insignia ad/tracking packages: ACR, metrics, advertising ID, Shopping, demo, tutorials, Music/Photos/Luna/Kids, Alexa extras, Ambient screensaver; four protected packages noted; Alexa core, casting, OTA, Live TV, Silk kept; AdGuard Private DNS works; debloat only |
| `amazon-fire-tv-stick-4k-2018/` | Amazon Fire TV Stick 4K, 1st gen 2018 (AFTMM, mantis) | Fire OS 6.7.1.1 / Android 7.1 | First Fire OS 6 list: Amazon telemetry, ad/recommendation feeders, Live tab and Fire TV Channels, Shopping, Kids, Music/Photos/Silk, whole-home audio, Alexa extras; unused streaming apps off by choice; ten protected packages noted; voice search, OTA, casting kept; debloat only, sponsored rows need DNS blocking |
| `amazon-fire-tv-stick-4k-2023/` | Amazon Fire TV Stick 4K, 2nd gen 2023 (AFTKM, karat), Brazil | Fire OS 8.1.8.5 / Android 11 | First Fire OS 8 list, every new package checked with `dumpsys package`: Amazon telemetry, ACR, presence sensing (`ftvspatial`), ad/recommendation feeders, Live tab and Fire TV Channels, Shopping, Music/Photos/Silk/Luna/Kids, Ambient, Alexa extras incl. smart home, calling and Alexa+ skill connections; seven protected packages noted; voice search, Prime Video, casting and mirroring, Matter casting, OTA kept; leave animation scales at 1.0 (at 0.5 the ☰ side menu opens nothing); Pi-hole via static DNS; debloat only |
diff --git a/examples/amazon-fire-tv-aftdec012e/debloat.txt b/examples/amazon-fire-tv-aftdec012e/debloat.txt
new file mode 100644
index 000000000..a80c95508
--- /dev/null
+++ b/examples/amazon-fire-tv-aftdec012e/debloat.txt
@@ -0,0 +1,42 @@
+# Amazon Fire TV, model AFTDEC012E (codename ginza), Android 11 (SDK 30), build RS8185.3885N
+# Tested on one unit, Fire OS (Amazon), so no Google services.
+#
+# FIRE OS: DEBLOAT ONLY. Amazon's launcher (com.amazon.tv.launcher) keeps Home, and its packages and components
+# cannot be disabled ("Cannot disable a protected package"), so this list does not install a launcher. It removes
+# Amazon's ads, telemetry and preloads. Details and what was tested: docs/TROUBLESHOOTING.md, "Fire TV (Fire OS)".
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/amazon-fire-tv-aftdec012e/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/amazon-fire-tv-aftdec012e/debloat.txt com.amazon.tv.launcher
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Kept on purpose: Alexa, OTA updates, DIAL/whisperplay (Netflix and YouTube casting), Netflix, YouTube, Prime
+# Video, voice search and the stock launcher. Miracast, MiniTV, Disney+ and Tubi are listed at the bottom, commented
+# out, for the owner to decide.
+
+# Ads, content recognition, shopping
+com.amazon.shoptv.client
+com.amazon.tv.acr
+com.amazon.tv.democontent.provider
+
+# Telemetry and metrics
+com.amazon.neo.minerva
+com.amazon.neo.minerva.logcat
+com.amazon.wirelessmetrics.service
+com.amazon.perfcollection
+com.amazon.perfc
+com.amazon.dp.logger
+
+# Tutorials, promos and Amazon content preloads
+com.amazon.storm.lightning.tutorial
+com.amazon.tmm.tutorial
+com.amazon.gamehub
+com.amazon.bueller.music
+com.amazon.bueller.photos
+com.amazon.naatyam
+
+# Not disabled yet, the owner's choice: Miracast receiver (com.amazon.cast.sink), Freevee/MiniTV (com.amazon.minitv.android.app),
+# Disney+ (com.disney.disneyplus) and Tubi (com.tubitv.ott). Uncomment to disable.
+# com.amazon.cast.sink
+# com.amazon.minitv.android.app
+# com.disney.disneyplus
+# com.tubitv.ott