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.
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
- Open Settings → Device Preferences → About (Android’s developer guide calls this the Device row, About).
- Select Build and press OK seven times, until you see “You are now a developer!”.
- 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
- 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.
- Paste PROMPT.md and give it your exact model. If your model is in the table below, tell it to start from that list.
- 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.
| Package | What it is (from the lists) | Disabled in |
|---|---|---|
com.miui.tv.analytics | TV usage statistics | 45 of 49 |
com.xm.webcontent | webview container for promotions | 43 of 49 |
com.xiaomi.statistic | statistics upload | 36 of 49 |
com.google.android.feedback | crash / feedback reporting | 32 of 49 |
com.mitv.tvhome.atv | PatchWall | 32 of 49 |
com.xiaomi.mitv.tvmanager | "TV Manager" cleaner | 31 of 49 |
com.xiaomi.mimusic2 | Mi Music | 29 of 49 |
com.mitv.gallery | Mi Gallery | 26 of 49 |
com.google.android.play.games | Play Games | 26 of 49 |
com.mitv.tvhome.michannel | Mi content rows | 25 of 49 |
com.mitv.tvhome.mitvplus | Mi TV+ ad-funded channels | 25 of 49 |
com.google.android.tvrecommendations | stock launcher recommendation rows | 21 of 49 |
com.google.android.videos | Play Movies & TV | 19 of 49 |
com.xiaomo.tv.milegal | static legal / privacy text screens | 17 of 49 |
android.autoinstalls.config.xiaomi.amelie | Play auto-install of partner apps | 16 of 49 |
com.google.android.youtube.tvmusic | YouTube Music | 15 of 49 |
com.mitv.videoplayer | Mi video player | 15 of 49 |
com.android.printspooler | printing | 14 of 49 |
fusion.android.tv.demo | retail store demo loop | 12 of 49 |
com.google.android.tv.bugreportsender | automatic bug report upload | 12 of 49 |
com.google.android.tungsten.setupwraith | setup wizard; blocks a third-party launcher from Home | 12 of 49 |
com.xiaomi.floatingframe | floating promo overlay | 12 of 49 |
com.xiaomi.gamecenter.sdk.service.mibox | game center SDK | 11 of 49 |
com.google.android.partnersetup | Google RLZ attribution pings | 11 of 49 |
com.xiaomi.mitv.smartshare | Miracast + MiPlay receiver | 11 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.katnissandcom.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
overseaserviceon 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.
| Model | System | Status in the repo | What the list does (repo notes) | Files |
|---|---|---|---|---|
| Redmi TV (MiTV-ANTL0, starwars) | Android 5.1.1 (not Android TV) | Tested list | Mi 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 case | debloat.txt |
| Redmi TV (MiTV-MFTP0, alita), China firmware 23.2.10.6129 | Android TV 9 (CN build) | Tested list | CN-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 kept | debloat.txt |
| Redmi TV 43" (MiTV-MOOQ3, tarzan) | Android TV 11 | Tested list | India 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 150 | debloat.txt |
| Xiaomi F2 Fire TV (AFTMA2857F, shine) | Fire OS 7.7.1.7 / Android 9 | Tested list, debloat only · reboot-checked | Same 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 days | debloat.txt README |
| Xiaomi Fire TV (AFTNE4E43F, ginzaeu) | Fire OS 8.1.8.5 / Android 11 | Tested list, debloat only · reboot-checked | Amazon 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-checked | debloat.txt README |
| Xiaomi Mi Box 3 (MIBOX3, once), streaming box | Android TV 9 | Tested list | PatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice and phone remote off by choice, Chromecast and updater kept; Ambient re-enabled at boot | debloat.txt |
| Xiaomi Mi Box 4S Pro (MiTV-AZFP0, frozen), China | Android 9 | Tested list | Analytics, shopping and owner-unused apps; stock Home, voice, casting, app store and OTA kept. Validation and limits; initial device report | debloat.txt README |
| Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 | Tested list | PatchWall, 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; notes | debloat.txt |
| Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 | Tested list | Mi 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.md | debloat.txt README |
| Xiaomi Mi Box S (MIBOX4, oneday), streaming box, Android 12 update | Android TV 12 | Tested list | PatchWall, 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 buttons | debloat.txt README |
| Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 and 11 | Tested list | PatchWall, Mi analytics, SmartShare, MiLink; Android TV 11 subset (Mi TV+, Miracast, Mi Cast off by choice, updater kept): notes | debloat.txt README |
| Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 | Tested list | No 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 5555 | debloat.txt |
| Xiaomi TV Box S 3rd gen (MiTV-AFMU0, twilight, Amlogic), streaming box | Google TV 14 | Tested list | Mi 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.json | debloat.txt README |
| Xiaomi TV Stick 4K 2nd gen (MiTV-AFMU1, twilight, adastra, Amlogic), streaming stick | Google TV 14 | Tested list | Two 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 each | debloat.txt |
| Xiaomi MiTV-ANSP0 (小米电视5 Pro 65", jobs, Amlogic), China firmware 23.6.5.3226, 4 GB RAM | Android TV 9 (CN build) | Tested list | Second 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 notes | debloat.txt |
| Xiaomi MiTV-ASTP0 (mulan, sold as L55M7-EA), China firmware 22.12.2.1630, 1.5 GB RAM | Android TV 9 (CN build) | Tested list | Sibling 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 notes | debloat.txt README |
| Xiaomi MiTV-ASTP1 (maverick), China firmware 2.40.641.0514.cn, 1 GB RAM, 720p | Android TV 9 (CN build) | Tested list | First 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 kept | debloat.txt |
| Xiaomi Redmi Smart TV A Pro 55" 2025 Energy-saving (MiTV-ASTR0, blueplanet, Amlogic), China firmware OS3.0.106.0.USTAATV, 3 GB RAM | Android 14 (HyperOS 3, CN build) | Tested list | Second 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 notes | debloat.txt |
| Xiaomi MiTV-AXFR0 (rango, Amlogic, 1 GB), India | Android TV 11 | Tested list | PatchWall, 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 HOME | debloat.txt |
| Xiaomi MiTV-AXFR1 (rango, Amlogic, 1 GB), India | Android TV 11 | Tested list | PatchWall, 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), India | Google TV 14 | Tested list | PatchWall, 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-Fi | debloat.txt |
| Xiaomi TV A Pro 32" (MiTV-AXFU0, arctictale, Amlogic) | Google TV 14 | Tested list | PatchWall/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 9 | Tested list | PatchWall, Glance ads, Mi TV+, Sensara, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice | debloat.txt |
| Xiaomi MiTV-AXSO1 (dangalFHD, India) | Android TV 9 | Tested list | PatchWall, 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 kept | debloat.txt README |
| Xiaomi MiTV-AXSO2 (dangalUHD, India, 2 GB) | Android TV 9 | Tested list | PatchWall, 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 notes | debloat.txt README |
| Xiaomi MiTV-AXSO2 (dangalUHD, Amlogic, India), Android 11 firmware RTT0.211201.001.1150 | Android TV 11 | Tested list | Same 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 hold | debloat.txt |
| Xiaomi TV Stick 4K (MiTV-AYFR0, soul, Amlogic), streaming stick | Android TV 14 | Tested list | Mi 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 verified | debloat.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 RAM | Android 14 (HyperOS 3, CN build) | Tested list, debloat only | First 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 only | debloat.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 list | Second 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 notes | debloat.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 list | OS3 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 here | debloat.txt README |
| Xiaomi TV S Mini LED 75 2025 (MiTV-MOEU0, ladybird, MediaTek) | Google TV 14 | Tested list | Mi 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 noted | debloat.txt |
| Xiaomi Mi TV (MiTV-MOOQ0, croods; includes P1 43" EU variant) | Android TV 10 and 11 | Tested list · reboot-checked | PatchWall, 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-off | debloat.txt |
| Xiaomi Mi TV P1 43" (MiTV-MOOQ2, croods) | Android TV 11 | Tested list | Same 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 HOME | debloat.txt |
| Xiaomi MiTV-MOOR0 (venom, MediaTek) | Google TV 11 | Tested list | Mi 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 CleanYourTV | debloat.txt README |
| Xiaomi MiTV-MOOR2 / MOOR4 / MOOR6 (venom, MediaTek) | Google TV 11 | Tested list | Mi 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 provider | debloat.txt README |
| Xiaomi MiTV-MOSR1 (hermano) | Android TV 11 | Tested list | 6 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 note | debloat.txt |
| Xiaomi MiTV-MOSR4 (irobot, MediaTek) | Google TV 11 | Tested list | Mi 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; notes | debloat.txt |
| Xiaomi MiTV-MSSP0 / Xiaomi Mi TV 4A 32 (amelie), firmware PI.5926 | Android TV 9 | Tested list | Xiaomi 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 21 | debloat.txt |
| Xiaomi MiTV-MSSP1 (nino), firmware PI.5925; also sold as Mi TV 4S | Android TV 9 | Tested list · reboot-checked | Eight 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 menu | debloat.txt README |
| Xiaomi MiTV-MSSP2 (volver, MediaTek), firmware PI.4621, low-RAM | Android TV 9 | Tested list | PatchWall, 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: notes | debloat.txt README |
| Xiaomi MiTV-MSSP2 (volver, MediaTek), Android 11 firmware RTT2.211214.001.933, low-RAM | Android TV 11 | Tested list | Same 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 kept | debloat.txt README |
| Xiaomi MiTV-MSSP3 (machuca, MediaTek) | Android TV 11 | Tested list | PatchWall, Mi analytics, Netflix observer; Chromecast, screensavers, unused streaming apps off by choice; Input button needs handle_view_inputs, second unit in README | debloat.txt README |
| Xiaomi MiTV-MSSP3 (machuca, MediaTek), Android 9 firmware PI.7524 | Android TV 9 | Tested list | Same 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 README | debloat.txt README |
| Xiaomi TV EA Pro 55" (MiTV-MTEQ0, baymax, MediaTek), China firmware 23.6.26.4028 | Android TV 10 (CN build) | Tested list | No 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 notes | debloat.txt |
| Xiaomi MiTV4I (magnolia, Amlogic) | Android TV 9 | Tested list | PatchWall, Mi analytics, TV Manager, Sensara, preloaded video/music off; Chromecast kept by choice; Live TV is com.droidlogic.droidlivetv; device note | debloat.txt README |
| Xiaomi Smart Projector (C025RGN, tianshan, FORMOVIE ODM, MediaTek T32) | Google TV (Android 14) | Tested list | Xiaomi-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 soak | debloat.txt |
| Xiaomi Smart Projector L1 Pro (C045RGN, tianshan, FORMOVIE ODM, MediaTek T32) | Google TV (Android 14) | Tested list | Xiaomi-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 soak | debloat.txt |
| Xiaomi TV A Pro 55"/75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 | Tested list | PatchWall/Mi Home tab, Mi analytics, TV Manager, updaters; setup wizard off, launcherx crash-loop notes; mediashell kept for Stremio playback | debloat.txt |
| Xiaomi TV A43 2025 (MiTV-MOOQ1) | Google TV 11 | Tested list | Mi analytics, PatchWall stubs, Mi cast, preloaded streaming, Google TV launcher | debloat.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.