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 Redmi TV (MiTV-ANTL0, Android 5.1.1)
TerryLikesCoding74f4624a4c75
diff --git a/README.md b/README.mdindex 328e23d1c..342045d65 100644--- a/README.md+++ b/README.md@@ -124,6 +124,7 @@ Lists that people have tested and contributed live in [`examples/`](examples/):| TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 || RCA AI PONT SA (Changhong, redwood, ISDB92RC) | Android 14 || CHiQ AI PONT (DVB93CQ) | Android TV 11 |+| Redmi TV (MiTV-ANTL0, starwars) | Android TV 5.1.1 |Your TV not here? The prompt works regardless, it discovers the bloat itself. If you add yourlist afterwards, the next person with your model skips that step. Seediff --git a/examples/README.md b/examples/README.mdindex 602a81075..69cfcad4c 100644--- a/examples/README.md+++ b/examples/README.md@@ -24,6 +24,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `tcl-qm6k-google-tv/` | TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 | Samba TV ACR (ttvs), TCL TV+, TCL Live, store/hotel demo; setupwraith must go for a custom launcher || `rca-ai-pont/` | RCA AI PONT SA (Changhong, redwood, ISDB92RC) | Android 14 | Homwee store and installers, Anoki ACR, FAST channels; 1 GB || `chiq-ai-pont/` | CHiQ AI PONT (DVB93CQ) | Android TV 11 | Anoki ACR, FAST channels, AI PONT, Homwee services |+| `redmi-mitv-antl0/` | Redmi TV (MiTV-ANTL0, starwars) | Android TV 5.1.1 | Mi push/web-content/cloud-control ads, TV Taobao, stock screensaver, OTA; needs `pm hide` instead of `pm disable-user`, boot ad is a `setprop` |To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is torun the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.diff --git a/examples/redmi-mitv-antl0/debloat.txt b/examples/redmi-mitv-antl0/debloat.txtnew file mode 100644index 000000000..ec4327190--- /dev/null+++ b/examples/redmi-mitv-antl0/debloat.txt@@ -0,0 +1,50 @@+# Redmi TV (MiTV-ANTL0, codename starwars), Android 5.1.1 (SDK 22), firmware 22.8.17.1977, Amlogic.+# Discovered on-device 2026-10-19; every package verified with dumpsys before being listed.+# Chinese-market firmware: no Google services at all, Sogou TV is the ONLY input method.+#+# FIRMWARE QUIRK: `pm disable-user` / `pm disable` are refused for the shell user with a+# SecurityException on this build. The equivalent here is `pm hide` / `pm unhide` - just as+# reversible, and `tools/restore.sh`'s `pm enable` must be swapped for `pm unhide`.+# Apply (one pm command per shell call):+# grep -vE '^\s*(#|$)' examples/redmi-mitv-antl0/debloat.txt | sed -E 's/\s+#.*$//' \+# | awk '{print "pm hide " $1}' | TV_HOST=<tv ip> tools/venv/bin/python -I tools/tv.py --batch+# Undo: same, but `pm unhide`.+#+# Boot-video ad is a property, not a package (reversible, survives reboots):+# tools/tv.py 'setprop persist.bootvideo.bootanim false' # true restores it++# Xiaomi telemetry / analytics / quality uploads+com.miui.tv.analytics+com.xiaomi.statistic+com.xiaomi.tvqs # quality system: uploads crash/perf/dropbox entries++# Ad delivery: push service, promo web-content renderer, cloud app-push+com.xiaomi.mitv.tvpush.tvpushservice+com.xm.webcontent # webview/RN container for promos; fetches screensaver ads too+com.mitv.cloudcontrol # cloud control: starts on connectivity, remotely pushes apps++# Shopping plugin (Alibaba Baichuan / TV Taobao SDK)+com.mitv.shoplugin++# Stock screensaver, replaced by the launcher's ClockDream:+# settings put secure screensaver_components com.gathin.tvhome/.ClockDream+com.mitv.screensaver++# OTA updater: stops firmware updates re-enabling everything above+com.xiaomi.mitv.upgrade++# Cleaner app and game SDK; both have a /system base, hiding the package is enough+com.xiaomi.mitv.tvmanager+com.xiaomi.gamecenter.sdk.service.mibox++# Stock launcher (duokan content wall, incl. a PREDETAIL_AD_ACTIVITY); replaced by launcher/.+# Unhide it first if you ever factory-reset the TV.+com.mitv.tvhome++# Owner's-choice removals NOT listed above (uninstalled with APKs backed up first, restore by+# installing the APK again): gala demo video, KKTv, Bilibili TV (xiaodianshi), Tencent TV+# (ktcp), Mi app store (27 MB background updater), phone-remote service, voice control.+#+# Launcher notes for this model: needs the minSdk-22 build (see the launcher PR); the Settings+# and Wi-Fi pills require the com.xiaomi.mitv.settings fallback keys in config.xml - the+# firmware never registers the standard android.settings.* actions.