Xiaomi · Android TV 9

Xiaomi Mi Box S debloat list

The cleanyourtv list for the Xiaomi Mi Box S disables 22 packages on Android TV 9: the manufacturer's telemetry, sponsored content rows and preloaded apps you never asked for, plus the stock launcher once the clean home screen is in place. It was tested on a real set by a cleanyourtv contributor.

22

packages disabled

Android TV 9

operating system

Debloat + launcher

what cleanyourtv does

About this Xiaomi Mi Box S list

Header: Xiaomi Mi Box S (model MIBOX4, MDZ-22-AB, codename oneday, Amlogic gxl), Android TV 9 (SDK 28)

firmware PI.3933 (built 2021-09-28), security patch 2021-07-05, 2 GB RAM, 1920x1080. Indian unit: PatchWall arrived through Xiaomi's update service. Fingerprint: Xiaomi/oneday/oneday:9/PI/3933:user/release-keys A streaming box: no HDMI-in or tuner, so the Inputs menu has nothing to list; set live_tv_package empty in config.xml. Stock launcher: com.google.android.tvlauncher (the scripts' default). Notes from this box: - Leave alone: com.xiaomi.android.tvsetup.partnercustomizer (receives the remote's shortcut buttons as GLOBAL_BUTTON, and runs the remote-pairing steps of setup), mitv.service (Xiaomi TvServer, persistent), com.google.android.tungsten.setupwraith (remote pairing), com.droidlogic* (Amlogic system, Bluetooth). - USB debugging alone opens network ADB on port 5555 (service.adb.tcp.port=5555). - USB debugging CUTS POWER to the USB port: with sys.usb.config=adb, /vendor/etc/init/hw/init.amlogic.usb.rc writes 0xFDFFFFFF to register 0xc883443c and the port switches to ADB device mode, so a USB speaker or drive goes dead; sys.usb.config=mtp (debugging off) writes 0xFD7FFFFF and powers it again. Turn debugging off when done. - cmd package set-home-activity needs the component on Android 9 (com.gathin.tvhome/.MainActivity). - Location is off, so Android 9 hides the Wi-Fi name from apps and the launcher's pill just says "Wi-Fi". - Remote (Vendor_2717_Product_32b9): the Netflix key still opens Netflix; BUTTON_2 opened Live Channels and does nothing once it is disabled; BUTTON_3/4 and ALL_APPS did nothing even on stock. No crashes either way. - Survives a reboot: nothing is re-enabled at boot, the launcher stays Home. Free RAM after boot went from about 770 MB to 1.15 GB. - A process of the disabled stock launcher can linger until the next reboot; `am force-stop` clears it.

Before you run it: every package below is disabled, not uninstalled. Comment out (prefix with #) any line for an app you use. Never disable the Play Store, Play Services, the on-screen keyboard or the TV input services that play HDMI. Switch USB debugging off when you are done.

Packages the Xiaomi Mi Box S list disables

Xiaomi + Google telemetry and ad tracking (4)

PackageNote
com.miui.tv.analyticsMi analytics: reads logs and app usage
tv.alphonso.alphonso_eulaAlphonso ad tracking, reads app usage stats
com.google.android.feedback—
com.google.android.tv.bugreportsender—

PatchWall, content rows, promos, auto-installs (5)

PackageNote
com.mitv.tvhome.atvPatchWall
com.mitv.tvhome.michannelMi Channel rows on the home screen
com.xm.webcontentXiaomi web promos
com.google.android.tvrecommendations—
android.autoinstalls.config.xioami.mibox3Play auto-install of partner apps (sic, "xioami")

Xiaomi background services (2)

PackageNote
com.xiaomi.mitv.updateservicefirmware and PatchWall updates, installs apps; re-enable to check for an update
com.mitv.download.serviceits download helper

Personal choice: voice assistant (the mic button stops working) (2)

PackageNote
com.google.android.katniss—
com.google.android.speech.pumpkin—

Personal choice: casting, mirroring and the phone remote (4)

PackageNote
com.google.android.apps.mediashellChromecast built-in
com.mitv.milinkserviceMi cast (MiLink)
com.mitv.videoplayerMi video player, used by MiLink; VLC opens video files instead
com.google.android.tv.remote.serviceGoogle TV / Android TV Remote phone app

Preloaded apps (3)

PackageNote
com.google.android.tvLive Channels
com.google.android.marvin.talkbackscreen reader (was off)
com.android.printspooler—

Google Ambient photo screensaver, replaced by the launcher's Clock. Switch the screensaver first (1)

PackageNote
com.google.android.backdrop—

Already disabled on this unit before we started; uncomment the ones yours still has enabled (1)

PackageNote
com.google.android.tvlauncher—

Apply the Xiaomi Mi Box S debloat

Turn on Developer options on the TV (Settings → Device Preferences → About → press OK on Build seven times), switch on USB debugging and, if shown, Network or ADB debugging. Then, from a clone of the cleanyourtv repository on a computer on the same Wi-Fi:

export TV_HOST=192.168.1.50   # your TV's IP address
tools/venv/bin/python -I tools/tv.py --probe
tools/disable.sh examples/xiaomi-mi-box-s/debloat.txt

Then build and install the clean launcher, which makes itself the default Home and rolls back if it fails:

TV_HOST=192.168.1.50 launcher/build-and-install.sh

Prefer to let an assistant do it? Paste the cleanyourtv prompt into Claude Code with "Xiaomi Mi Box S" as the model; it reads this list, checks each package on your TV and asks before anything that depends on your preferences.

Restore the Xiaomi Mi Box S

TV_HOST=192.168.1.50 tools/restore.sh examples/xiaomi-mi-box-s/debloat.txt

The restore script replays the state recorded before the change, so Home goes back to the launcher that owned it. More in the restore guide and the Android TV debloat guide.

Source: examples/xiaomi-mi-box-s/debloat.txt in the MIT-licensed cleanyourtv repository.

Other Xiaomi debloat lists

All Xiaomi lists →

Xiaomi Mi Box S debloat FAQ

Is it safe to debloat the Xiaomi Mi Box S?

The Xiaomi Mi Box S list only uses pm disable-user, so nothing is uninstalled or flashed. Every package can be turned back on with the cleanyourtv restore script or from the TV's own Settings → Apps page. Apply it in small batches and check the TV between them.

How many packages does this Xiaomi Mi Box S list disable?

22 packages, grouped as: Xiaomi + Google telemetry and ad tracking; PatchWall, content rows, promos, auto-installs; Xiaomi background services; Personal choice: voice assistant (the mic button stops working) and more. Comment out any line you want to keep before running it.

Does the Xiaomi Mi Box S list work on a similar model?

Often, if the platform matches. Compare the device codename and firmware in the list header with Settings → About on your TV. The cleanyourtv prompt also checks each package on your own set before touching it, so a near match is a good starting point.

Will the Xiaomi Mi Box S get the Apple TV-style launcher?

Yes. After debloating, cleanyourtv builds its small native launcher (about 300 KB) and makes it the default Home, rolling back automatically if Home does not land on it.

How do I undo the Xiaomi Mi Box S debloat?

Run TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mi-box-s/debloat.txt. It replays the record saved before the change. Full steps are in the restore guide.