UNOFFICIAL Fan-made guide, not run by the CleanYourTV developer. The project's own site is cleanyour.tv and its code is on GitHub. This site hosts no files.

How to remove ads from a Xiaomi TV or Mi Box with CleanYourTV

Yes. Global Xiaomi and Redmi TVs on Android TV or Google TV, the Mi Box S, TV Box S and TV Stick 4K are supported. China-market Xiaomi firmware works for the debloat, but Home only accepts allowlisted launcher package names.

Last checked: November 16, 2026, against the official repository (commit ddc3b2c). 49 tested Xiaomi and Redmi lists are in the repository’s examples folder.

Sources: README (supported TVs and quick start), examples/README.md (per-model notes), each model’s debloat.txt, TROUBLESHOOTING.md, Android Developers: Create and run a TV app. Nothing on this page was tested by this site; it restates what contributors reported.

Find your model   General setup guide

Which Xiaomi and Redmi TVs CleanYourTV supports

  • Android TV with PatchWall (Mi TV 4A, 4C Pro, P1 and the MSSP models): debloat and the launcher. PatchWall is com.mitv.tvhome.atv.
  • Google TV (MOOR2, MOSR4, MOEU0, TV A Pro 2026) and the boxes and sticks (Mi Box S, Mi Box S 2nd gen, TV Box S 3rd gen, TV Stick 4K): debloat and the launcher.
  • China firmware and HyperOS (ASTP0/1, ANSP0, MTEQ0, MFFU0, ASTR0, Redmi MFTP0): no Google apps; Home only takes launchers built under an allowlisted package name.

Step 1: Turn on ADB on your Xiaomi and Redmi TV

Global Xiaomi Android TV and Google TV

  1. Open Settings → Device Preferences → About (Android’s developer guide calls this the Device row, About).
  2. Select Build and press OK seven times, until you see “You are now a developer!”.
  3. Go back to Developer options (under Device Preferences) and turn on USB debugging. If you also see Network or ADB debugging, turn that on too.

On Google TV models the path is Settings → System → About → Android TV OS build. Many Xiaomi sets have no Wireless debugging switch: USB debugging alone opens network ADB on port 5555 (TROUBLESHOOTING.md, MSSP3 list).

China-market Xiaomi and Redmi

On the ASTP1, ASTP0 and MTEQ0 the switch is in Settings → Account & Security → ADB debugging, and it closes at every reboot. On the Redmi MFTP0 you first press OK seven times on the product model under Settings → About.

Sources: the README quick start, Android Developers: Create and run a TV app, and the per-model notes linked below.

Step 2: Connect from your computer and run CleanYourTV

  1. On a computer on the same network, clone the official repository and open your AI coding assistant (Claude Code, Codex or Gemini CLI) in that folder.
  2. Paste PROMPT.md and give it your exact model. If your model is in the table below, tell it to start from that list.
  3. Accept Allow USB debugging? on the screen. The assistant backs up the TV, asks which apps, voice and casting features you use, then disables packages in small batches, builds the launcher and makes it Home.

By hand, from the repository folder, after python3 -m venv tools/venv && tools/venv/bin/pip install -r tools/requirements.txt:

TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mi-tv-4a/debloat.txt
TV_HOST=<tv ip> launcher/build-and-install.sh

Swap in your model’s folder. The install script starts the new launcher before it disables the stock one. On a Mac, “No route to host” usually means Local Network privacy: allow your terminal app in System Settings → Privacy & Security → Local Network and reopen it.

What the Xiaomi and Redmi lists disable

The Xiaomi lists turn off Xiaomi’s promotion web container (com.xm.webcontent), TV usage analytics (com.miui.tv.analytics, com.xiaomi.statistic), the TV Manager cleaner, PatchWall and its Mi content rows, Mi TV+ sponsored channels, Mi Music and Gallery, and Google’s sponsored rows and feedback packages. Several also turn off the firmware updater, which you re-enable to check for an update.

