Skip to content

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

examples: Xiaomi MiTV-AESP0, a third verified set (France unit)

benny1176ed1ef0a33e4
diff --git a/examples/README.md b/examples/README.md
index e772cd3d1..e3cdf9fa0 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -234,7 +234,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `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; notes from #81 |
| `xiaomi-mi-tv-4a/` | Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 | PatchWall, Mi analytics, SmartShare, MiLink |
| `xiaomi-mitv-mooq2/` | Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods) | Android TV 11 | Same croods chassis as MOOQ0, Latin America unit: PatchWall, Mi analytics, MiChannel, Xiaomi TV+, TV Manager, Alexa bridge, partner auto-installs, factory menu; voice and USB media off by choice; `overseaservice` (Netflix key), Chromecast, Miracast and updater kept; setupwraith does not claim 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 |
+| `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` (a French unit's remote sent HOME); Chromecast kept; the Netflix key (1001) cannot be remapped without root; only the Developer options master switch closes 5555 |
| `xiaomi-mitv-ansp0/` | Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAM | Android TV 9 (CN build) | Second CN-firmware Xiaomi, no Google apps: Mi analytics/push/cloud control, ad web container, shop plugin, promo reels, TV Manager, game SDK, preloaded apps, office-mode second home and voice off; updater kept; **keep PatchWall enabled** (disabling it leaves FallbackHome's black screen), set the new launcher as preferred home instead; inputs switch only with the vendor's `EXTSRC_PLAY` extra; ADB closes on every reboot; [more notes](../docs/devices/xiaomi-mitv-ansp0-jobs.txt) |
| `xiaomi-mitv-astp0/` | Xiaomi MiTV-ASTP0 (mulan, sold as L55M7-EA), China firmware 22.12.2.1630, 1.5 GB RAM | Android TV 9 (CN build) | Sibling of ASTP1: Mi analytics/push/cloud control, shop plugin, TV Manager, the Chinese wake word (~30% CPU) and the phone-remote relay that loops at 100-190% CPU off; casting except AirPlay, payment, voice and Mi Video off by choice; keep `com.mitv.tvhome` (Home falls to FallbackHome without it); inputs switch only with Xiaomi's `EXTSRC_PLAY`; time zone ships as Asia/Shanghai |
| `xiaomi-mitv-astp1/` | Xiaomi MiTV-ASTP1 (maverick), China firmware 2.40.641.0514.cn, 1 GB RAM, 720p | Android TV 9 (CN build) | First CN-firmware Xiaomi: no Google apps; stock launcher `com.mitv.tvhome` (pass `STOCK_LAUNCHER`); ADB closes on every reboot; Mi analytics/push/ads, shop plugin, TV Manager, updater off; casting and app store kept |
diff --git a/examples/xiaomi-mitv-aesp0/debloat.txt b/examples/xiaomi-mitv-aesp0/debloat.txt
index 7709da180..ffc80a86f 100644
--- a/examples/xiaomi-mitv-aesp0/debloat.txt
+++ b/examples/xiaomi-mitv-aesp0/debloat.txt
@@ -23,6 +23,18 @@
# "second set" below are disabled on that stick on top of the original list.
# Region note: the ID unit has only the misspelled autoinstalls package below, and
# none of the preloaded apps in the original list (DAZN, Red Bull TV, Duo, TCL browser).
+#
+# Third verified set (France unit, same firmware PI.2055, patch 2022-08-05, debloated 21 Oct 2026; the group
+# marked "third set" below is on top of the original list, plus voice, Chromecast, Mi Cast, the phone remote and
+# the updater off by the owner's choice). Notes from that unit:
+# - The Home key arrived as KEYCODE_HOME (3), not ALL_APPS: `interceptKeyTq keycode=3` in logcat, then HOME
+# started the launcher. HOME_KEY_SERVICE=1 was used anyway and does no harm; check your remote's revision.
+# - The Netflix key is Xiaomi keycode 1001, consumed by the system in interceptKeyBeforeQueueing without
+# POLICY_FLAG_PASS_TO_USER, which launches Netflix itself. Accessibility services never see it, so it cannot
+# be remapped (app_keys, Button Mapper) without root; with Netflix disabled the key just does nothing.
+# - Closing ADB: switching off "USB debugging" alone, then rebooting, left 5555 open. Switching off the
+# Developer options master switch and rebooting closed it (tools/adb-closed.py: refused).
+# - Free memory: about 150 MB stock, about 265 MB right after a reboot with the list and the launcher.
# Xiaomi + Google telemetry
com.miui.tv.analytics
@@ -45,6 +57,9 @@ com.google.android.apps.tachyon # Google Duo
com.google.android.play.games
com.tcl.browser
+# Xiaomi extras (third set)
+com.xiaomo.tv.milegal # Xiaomi privacy-policy screen (sic, "xiaomo"); nothing else uses it
+
# Xiaomi services (second set)
mitv.service # MiTV service framework for the rows removed above
com.mitv.download.service # PatchWall download service