Skip to content

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

examples: MiTV-MFFU0 takes the launcher as Home under an allowlisted package name

Fantsee72fee8ec4c
diff --git a/docs/devices/xiaomi-mitv-astr0-blueplanet.md b/docs/devices/xiaomi-mitv-astr0-blueplanet.md
index f9f000ded..d3e6dafa6 100644
--- a/docs/devices/xiaomi-mitv-astr0-blueplanet.md
+++ b/docs/devices/xiaomi-mitv-astr0-blueplanet.md
@@ -27,7 +27,7 @@ plus `logcat -d | grep -iE 'screensaver'` for the cache paths. Then
The classic MiTV ad packages `com.mitv.screensaver` and `com.xiaomi.mitv.advertise` do
not exist on this firmware; boot ad is already off here (`boot_ad=0`).
-## Home: the allowlist still works on this HyperOS 3 build (unlike MiTV-MFFU0)
+## Home: the allowlist still works on this HyperOS 3 build
- Ordinary (non-system) apps' HOME activities are dropped from resolution, same as
documented for MiTV-MFFU0: with PatchWall disabled, an installed third-party launcher
@@ -45,9 +45,11 @@ not exist on this firmware; boot ad is already off here (`boot_ad=0`).
- Procedure: install the allowlist-identity home first, press Home once to confirm it
answers, only then `pm disable-user --user 0 com.mitv.tvhome`. Recovery is
`pm enable com.mitv.tvhome` plus a reboot. Keep PatchWall enabled if you skip this.
-- MiTV-MFFU0 (OS3.0.115) reported that no sideloaded launcher could own Home on
- HyperOS 3; on ASTR0 (OS3.0.106) the allowlisted package name does pass. Same
- generation, different outcome — test instead of assuming.
+- MiTV-MFFU0 (OS3.0.115) first reported that no sideloaded launcher could own Home on
+ HyperOS 3, but that was the standard package name. Its launcher built as
+ `com.thunderstone.idun.dev`, an allowlisted name there, has been its Home since 2026-10-20, also
+ after a full reboot (`examples/xiaomi-mitv-mffu0/debloat.txt`), so both HyperOS 3 builds honor the allowlist.
+ The allowlist itself can differ between sets: check the package name on yours.
## Screensaver replacement is not possible on this set (no root)
diff --git a/docs/devices/xiaomi-mitv-mftr0-debloat-home.md b/docs/devices/xiaomi-mitv-mftr0-debloat-home.md
index 571120ef4..5d314381e 100644
--- a/docs/devices/xiaomi-mitv-mftr0-debloat-home.md
+++ b/docs/devices/xiaomi-mitv-mftr0-debloat-home.md
@@ -25,8 +25,8 @@ 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
+OS2/Android 11 and OS3/Android 14 both honor the package-name allowlist, MiTV-MFFU0
+(OS3.0.115) included. As on ASTRP0-style lists: install
the trampoline first, disable PatchWall second; `pm enable com.mitv.tvhome` plus a
reboot undoes it.
diff --git a/examples/README.md b/examples/README.md
index 345a0002d..076941f69 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -217,8 +217,8 @@ on that firmware, grouped and commented. These are starting points: comment out
| `xiaomi-mitv-axfr1/` | Xiaomi MiTV-AXFR1 (rango, Amlogic, 1 GB), India | Android TV 11 | PatchWall, Mi analytics, sponsored rows, partner auto-installs, TV Manager; mirroring, OTA and unused streaming apps off by choice; Chromecast and voice kept; PatchWall's input popup is unused (input picker is Live TV's); custom HOME accepted, setupwraith does not claim HOME |
| `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-astr0/` | Xiaomi Redmi Smart TV A Pro 55" 2025 Energy-saving (MiTV-ASTR0, blueplanet, Amlogic), China firmware OS3.0.106.0.USTAATV, 3 GB RAM | Android 14 (HyperOS 3, CN build) | Second HyperOS 3 Xiaomi: standby ads are the Hyper screensaver Activity itself (`com.xiaomi.mitv.hyper.screensaver`, own downloaded carousel, verified live) — disabling the usual content sources does not stop it; classic `com.mitv.screensaver`/`advertise` don't exist; PatchWall **disabled and replaced via the `com.ts.launcher` allowlist trampoline** (works on this OS3.0.106 build, unlike MFFU0's OS3.0.115 report — same generation, different outcome); keep `com.xiaomi.mitv.smartpanel` (it is the Menu-button panel); no idle clock screensaver possible (idle timeout is a hard panel-off); ADB closes on every reboot; [device notes](../docs/devices/xiaomi-mitv-astr0-blueplanet.md) |
+| `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 Home only for a launcher built under an allowlisted package name (`-PlauncherApplicationId=com.thunderstone.idun.dev`, stock launcher disabled; the standard ID and `set-home-activity` do not work); ADB closes on every reboot; CEC set-top-box black-screen note; voice, casting, Mi Home, OTA, Hyper screensaver kept; debloat only |
+| `xiaomi-mitv-astr0/` | Xiaomi Redmi Smart TV A Pro 55" 2025 Energy-saving (MiTV-ASTR0, blueplanet, Amlogic), China firmware OS3.0.106.0.USTAATV, 3 GB RAM | Android 14 (HyperOS 3, CN build) | Second HyperOS 3 Xiaomi: standby ads are the Hyper screensaver Activity itself (`com.xiaomi.mitv.hyper.screensaver`, own downloaded carousel, verified live) — disabling the usual content sources does not stop it; classic `com.mitv.screensaver`/`advertise` don't exist; PatchWall **disabled and replaced via the `com.ts.launcher` allowlist trampoline** (works on this OS3.0.106 build, as on MFFU0's OS3.0.115); keep `com.xiaomi.mitv.smartpanel` (it is the Menu-button panel); no idle clock screensaver possible (idle timeout is a hard panel-off); ADB closes on every reboot; [device notes](../docs/devices/xiaomi-mitv-astr0-blueplanet.md) |
| `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 |
diff --git a/examples/xiaomi-mitv-mffu0/debloat.txt b/examples/xiaomi-mitv-mffu0/debloat.txt
index cb73213dc..8c34e8b61 100644
--- a/examples/xiaomi-mitv-mffu0/debloat.txt
+++ b/examples/xiaomi-mitv-mffu0/debloat.txt
@@ -3,18 +3,40 @@
# MediaTek mt5877, 4 GB RAM.
# Disabled on 2026-10-20 in batches; after each batch Home, Xiaomi settings, HDMI 1 and the
# screensaver were checked. All but com.xiaomi.tv.gallery (added last) were also checked after a reboot.
-# Stock launcher: com.mitv.tvhome (HOME activity .MainActivityUserMode) - KEEP IT ENABLED, see
-# "Home" below. This list is debloat only.
+# Stock launcher: com.mitv.tvhome (HOME activity .MainActivityUserMode). This list leaves it enabled;
+# disable it only after the allowlisted launcher build in "Home" below is installed.
#
# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-mffu0/debloat.txt
# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-mffu0/debloat.txt com.mitv.tvhome
# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
#
# Notes from this firmware:
-# - Home: unlike MiTV-ANSP0, a sideloaded launcher cannot become Home here. HyperOS drops the HOME
-# activities of ordinary (non-system) apps from resolution, and it refuses them as the preferred
-# home, so `cmd package set-home-activity` does not help. With com.mitv.tvhome disabled, Home
-# lands on com.xiaomi.mitv.settings/.entry.FallbackHome, a black screen.
+# - Home: HyperOS keeps only system apps and package names on Xiaomi's third-party-home allowlist as
+# HOME candidates (ResolveIntentHelper.chooseBestActivity; the list is
+# /data/system/mitv_security_center.xml, pushed by cloud control, not readable from the shell). It is
+# the mechanism documented for MiTV-AETP0 (docs/devices/xiaomi-mitv-aetp0-dofus.md). The standard
+# com.gathin.tvhome build installs and opens, but `cmd package set-home-activity` prints Success and
+# changes nothing, and with com.mitv.tvhome disabled Home lands on
+# com.xiaomi.mitv.settings/.entry.FallbackHome, a black screen.
+# What works: the launcher built under an allowlisted package name, with com.mitv.tvhome disabled.
+# This set has used it as Home since 2026-10-20, and boots straight into it: after a full reboot on
+# 2026-10-22 the system started it as Home at systemReady, with no FallbackHome or chooser.
+# tools/tv.py 'pm path com.thunderstone.idun.dev' # must print nothing
+# (cd launcher && ./gradlew assembleRelease -PlauncherApplicationId=com.thunderstone.idun.dev)
+# install the APK as in the AETP0 note, then: pm disable-user --user 0 com.mitv.tvhome
+# cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME
+# -> com.thunderstone.idun.dev/com.gathin.tvhome.MainActivity
+# Unlike AETP0, the stock launcher must be disabled: with both enabled, Home opens the system's
+# launcher chooser, because a third-party preferred Home is refused. Re-enabling com.mitv.tvhome (as a
+# firmware update might) brings the chooser back; disabling it again restores the launcher.
+# The allowlist is printed at boot: `logcat -d | grep 'MitvConfigParser: \[White\]'` soon after a
+# boot gives <package>=<flags> lines, and Home needs the flag value 4 set (flags & 4). 42 of the 125
+# entries here have it, com.ts.launcher (511) among them, but only com.thunderstone.idun.dev (511) was
+# tested. The check is on the package name only, not the signature. tools/theme.sh and
+# launcher/build-and-install.sh still use com.gathin.tvhome; a theme overlay for this build goes in
+# /sdcard/Android/data/com.thunderstone.idun.dev/files/config.json.
+# Undo: pm enable com.mitv.tvhome, then remove com.thunderstone.idun.dev like any app you installed
+# (with both present Home shows the chooser).
# - Network ADB (port 5555) closes on every reboot; re-enable it in
# Settings -> 账号与安全 (Account & Security) -> ADB 调试 after each power cycle.
# - Not touched: mitv.service, com.xiaomi.mitv.tvplayer (input switching, HDMI/AV/DTMB),