Skip to content

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

examples: add Xiaomi MiTV-ASTP1 (maverick, China firmware) debloat list

Zebro5697ae783ea4
diff --git a/examples/README.md b/examples/README.md
index 038cce39f..491c8abed 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -31,6 +31,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-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-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 |
| `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro) | Android TV 9 | PatchWall, Glance ads, Mi TV+, Sensara, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice |
| `xiaomi-mitv-moor2/` | Xiaomi MiTV-MOOR2 (venom, MediaTek) | Google TV 11 | Mi ad row and PatchWall, Mi analytics, MiLink, store demo; setup wizard off so a third-party launcher can own Home |
| `xiaomi-mitv-mssp3/` | Xiaomi MiTV-MSSP3 (machuca, MediaTek) | Android TV 11 | PatchWall, Mi analytics, Netflix observer; Chromecast, screensavers, unused streaming apps off by choice |
diff --git a/examples/xiaomi-mitv-astp1/debloat.txt b/examples/xiaomi-mitv-astp1/debloat.txt
new file mode 100644
index 000000000..5e0091c53
--- /dev/null
+++ b/examples/xiaomi-mitv-astp1/debloat.txt
@@ -0,0 +1,47 @@
+# Xiaomi MiTV-ASTP1 (codename maverick; China-market firmware), Android 9 (SDK 28),
+# firmware 2.40.641.0514.cn (HyperOS-era CN build), Amlogic/droidlogic, 1 GB RAM, 720p panel.
+# Stock launcher: com.mitv.tvhome (HOME activity .MainActivityUserMode). It is not in
+# KNOWN_STOCK_LAUNCHERS, so install with: STOCK_LAUNCHER=com.mitv.tvhome launcher/build-and-install.sh
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-astp1/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-astp1/debloat.txt com.mitv.tvhome
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Notes from this firmware:
+# - No Google apps at all. Content comes from CN streaming apps: com.ktcp.video (Tencent
+# Video), com.cibn.tv (Youku's TV build "Kumiao"), com.hunantv.license (Mango TV - yes,
+# the app itself is in the "license" package), com.newtv.cboxtv (CCTV NewTV),
+# com.xiaodianshi.tv.yst (bilibili). The list below keeps them all except NewTV.
+# - Network ADB (port 5555) closes on every reboot; re-enable it in
+# Settings -> Account & Security -> ADB debugging after each power cycle.
+# - mitv.service is the core MiTV service: do not touch it.
+# - com.xiaomi.mitv.settings is the ONLY settings UI: nothing on this firmware answers
+# android.settings.SETTINGS or WIFI_SETTINGS (the launcher's pills need a fallback for that).
+# - Casting (com.xiaomi.mitv.smartshare / com.xiaomi.miplay / com.xiaomi.wfdsinkhelperservice /
+# com.duokan.airkan.tvbox) and the app store are deliberately kept.
+
+# Xiaomi telemetry / push / cloud control
+com.miui.analytics
+com.miui.tv.analytics
+com.mitv.cloudcontrol
+com.xiaomi.mitv.tvpush.tvpushservice
+com.android.smspush
+
+# Ads / promoted content
+com.xm.webcontent
+com.mitv.shoplugin # TV shopping channel plugin
+com.gitvdemo.video # GITV promo demo reel
+com.duokan.videodaily # video daily promos
+
+# Xiaomi background services
+com.xiaomi.mitv.tvmanager # "TV Manager" cleaner
+com.xiaomi.mitv.upgrade # firmware updates: re-enable to check for one
+com.xiaomi.gamecenter.sdk.service.mibox
+
+# Preloaded apps not used
+com.xiaomi.mimusic2 # Mi Music
+com.xiaomi.tv.gallery
+com.mitv.gallery # Media Explorer still opens USB photos
+com.xiaomi.screenrecorder
+com.xiaomi.mitv.smartpanel # smart home panel
+com.newtv.cboxtv # CCTV NewTV (owner does not use)