Skip to content

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

docs: add Xiaomi MiTV-MFTR0 (HyperOS TV 2, CN) debloat list and Home notes

HG0539xDC86053993861dfa9a49
diff --git a/README.md b/README.md
index 3b0749593..ca1d8a8db 100644
--- a/README.md
+++ b/README.md
@@ -325,6 +325,7 @@ Anker Nebula, BYINTEK, Epson, Gadnic, JMGO, Portronics, Stellamore, Wanbo and XG
| Xiaomi TV Stick 4K 2nd gen (MiTV-AFMU1, twilight, adastra, Amlogic), streaming stick | Google TV 14 |
| Xiaomi TV Stick 4K (MiTV-AYFR0, soul, Amlogic), streaming stick | Android TV 14 |
| Xiaomi TV S Pro 100 Mini LED 2025 (小米电视 S Pro 100, L100MB-SP, MiTV-MFFU0, finch, MediaTek), China firmware OS3.0.115.0.UFFMATV, 4 GB RAM | Android 14 (HyperOS 3, CN build) |
+| Xiaomi MiTV-MFTR0 (freeguy, MediaTek mt9653), China firmware OS2.0.23.0.RFTMATV (HyperOS TV 2) | Android 11 (HyperOS TV 2, CN build) |
</details>
diff --git a/docs/devices/xiaomi-mitv-mftr0-debloat-home.md b/docs/devices/xiaomi-mitv-mftr0-debloat-home.md
new file mode 100644
index 000000000..571120ef4
--- /dev/null
+++ b/docs/devices/xiaomi-mitv-mftr0-debloat-home.md
@@ -0,0 +1,54 @@
+# Xiaomi MiTV-MFTR0: debloat and third-party Home on HyperOS TV 2 (Android 11)
+
+Companion to [xiaomi-mitv-mftr0-freeguy.txt](xiaomi-mitv-mftr0-freeguy.txt) (input
+routes, Xiaomi settings intents, app discovery). This note covers the 2026-10-22
+debloat/Home session on a MiTV-MFTR0 (`freeguy`, MediaTek mt9653), **China firmware
+`OS2.0.23.0.RFTMATV` (HyperOS TV 2), Android 11 (SDK 30)** — the second CN set from
+the same sessions as [MiTV-ASTR0](xiaomi-mitv-astr0-blueplanet.md) (HyperOS TV 3,
+Android 14), and the starting point was the ASTR0 findings. Everything below was
+checked per-package on this set first.
+
+## Same ad screensaver, one generation earlier
+
+`com.xiaomi.mitv.hyper.screensaver` exists on OS2 with identical settings
+(`screen_saver_timeout=480000`, time/weather cards open, AOSP `screensaver_enabled=0`
+unrelated). It was disabled without waiting for a live capture: same package, same
+settings shape, same firmware family as the ASTR0 evidence. The classic
+`com.mitv.screensaver` / `com.xiaomi.mitv.advertise` do not exist here either;
+`boot_ad=0` out of the box.
+
+## Home: the allowlist trampoline works on OS2 too
+
+Same sequence as ASTR0, same outcome: with the allowlist-identity home
+(`com.ts.launcher`) installed and PatchWall (`com.mitv.tvhome`) disabled, HOME
+resolves to the trampoline and lands on the installed third-party launcher
+(`com.oversea.aslauncher`, Emotn UI), across reboots — the set boots straight into
+it. `cmd package set-home-activity` on an ordinary app is equally cosmetic here
+(reports `Success`, changes nothing). So on CN Xiaomi sets the pattern so far:
+OS2/Android 11 and OS3/Android 14 both honor the package-name allowlist; the one
+negative report remains MiTV-MFFU0 (OS3.0.115). As on ASTRP0-style lists: install
+the trampoline first, disable PatchWall second; `pm enable com.mitv.tvhome` plus a
+reboot undoes it.
+
+## What differs from the ASTR0 set
+
+- No WPS preload (`cn.wps.moffice_i18n_TV` absent), no `com.mitv.overseaservice`,
+ no AOSP adservices/ondevicepersonalization/federatedcompute module packages
+ (Android 11 predates them).
+- `com.emotn.browser` (Emotn's browser, distinct from their launcher) ships as a
+ preload here and was disabled.
+- Keep-list verified again: `com.xiaomi.mitv.smartpanel` is the Menu-button panel;
+ `com.sohu.inputmethod.sogou.tv` is the only IME; `com.xiaomi.mitv.tvplayer`,
+ `com.xiaomi.mitv.settings`, `com.xiaomi.mitv.systemui`, `mitv.service` untouched.
+
+## Two operational notes
+
+- First ADB-over-TCP connect needs the on-TV `允许USB调试` RSA confirmation (tick
+ "always allow"); if the dialog never appears, `adb kill-server` + reconnect
+ re-triggers the handshake. ADB closes again on every reboot.
+- **Classify preloads by `pm path`, not by memory**: an owner-installed Moonlight
+ (`com.limelight`) sat in an early draft of the list because a same-named package
+ is a factory preload on other sets; `pm path` showed `/data/app/...` (user
+ install) and it was dropped from the list and re-enabled. `pm disable-user`
+ hides the icon, which reads as "deleted" to the owner; `pm enable` restores it
+ with data intact.
diff --git a/examples/README.md b/examples/README.md
index 1fd77920d..ef45fa896 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -206,6 +206,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `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-axso2/` | Xiaomi MiTV-AXSO2 (dangalUHD, India, 2 GB) | Android TV 9 | PatchWall, Mi TV+, Sensara, Mi analytics, TV Manager, updater, partner auto-installs, old partner app copies; voice, all casting and streaming apps kept; sign-in notice and storage notes |
| `xiaomi-mitv-mffu0/` | Xiaomi TV S Pro 100 Mini LED 2025 (小米电视 S Pro 100, L100MB-SP, MiTV-MFFU0, finch, MediaTek), China firmware OS3.0.115.0.UFFMATV, 4 GB RAM | Android 14 (HyperOS 3, CN build) | First HyperOS 3 Xiaomi: Mi analytics, MiSight log upload, TV QS reporting, cloud control, video-daily promos with the Mi ad SDK, shopping, web promos, Pictorial, AI translate; alarms, health, game SDK off by choice; **keep TV Manager** (XiaoAI's "open an app" voice command runs through its provider) and **keep the stock launcher** (non-system launchers cannot own Home, not even as preferred home); ADB closes on every reboot; CEC set-top-box black-screen note; voice, casting, Mi Home, OTA, Hyper screensaver kept; debloat only |
+| `xiaomi-mitv-mftr0/` | Xiaomi MiTV-MFTR0 (freeguy, MediaTek mt9653), China firmware OS2.0.23.0.RFTMATV (HyperOS TV 2) | Android 11 (HyperOS TV 2, CN build) | Second CN set from the ASTR0 sessions, one HyperOS generation earlier (Android 11): same ad screensaver carrier (`com.xiaomi.mitv.hyper.screensaver`) and the same `com.ts.launcher` allowlist trampoline for third-party Home with PatchWall disabled, both carried over and verified; no WPS/overseaservice/adservices here; keep `com.xiaomi.mitv.smartpanel` (Menu-button panel); ADB needs the on-TV RSA confirmation once and closes on every reboot; [debloat and Home notes](../docs/devices/xiaomi-mitv-mftr0-debloat-home.md), [inputs/settings notes](../docs/devices/xiaomi-mitv-mftr0-freeguy.txt) |
| `xiaomi-mitv-moeu0/` | Xiaomi TV S Mini LED 75 2025 (MiTV-MOEU0, ladybird, MediaTek) | Google TV 14 | Mi TV+ banners and MiChannel rows, Mi analytics, TV Manager cleaner, Play auto-installs; setupwraith off (its Wi-Fi network belonged to the system here); remote's Settings 176, YouTube 190, Apps 284 and Xiaomi TV+ 192 noted |
| `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-mosr4/` | Xiaomi MiTV-MOSR4 (irobot, MediaTek) | Google TV 11 | Mi ad rows and PatchWall, Mi analytics, TV Manager, Miracast sink, OTA off by choice; setup wizard off so a third-party launcher can own Home; `overseaservice` hosts the Netflix key and must stay; second unit: setupwraith before launcherx, remote buttons need both key services and `config.json`; [notes](../docs/devices/xiaomi-mitv-mosr4.md) |
diff --git a/examples/xiaomi-mitv-mftr0/debloat.txt b/examples/xiaomi-mitv-mftr0/debloat.txt
new file mode 100644
index 000000000..d347cf7f3
--- /dev/null
+++ b/examples/xiaomi-mitv-mftr0/debloat.txt
@@ -0,0 +1,61 @@
+# Xiaomi MiTV-MFTR0 (freeguy, MediaTek mt9653), China firmware OS2.0.23.0.RFTMATV
+# (HyperOS TV 2), Android 11 (SDK 30). Second CN-firmware set from the same live
+# sessions as MiTV-ASTR0 (see examples/xiaomi-mitv-astr0/); the same mechanisms carry
+# over 1:1 from HyperOS TV 3 to HyperOS TV 2. Input routes, settings intents and app
+# discovery for this model: docs/devices/xiaomi-mitv-mftr0-freeguy.txt; debloat and
+# Home notes: docs/devices/xiaomi-mitv-mftr0-debloat-home.md.
+# Disabled and lived with on 2026-10-22; everything verified per-package against
+# this firmware first (it ships no WPS, no com.mitv.overseaservice, and Android 11
+# has no AOSP adservices module packages).
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-mftr0/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-mftr0/debloat.txt com.mitv.tvhome
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Notes from this firmware:
+# - The standby/screensaver ads come from com.xiaomi.mitv.hyper.screensaver, same as
+# on OS3: a plain Activity with its own downloaded carousel; screensaver_enabled=0
+# does not touch it. com.mitv.screensaver / com.xiaomi.mitv.advertise don't exist.
+# - Keep com.xiaomi.mitv.smartpanel enabled (it is the Menu-button panel: source
+# switcher + wireless tiles). Do NOT add it here.
+# - First ADB connect needs the on-TV "允许USB调试" RSA confirmation; ADB over TCP
+# then closes on every reboot (Settings -> 账号与安全 -> ADB 调试 to re-enable).
+# - Check /data/app before classifying anything as a preload: an owner-installed
+# Moonlight (com.limelight) sat in an early draft of this list until `pm path`
+# showed it was not a preload. It is intentionally absent here.
+
+# Xiaomi telemetry / ads / push
+com.miui.tv.analytics # TV usage statistics
+com.xiaomi.tvqs # quality/performance reporting
+com.xiaomi.mitv.tvpush.tvpushservice # push ads/notifications
+com.miui.hybrid.tv # hybrid runtime container
+com.xm.webcontent # webview container for promotions
+com.mitv.shoplugin # TV Taobao shopping plugin
+com.xiaomi.mitv.shop # Xiaomi store
+com.duokan.videodaily # short-video promos, bundles the Mi ad SDK
+com.xiaomi.gamecenter.sdk.service.mibox # game center SDK
+
+# Preloaded apps
+com.emotn.browser # Emotn browser preload (the launcher itself is a separate owner-installed app)
+com.xiaomi.mitv.calendar
+com.xiaomi.mitv.health
+com.xiaomi.mitv.healthdiagnosis
+com.xiaomi.mitv.karaoke.service
+com.xiaomi.screenrecorder
+com.xiaomi.tweather # weather provider; also feeds the Hyper screensaver
+com.mitv.gallery
+com.xiaomi.tv.gallery # "Pictorial" wallpaper app
+
+# Mi Home + cleaner (re-enable tvmanager if XiaoAI "open app" goes quiet, cf. MFFU0)
+com.xiaomi.smarthome.tv
+com.xiaomi.mitv.tvmanager
+com.mitv.toolhouse
+
+# Screensaver ads (same carrier as OS3; verified by settings + package state)
+com.xiaomi.mitv.hyper.screensaver # HyperOS screensaver Activity; see device doc
+
+# Stock launcher - LEFT COMMENTED OUT by default: on this build the stock launcher
+# was replaced through the com.ts.launcher allowlist trampoline (see the device doc)
+# before disabling it; uncomment only together with that setup. Undo path:
+# pm enable com.mitv.tvhome + reboot.
+#com.mitv.tvhome