Skip to content

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

docs(examples): add Xiaomi MiTV-AESP0 stick debloat list

Hoai Nguyen5170c93645f8
diff --git a/README.md b/README.md
index 89c5b11cc..8a5fb6335 100644
--- a/README.md
+++ b/README.md
@@ -102,6 +102,7 @@ Lists that people have tested and contributed live in [`examples/`](examples/):
| TCL 55" 4K Google TV, 2023 (G10) | Google TV 12 |
| SANYO ATV R2 | Android TV 9 |
| OnePlus TV (D00) | Google TV 14 |
+| Xiaomi MiTV-AESP0 (TV stick) | Android TV 9 |
Your TV not here? The prompt works regardless, it discovers the bloat itself. If you add your
list afterwards, the next person with your model skips that step. See
@@ -152,7 +153,9 @@ AndroidX RecyclerView and nothing heavier. It is built for sets with 1 GB of RAM
video, no network, no background services.
**Configure** it in [`launcher/app/src/main/res/values/config.xml`](launcher/app/src/main/res/values/config.xml):
-the dock order, apps to hide, your TV's Live TV package, and the number of columns.
+the dock order, apps to hide, your TV's Live TV package, the number of columns, whether to show
+the Inputs button (`show_inputs`, off for sticks and boxes) and how many grid rows stay visible
+under the dock (`rows_below_dock`).
**Build and install** with one command:
diff --git a/examples/README.md b/examples/README.md
index 944aba859..9f93e5b4f 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -10,6 +10,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `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 |
| `oneplus-tv-dubai/` | OnePlus TV (D00, Dubai) | Google TV 14 | HeyTap/OnePlus extras, OnePlus Connect, Smart Home |
+| `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 |
To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is to
run the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.
diff --git a/examples/xiaomi-mitv-aesp0/debloat.txt b/examples/xiaomi-mitv-aesp0/debloat.txt
new file mode 100644
index 000000000..7843d9675
--- /dev/null
+++ b/examples/xiaomi-mitv-aesp0/debloat.txt
@@ -0,0 +1,40 @@
+# Xiaomi MiTV-AESP0 (codename aquaman), Android TV 9 (SDK 28), firmware PI.2055.
+# Stock launcher: com.google.android.tvlauncher (disabled by launcher/build-and-install.sh).
+# Live TV app: none (no tuner/HDMI inputs); com.google.android.tv is Live Channels.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-aesp0/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-aesp0/debloat.txt
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Notes from this firmware:
+# - Default IME is already Gboard, so the Mi TV 4A missing-keyboard quirk doesn't apply.
+# - The remote's Home button sends KEYCODE_ALL_APPS (284), not HOME. Android 9 sends that key only
+# to the system launcher, so with tvlauncher disabled Home does nothing. Fix: install with
+# HOME_KEY_SERVICE=1 TV_HOST=<tv ip> launcher/build-and-install.sh
+# which enables the launcher's HomeKeyService. Android switches it off on every reinstall,
+# so always pass HOME_KEY_SERVICE=1.
+# `input keyevent 284` over adb skips the accessibility filter; test with the real remote.
+# - No HDMI/AV inputs: set show_inputs to false in launcher config.xml.
+# - Kept on this set: voice assistant (katniss/pumpkin), Chromecast (mediashell),
+# Mi Cast (com.mitv.milinkservice) and firmware updates (com.xiaomi.mitv.updateservice).
+
+# Xiaomi + Google telemetry
+com.miui.tv.analytics
+com.google.android.feedback
+com.google.android.tv.bugreportsender
+tv.alphonso.alphonso_eula # Alphonso automatic content recognition (viewing tracking)
+
+# PatchWall, content rows, sponsored rows
+com.mitv.tvhome.atv
+com.mitv.tvhome.michannel
+com.xm.webcontent
+com.google.android.tvrecommendations
+android.autoinstalls.config.xiaomi.mibox3 # Play auto-install of partner apps
+android.autoinstalls.config.xioami.mibox3 # same, misspelled duplicate (sic, "xioami")
+
+# Preloaded apps
+com.dazn
+com.nousguide.android.rbtv # Red Bull TV
+com.google.android.apps.tachyon # Google Duo
+com.google.android.play.games
+com.tcl.browser