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
examples: Xiaomi MiTV-MSSP3 third unit on PI.7274, remote key remappings and config
cetrulin9ee8a1ee0798
diff --git a/examples/xiaomi-mitv-mssp3-android9/README.md b/examples/xiaomi-mitv-mssp3-android9/README.mdindex 8c89605a7..ae338fe5f 100644--- a/examples/xiaomi-mitv-mssp3-android9/README.md+++ b/examples/xiaomi-mitv-mssp3-android9/README.md@@ -92,3 +92,31 @@ no `app_keys` entry were needed on this unit: the app buttons go through`com.xiaomi.android.tvsetup.partnercustomizer/.GlobalKeyReceiver` and `com.mstar.netflixobserver`, which stayenabled. The microphone does nothing by design, since the voice assistant is disabled. An injected `KEYCODE_TV`over ADB does not open Live TV here, which says nothing about the remote; the Inputs pill opens it.++## Third unit: PI.7274 (EU retail Mi TV 4S 55", Spain)++A third set running Android 9 (SDK 28, build `PI.7274 release-keys`, `ro.product.model = MiTV-MSSP3`,+`ro.product.device = machuca`, 1.8 GB RAM).++### Debloat batches & kept packages+Applied in four batches (telemetry; PatchWall and content rows; cleaner and unused preloads; and the old leanback+home after CleanYourTV was verified as default Home).++Kept deliberately:+- Firmware updater (`com.xiaomi.mitv.updateservice`)+- Chromecast built-in (`com.google.android.apps.mediashell`)+- Screensavers (`com.google.android.backdrop`, `com.mitv.dream`)+- Gallery (`com.mitv.gallery`) for local wallpapers / photos in Galería+- Voice assistant (`com.google.android.katniss`)+- Streaming apps: Netflix, YouTube, Prime Video, HBO Max, RTVE, Atresplayer, Mitele, Tivify, Apple TV, Spotify, and TDT Channels++### Launcher configuration and remote keys+Configured via `config.json` in this folder:+- `"columns": 5`+- `"handle_view_inputs": true` (allows the physical and remote Input button to open the launcher's Inputs menu)+- `"dock_apps"`: YouTube, Netflix, Prime Video, Live TV (`com.mediatek.wwtv.tvcenter`), and Play Store (`com.android.vending`)+- `"app_banners"`: `"com.mediatek.wwtv.tvcenter=banner_tv"`+- `"app_keys"`:+ - Mi button (`192` / `KEYCODE_BUTTON_5`) mapped to open TDT Channels (`com.tdtchannels.player`).+ - Netflix button (`265` / `KEYCODE_STEM_1`, `193` / `KEYCODE_BUTTON_6`, scancodes `scan:240`, `scan:416`, `scan:393`) remapped to YouTube (`com.google.android.youtube.tv`).+diff --git a/examples/xiaomi-mitv-mssp3-android9/config.json b/examples/xiaomi-mitv-mssp3-android9/config.jsonnew file mode 100644index 000000000..5f2910140--- /dev/null+++ b/examples/xiaomi-mitv-mssp3-android9/config.json@@ -0,0 +1,25 @@+{+ "columns": 5,+ "handle_view_inputs": true,+ "dock_apps": [+ "com.google.android.youtube.tv",+ "com.netflix.ninja",+ "com.amazon.amazonvideo.livingroom",+ "com.mediatek.wwtv.tvcenter",+ "com.android.vending"+ ],+ "app_banners": [+ "com.mediatek.wwtv.tvcenter=banner_tv"+ ],+ "app_keys": [+ "192:com.tdtchannels.player",+ "KEYCODE_BUTTON_5:com.tdtchannels.player",+ "265:com.google.android.youtube.tv",+ "KEYCODE_STEM_1:com.google.android.youtube.tv",+ "193:com.google.android.youtube.tv",+ "KEYCODE_BUTTON_6:com.google.android.youtube.tv",+ "scan:240:com.google.android.youtube.tv",+ "scan:416:com.google.android.youtube.tv",+ "scan:393:com.google.android.youtube.tv"+ ]+}diff --git a/examples/xiaomi-mitv-mssp3-android9/debloat.txt b/examples/xiaomi-mitv-mssp3-android9/debloat.txtindex b34733770..f4aa01722 100644--- a/examples/xiaomi-mitv-mssp3-android9/debloat.txt+++ b/examples/xiaomi-mitv-mssp3-android9/debloat.txt@@ -67,6 +67,7 @@com.miui.tv.analyticscom.xiaomi.statisticcom.google.android.feedback+com.google.android.tv.bugreportsender# PatchWall, content rows, sponsored rowscom.mitv.tvhome.atv # PatchWalldiff --git a/examples/xiaomi-mitv-mssp3-android9/tv.json b/examples/xiaomi-mitv-mssp3-android9/tv.jsonindex 0bca02a4a..b2b6abb98 100644--- a/examples/xiaomi-mitv-mssp3-android9/tv.json+++ b/examples/xiaomi-mitv-mssp3-android9/tv.json@@ -1,6 +1,6 @@{- "tv": "Xiaomi MiTV-MSSP3 (machuca, MediaTek), Android 9 firmware PI.7524",+ "tv": "Xiaomi MiTV-MSSP3 (machuca, MediaTek), Android 9","os": "Android TV 9","brand": "Xiaomi",- "notes": "Same model before its Android 11 update: PatchWall, Mi analytics, TV Manager; updater commented out; voice assistant re-enables itself at every boot (updated system app rescan); screensaver, preloaded apps off; 1.8 GB, swap full before; notes for the older PI.4663 build (two packages absent, old leanback home to disable), second PI.4663 unit (EU Mi TV 4S 55\") in [README](xiaomi-mitv-mssp3-android9/README.md)"+ "notes": "Same model before its Android 11 update: PatchWall, Mi analytics, TV Manager; updater commented out; voice assistant re-enables itself at every boot (updated system app rescan); screensaver, preloaded apps off; 1.8 GB, swap full before; notes for PI.7524, PI.4663 and PI.7274 builds, including config.json remote key remappings (Mi button -> TDT Channels, Netflix -> YouTube), in [README](xiaomi-mitv-mssp3-android9/README.md)"}