Skip to content

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

examples: add Xiaomi MiTV-MOOQ0 (croods), Android TV 10

Yaswanth Gosula8a4b71b06d7c
diff --git a/examples/README.md b/examples/README.md
index 944aba859..eb30baeda 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-mooq0/` | Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 | PatchWall, Mi analytics, MiChannel, TV Manager, Alexa bridge; factory test app also claims HOME |
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-mooq0/debloat.txt b/examples/xiaomi-mitv-mooq0/debloat.txt
new file mode 100644
index 000000000..039cd0fc3
--- /dev/null
+++ b/examples/xiaomi-mitv-mooq0/debloat.txt
@@ -0,0 +1,69 @@
+# Xiaomi Mi TV (MiTV-MOOQ0, codename croods), Android TV 10, firmware QTG3.200305.006.3270
+# MediaTek m7632 chassis, 1.8 GB RAM, Android low-RAM mode on.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-mooq0/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-mooq0/debloat.txt
+# Everything is DISABLED for user 0, not uninstalled. Comment out any line you want to keep.
+#
+# Kept deliberately, despite names that look like bloat. Checked with `dumpsys package`:
+# com.xiaomi.android.tvsetup.partnercustomizer holds BleRcActivity, the Bluetooth remote pairing
+# com.mediatek.hotkey.dispatcher the remote's hotkey service, including Source
+# com.mediatek.tvinput serves HDMI 1-3, composite AV and the tuner
+# com.mediatek.wwtv.setupwizard the channel tuning wizard for Live TV
+# mitv.service, com.xiaomi.mitv.res core TV service and framework resources
+#
+# Quirk: com.duokan.factorytest also declares the HOME intent, at priority 0, the same as a
+# replacement launcher (the stock launcher sits at priority 2). Disable it and set the home
+# activity explicitly BEFORE disabling com.google.android.tvlauncher, or Home can land on the
+# factory test app. It is in the list below so restore.sh re-enables it.
+#
+# NOTE: com.google.android.tvlauncher is deliberately NOT in this list. launcher/build-and-install.sh
+# disables it only after the replacement launcher is installed and verified as home.
+#
+# Tested on this firmware: HDMI 1-3, composite AV, the tuner, the Bluetooth remote, Gboard,
+# Play Store, Chromecast, Miracast and USB video playback all still work.
+
+# ---- Xiaomi telemetry and analytics ----
+com.miui.tv.analytics
+com.xiaomi.statistic
+com.google.android.tv.bugreportsender # automatic bug report upload
+com.google.android.feedback # crash / feedback reporting
+
+# ---- Xiaomi content, ads and recommendation rows ----
+com.mitv.tvhome.atv # PatchWall (.app.PatchWallActivity)
+com.mitv.tvhome.michannel # Mi recommendation channels, Firebase + GMS measurement
+com.xm.webcontent # Xiaomi promo web content
+com.xiaomi.floatingframe # floating promo overlay service
+android.autoinstalls.config.xiaomi.amelie # partner app auto-install config
+
+# ---- Background services not needed ----
+com.xiaomi.mitv.tvmanager # "TV Manager" cleaner / boost / data usage
+com.xiaomi.amazon.alexa # Alexa bridge; Google voice search is kept
+com.aha.mitv # dormant duplicate Aha 2.0.8; ahaflix.tv 2.0.22 is kept
+com.mitv.gallery # Mi Gallery: MiCloud + Xiaomi market SDK
+com.mitv.dream # Xiaomi MiDream screensaver, Firebase + skyeye monitor
+com.google.android.backdrop # Google ambient screensaver, replaced by the Clock dream
+
+# ---- Preloaded apps nobody asked for ----
+com.xiaomi.mitv.handbook # on-screen user manual
+com.mitv.tvlock # Xiaomi TV lock / parental password
+com.xiaomo.tv.milegal # Xiaomi legal / privacy screens
+com.mstar.android.tv.disclaimercustomization # vendor disclaimer screen
+com.mediatek.wwtv.webview # vendor web view shell
+fusion.android.tv.demo # retail store demo loop
+com.xiaomi.mimusic2 # Mi Music
+com.google.android.play.games # Play Games
+
+# ---- Streaming apps not used (per owner's checklist) ----
+com.jio.web.androidtv # JioTV
+com.google.android.youtube.tvkids # YouTube Kids
+
+# ---- Home-screen claimants replaced by launcher/ ----
+# The factory test app also declares the HOME intent, at the same priority as the new launcher.
+# It is disabled so the Home button can never land on it.
+com.duokan.factorytest
+
+# ---- Stock launcher recommendation plumbing (replaced by launcher/) ----
+com.google.android.tvrecommendations
+com.google.android.leanbacklauncher
+com.google.android.leanbacklauncher.recommendations