PackageWhat it is (from the lists)Disabled in
com.miui.tv.analyticsTV usage statistics45 of 49
com.xm.webcontentwebview container for promotions43 of 49
com.xiaomi.statisticstatistics upload36 of 49
com.google.android.feedbackcrash / feedback reporting32 of 49
com.mitv.tvhome.atvPatchWall32 of 49
com.xiaomi.mitv.tvmanager"TV Manager" cleaner31 of 49
com.xiaomi.mimusic2Mi Music29 of 49
com.mitv.galleryMi Gallery26 of 49
com.google.android.play.gamesPlay Games26 of 49
com.mitv.tvhome.michannelMi content rows25 of 49
com.mitv.tvhome.mitvplusMi TV+ ad-funded channels25 of 49
com.google.android.tvrecommendationsstock launcher recommendation rows21 of 49
com.google.android.videosPlay Movies & TV19 of 49
com.xiaomo.tv.milegalstatic legal / privacy text screens17 of 49
android.autoinstalls.config.xiaomi.ameliePlay auto-install of partner apps16 of 49
com.google.android.youtube.tvmusicYouTube Music15 of 49
com.mitv.videoplayerMi video player15 of 49
com.android.printspoolerprinting14 of 49
fusion.android.tv.demoretail store demo loop12 of 49
com.google.android.tv.bugreportsenderautomatic bug report upload12 of 49
com.google.android.tungsten.setupwraithsetup wizard; blocks a third-party launcher from Home12 of 49
com.xiaomi.floatingframefloating promo overlay12 of 49
com.xiaomi.gamecenter.sdk.service.miboxgame center SDK11 of 49
com.google.android.partnersetupGoogle RLZ attribution pings11 of 49
com.xiaomi.mitv.smartshareMiracast + MiPlay receiver11 of 49

Counts are across the 49 Xiaomi and Redmi lists; notes are the contributors’ own comments in the lists. Everything is disabled with pm disable-user, never uninstalled.

