Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
MiTV-ASTP0 (mulan): HDMI and AV input configuration
The input config records a second unit: Xiaomi A55, MiTV-ASTP0
(mulan), Android 9 / API 28, China firmware 24.7.4.3982, tested on
2026-10-28. The existing debloat list is from firmware
22.12.2.1630; no package from that list was disabled during this input test.
This is not a new verification of that list or its Home setup.
Symptom and fix
Selecting HDMI 2 in Home on v2.5.0 left Home in front and showed
“此电视不支持该功能” (“Not available on this TV”). The standard ACTION_VIEW
passthrough URI with MIME type vnd.android.cursor.item/channel resolved to
no activity on this unit.
Xiaomi's player instead accepts com.xiaomi.mitv.tvplayer.EXTSRC_PLAY with
an integer extra named input. On this firmware, that action resolves
to com.xiaomi.mitv.tvplayer/.ExternalSourceActivity.
| Port | Framework input ID | Integer input |
|---|---|---|
| HDMI 1 | com.droidlogic.tvinput/.services.Hdmi1InputService/HW5 |
23 |
| HDMI 2 | com.droidlogic.tvinput/.services.Hdmi2InputService/HW6 |
24 |
| HDMI 3 | com.droidlogic.tvinput/.services.Hdmi3InputService/HW7 |
25 |
| AV 1 | com.droidlogic.tvinput/.services.AV1InputService/HW1 |
2 |
AV is HW1 on this unit, not the HW2 used by some other Xiaomi/Redmi
records. Do not copy a sibling model's input mapping without checking
dumpsys tv_input. The config does not hide any inputs or guess tuner mappings.
A PS5 appeared as a CEC child input under HDMI 2, labelled
Playback_1 · HDMI2. Its parent is Hdmi2InputService/HW6. The vendor source
number belongs to that physical parent; the CEC child number is not the
player's input value. Current Home already resolves the parent for
input_sources while keeping the child ID for the standard URI path.
Applying the two keys
Use a launcher revision that supports both input_action and input_sources,
as current main does. Unmodified v2.5.0 does not implement
input_sources, so sending this config to that release alone cannot fix it.
Setting only input_action sends a URI without the required port number.
Merge the two keys from config.json into the TV's existing theme config, keeping its other settings. See the theme key guide for the standard package. Restart Home after updating its overlay.
To undo just this input override, restore the previous values of these two keys, or remove them if they were absent. Keep the rest of the existing theme.
Validation and limits
- Before the fix, clicking HDMI 2 reproduced the toast, left Home in front, and created no TV input session.
- The native action and each integer above opened the correct physical port.
- With a local
v2.5.0compatibility patch sending those same integer extras, clicking HDMI 1, HDMI 2 (including the PS5 CEC row), HDMI 3 and AV 1 from Home entered the native player and established sessions on HW5, HW6, HW7 and HW1 respectively. HOME returned to the replacement launcher. - The owner confirmed PS5 picture and sound on HDMI 2.
- The exact current-main APK with this JSON overlay was not installed over
that working setup. This contribution reuses current main's existing
input_sourcesimplementation; it adds no model-specific Java routing. - Other-port picture/sound, a reboot after the fix, long-term behavior and other firmware remain unverified. HDMI screenshot capture returned no image, so it is not offered as picture/sound evidence.
The stock Xiaomi launcher and all system packages remained enabled on this unit. No Home/boot changes or debloat changes are part of this input fix.
Additional verification: MiTV-ASTP0, firmware 23.2.15.1886
Tested on Xiaomi MiTV-ASTP0 (mulan), Android 9, firmware 23.2.15.1886.
Default Home launcher
On this firmware, setting com.gathin.tvhome as the default Home activity returned success, but Android continued resolving Home to com.mitv.tvhome/.MainActivityUserMode.
Building CleanYourTV with an alternative application ID resolved the issue:
./gradlew assembleDebug -PlauncherApplicationId=com.ts.launcher --no-daemon
After installing the APK, the following command successfully assigned CleanYourTV as the default Home application:
adb shell cmd package set-home-activity --user 0 com.ts.launcher/com.gathin.tvhome.MainActivity
The new Home selection survived a reboot. Xiaomi's original launcher remained installed and enabled.
Remote-control behavior
Enabling HomeKeyService with accessibility key filtering allowed direct Home-key interception, but holding Volume Up/Down stopped repeating. Individual volume presses continued working.
Disabling accessibility key filtering restored held-volume adjustment. With com.ts.launcher registered as the default Home application, direct Home navigation and normal volume control both worked without an accessibility-based redirect or a server-side watcher.
HDMI switching
The standard Android input-launching method produced the message "Not available on this TV."
The Xiaomi-specific action worked when tested directly:
adb shell am start -a com.xiaomi.mitv.tvplayer.EXTSRC_PLAY -n com.xiaomi.mitv.tvplayer/.ExternalSourceActivity --ei input 23
The following values were configured in the launcher:
{
"input_action": "com.xiaomi.mitv.tvplayer.EXTSRC_PLAY",
"input_sources": ["HW5=23", "HW6=24", "HW7=25", "HW1=2"]
}
HDMI 1 was confirmed working with a Nintendo Switch 2. HDMI 2, HDMI 3 and AV 1 were configured but not individually verified.
Debloating
Seven Xiaomi packages were successfully disabled through ADB without rooting the device. In particular, com.xiaomi.wakeupservice was observed consuming approximately 60% of one CPU core before being disabled.
The following seven packages were disabled using pm disable-user --user 0:
com.xiaomi.wakeupservice
com.miui.analytics
com.miui.tv.analytics
com.xiaomi.statistic
com.mitv.cloudcontrol
com.xiaomi.mitv.tvpush.tvpushservice
com.mitv.shoplugin
The stock Xiaomi launcher (com.mitv.tvhome) remained enabled. All seven packages were confirmed disabled for user 0, but long-term stability has not yet been verified.
No firmware flashing or root access was required.