Xiaomi · Android TV 9

Xiaomi MiTV-AESP0 debloat list

The cleanyourtv list for the Xiaomi MiTV-AESP0 disables 15 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.

15

packages disabled

Android TV 9

operating system

Debloat + launcher

what cleanyourtv does

About this Xiaomi MiTV-AESP0 list

Header: Xiaomi MiTV-AESP0 (codename aquaman), Android TV 9 (SDK 28), firmware PI.2055.

Stock launcher: com.google.android.tvlauncher (disabled by launcher/build-and-install.sh). Live TV app: none (no tuner/HDMI inputs); com.google.android.tv is Live Channels. Notes from this firmware: - Default IME is already Gboard, so the Mi TV 4A missing-keyboard quirk doesn't apply. - The remote's Home button sends KEYCODE_ALL_APPS (284), not HOME. Android 9 sends that key only to the system launcher, so with tvlauncher disabled Home does nothing. Fix: install with HOME_KEY_SERVICE=1 TV_HOST=<tv ip> launcher/build-and-install.sh which enables the launcher's HomeKeyService. Android switches it off on every reinstall, so always pass HOME_KEY_SERVICE=1. `input keyevent 284` over adb skips the accessibility filter; test with the real remote. - No HDMI/AV inputs: the launcher hides its Inputs pill by itself on this stick. - Kept on this set: voice assistant (katniss/pumpkin), Chromecast (mediashell), Mi Cast (com.mitv.milinkservice) and firmware updates (com.xiaomi.mitv.updateservice).

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 MiTV-AESP0 list disables

Xiaomi + Google telemetry (4)

PackageNote
com.miui.tv.analytics—
com.google.android.feedback—
com.google.android.tv.bugreportsender—
tv.alphonso.alphonso_eulaAlphonso automatic content recognition (viewing tracking)

PatchWall, content rows, sponsored rows (6)

PackageNote
com.mitv.tvhome.atv—
com.mitv.tvhome.michannel—
com.xm.webcontent—
com.google.android.tvrecommendations—
android.autoinstalls.config.xiaomi.mibox3Play auto-install of partner apps
android.autoinstalls.config.xioami.mibox3same, misspelled duplicate (sic, "xioami")

Preloaded apps (5)

PackageNote
com.dazn—
com.nousguide.android.rbtvRed Bull TV
com.google.android.apps.tachyonGoogle Duo
com.google.android.play.games—
com.tcl.browser—

Apply the Xiaomi MiTV-AESP0 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-mitv-aesp0/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 MiTV-AESP0" 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 MiTV-AESP0

TV_HOST=192.168.1.50 tools/restore.sh examples/xiaomi-mitv-aesp0/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-mitv-aesp0/debloat.txt in the MIT-licensed cleanyourtv repository.

Other Xiaomi debloat lists

All Xiaomi lists →

Xiaomi MiTV-AESP0 debloat FAQ

Is it safe to debloat the Xiaomi MiTV-AESP0?

The Xiaomi MiTV-AESP0 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 MiTV-AESP0 list disable?

15 packages, grouped as: Xiaomi + Google telemetry; PatchWall, content rows, sponsored rows; Preloaded apps. Comment out any line you want to keep before running it.

Does the Xiaomi MiTV-AESP0 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 MiTV-AESP0 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 MiTV-AESP0 debloat?

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