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-mosr4: debloat list for the Xiaomi MiTV-MOSR4
heybyben4888bac43186
diff --git a/examples/README.md b/examples/README.mdindex 038cce39f..00233fcb3 100644--- a/examples/README.md+++ b/examples/README.md@@ -33,6 +33,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `xiaomi-mitv-aesp0/` | Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 | No inputs; Home key sends ALL_APPS, needs `HOME_KEY_SERVICE=1`; Chromecast kept || `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro) | Android TV 9 | PatchWall, Glance ads, Mi TV+, Sensara, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice || `xiaomi-mitv-moor2/` | Xiaomi MiTV-MOOR2 (venom, MediaTek) | Google TV 11 | Mi ad row and PatchWall, Mi analytics, MiLink, store demo; setup wizard off so a third-party launcher can own Home |+| `xiaomi-mitv-mosr4/` | Xiaomi MiTV-MOSR4 (irobot, MediaTek) | Google TV 11 | Mi ad rows and PatchWall, Mi analytics, TV Manager, Miracast sink, OTA off by choice; setup wizard off so a third-party launcher can own Home; `overseaservice` hosts the Netflix key and must stay || `xiaomi-mitv-mssp3/` | Xiaomi MiTV-MSSP3 (machuca, MediaTek) | Android TV 11 | PatchWall, Mi analytics, Netflix observer; Chromecast, screensavers, unused streaming apps off by choice || `xiaomi-tv-a-pro-2026/` | Xiaomi TV A Pro 75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 | PatchWall/Mi Home tab, Mi analytics, TV Manager, updaters; setup wizard off, launcherx crash-loop notes |diff --git a/examples/xiaomi-mitv-mosr4/debloat.txt b/examples/xiaomi-mitv-mosr4/debloat.txtnew file mode 100644index 000000000..322a916c8--- /dev/null+++ b/examples/xiaomi-mitv-mosr4/debloat.txt@@ -0,0 +1,82 @@+# Xiaomi MiTV-MOSR4 (codename irobot), Google TV / Android 11 (SDK 30), firmware RTM5.220609.003.1585+# MediaTek chipset. Stock launcher: com.google.android.apps.tv.launcherx (NOT com.google.android.tvlauncher).+# Live TV app: com.mitv.livetv, which also owns .input.SelectInputActivity (the HDMI/source switcher).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-mosr4/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-mosr4/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED for user 0, not uninstalled. Comment out any line you want to keep.+#+# Tested: all 27 packages below are disabled on this TV (`pm list packages -d` shows them) with the+# launcher from launcher/ in place and owning Home. They went off in batches of 3-6, a screenshot was+# taken after every batch and nothing crashed. Inputs (HDMI 1/2, AV, Live TV) reads correctly, the+# Netflix and SmartTube dock tiles both launch, and mitv.service / overseaservice / livetv stayed up.+# That is a first-day report, not the few days of living with it that CONTRIBUTING.md asks for, so+# treat the list as provisional.+#+# HOME on this build: com.gathin.tvhome owns Home only once com.google.android.tungsten.setupwraith is+# disabled too - on the first run setupwraith/.RecoveryActivity took Home back and the install script's+# rollback re-enabled launcherx. Same story as examples/xiaomi-mitv-moor2.+#+# DO NOT DISABLE on this model, verified with dumpsys on the unit this list was written against:+# com.mitv.livetv owns .input.SelectInputActivity - the HDMI/source switcher lives+# inside the Live TV app, so disabling it costs you input switching+# mitv.service PERSISTENT; hosts .TvServer, .TvSettingService, remote key handling+# com.mitv.overseaservice PERSISTENT; hosts .netflixService (Netflix key on the remote) AND+# .overseaService - nothing here is telemetry, do not disable it+# com.mediatek.network network monitor+# com.mediatek.tvinput HDMI / tuner input framework+# com.mediatek.tv.service core TV service+# com.mi.bluetooth remote + Bluetooth pairing+# com.google.android.tv.remote.service phone-as-remote pairing+# com.google.android.apps.mediashell Chromecast built-in (kept by request)+# com.google.android.katniss Google Assistant / voice (kept by request)+# com.netflix.ninja, org.smarttube.beta, com.live_streaming_tv.online_tv (BitTV) in use++# Xiaomi telemetry / attribution+com.miui.tv.analytics+com.xiaomi.statistic+com.xiaomi.tvqs.overseas # Firebase analytics + DOWNLOAD_WITHOUT_NOTIFICATION+com.google.android.partnersetup # Google RLZ attribution pings++# Ad rows, promos and content providers on the home screen ("Teruskan menonton", "Film terlaris")+com.mitv.tvhome.oemtab # holds ACCESS_ADSERVICES_AD_ID/_ATTRIBUTION - the ad row+com.mitv.tvhome.michannel # Mi content rows+com.mitv.tvhome.mitvplus # Mi TV+ ad-funded channels (Xiaomi TV+ tile)+com.mitv.tvhome.atv # PatchWall home; not a HOME candidate on this build+com.xm.webcontent # Xiaomi web promo WebView+com.mitv.toolhouse++# Retail demo mode and nagware+fusion.android.tv.demo # in-store demo loop+com.xiaomi.mitv.tvmanager # "TV Manager" cleaner+com.xiaomo.tv.milegal # legal notices app+android.autoinstalls.config.xiaomi.amelie # silent preload installer config+# com.xiaomi.mitv.manualhelp # not on this model (there is no on-screen manual package)++# Mi Cast / Miracast - Chromecast built-in (mediashell) still works without them+# com.mitv.milinkservice # not on this model+com.xiaomi.mitv.smartshare+com.xiaomi.wfdsinkhelperservice++# Preloaded apps, off by choice - re-enable any you use+com.xiaomi.mimusic2 # Mi Music+com.google.android.play.games # Play Games+com.mitv.videoplayer # Pemutar media+com.mitv.gallery # Galeri++# Firmware updates off by request - re-enable com.xiaomi.mitv.updateservice to get OTA again+com.xiaomi.mitv.updateservice+com.mitv.upgrader+com.mitv.ABUpdateStatus++# ---------------------------------------------------------------------------------------------+# ONLY AFTER com.gathin.tvhome IS INSTALLED. Do not apply this section on a fresh run, or the+# Home button has nowhere to go.+#+# Disabling the stock launcher is not enough on Google TV: com.google.android.tungsten.setupwraith+# also answers HOME and an ordinary app cannot outrank it. Disabling the setupwraith PACKAGE is what+# frees the slot; `pm disable-user` on its individual components is refused with a SecurityException.+#+# Trade-off: setupwraith is the first-run setup wizard. Everyday use is unaffected, but re-enable it+# before a factory reset - tools/restore.sh does that for you while this line is in the list.+com.google.android.tungsten.setupwraith # setup wizard; blocks a third-party launcher from Home