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: add Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods), Android TV 11
AlfaRojo40b29483cc15
diff --git a/README.md b/README.mdindex 65d248728..23074e0a5 100644--- a/README.md+++ b/README.md@@ -324,6 +324,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Portronics, Stellamore, Wa| Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 || Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 || Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 |+| Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods) | Android TV 11 || Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 || Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAM | Android TV 9 (CN build) || Xiaomi MiTV-ASTP0 (mulan, sold as L55M7-EA), China firmware 22.12.2.1630, 1.5 GB RAM | Android TV 9 (CN build) |diff --git a/examples/README.md b/examples/README.mdindex 1d090a8e2..3168b08c3 100644--- a/examples/README.md+++ b/examples/README.md@@ -214,6 +214,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `xiaomi-mi-box-s-2nd-gen/` | Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 | Mi ad row and PatchWall, Mi analytics, partner auto-installs, update service off by choice; setup wizard off for the launcher, Wi-Fi password re-entry note || `xiaomi-mitv-mooq0/` | Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 | PatchWall, Mi analytics, MiChannel, TV Manager, Alexa bridge; factory test app also claims HOME; notes from #81 || `xiaomi-mi-tv-4a/` | Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 | PatchWall, Mi analytics, SmartShare, MiLink |+| `xiaomi-mitv-mooq2/` | Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods) | Android TV 11 | Same croods chassis as MOOQ0, Latin America unit: PatchWall, Mi analytics, MiChannel, Xiaomi TV+, TV Manager, Alexa bridge, partner auto-installs, factory menu; voice and USB media off by choice; `overseaservice` (Netflix key), Chromecast, Miracast and updater kept; setupwraith does not claim HOME || `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-ansp0/` | Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAM | Android TV 9 (CN build) | Second CN-firmware Xiaomi, no Google apps: Mi analytics/push/cloud control, ad web container, shop plugin, promo reels, TV Manager, game SDK, preloaded apps, office-mode second home and voice off; updater kept; **keep PatchWall enabled** (disabling it leaves FallbackHome's black screen), set the new launcher as preferred home instead; inputs switch only with the vendor's `EXTSRC_PLAY` extra; ADB closes on every reboot; [more notes](../docs/devices/xiaomi-mitv-ansp0-jobs.txt) || `xiaomi-mitv-astp0/` | Xiaomi MiTV-ASTP0 (mulan, sold as L55M7-EA), China firmware 22.12.2.1630, 1.5 GB RAM | Android TV 9 (CN build) | Sibling of ASTP1: Mi analytics/push/cloud control, shop plugin, TV Manager, the Chinese wake word (~30% CPU) and the phone-remote relay that loops at 100-190% CPU off; casting except AirPlay, payment, voice and Mi Video off by choice; keep `com.mitv.tvhome` (Home falls to FallbackHome without it); inputs switch only with Xiaomi's `EXTSRC_PLAY`; time zone ships as Asia/Shanghai |diff --git a/examples/xiaomi-mitv-mooq2/config.json b/examples/xiaomi-mitv-mooq2/config.jsonnew file mode 100644index 000000000..e9e25ef53--- /dev/null+++ b/examples/xiaomi-mitv-mooq2/config.json@@ -0,0 +1,11 @@+{+ "dock_apps": [+ "com.wbd.stream",+ "com.netflix.ninja",+ "com.amazon.amazonvideo.livingroom",+ "com.google.android.youtube.tv"+ ],+ "hidden_apps": [],+ "live_tv_package": "com.mediatek.wwtv.tvcenter",+ "columns": 4+}diff --git a/examples/xiaomi-mitv-mooq2/debloat.txt b/examples/xiaomi-mitv-mooq2/debloat.txtnew file mode 100644index 000000000..b7fb332fc--- /dev/null+++ b/examples/xiaomi-mitv-mooq2/debloat.txt@@ -0,0 +1,62 @@+# Xiaomi Mi TV P1 43" (MiTV-MOOQ2, codename croods, MediaTek), Android TV 11, firmware RTM4.220307.164.8238+# Latin America retail unit (L43M6), 1.7 GB RAM, Android low-RAM mode on. Same croods chassis as MiTV-MOOQ0.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-mooq2/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-mooq2/debloat.txt+# Everything is DISABLED for user 0, not uninstalled. Comment out any line you want to keep.+# Provisional: applied in one session and reboot-checked; every package stayed disabled after reboot.+#+# Stock launcher: com.google.android.tvlauncher. It is NOT in this list: launcher/build-and-install.sh+# disables it after com.gathin.tvhome is installed and verified as Home (default STOCK_LAUNCHER detection works).+# Only com.android.tv.settings and the stock launcher claim HOME on this firmware; setupwraith does not, so+# it stays enabled and the saved Wi-Fi network is untouched.+#+# Kept deliberately, checked with `dumpsys package`:+# com.mitv.overseaservice hosts netflixService (the Netflix key), as on MOSR4+# com.xiaomi.android.tvsetup.partnercustomizer holds BleRcActivity, the Bluetooth remote pairing+# com.xiaomi.tvqs.overseas TV quick-settings receivers+# com.mediatek.tvinput, com.mediatek.wwtv.tvcenter, mitv.service, com.mediatek.tv.service HDMI 1-3, AV, tuner+# com.xiaomi.mitv.updateservice firmware updates, kept by owner's choice+#+# Before disabling com.mitv.dream and com.google.android.backdrop, point the screensaver elsewhere:+# settings put secure screensaver_components com.gathin.tvhome/.ClockDream+#+# Tested after the debloat: launcher Inputs menu lists HDMI 1-3, AV and Live TV; Netflix, YouTube, Prime Video+# and Max launch; Chromecast, Mi Cast/Miracast and the Bluetooth remote still work.++# ---- Xiaomi and Google telemetry ----+com.miui.tv.analytics+com.xiaomi.statistic+com.google.android.feedback # crash / feedback reporting++# ---- Xiaomi content, ads and recommendation rows ----+com.mitv.tvhome.atv # PatchWall+com.mitv.tvhome.michannel # Mi recommendation channels+com.mitv.tvhome.mitvplus # Xiaomi TV+ FAST channels+com.xm.webcontent # Xiaomi promo web content+android.autoinstalls.config.xiaomi.amelie # partner app auto-install config+com.google.android.tvrecommendations # stock launcher recommendation rows++# ---- Background services not needed ----+com.xiaomi.mitv.tvmanager # "TV Manager" cleaner+com.xiaomi.amazon.alexa # Alexa bridge+com.mitv.gallery # Mi Gallery+com.mitv.dream # Xiaomi screensaver, replaced by the Clock dream+com.google.android.backdrop # Google ambient screensaver, replaced by the Clock dream++# ---- Preloaded apps ----+com.mitv.tvlock # Xiaomi TV lock / parental password+com.xiaomo.tv.milegal # Xiaomi legal / privacy screens+com.mstar.android.tv.disclaimercustomization # vendor disclaimer screen+com.mediatek.wwtv.webview # vendor web view shell+fusion.android.tv.demo # retail store demo loop+com.xiaomi.mimusic2 # Mi Music+com.google.android.play.games # Play Games+mediatek.factorymenu.ui # factory menu: disabled, never launched++# ---- Optional, by owner's choice ----+com.google.android.katniss # voice assistant (the mic button stops working)+com.google.android.youtube.tvmusic+com.google.android.videos # Play Movies & TV+com.xiaomi.mitv.mediaexplorer # USB media player+com.mitv.videoplayer # Mi video player