Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Xiaomi MiTV-MOOR0 (venom, Google TV / Android 11)
Tested on a Xiaomi MiTV-MOOR0 (ro.product.device = venom, MediaTek, 1.8 GB RAM, 1920x1080 @ 320 dpi), Android 11 (SDK 30), firmware RTM5.220609.003.1246.
Apply and undo
From the repository root:
# 1. Disable bloatware (including setupwraith once Wi-Fi ownership is verified)
TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-moor0/debloat.txt
# 2. Build and install the launcher, and disable launcherx
TV_HOST=<tv ip> launcher/build-and-install.sh
# 3. Apply the 5-column dock and Live TV configuration
TV_HOST=<tv ip> tools/theme.sh examples/xiaomi-mitv-moor0
On Windows PowerShell:
powershell -ExecutionPolicy Bypass -File tools\disable.ps1 -TvHost <tv ip> examples\xiaomi-mitv-moor0\debloat.txt
powershell -ExecutionPolicy Bypass -File launcher\build-and-install.ps1 -TvHost <tv ip>
powershell -ExecutionPolicy Bypass -File tools\theme.ps1 -TvHost <tv ip> examples\xiaomi-mitv-moor0
To restore everything back to the original state:
TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-moor0/debloat.txt com.google.android.apps.tv.launcherx
To re-enable a single app at any time:
TV_HOST=<tv ip> tools/tv.py 'pm enable --user 0 <package>'
Notes on this firmware
HOME claimants: Four activities claim
android.intent.category.HOMEout of the box:com.google.android.apps.tv.launcherx/.home.HomeActivity(priority=2)com.google.android.tungsten.setupwraith/.RecoveryActivity(priority=1)com.duokan.factorytest/.FactoryLauncher(priority=0)com.android.tv.settings/.system.FallbackHome(priority=-1000)
Both
com.duokan.factorytestandcom.google.android.tungsten.setupwraithare included indebloat.txtso thatcom.gathin.tvhome/.MainActivityowns Home cleanly. On this unit all saved Wi-Fi networks belonged tocname=android.uid.system:1000(dumpsys wifi | grep -o 'cname=[^ ]*');tools/disable.shchecks this automatically before disablingsetupwraith.Inputs & Live TV:
com.mitv.livetvowns.input.SelectInputActivityand.tv.MainActivity.config.jsonsets"live_tv_package": "com.mitv.livetv"and hides the duplicate tile from the grid ("hidden_apps": ["com.mitv.livetv"]). The launcher's Inputs pill lists HDMI 1–3 (with CEC/custom labels and connection state), AV, and Live TV viacom.mediatek.tvinputandcom.mediatek.tv.service.Dock & wallpaper: Edit
config.json(columnsanddock_apps), or place awallpaper.jpgin this folder, and re-runtools/theme.sh examples/xiaomi-mitv-moor0(or hold OK on the Settings pill on the TV to reorder tiles or pick a wallpaper on-device).Remote buttons: As on
xiaomi-mitv-moor2, oncelauncherxis disabled, if the physical Settings (KEYCODE_SETTINGS, 176), Input (KEYCODE_TV_INPUT, 178) or YouTube (KEYCODE_BUTTON_3, 190) buttons on the remote stop responding, passHOME_KEY_SERVICE=1 INPUT_KEY_SERVICE=1(PowerShell:-HomeKeyService -InputKeyService) tolauncher/build-and-install.sh. Note that binding a key-filtering accessibility service on this MediaTek Google TV 11 platform makes a held Volume button step once per press instead of ramping continuously.