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
docs(examples): 📝 add Mi Box 4S Pro debloat list
cixiangtaoa212ffd1cc03
diff --git a/examples/xiaomi-mi-box-4s-pro-frozen/README.md b/examples/xiaomi-mi-box-4s-pro-frozen/README.mdnew file mode 100644index 000000000..e2f80dceb--- /dev/null+++ b/examples/xiaomi-mi-box-4s-pro-frozen/README.md@@ -0,0 +1,64 @@+# Xiaomi Mi Box 4S Pro (MiTV-AZFP0 / frozen)++China-market Android 9 / API 28, firmware `23.5.10.1035`. This box is different+from the global Mi Box S (`MIBOX4` / `oneday`) and Mi Box 3 (`MIBOX3` / `once`).++This follows the [initial device report](../../docs/devices/xiaomi-mi-box-4s-pro-frozen.md)+and [PR #2691](https://github.com/Gathin23/cleanyourtv/pull/2691).+The first on-device session was 2026-10-30. On 2026-11-02 the owner reported two+days of intensive weekend use without problems; on 2026-11-05 the owner also+confirmed successful casting and physical-remote standby/wake testing.++## Scope and recovery++The list contains 12 packages: four were already disabled before the session,+and eight were disabled in small batches with the project's tools. The game+SDK, recorder, calendar and gallery are owner choices; comment out any feature+you need. No package was uninstalled and no app data was cleared.++Run from the repository root:++```sh+TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mi-box-4s-pro-frozen/debloat.txt+TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mi-box-4s-pro-frozen/debloat.txt com.mitv.tvhome+```++Keep the applied list and recovery record. Restore returns the recorded baseline:+a package already disabled before applying this list stays disabled. An earlier+session must use its original list and record; this cumulative list does not+replace the recovery record for the original eight-package session.++Stock Home `com.mitv.tvhome/.MainActivityUserMode` was kept enabled. Xiao AI,+Xiaomi app store, OTA, casting services, Bluetooth, Sogou keyboard, Android+WebView, package installer, TV Manager, TVPush and installed playback apps were+also kept enabled. No replacement launcher is needed for this list. A pre-existing+Aerial 1.30 installation remained present, but Home takeover was not established+and the project's reference launcher was not installed or tested.++## What was checked++- All twelve disabled-package states were read back after one full reboot on+ 2026-10-30. Xiaomi Home returned; the owner confirmed Xiao AI, video picture+ and audio. The project's checker reported no drift for the eight new changes.+- Xiaomi settings and the app-store home page opened.+- Restore/reapply was exercised for TV QS, cloud control, web content and the+ shopping plugin. The four earlier disabled packages stayed disabled. The later+ four owner-choice apps were recorded, but their restoration was not separately+ exercised.+- The owner reported two days of intensive use without problems on 2026-11-02,+ then confirmed casting and standby/wake worked on 2026-11-05. Casting source+ device/app/protocol and standby/wake cycle count were not recorded; no broader+ protocol-coverage or repeated-cycle claim is made.++## Limits and updates++Package-state evidence is from the 2026-10-30 reboot; a read-only follow-up+connection on 2026-11-06 was reset before state readback. No new state or firmware+readback is claimed for that day. App download/installation and OTA installation+were not tested. No overall performance benchmark or speed-up percentage is claimed.++The shopping plugin was enabled when version `6.8.24` was inspected, despite an+earlier disable on a different version; the cause is unknown. It was disabled+again and stayed off through the tested reboot. Recheck after an app or firmware+update rather than assuming disabled states persist. Turn network debugging off+when finished.diff --git a/examples/xiaomi-mi-box-4s-pro-frozen/debloat.txt b/examples/xiaomi-mi-box-4s-pro-frozen/debloat.txtnew file mode 100644index 000000000..8e892e608--- /dev/null+++ b/examples/xiaomi-mi-box-4s-pro-frozen/debloat.txt@@ -0,0 +1,40 @@+# Xiaomi Mi Box 4S Pro (MiTV-AZFP0 / frozen, China), Android 9 / API 28, firmware 23.5.10.1035+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mi-box-4s-pro-frozen/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mi-box-4s-pro-frozen/debloat.txt com.mitv.tvhome+# Run from the repository root. See README.md for evidence and limits.+# Disabled for user 0, not uninstalled. Comment out any feature you want to keep.+# Stock Home: com.mitv.tvhome/.MainActivityUserMode; kept enabled, no replacement required.+# China-market Android firmware, not the global MIBOX4 / oneday or MIBOX3 / once lists.+# Kept: Xiao AI, casting services, Xiaomi app store, OTA, Bluetooth, keyboard and playback apps.+# Initial readback/reboot: 2026-10-30; owner reported two days of intensive use without issues on 2026-11-02.+# Casting: owner reported successful testing on 2026-11-05; protocol coverage not recorded.+# Standby/wake: owner reported successful testing on 2026-11-05.+# Package states last read back after a reboot on 2026-10-30; later functional feedback through 2026-11-05.++# Analytics: already disabled before the 2026-10-30 session; retained through reboot.+com.miui.tv.analytics+com.miui.analytics+com.xiaomi.statistic++# Quality reports and remote configuration; restore/reapply exercised on 2026-10-30.+com.xiaomi.tvqs # Log uploads and resident performance.MitvPerfService+com.mitv.cloudcontrol # Network/boot receivers and DownloadService++# Shopping and promotional content.+com.xiaomi.mitv.shop # TV shopping; already disabled before the session+com.mitv.shoplugin # Taobao shopping plugin; observed version 6.8.24+com.xm.webcontent # Promotional container, not Android WebView; screensaver-start receiver++# Optional features this owner does not use. Comment out any feature you need.+com.xiaomi.gamecenter.sdk.service.mibox # Game SDK+com.xiaomi.screenrecorder # Screen recording+com.xiaomi.mitv.calendar # Calendar+com.mitv.gallery # Xiaomi gallery and its push service; photo data was not cleared++# Explicitly kept enabled on the tested box.+# com.mitv.tvhome # Stock Home+# com.xiaomi.mitv.upgrade # Firmware updater; OTA installation untested+# com.xiaomi.mitv.smartshare # Kept casting component; not independently tested+# com.xiaomi.miplay # Kept casting component; not independently tested+# com.duokan.airkan.tvbox # Kept casting component; not independently tested+# com.xiaomi.wfdsinkhelperservice # Kept casting component; not independently testeddiff --git a/examples/xiaomi-mi-box-4s-pro-frozen/tv.json b/examples/xiaomi-mi-box-4s-pro-frozen/tv.jsonnew file mode 100644index 000000000..8edf79492--- /dev/null+++ b/examples/xiaomi-mi-box-4s-pro-frozen/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Xiaomi Mi Box 4S Pro (MiTV-AZFP0, frozen), China",+ "os": "Android 9",+ "brand": "Xiaomi",+ "notes": "Analytics, shopping and owner-unused apps; stock Home, voice, casting, app store and OTA kept. [Validation and limits](xiaomi-mi-box-4s-pro-frozen/README.md); [initial device report](../docs/devices/xiaomi-mi-box-4s-pro-frozen.md)"+}