Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
docs: Xiaomi MiTV-MOOQ0 build 8313 with the Russian retail remote
ares223bad93ce73247
diff --git a/docs/devices/xiaomi-mitv-mooq0-android11.md b/docs/devices/xiaomi-mitv-mooq0-android11.mdindex 1302343ec..596d2e0aa 100644--- a/docs/devices/xiaomi-mitv-mooq0-android11.md+++ b/docs/devices/xiaomi-mitv-mooq0-android11.md@@ -21,3 +21,38 @@ are inside `/system/priv-app/TvServices/TvServices.apk`, package `com.mediatek.tNetflix key receiver handles global keycode 265. The boot receiver updates its key count; inspectionof this APK did not find code that re-enables Netflix. Keep `com.mediatek.tv.service` enabled becauseit also provides core TV and remote functions.++## Build `8313` with the Russian retail remote++A second P1 43" unit, Android TV 11, build `RTM4.220307.164.8313` (`release-keys`), `ro.config.low_ram=true`,+1.7 GB RAM. The stock Home was `com.google.android.tvlauncher`; `com.mitv.tvhome.atv` (PatchWall) was+launchable but did not answer Home. `com.duokan.factorytest` is not installed on this build.++What was done: 29 packages disabled in total, of which 16 came from the+[MOOQ0 list](../../examples/xiaomi-mitv-mooq0/debloat.txt) in two batches with a screenshot after each+(telemetry and promo, then background services, preloaded apps, Miracast and Mi Cast) and 4 more once the+launcher was Home (PatchWall, `michannel`, the Google ambient screensaver, `tvrecommendations`). Eight more+were already disabled when the work began, among them Netflix and Prime Video, and the stock launcher was+disabled by `launcher/build-and-install.sh` after the new one was confirmed as Home. The owner kept+Chromecast, firmware updates, the USB media players, Mi TV+ and the voice assistant. After one reboot+`pm list packages -d` was identical (29 before, 29 after) and Home still resolved to the new launcher.+Netflix had been disabled by the owner before the list was applied and stayed disabled across that one+reboot, unlike the `8835` unit above.++### The remote has no Input button++The Russian retail remote has Power, the voice assistant, a ring with OK, a PatchWall button (four+squares), Back, Home, four app buttons (Netflix, Okko, ivi, KinoPoisk) and volume. There is no Input or+Source button, so `input_key_keycodes` 130 and `handle_view_inputs` from the section above have nothing+to map on this remote. `getevent -lt` reported five different keys for the five buttons below the ring,+in the order they were pressed: `KEY_WWW`, `KEY_VIDEOPHONE`, `KEY_COFFEE`, `KEY_LOGOFF`,+`KEY_CONTROLPANEL`. Which key belongs to which button is read from that order and was not checked one+button at a time. With PatchWall disabled none of these buttons does anything.++### A key service costs the held volume key++With `INPUT_KEY_SERVICE=1` the launcher's `InputKeyService` was enabled and holding volume up did not+repeat: one step per press. With the service off, holding volume up and down repeated normally. Checked+by hand with the real remote, in that order, on this one unit. It is the same trade-off as on the TCL+G09 (`docs/devices/tcl-55p71b-g09-key-repeat.md`), so leave the service off here unless you would rather+have the app buttons mapped than the held volume key.