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 TV Box S 3rd gen (MiTV-AFMU0, Google TV 14)
Dennis Blokland3bf0707775c1
diff --git a/examples/README.md b/examples/README.mdindex 038cce39f..4c2d11368 100644--- a/examples/README.md+++ b/examples/README.md@@ -30,6 +30,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `xiaomi-mi-box-s/` | Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 | PatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice, casting, phone remote off by choice || `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-afmu0/` | Xiaomi TV Box S 3rd gen (MiTV-AFMU0, twilight, Amlogic), streaming box | Google TV 14 | Mi analytics, PatchWall/Mi Home tab, Mi connect/SmartShare; voice and phone remote off by choice; setup wizard off so launcherx can go || `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 |diff --git a/examples/xiaomi-mitv-afmu0/debloat.txt b/examples/xiaomi-mitv-afmu0/debloat.txtnew file mode 100644index 000000000..66fecd12e--- /dev/null+++ b/examples/xiaomi-mitv-afmu0/debloat.txt@@ -0,0 +1,68 @@+# Xiaomi TV Box S 3rd gen (MiTV-AFMU0, codename twilight, Amlogic), Google TV on Android 14 (SDK 34),+# firmware UKG3.250826.001 / V816.0.11.0.UZFAABX.+# Fingerprint: Xiaomi/twilight/twilight:14/UKG3.250826.001/V816.0.11.0.UZFAABX:user/release-keys+#+# Apply: TV_HOST=<box ip> tools/disable.sh examples/xiaomi-mitv-afmu0/debloat.txt+# Undo: TV_HOST=<box ip> tools/restore.sh examples/xiaomi-mitv-afmu0/debloat.txt+# Everything is DISABLED, not uninstalled.+# Tested for one evening so far (Home, grid, D-pad, dock apps) and across one reboot: the disabled list and the+# default home survive it. Not lived with for days yet.+#+# Notes from this box:+# - The stock home is com.google.android.apps.tv.launcherx. launcher/build-and-install.sh disables it.+# - setupwraith's RecoveryActivity (HOME priority 1, launcherx 2, a sideloaded launcher 0) takes Home once+# launcherx is off, so setupwraith has to go too, and it has to go FIRST. Disabled the other way round+# (launcherx, then setupwraith) the box lost Wi-Fi, did not rejoin by itself and ADB went offline until Wi-Fi+# was reconnected by hand on the TV. Redone in the right order (setupwraith, then launcherx): ADB and Wi-Fi+# stayed up and Home went straight to the new launcher. This is the same crash-loop xiaomi-tv-a-pro-2026+# describes. Re-enable setupwraith to re-pair the remote.+# - Leave alone: com.xiaomi.android.tvsetup.partnercustomizer, mitv.service, com.droidlogic*.+# - With the stock launcher gone, apps without a dock slot just appear in the grid.++# Telemetry and feedback+com.miui.tv.analytics+com.xiaomi.statistic+com.xiaomi.tvqs.overseas.y24 # Xiaomi quality-stats uploader+com.google.android.feedback+com.android.tv.feedbackconsent++# PatchWall, content rows, promos, auto-installs+com.mitv.tvhome.atv+com.mitv.tvhome.michannel+com.mitv.tvhome.mitvplus+com.mitv.tvhome.oemtab+com.xm.webcontent+android.autoinstalls.config.soc.amlogic++# Personal choice: voice assistant, phone remote, Mi cast/share (the mic button stops working)+com.google.android.katniss+com.google.android.tv.remote.service+com.xiaomi.mitv.smartshare+com.xiaomi.wfdsinkhelperservice+com.xiaomi.mi_connect_service++# Preloaded apps+com.disney.disneyplus+com.wbd.hbomax+com.google.android.youtube.tvmusic+com.google.android.play.games+com.google.android.marvin.talkback+com.xiaomi.mimusic2+com.xiaomi.mitv.mediaexplorer+com.mitv.videoplayer+com.android.printspooler+com.mitv.gallery++# Personal choice: preloaded streaming apps, kept enabled here. Uncomment the ones you don't use+# com.netflix.ninja # Netflix+# com.google.android.youtube.tv # YouTube+# com.amazon.amazonvideo.livingroom # Prime Video++# Optional, uncomment if unused+# com.google.android.apps.tv.dreamx # Google ambient screensaver (switch to the Clock dream first)++# Setup wizard, takes Home after the stock launcher is disabled+com.google.android.tungsten.setupwraith++# Stock Google TV launcher, replaced by launcher/ (build-and-install.sh disables it; listed so restore brings it back)+com.google.android.apps.tv.launcherx