Xiaomi and Redmi caveats from the repository

  • USB devices die while debugging is on on the Mi Box S and TV Box S 3rd gen: the port switches to ADB mode, cutting power to USB speakers, drives and USB Ethernet adapters (#737). Plan one sitting and turn debugging off at the end.
  • Disable the setup wizard before the Google TV home. On a MiTV-MOSR4 a reboot on setupwraith’s recovery screen factory-reset the TV, and the Wi-Fi saved during setup was deleted when setupwraith went (MOSR4 notes).
  • China-market Home allowlist. On the MiTV-AETP0 the framework rejects third-party Home apps by package name and falls to a black FallbackHome when the stock home is disabled. Keep PatchWall enabled on the ANSP0 and MFTP0 and use the application-ID build described in the device notes.
  • Factory test app answers Home on the Mi TV 4A (com.duokan.factorytest) and MOOQ0; the scripts never count it as a Home app. Source: TROUBLESHOOTING.md.
  • Remote mic needs two packages: com.google.android.katniss and com.google.android.tv.remote.service. The TV Box S 3rd gen list keeps both; the Mi Box S list still disables the second (AFMU0).
  • Keep overseaservice on the MOSR4 and MOOQ2: it hosts the remote’s Netflix button.
  • No on-screen keyboard after the launcher change means the default input method points at a Baidu keyboard that is not installed; set Gboard with ime set. Source: TROUBLESHOOTING.md.
  • Do not disable Android’s core packages. An agent’s list did that on an original Mi TV Stick and it never booted again (#884); the scripts now refuse such lists.

Tested Xiaomi and Redmi models

Every Xiaomi and Redmi list in the official repository, with the notes its contributor wrote. “Debloat only” means the list says the new launcher cannot take Home on that firmware.

ModelSystemStatus in the repoWhat the list does (repo notes)Files
Redmi TV (MiTV-ANTL0, starwars)Android 5.1.1 (not Android TV)Tested listMi push/web-content/cloud-control ads, TV Taobao, stock screensaver, OTA; needs pm hide instead of pm disable-user; startup-ad method depends on firmware and stock-launcher version, see the L43M7-EA settings-only casedebloat.txt
Redmi TV (MiTV-MFTP0, alita), China firmware 23.2.10.6129Android TV 9 (CN build)Tested listCN-firmware Redmi, no Google apps: Mi analytics, tvqs, after-sales survey upload, cloud control, promo web container, shop plugin and store, preloaded apps, Mi Home off; pm disable-user works; keep PatchWall enabled: Home is a package-name allowlist like MiTV-AETP0, the com.ts.launcher application-ID build became Home and survived a reboot, do not run build-and-install.sh with defaults; startup ad off with boot_ad_switch 0 on launcher 3.49.1601; com.gitvdemo.video is 银河奇异果 (iQIYI), kept; push service (installer whitelist), voice, casting, OTA, payments keptdebloat.txt
Redmi TV 43" (MiTV-MOOQ3, tarzan)Android TV 11Tested listIndia unit on the MOOQ1 tarzan board: PatchWall, Mi analytics, MiChannel, Xiaomi TV+, TV Manager, Alexa bridge, partner auto-installs, factory menu; Chromecast, Miracast, voice, USB player and updater kept; PatchWall button is scancode 150debloat.txt
Xiaomi F2 Fire TV (AFTMA2857F, shine)Fire OS 7.7.1.7 / Android 9Tested list, debloat only · reboot-checkedSame build as tcl-32sf560-fire-tv/: Amazon ACR, metrics and log uploads, Xiaomi analytics, ad ID and sponsored rows, Fire TV Channels, Shopping, demo content, tutorials, Kids, Silk and Amazon device-setup helpers; preloaded UK streaming apps as optional comments; Live TV, tuner and input stack, Alexa, casting, OTA and the stock launcher kept; debloat only, reboot-checked, eight daysdebloat.txt
README
Xiaomi Fire TV (AFTNE4E43F, ginzaeu)Fire OS 8.1.8.5 / Android 11Tested list, debloat only · reboot-checkedAmazon ACR, metrics and log uploads, Xiaomi analytics, Wi-Fi password sync, ad ID and sponsored rows, Fire TV Channels, Shopping, miniTV, Luna, tutorials, Silk and Amazon device-setup helpers; Alexa, casting, Prime Video, Kids, OTA, Live TV and the stock launcher kept; debloat only, reboot-checkeddebloat.txt
README
Xiaomi Mi Box 3 (MIBOX3, once), streaming boxAndroid TV 9Tested listPatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice and phone remote off by choice, Chromecast and updater kept; Ambient re-enabled at bootdebloat.txt
Xiaomi Mi Box 4S Pro (MiTV-AZFP0, frozen), ChinaAndroid 9Tested listAnalytics, shopping and owner-unused apps; stock Home, voice, casting, app store and OTA kept. Validation and limits; initial device reportdebloat.txt
README
Xiaomi Mi Box S (MIBOX4, oneday), streaming boxAndroid TV 9Tested listPatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice, casting, phone remote off by choice; second unit: Apps button opens Home with HomeKeyService; fourth unit: LumiFlow device theme, casting and voice kept; notesdebloat.txt
Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming boxGoogle TV 11Tested listMi ad row and PatchWall, Mi analytics, partner auto-installs, update service off by choice; setup wizard off for the launcher, Wi-Fi password re-entry note; build 683 remote uses scancodes, see README.mddebloat.txt
README
Xiaomi Mi Box S (MIBOX4, oneday), streaming box, Android 12 updateAndroid TV 12Tested listPatchWall, Mi channels and Mi TV+, Mi analytics and stats uploader, web promos, recommendations, MiLink and Xiaomi screensaver off; Chromecast, voice and updater kept; remote and buttonsdebloat.txt
README
Xiaomi Mi TV 4A (MiTV-MOOQ1)Android TV 10 and 11Tested listPatchWall, Mi analytics, SmartShare, MiLink; Android TV 11 subset (Mi TV+, Miracast, Mi Cast off by choice, updater kept): notesdebloat.txt
README
Xiaomi MiTV-AESP0 stick (aquaman, 1 GB)Android TV 9Tested listNo inputs; Home key sends ALL_APPS, needs HOME_KEY_SERVICE=1 (a French unit's remote sent HOME); Chromecast kept; the Netflix key (1001) cannot be remapped without root; only the Developer options master switch closes 5555debloat.txt
Xiaomi TV Box S 3rd gen (MiTV-AFMU0, twilight, Amlogic), streaming boxGoogle TV 14Tested listMi analytics, PatchWall/Mi Home tab, Mi connect/SmartShare; voice and phone remote off by choice; setup wizard off so launcherx can go; second unit: Privacy Sandbox ad services off, remote's YouTube/Prime Video/Apps buttons mapped back in config.jsondebloat.txt
README
Xiaomi TV Stick 4K 2nd gen (MiTV-AFMU1, twilight, adastra, Amlogic), streaming stickGoogle TV 14Tested listTwo units on the same build (UKG3.250826.001), one list: Mi analytics, PatchWall/Mi Home tab, Amlogic auto-installs, preloaded apps off; voice, phone remote and Miracast kept on one unit and off on the other; setup wizard off (re-join Wi-Fi first) so launcherx can go; the second unit also took the Privacy Sandbox ad services and the firmware updater (com.xiaomi.mitv.updateservice DISABLED, so no firmware updates); provisional, one day eachdebloat.txt
Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAMAndroid TV 9 (CN build)Tested listSecond CN-firmware Xiaomi, no Google apps: Mi analytics/push/cloud control, ad web container, shop plugin, promo reels, TV Manager, game SDK, preloaded apps, office-mode second home and voice off; updater kept; keep PatchWall enabled (disabling it leaves FallbackHome's black screen), set the new launcher as preferred home instead; inputs switch only with the vendor's EXTSRC_PLAY extra; ADB closes on every reboot; more notesdebloat.txt
Xiaomi MiTV-ASTP0 (mulan, sold as L55M7-EA), China firmware 22.12.2.1630, 1.5 GB RAMAndroid TV 9 (CN build)Tested listSibling of ASTP1: Mi analytics/push/cloud control, shop plugin, TV Manager, the Chinese wake word (~30% CPU) and the phone-remote relay that loops at 100-190% CPU off; casting except AirPlay, payment, voice and Mi Video off by choice; keep com.mitv.tvhome (Home falls to FallbackHome without it); inputs switch only with Xiaomi's EXTSRC_PLAY; time zone ships as Asia/Shanghai; a 2026-firmware unit (Redmi A75 2025, L75MA-RAE) is in the list, with its Home notesdebloat.txt
README
Xiaomi MiTV-ASTP1 (maverick), China firmware 2.40.641.0514.cn, 1 GB RAM, 720pAndroid TV 9 (CN build)Tested listFirst CN-firmware Xiaomi: no Google apps; stock launcher com.mitv.tvhome (pass STOCK_LAUNCHER); ADB closes on every reboot; Mi analytics/push/ads, shop plugin, TV Manager, updater off; casting and app store keptdebloat.txt
Xiaomi Redmi Smart TV A Pro 55" 2025 Energy-saving (MiTV-ASTR0, blueplanet, Amlogic), China firmware OS3.0.106.0.USTAATV, 3 GB RAMAndroid 14 (HyperOS 3, CN build)Tested listSecond HyperOS 3 Xiaomi: standby ads are the Hyper screensaver Activity itself (com.xiaomi.mitv.hyper.screensaver, own downloaded carousel, verified live) — disabling the usual content sources does not stop it; classic com.mitv.screensaver/advertise don't exist; PatchWall disabled and replaced via the com.ts.launcher allowlist trampoline (works on this OS3.0.106 build, as on MFFU0's OS3.0.115); keep com.xiaomi.mitv.smartpanel (it is the Menu-button panel); no idle clock screensaver possible (idle timeout is a hard panel-off); ADB closes on every reboot; device notesdebloat.txt
Xiaomi MiTV-AXFR0 (rango, Amlogic, 1 GB), IndiaAndroid TV 11Tested listPatchWall, Mi analytics, sponsored rows, partner auto-installs, TV Manager; screen mirroring and preloaded streaming apps off by choice; Chromecast and voice kept; custom HOME accepted, setupwraith does not claim HOMEdebloat.txt
Xiaomi MiTV-AXFR1 (rango, Amlogic, 1 GB), IndiaAndroid TV 11Tested listPatchWall, Mi analytics, sponsored rows, partner auto-installs, TV Manager; mirroring, OTA and unused streaming apps off by choice; Chromecast and voice kept; PatchWall's input popup is unused (input picker is Live TV's); custom HOME accepted, setupwraith does not claim HOME (device note)debloat.txt
Xiaomi MiTV-AXFR2 (watchmen, MediaTek, 1 GB), IndiaGoogle TV 14Tested listPatchWall, Mi analytics, sponsored rows, partner auto-installs, TV Manager; screen mirroring kept; preloaded streaming apps listed but commented out; stock launcher launcherx disabled in favor of com.gathin.tvhome; inputs via mitv.service; setupwraith does not own saved Wi-Fidebloat.txt
Xiaomi TV A Pro 32" (MiTV-AXFU0, arctictale, Amlogic)Google TV 14Tested listPatchWall/Mi Home tab, Mi analytics, TV Manager; setup wizard off, Google TV 14 crash-loop notes; Live TV via com.mitv.livetv; Bluetooth remote needs com.mitv.overseaservice kept (device note)debloat.txt
README
Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro)Android TV 9Tested listPatchWall, Glance ads, Mi TV+, Sensara, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choicedebloat.txt
Xiaomi MiTV-AXSO1 (dangalFHD, India)Android TV 9Tested listPatchWall, Mi TV+, Mi analytics, TV Manager, partner auto-installs; Mi Cast, Miracast and unused preloaded apps commented out (off on this set by choice); Assistant, Chromecast and updater keptdebloat.txt
README
Xiaomi MiTV-AXSO2 (dangalUHD, India, 2 GB)Android TV 9Tested listPatchWall, Mi TV+, Sensara, Mi analytics, TV Manager, updater, partner auto-installs, old partner app copies; voice, all casting and streaming apps kept; sign-in notice and storage notesdebloat.txt
README
Xiaomi MiTV-AXSO2 (dangalUHD, Amlogic, India), Android 11 firmware RTT0.211201.001.1150Android TV 11Tested listSame model after its Android 11 update: PatchWall, Mi Channel, Mi TV+, Sensara, Mi analytics and the TV Quality Service log uploader, TV Manager, partner auto-installs, preloads; Assistant, screen mirroring, Aha and MX Player commented out (off on this set by choice); updater, Chromecast, phone remote and USB media kept; the firmware opens Live TV at every power-on, and the key helper that sends it back to Home turns a held volume into tap, then holddebloat.txt
Xiaomi TV Stick 4K (MiTV-AYFR0, soul, Amlogic), streaming stickAndroid TV 14Tested listMi analytics, PatchWall, auto-installs (mibox3 + soc.amlogic), update service; setupwraith does not claim HOME (kept enabled, Wi-Fi stays intact); remote Home key and CEC One Touch Play verifieddebloat.txt
Xiaomi TV S Pro 100 Mini LED 2025 (小米电视 S Pro 100, L100MB-SP, MiTV-MFFU0, finch, MediaTek), China firmware OS3.0.115.0.UFFMATV, 4 GB RAMAndroid 14 (HyperOS 3, CN build)Tested list, debloat onlyFirst HyperOS 3 Xiaomi: Mi analytics, MiSight log upload, TV QS reporting, cloud control, video-daily promos with the Mi ad SDK, shopping, web promos, Pictorial, AI translate; alarms, health, game SDK off by choice; keep TV Manager (XiaoAI's "open an app" voice command runs through its provider) and Home only for a launcher built under an allowlisted package name (-PlauncherApplicationId=com.thunderstone.idun.dev, stock launcher disabled; the standard ID and set-home-activity do not work); ADB closes on every reboot; CEC set-top-box black-screen note; voice, casting, Mi Home, OTA, Hyper screensaver kept; debloat onlydebloat.txt
Xiaomi MiTV-MFTR0 (freeguy, MediaTek mt9653), China firmware OS2.0.23.0.RFTMATV (HyperOS TV 2)Android 11 (HyperOS TV 2, CN build)Tested listSecond CN set from the ASTR0 sessions, one HyperOS generation earlier (Android 11): same ad screensaver carrier (com.xiaomi.mitv.hyper.screensaver) and the same com.ts.launcher allowlist trampoline for third-party Home with PatchWall disabled, both carried over and verified; no WPS/overseaservice/adservices here; keep com.xiaomi.mitv.smartpanel (Menu-button panel); ADB needs the on-TV RSA confirmation once and closes on every reboot; debloat and Home notes, inputs/settings notesdebloat.txt
Xiaomi MiTV-MFTR0 (freeguy, MediaTek mt9653), China firmware OS3.0.101.0.UFTMATV (HyperOS TV 3)Android 14 (HyperOS TV 3, CN build)Tested listOS3 sibling of the Android 11 MiTV-MFTR0 list, one build between ASTR0's OS3.0.106 and MFFU0's OS3.0.115: the com.ts.launcher allowlist trampoline takes Home here too, and the Inputs rows stay inert until input_action and the port numbers are set (README.md here); same Hyper screensaver and AOSP ad-services modules as the other OS3 sets; no WPS, no com.mitv.overseaservice on the OS2 list but present heredebloat.txt
README
Xiaomi TV S Mini LED 75 2025 (MiTV-MOEU0, ladybird, MediaTek)Google TV 14Tested listMi TV+ banners and MiChannel rows, Mi analytics, TV Manager cleaner, Play auto-installs; setupwraith off (its Wi-Fi network belonged to the system here); remote's Settings 176, YouTube 190, Apps 284 and Xiaomi TV+ 192 noteddebloat.txt
Xiaomi Mi TV (MiTV-MOOQ0, croods; includes P1 43" EU variant)Android TV 10 and 11Tested list · reboot-checkedPatchWall, Mi analytics, MiChannel, TV Manager, Alexa bridge; factory test app also claims HOME; selected list entries applied on Android TV 11, optional apps kept, and Netflix boot behavior: device notes; the remote's Input button sends KEYCODE_MEDIA_RECORD, so the header shows how to map it (#1368); notes from #81; a Q1 75" QLED second unit (L75M6-ESG, same build) adds the tvqs telemetry entry, eleven disables reboot-checked in one session (#1520); a third Russian retail unit on the same 8313 build (2026-11) disabled the assistant and Chromecast with the mirroring set, handed Home to the reference launcher, and everything held across a reboot and a hard power-offdebloat.txt
Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods)Android TV 11Tested listSame croods chassis as MOOQ0, Latin America unit: PatchWall, Mi analytics, MiChannel, Xiaomi TV+, TV Manager, Alexa bridge, partner auto-installs, factory menu; voice and USB media off by choice; overseaservice (Netflix key), Chromecast, Miracast and updater kept; setupwraith does not claim HOMEdebloat.txt
Xiaomi MiTV-MOOR0 (venom, MediaTek)Google TV 11Tested listMi ad row and PatchWall, Mi analytics, store demo, factory test HOME claimant (com.duokan.factorytest); voice, Miracast, Xiaomi media apps and stock YouTube off by choice, Chromecast and firmware updaters kept; setup wizard off (saved Wi-Fi belonged to android.uid.system) and launcherx replaced by CleanYourTVdebloat.txt
README
Xiaomi MiTV-MOOR2 / MOOR4 / MOOR6 (venom, MediaTek)Google TV 11Tested listMi ad row and PatchWall, Mi analytics, MiLink, store demo; setup wizard off so a third-party launcher can own Home; MOOR4 on the same firmware: setupwraith owned the setup Wi-Fi (forget and re-join first), Continue watching is not in the local TV providerdebloat.txt
README
Xiaomi MiTV-MOSR1 (hermano)Android TV 11Tested list6 packages after 7 days: test shims, feedback, TalkBack, retail demo and the stock launcher, replaced by the CleanYourTV launcher; Xiaomi's own apps not tried here; exported with TiviKit; a one-session note from another unit (Xiaomi analytics and promo packages, PatchWall at power-on): device notedebloat.txt
Xiaomi MiTV-MOSR4 (irobot, MediaTek)Google TV 11Tested listMi ad rows and PatchWall, Mi analytics, TV Manager, Miracast sink, OTA off by choice; setup wizard off so a third-party launcher can own Home; overseaservice hosts the Netflix key and must stay; second unit: setupwraith before launcherx, remote buttons need both key services and config.json, and those services cost the volume's live repeat; notesdebloat.txt
Xiaomi MiTV-MSSP0 / Xiaomi Mi TV 4A 32 (amelie), firmware PI.5926Android TV 9Tested listXiaomi telemetry and promo helpers, Google recommendation feeds; Assistant, Gallery and media browser off by owner choice; Clock replaces Backdrop; TV inputs, Gboard, Bluetooth and firmware update settings kept; 11 packages, applied October 19 and checked again October 21debloat.txt
Xiaomi MiTV-MSSP1 (nino), firmware PI.5925; also sold as Mi TV 4SAndroid TV 9Tested list · reboot-checkedEight Xiaomi telemetry/content and Google recommendation packages, plus verified extras (report senders, partner auto-installer, both heavy screensavers with a reassign-first warning, TV Manager, restorable Google preinstalls, Xiaomi media/accessibility leftovers); replacement Home reboot-checked; updater, Assistant, Chromecast, USB media and TV input services kept enabled; a second unit adds Mi TV+ and the AOSP screensaver, and the folder README maps the MI button to the Inputs menudebloat.txt
README
Xiaomi MiTV-MSSP2 (volver, MediaTek), firmware PI.4621, low-RAMAndroid TV 9Tested listPatchWall, Mi analytics, TV Manager, partner auto-installs, Google feedback/bug reports, old leanback home still installed; hotkeys, phone remote, Media Player, updater and Chromecast kept; empty Live TV/HDMI screenshots; Live TV channel keys: notesdebloat.txt
README
Xiaomi MiTV-MSSP2 (volver, MediaTek), Android 11 firmware RTT2.211214.001.933, low-RAMAndroid TV 11Tested listSame model after its Android 11 update: PatchWall, Mi Channel, Mi TV+, Mi analytics, TV Manager, partner auto-installs, preloads; the Xiaomi updater re-enables PatchWall and Mi TV+ when it updates them (check.py --fix); updater, Assistant, Chromecast and Netflix button keptdebloat.txt
README
Xiaomi MiTV-MSSP3 (machuca, MediaTek)Android TV 11Tested listPatchWall, Mi analytics, Netflix observer; Chromecast, screensavers, unused streaming apps off by choice; Input button needs handle_view_inputs, second unit in READMEdebloat.txt
README
Xiaomi MiTV-MSSP3 (machuca, MediaTek), Android 9 firmware PI.7524Android TV 9Tested listSame model before its Android 11 update: PatchWall, Mi analytics, TV Manager; updater commented out; voice assistant re-enables itself at every boot (updated system app rescan); screensaver, preloaded apps off; 1.8 GB, swap full before; notes for the older PI.4663 build (two packages absent, old leanback home to disable), second PI.4663 unit (EU Mi TV 4S 55") and Indian PI.3591 unit (Sensara EPG) in READMEdebloat.txt
README
Xiaomi TV EA Pro 55" (MiTV-MTEQ0, baymax, MediaTek), China firmware 23.6.26.4028Android TV 10 (CN build)Tested listNo Google apps; Mi analytics/push/cloud control, shop and pay, XiaoAI, casting and preloads off; HOME allowlist (the com.ts.launcher build works); standby force-stops third-party apps; ADB closes at boot; Wi-Fi country falls back to CN (5 GHz ch. 100-144 hidden, service_region); no CONFIRM_INSTALL so split-APK installs hang; Sogou is the only IME; firmware notesdebloat.txt
Xiaomi MiTV4I (magnolia, Amlogic)Android TV 9Tested listPatchWall, Mi analytics, TV Manager, Sensara, preloaded video/music off; Chromecast kept by choice; Live TV is com.droidlogic.droidlivetv; device notedebloat.txt
README
Xiaomi Smart Projector (C025RGN, tianshan, FORMOVIE ODM, MediaTek T32)Google TV (Android 14)Tested listXiaomi-branded but a FORMOVIE build on the same tianshan board as xiaomi-smart-projector-l1-pro-tianshan, on Android 14: no com.xiaomi.* or com.mitv.* package exists on it at all, so no PatchWall, MiChannel or TV Manager to disable; 11 Google telemetry, Privacy Sandbox (Topics API, ad attribution, on-device personalisation) and Health Connect packages off, plus 6 preloads the owner does not use (GMM One HD, APKPure, TCL browser, Google TV Movies, Play Games, the Kaltura demo player), all still disabled after a reboot; com.mediatek.wwtv.tvcenter and YouTube Music ship disabled from the factory while Prime Video ships enabled, so Prime Video is kept here; the three uk.co.freeview.* services and com.google.android.syncadapters.calendar stay on (the L1 Pro list disables them); com.fengmi.* (focus, keystone, BLE remote) and com.mediatek.* kept, streaming apps, Assistant, Chromecast, TalkBack and the Ambient screensaver kept by choice; Android 14 resolves HOME by intent priority (launcherx 2, setupwraith 1, sideloaded 0) so set-home-activity prints Success and changes nothing, and the saved Wi-Fi belongs to setupwraith on a Wi-Fi-only set, so both stay enabled and the launcher takes Home through the Home-key redirect (HOME_KEY_SERVICE=1, config.json; Volume repeat is lost, and build-and-install.sh exits on its Home check after installing the APK but before enabling the helper); pm disable-user on com.google.android.videos first left it uninstalled for user 0, so it needs pm install-existing --user 0 to come back; sideloading a HOME package works; one-session test, not a several-day soakdebloat.txt
Xiaomi Smart Projector L1 Pro (C045RGN, tianshan, FORMOVIE ODM, MediaTek T32)Google TV (Android 14)Tested listXiaomi-branded but a FORMOVIE build on the same tianshan board as formovie-xming-page-one-tianshan, on Android 14: no com.xiaomi.* or com.mitv.* package exists on it at all, so no PatchWall, MiChannel, TV Manager or com.xiaomi.tvqs* to disable; 14 Google telemetry, Privacy Sandbox (Topics API, ad attribution, on-device personalisation) and Health Connect packages off (the three UK Freeview services are commented out; this set has them off), kept through two reboots with none re-enabled; com.mediatek.wwtv.tvcenter and Prime Video ship disabled from the factory; com.fengmi.* (focus, keystone, BLE remote) and com.mediatek.* kept, streaming apps, Assistant, Chromecast, TalkBack and the Ambient screensaver kept by choice; Android 14 resolves HOME by intent priority (launcherx 2, setupwraith 1, sideloaded 0) so set-home-activity prints Success and changes nothing, and the saved Wi-Fi belongs to setupwraith on a Wi-Fi-only set, so both stay enabled and the launcher takes Home through the Home-key redirect (HOME_KEY_SERVICE=1, config.json; Volume Up repeat is lost, and build-and-install.sh exits on its Home check after installing the APK but before enabling the helper); sideloading a HOME package works; one-session test, not a several-day soakdebloat.txt
Xiaomi TV A Pro 55"/75" 2026 (MiTV-MZTU0, river, MediaTek)Google TV 14Tested listPatchWall/Mi Home tab, Mi analytics, TV Manager, updaters; setup wizard off, launcherx crash-loop notes; mediashell kept for Stremio playbackdebloat.txt
Xiaomi TV A43 2025 (MiTV-MOOQ1)Google TV 11Tested listMi analytics, PatchWall stubs, Mi cast, preloaded streaming, Google TV launcherdebloat.txt

Rows come from the examples table in the official repository, checked November 16, 2026. Not listed? The closest model on the same platform is the usual starting point, and the prompt discovers the rest on your set.

How to undo it on a Xiaomi and Redmi TV

Turn debugging back on and run the restore script with the same list you applied:

TV_HOST=<tv ip> tools/restore.sh examples/<your model>/debloat.txt

Global Xiaomi Android TV lists use the default; Google TV lists add com.google.android.apps.tv.launcherx; China-firmware lists add com.mitv.tvhome, as written in each list’s Undo line. Restore replays the backup written to ~/.cleanyourtv/ before the first change. Without a computer, re-enable packages under Settings → Apps (show system apps), stock launcher first. See restore and firmware updates.

When you are finished, switch off USB, network and wireless debugging and restart: network ADB is unencrypted.

Other open-source home screens that run on these TVs: Free My TV, an ad-free replacement home screen for Google TV and Aerial, a tvOS-style launcher for China-market sets.

Xiaomi and Redmi questions

Does CleanYourTV work on Xiaomi Mi TV?

Yes. Global Xiaomi and Redmi TVs on Android TV and Google TV have tested lists, including the Mi TV 4A, 4C Pro and P1, plus the Mi Box S and TV Stick 4K.

Can CleanYourTV remove PatchWall?

It can disable PatchWall (com.mitv.tvhome.atv) and its Mi content rows on global firmware and make the new launcher the home screen. On some China-market sets PatchWall has to stay enabled because Home only accepts allowlisted packages.

There is no Wireless debugging on my Xiaomi TV.

That is normal on many Xiaomi sets. USB debugging alone opens network ADB on port 5555.

My Mi Box lost its USB drive or Ethernet adapter.

The Mi Box S and TV Box S switch their USB port to debug mode while USB debugging is on. Finish in one sitting, turn debugging off and replug the device.

Does it work on China-market Xiaomi TVs?

The debloat works, but ADB must be turned on again after each reboot on several models and Home only accepts launchers built under an allowlisted package name.

How do I undo CleanYourTV on a Xiaomi TV?

Run tools/restore.sh with the same list and the stock launcher named in that list’s Undo line.

See all supported TVs, the troubleshooting page or the full Android TV bloatware list.