Skip to content

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

examples: Mi TV 4S as a second MiTV-MSSP1 unit, two extras and MI button notes

TheMajorBlackbird64690dd9c503
diff --git a/examples/xiaomi-mitv-mssp1/README.md b/examples/xiaomi-mitv-mssp1/README.md
new file mode 100644
index 000000000..0311c207e
--- /dev/null
+++ b/examples/xiaomi-mitv-mssp1/README.md
@@ -0,0 +1,29 @@
+# Xiaomi MiTV-MSSP1 (nino) notes
+
+## The MI button after PatchWall is disabled
+
+The MI button on the remote sends keycode 191. Xiaomi's `com.xiaomi.android.tvsetup.partnercustomizer`
+catches it and opens PatchWall while the global setting `patchwall_enable` is `true`. With
+`com.mitv.tvhome.atv` disabled the button then does nothing. The list keeps partnercustomizer enabled, and
+this needs it.
+
+Tested on the second unit (Mi TV 4S) with the real remote:
+
+1. `tools/tv.py 'settings put global patchwall_enable false'` makes the button open Live TV instead.
+2. To open the launcher's Inputs menu instead, turn on the launcher's `InputKeyService` with
+ `tools/tv.py 'settings put secure enabled_accessibility_services com.gathin.tvhome/.InputKeyService'`
+ (see "Input button" in `docs/TROUBLESHOOTING.md`; that replaces the whole list, so keep any service
+ already in `settings get secure enabled_accessibility_services`, separated by `:`) and add this to the theme's `config.json` before pushing
+ it with `tools/theme.sh`:
+
+ ```json
+ "app_keys": ["191:inputs"]
+ ```
+
+ `"191:input:com.mediatek.tvinput/.hdmi.HDMIInputService/HW3"` jumps straight to HDMI 2 instead
+ (HW2 is HDMI 1, HW4 is HDMI 3).
+
+Pushing another theme replaces `config.json`, so merge `app_keys` into each theme you push. A force-stop of
+the launcher switches the accessibility service off; turn it back on afterwards.
+
+To undo, set `patchwall_enable` back to `true`, turn the service off and push a theme without `app_keys`.
diff --git a/examples/xiaomi-mitv-mssp1/debloat.txt b/examples/xiaomi-mitv-mssp1/debloat.txt
index fa6f65508..5157df51e 100644
--- a/examples/xiaomi-mitv-mssp1/debloat.txt
+++ b/examples/xiaomi-mitv-mssp1/debloat.txt
@@ -14,6 +14,11 @@
# playback. All eight packages below remain disabled.
# No package from this list had to be re-enabled during those checks.
# This is nino / PI.5925, not the MSSP0 (amelie), MSSP2 (volver) or MSSP3 (machuca) firmware.
+#
+# Second unit: sold as Mi TV 4S, About shows MiTV-MSSP1, same nino / PI.5925, Russian/CIS region
+# firmware (tuner country Belarus). Whole list applied plus the two packages in the last section.
+# Status: second unit, disabled since 2026-10-31, reboot-checked 2026-11-01 with the replacement
+# Home and an empty logcat -b crash; nothing re-enabled. MI button setup: README.md in this folder.
# Xiaomi telemetry
com.miui.tv.analytics
@@ -61,3 +66,9 @@ com.android.printspooler
com.xiaomi.mimusic2
com.mitv.gallery
com.google.android.marvin.talkback
+
+# --- Second unit extras (Mi TV 4S, 2026-10-31) ---
+# Mi TV+ content add-on (also on the Mi TV 4A list)
+com.mitv.tvhome.mitvplus
+# AOSP colour screensaver; reassign the screensaver first, as with the two above
+com.android.dreams.basic
diff --git a/examples/xiaomi-mitv-mssp1/tv.json b/examples/xiaomi-mitv-mssp1/tv.json
index b33f8aef0..8c7ba68e8 100644
--- a/examples/xiaomi-mitv-mssp1/tv.json
+++ b/examples/xiaomi-mitv-mssp1/tv.json
@@ -1,6 +1,6 @@
{
- "tv": "Xiaomi MiTV-MSSP1 (nino), firmware PI.5925",
+ "tv": "Xiaomi Mi TV 4S (MiTV-MSSP1, nino), firmware PI.5925",
"os": "Android TV 9",
"brand": "Xiaomi",
- "notes": "Eight Xiaomi telemetry/content and Google recommendation packages, plus verified extras (report senders, partner auto-installer, both heavy screensavers with a reassign-first warning, TV Manager, restorable Google preinstalls, Xiaomi media/accessibility leftovers); replacement Home reboot-checked; updater, Assistant, Chromecast, USB media and TV input services kept enabled"
+ "notes": "Eight Xiaomi telemetry/content and Google recommendation packages, plus verified extras (report senders, partner auto-installer, both heavy screensavers with a reassign-first warning, TV Manager, restorable Google preinstalls, Xiaomi media/accessibility leftovers); replacement Home reboot-checked; updater, Assistant, Chromecast, USB media and TV input services kept enabled; a second unit adds Mi TV+ and the AOSP screensaver, and the folder README maps the MI button to the Inputs menu"
}
\ No newline at end of file