Docalto
ProductivityRead, edit, sign, scan, compress and convert PDFs and Office files. Your documents stay on your phone.
View appDebloat a Google TV and get a clean home screen.

Turn off a Google TV's bloat over ADB and get a clean home screen: a setup tested on a Xiaomi TV X Pro 43 (2025) with undo for every step, and one app with a Home button helper, Edit my line and a family theme. Based on CleanYourTV (MIT).
A clean, ad-free home screen for Android TV and Google TV, with the remote's Home, YouTube, Settings and volume buttons still working.
Made by Tordroid · tordroid.com · github.com/1tordroid
Based on CleanYourTV by Gathin (MIT)
Support and releases: Telegram (t.me/TordroidCleanYourTV)
One APK for Android TV and Google TV. Beta - tested by unit tests, first TV tests welcome. New versions are announced on Telegram first: Support and releases: Telegram (t.me/TordroidCleanYourTV).
Version3.6.0-tordroid.5BetaTordroid CleanYourTV 3.6.0-tordroid.5: https://cleanyourtv.tordroid.com/ or the release page.
File: Tordroid-CleanYourTV-3.6.0-tordroid.5.apk, 734 KB, Android TV 8.0+
The file is Tordroid-CleanYourTV-3.6.0-tordroid.5.apk: the CleanYourTV launcher 3.6 (package com.gathin.tvhome) with a Home button helper, Edit my line, a guided first start, the family theme, and the new Tordroid CleanYourTV logo and TV banner. No INTERNET permission, no tracking. Universal APK, Android 8.0 (API 26) or later.
Beta - tested by unit tests, first TV tests welcome. This build passed 353 unit tests and lint. On 29 November 2026 it was set up with tools/tordroid-setup.ps1 on a second Xiaomi TV X Pro 43 (2025) with the same firmware, and the Home, YouTube and Settings buttons worked there; the wallpaper fix in this version is checked by unit tests. It is signed with the same key as 3.6.0-tordroid.1, so it installs over it. The setup it supports was fully tested on a Xiaomi TV X Pro 43 (2025) (Android model MiTV-MZTU0, Google TV 14) on 28 November 2026 with a separate helper app that carries the same logic.
Had CleanYourTV from upstream on the TV? Uninstall it first: this APK is signed with this fork's own key, so Android will not update the old one.
SHA-256 of the APK
25d6becb6a2e77d2e649f247ab28924c00df495d2426f3472e2d1234eff30182Signing certificate SHA-256
a609028c5aabd5b187fc8da2362b07ced6bc6837c213b8f6155e4b7e017ffc94Check a download with sha256sum Tordroid-CleanYourTV-3.6.0-tordroid.5.apk (Windows: certutil -hashfile Tordroid-CleanYourTV-3.6.0-tordroid.5.apk SHA256) and apksigner verify --print-certs Tordroid-CleanYourTV-3.6.0-tordroid.5.apk ("Signer #1 certificate SHA-256 digest"). Or build it yourself from the source.
Taken on the tested TV on 28 November 2026. Each app tile, profile and notification is blurred on its own; the rest is what the TV shows.



tools/personal_line.py can also write your line onto its pictures (example).tools/tordroid-setup.*, tools/tordroid-undo.*), with a dry run, plus one-line versions for a phone or the TV itself. Every change is written to the undo list, and the undo puts back exactly that.Every upstream add-on and theme works with this fork: the config keys, the addons/ format and the theme tools are the same. The app keeps upstream's package name, com.gathin.tvhome, but is signed with this fork's own key. If the TV has upstream's build, uninstall it first: Android refuses an update signed with a different key.
Five ways to set up the TV. Nothing is uninstalled from the TV, and every path can be undone.
| Rank | Path | What you need | Effort | Result |
|---|---|---|---|---|
| 1 | Recommended: with an AI assistant (guide) | A computer with a coding assistant; the TV on the same network | Low: answer a few questions | Full setup; it runs and checks every step and handles differences between TVs |
| 2 | Second best: the one-command PC script (guide) | A Windows PC (PowerShell), or a Mac or Linux computer, with adb | Low: one command | Full setup, checked step by step, with a saved undo list |
| 3 | Phone only: one line in a phone ADB app (guide) | An Android phone on the same Wi-Fi | Medium: connect, paste one line | Full setup, with an undo list saved on the TV |
| 4 | TV only: one line in an ADB shell app on the TV (guide) | An ADB shell app on the TV | Medium to high: pairing on the TV itself | Full setup, with an undo list saved on the TV |
| 5 | Simplest but partial: just the app (guide) | The TV and its remote | Lowest | New home screen and Home button only; no debloat, and Google TV's launcher keeps running in the background |
By hand instead: every command in one numbered list, each with its undo.
"Full setup" means: the bloat turned off (the tested list), Google TV's launcher kept on but quiet so the YouTube button works, Xiaomi's quick settings on for the Settings button, Tordroid CleanYourTV as Home and its Home button helper on. Put the APK on the TV first (path 5, first steps); paths 1 to 4 then set it as Home and switch its helper on.
Android reports model MiTV-MZTU0, codename river. Fully tested on 28 November 2026 with the real remote: every fix below works.
| TV | Xiaomi TV X Pro 43 (2025) - Android reports model MiTV-MZTU0, codename river |
|---|---|
| System | Google TV on Android 14, build family UKN1.240806.017, V816.0.26.x |
| Chip | MediaTek MT5896 (board platform merak) |
| Memory | 2 GB (1.83 GB reported), 32-bit userspace (armeabi-v7a only) |
| Screen | 4K panel with a 1080p interface |
| Status | Fully tested on 28 November 2026 with the real remote: every fix below works |
| Second TV | A second Xiaomi TV X Pro 43 (2025) with the same firmware, set up with 3.6.0-tordroid.4 and tools/tordroid-setup.ps1 on 29 November 2026: the Home, YouTube and Settings buttons worked |
Upstream's list files the same model code (MiTV-MZTU0) under Xiaomi TV A Pro 43; the TV tested here is the Xiaomi TV X Pro 43 (2025).
The debloat list for it is debloat-tordroid.txt, and the full test report is in the device notes.
What was fixed on it:
InputKeyService or HomeKeyService, or a button mapper). Upstream issue #3360, still open. This setup uses no key filter at all.com.google.android.apps.tv.launcherx) is disabled, because the system sends that button (KEYCODE_BUTTON_3) to it. This setup keeps Google TV's launcher on but stops it running in the background.com.xiaomi.tvqs.overseas.y24 enabled on this TV.Why does Google TV's home show for a moment after Home? On Google TV the Home key passes through Google TV's own home for a moment before Tordroid CleanYourTV opens. Switching off Google TV's launcher removes that step, but the remote's YouTube button then stops working, so this setup keeps it on. After a restart Google TV's home can also show for a few seconds. The full story is in Problems and fixes.
These come from upstream CleanYourTV's own device list and share the tested TV's platform. This fork's setup has not been tested on any of them yet.
| TV, as upstream's list names it | Why it is likely | Upstream's notes |
|---|---|---|
| Xiaomi TV A Pro 55" and 75" 2026 | The same Android model MiTV-MZTU0 and codename river | list |
Xiaomi TV A Pro 43" (other MiTV-MZTU0 units) | The same model code and codename, and the same firmware family UKN1.240806.017 | device notes |
Xiaomi TV S Mini LED 75 2025 (MiTV-MOEU0, ladybird) | Xiaomi's Google TV 14 on MediaTek, the same firmware family (UKN1.240806.017, V816.0.2x) and the same remote codes (Settings 176, YouTube 190); its notes report a held volume button stepping once per press with key helpers bound, the problem fixed here | list |
Xiaomi MiTV-AXFR2 (watchmen), India | Xiaomi's Google TV 14 on MediaTek; its YouTube button (190) also goes to Google TV's launcher | list |
Upstream's other Xiaomi devices on Google TV 14 use Amlogic chips: the Xiaomi TV A Pro 32" (MiTV-AXFU0), the Xiaomi TV Box S 3rd gen (MiTV-AFMU0) and the Xiaomi TV Stick 4K 2nd gen (MiTV-AFMU1). Parts of the setup may apply there, with less certainty. Other brands' TVs on the same MediaTek MT5896 chip run different firmware, so the Xiaomi-specific steps (Xiaomi's quick settings for the Settings button) do not carry over; use their own lists.
Upstream's full list of 518 TV models from 140 brands is kept unchanged in the repository's README, under Upstream CleanYourTV: Supported TVs, and can be searched at cleanyour.tv/tvs.
Tested on a Xiaomi TV X Pro 43 (2025) - Android reports model MiTV-MZTU0, codename river - with Google TV on Android 14, on 28 November 2026. A package the TV does not have is skipped.
Guides: Every way to set up your TV · PC script, phone or TV over ADB · With an AI assistant · Problems and fixes · How this TV got here · Changes in this fork · Security and privacy
Paths 1 to 4 talk to the TV over ADB. Switch it on first:
192.168.1.50.Wi-Fi warning. If the TV was set up with the Google Home app, the setup wizard may own the saved Wi-Fi network, and turning the wizard off takes the TV off Wi-Fi. The scripts and the one-line command check this and skip the wizard. By hand, run dumpsys wifi | grep -o 'cname=[^ ]*' first: if it names com.google.android.tungsten.setupwraith, skip step 21, or forget and re-join the network in Settings first.
A coding assistant on your computer runs every step over ADB, checks the result, asks you to press the real remote buttons, and adapts when your TV differs from the tested one.
You need a computer with a coding assistant that can run commands (one that works in a terminal), the TV and the computer on the same network, and Network debugging on (how).
PROMPT.md, then the additions below, and send them.This is the Tordroid-CleanYourTV fork. Also follow these, they were tested on a Xiaomi TV X Pro 43 (2025), Android model MiTV-MZTU0 (Google TV 14):
- For a TV whose Android model is MiTV-MZTU0, use examples/xiaomi-tv-a-pro-2026/debloat-tordroid.txt, not debloat.txt. Disable only
packages the TV has. Never uninstall.
- Keep Google TV's launcher (com.google.android.apps.tv.launcherx) ENABLED: the YouTube button needs it. Restrict it
instead: cmd appops set ... RUN_ANY_IN_BACKGROUND ignore, RUN_IN_BACKGROUND ignore, cmd appops write-settings,
am set-standby-bucket ... restricted.
- Keep com.xiaomi.tvqs.overseas.y24 enabled when present (the Settings button), and com.google.android.katniss
(voice) with RUN_ANY_IN_BACKGROUND ignore.
- Do not enable InputKeyService, HomeKeyService or any key-filtering accessibility service: they stop a held volume
key from repeating and break the Settings button (upstream #3360).
- Install the Tordroid CleanYourTV APK if I give you one, set it as Home, and switch on its Home button helper:
com.gathin.tvhome/com.gathin.tvhome.HomeRedirectService (append it to the accessibility list, keep the others).
- The family theme (themes/family, five apps per row) is the default. Ask me "Please enter the line you want to
add (for example a loved one's name)" and "Which emoji do you want to add?". I may skip both. If I answer, either
set it in the app (Launcher settings > Edit my line), or run
tools/venv/bin/python -I tools/personal_line.py "<line>" --emoji "<emoji>" and push work/personal-family with
tools/theme.sh. Not both, or the line shows twice.
- Before anything changes, save the current state (disabled packages, app-ops, standby bucket, accessibility list,
Home and assistant roles) to a file, and give me the exact undo commands at the end.
- The scripted version of all this is tools/tordroid-setup.ps1 or tools/tordroid-setup.sh; you may run it with
-DryRun / --dry-run first and use it.
Undo: ask the assistant to undo using the state it saved, or use the scripts and lines below.
Windows
adb works in a terminal.powershell -ExecutionPolicy Bypass -File tools\tordroid-setup.ps1 -TvIp 192.168.1.50 -DryRunpowershell -ExecutionPolicy Bypass -File tools\tordroid-setup.ps1 -TvIp 192.168.1.50tordroid-state-<tv address>-<date>.txt. Keep it.Undo: powershell -ExecutionPolicy Bypass -File tools\tordroid-undo.ps1 uses the newest undo list; add -StateFile <file> for another. Without a list, tools\tordroid-undo.ps1 -All -TvIp 192.168.1.50 turns every package in the list back on.
macOS or Linux
adb (macOS: brew install android-platform-tools; Debian or Ubuntu: sudo apt install adb).tools/tordroid-setup.sh --dry-run 192.168.1.50tools/tordroid-setup.sh 192.168.1.50Undo: tools/tordroid-undo.sh (the newest undo list) or tools/tordroid-undo.sh <file>. Without a list: tools/tordroid-undo.sh --all 192.168.1.50.
You need an Android phone on the same Wi-Fi as the TV, and an ADB app. One widely used app is Bugjaeger (Mobile ADB) by Roman Sisik on Google Play; other "remote ADB shell" apps work the same way.
192.168.1.50, and port 5555. Choose Connect.Done. Undo list: /sdcard/tordroid-cleanyourtv-undo.txt.F=/sdcard/tordroid-cleanyourtv-undo.txt; echo "# Tordroid-CleanYourTV undo list" >> $F; for p in com.google.android.feedback com.miui.tv.analytics com.xiaomi.statistic com.mitv.tvhome.michannel com.mitv.tvhome.oemtab com.xm.webcontent android.autoinstalls.config.google.gtvpai com.google.android.play.games com.xiaomi.mimusic2 com.xiaomi.mitv.tvmanager com.xiaomi.mi_connect_service com.xiaomi.mitv.smartshare com.xiaomi.floatingframe com.mediatek.AirplayAPK com.mediatek.airplaydaemon com.mediatek.partner.airplay_sys com.xiaomi.wfdsinkhelperservice com.iwedia.tvinput com.mediatek.dtv.tvinput.atsctuner com.mediatek.dtv.tvinput.isdbtuner com.google.android.tungsten.setupwraith; do pm path $p >/dev/null 2>&1 || continue; pm list packages -d $p | grep -qx "package:$p" && continue; if [ $p = com.google.android.tungsten.setupwraith ] && dumpsys wifi | grep -q 'cname=com.google.android.tungsten.setupwraith'; then echo "skipped $p: it owns the saved Wi-Fi"; continue; fi; pm disable-user --user 0 $p >/dev/null && echo "disabled=$p" >> $F && echo "off: $p"; done; g=com.google.android.apps.tv.launcherx; if pm path $g >/dev/null 2>&1; then if pm list packages -d $g | grep -qx "package:$g"; then echo "enabled=$g" >> $F; pm enable $g >/dev/null; fi; for o in RUN_ANY_IN_BACKGROUND RUN_IN_BACKGROUND; do m=$(cmd appops get $g $o | sed -n "s/.*$o: \([a-z_]*\).*/\1/p" | head -n 1); echo "appop $g $o=${m:-default}" >> $F; cmd appops set $g $o ignore; done; am set-standby-bucket $g restricted; echo "Google TV launcher: on, kept in the background"; fi; q=com.xiaomi.tvqs.overseas.y24; if pm list packages -d $q | grep -qx "package:$q"; then echo "enabled=$q" >> $F; pm enable $q >/dev/null; echo "on: $q"; fi; v=com.google.android.katniss; if pm path $v >/dev/null 2>&1; then m=$(cmd appops get $v RUN_ANY_IN_BACKGROUND | sed -n 's/.*RUN_ANY_IN_BACKGROUND: \([a-z_]*\).*/\1/p' | head -n 1); echo "appop $v RUN_ANY_IN_BACKGROUND=${m:-default}" >> $F; cmd appops set $v RUN_ANY_IN_BACKGROUND ignore; fi; cmd appops write-settings; if pm path com.gathin.tvhome >/dev/null 2>&1; then cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivity; if dumpsys package com.gathin.tvhome | grep -q HomeRedirectService; then s=$(settings get secure enabled_accessibility_services); echo "accessibility_services=$s" >> $F; n=$(echo "$s" | tr ':' '\n' | grep -v -e '^null$' -e '^$' -e HomeRedirectService -e '^com.gathin.tvhome/.*KeyService$' | paste -sd: -); settings put secure enabled_accessibility_services "${n:+$n:}com.gathin.tvhome/com.gathin.tvhome.HomeRedirectService"; settings put secure accessibility_enabled 1; echo "Home button helper: on"; fi; fi; echo "Done. Undo list: $F"
F=/sdcard/tordroid-cleanyourtv-undo.txt; if [ -f $F ]; then while IFS='=' read -r k v; do case "$k" in disabled) pm enable "$v" >/dev/null && echo "on again: $v";; enabled) pm disable-user --user 0 "$v" >/dev/null && echo "off again: $v";; "appop "*) set -- $k; cmd appops set $2 $3 ${v:-default};; accessibility_services) if [ -z "$v" ] || [ "$v" = null ]; then settings put secure enabled_accessibility_services ''; else settings put secure enabled_accessibility_services "$v"; fi;; esac; done < $F; g=com.google.android.apps.tv.launcherx; pm path $g >/dev/null 2>&1 && am set-standby-bucket $g active; cmd appops write-settings; mv $F $F.done; echo "Undo done."; else echo "No undo list at $F. Use the restore-everything line instead."; fi
for p in com.google.android.feedback com.miui.tv.analytics com.xiaomi.statistic com.mitv.tvhome.michannel com.mitv.tvhome.oemtab com.xm.webcontent android.autoinstalls.config.google.gtvpai com.google.android.play.games com.xiaomi.mimusic2 com.xiaomi.mitv.tvmanager com.xiaomi.mi_connect_service com.xiaomi.mitv.smartshare com.xiaomi.floatingframe com.mediatek.AirplayAPK com.mediatek.airplaydaemon com.mediatek.partner.airplay_sys com.xiaomi.wfdsinkhelperservice com.iwedia.tvinput com.mediatek.dtv.tvinput.atsctuner com.mediatek.dtv.tvinput.isdbtuner com.google.android.tungsten.setupwraith; do pm path $p >/dev/null 2>&1 && pm enable $p >/dev/null && echo "on: $p"; done; for g in com.google.android.apps.tv.launcherx com.google.android.katniss; do pm path $g >/dev/null 2>&1 && cmd appops set $g RUN_ANY_IN_BACKGROUND default; done; g=com.google.android.apps.tv.launcherx; pm path $g >/dev/null 2>&1 && cmd appops set $g RUN_IN_BACKGROUND default && am set-standby-bucket $g active; cmd appops write-settings; s=$(settings get secure enabled_accessibility_services); n=$(echo "$s" | tr ':' '\n' | grep -v -e '^null$' -e '^$' -e HomeRedirectService | paste -sd: -); if [ -n "$n" ]; then settings put secure enabled_accessibility_services "$n"; else settings put secure enabled_accessibility_services ''; fi; echo "Everything in the list is back on."
An "on-device ADB shell" app connects to the TV's own Wireless debugging and gives a shell on the same TV, with no phone or computer. One example is LADB (Local ADB Shell, com.draco.ladb). It was made for phones, and pairing on a TV can be awkward, because the pairing code has to be typed while the TV shows it. It was not tested on the MiTV-MZTU0.
Get the APK onto the TV (pick one way)
Allow the install
If the TV says App not installed and you had CleanYourTV before, uninstall the old one first (Settings > Apps). It was signed with a different key, so Android will not update it.
Make it your Home screen
Switch on the Home button helper
On Google TV the Home button opens Google TV's own home. The helper lets Tordroid CleanYourTV open instead. It does not read your screen or your keys.
If you see CleanYourTV's Input or Home key helpers in Accessibility, leave them off. On this TV they stop a held volume key from repeating and break the Settings button (#3360).
Add your own line (optional)
Love you always (up to 40 characters). Close the keyboard.The family theme. A fresh install starts with the family theme: line drawings that change with the time of day, five apps per row. In Launcher settings you can change Apps per row (4 to 7), the Wallpaper and the Clock.
Show the Play Store (or another app) as a tile. The launcher shows apps that have a TV entry. Some, such as the Play Store on some TVs, have none. A theme can add them through the App library: in the theme's config.json, "app_library": true adds an App library pill with every installed app, and "library_apps": ["com.android.vending"] puts the Play Store on Home from the start. Push the theme with tools/theme.sh or tools\theme.ps1 from a computer (themes).
Check the remote
The Settings button needs Xiaomi's quick settings package on some Xiaomi TVs; paths 1 to 4 switch it on.
Undo: Settings > System > Accessibility > Tordroid CleanYourTV Home button > switch off; Settings > Apps > Tordroid CleanYourTV > Uninstall; press Home and Google TV's own home is back.
On a PC, run adb connect 192.168.1.50:5555 first and put adb shell in front of each command. In a phone or TV shell app, paste them as they are. Run them one at a time, in this order. A package line answers Unknown package when the TV does not have that package: just go on.
| # | What it does | Command | Undo |
|---|---|---|---|
| 1 | Turn off Google feedback reports | pm disable-user --user 0 com.google.android.feedback | pm enable com.google.android.feedback |
| 2 | Turn off Xiaomi analytics | pm disable-user --user 0 com.miui.tv.analytics | pm enable com.miui.tv.analytics |
| 3 | Turn off Xiaomi statistics | pm disable-user --user 0 com.xiaomi.statistic | pm enable com.xiaomi.statistic |
| 4 | Turn off PatchWall Mi channels | pm disable-user --user 0 com.mitv.tvhome.michannel | pm enable com.mitv.tvhome.michannel |
| 5 | Turn off PatchWall tab | pm disable-user --user 0 com.mitv.tvhome.oemtab | pm enable com.mitv.tvhome.oemtab |
| 6 | Turn off Xiaomi web content rows | pm disable-user --user 0 com.xm.webcontent | pm enable com.xm.webcontent |
| 7 | Turn off Google TV partner app auto-installs | pm disable-user --user 0 android.autoinstalls.config.google.gtvpai | pm enable android.autoinstalls.config.google.gtvpai |
| 8 | Turn off Play Games | pm disable-user --user 0 com.google.android.play.games | pm enable com.google.android.play.games |
| 9 | Turn off Mi Music | pm disable-user --user 0 com.xiaomi.mimusic2 | pm enable com.xiaomi.mimusic2 |
| 10 | Turn off TV Manager | pm disable-user --user 0 com.xiaomi.mitv.tvmanager | pm enable com.xiaomi.mitv.tvmanager |
| 11 | Turn off Mi Connect | pm disable-user --user 0 com.xiaomi.mi_connect_service | pm enable com.xiaomi.mi_connect_service |
| 12 | Turn off Smart Share | pm disable-user --user 0 com.xiaomi.mitv.smartshare | pm enable com.xiaomi.mitv.smartshare |
| 13 | Turn off store demo mode | pm disable-user --user 0 com.xiaomi.floatingframe | pm enable com.xiaomi.floatingframe |
| 14 | Turn off AirPlay (skip if you use AirPlay) | pm disable-user --user 0 com.mediatek.AirplayAPK | pm enable com.mediatek.AirplayAPK |
| 15 | Turn off AirPlay service (skip if you use AirPlay) | pm disable-user --user 0 com.mediatek.airplaydaemon | pm enable com.mediatek.airplaydaemon |
| 16 | Turn off AirPlay system part (skip if you use AirPlay) | pm disable-user --user 0 com.mediatek.partner.airplay_sys | pm enable com.mediatek.partner.airplay_sys |
| 17 | Turn off Miracast receiver (skip if you cast from Windows or Android) | pm disable-user --user 0 com.xiaomi.wfdsinkhelperservice | pm enable com.xiaomi.wfdsinkhelperservice |
| 18 | Turn off unused TV input (off at the factory on the tested TV) | pm disable-user --user 0 com.iwedia.tvinput | pm enable com.iwedia.tvinput |
| 19 | Turn off ATSC tuner, not used outside North America (off at the factory) | pm disable-user --user 0 com.mediatek.dtv.tvinput.atsctuner | pm enable com.mediatek.dtv.tvinput.atsctuner |
| 20 | Turn off ISDB tuner, not used outside Japan and South America (off at the factory) | pm disable-user --user 0 com.mediatek.dtv.tvinput.isdbtuner | pm enable com.mediatek.dtv.tvinput.isdbtuner |
| 21 | Turn off first-run setup wizard (read the Wi-Fi warning first) | pm disable-user --user 0 com.google.android.tungsten.setupwraith | pm enable com.google.android.tungsten.setupwraith |
| 22 | Turn on Google TV's launcher (the YouTube button needs it) | pm enable com.google.android.apps.tv.launcherx | pm disable-user --user 0 com.google.android.apps.tv.launcherx (only if it was off before) |
| 23 | Stop Google TV's launcher running in the background | cmd appops set com.google.android.apps.tv.launcherx RUN_ANY_IN_BACKGROUND ignore | cmd appops set com.google.android.apps.tv.launcherx RUN_ANY_IN_BACKGROUND default |
| 24 | Same, second rule | cmd appops set com.google.android.apps.tv.launcherx RUN_IN_BACKGROUND ignore | cmd appops set com.google.android.apps.tv.launcherx RUN_IN_BACKGROUND default |
| 25 | Put it in the restricted standby group | am set-standby-bucket com.google.android.apps.tv.launcherx restricted | am set-standby-bucket com.google.android.apps.tv.launcherx active |
| 26 | Turn on Xiaomi quick settings (the Settings button needs it) | pm enable com.xiaomi.tvqs.overseas.y24 | pm disable-user --user 0 com.xiaomi.tvqs.overseas.y24 |
| 27 | Keep Google's voice app, but not in the background | cmd appops set com.google.android.katniss RUN_ANY_IN_BACKGROUND ignore | cmd appops set com.google.android.katniss RUN_ANY_IN_BACKGROUND default |
| 28 | Save the app-op changes | cmd appops write-settings | cmd appops write-settings |
| 29 | Make Tordroid CleanYourTV the Home app (once installed) | cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivity | Choose another Home app in Settings > Apps > Default apps, or uninstall the app |
| 30 | See which accessibility services are on (write the answer down) | settings get secure enabled_accessibility_services | - |
| 31 | Switch on the Home button helper (replaces the list; see the note) | settings put secure enabled_accessibility_services com.gathin.tvhome/com.gathin.tvhome.HomeRedirectService | settings put secure enabled_accessibility_services '<the list you wrote down>' |
| 32 | Accessibility on | settings put secure accessibility_enabled 1 | settings put secure accessibility_enabled <the value before, usually 0 or 1> |
Step 31 replaces the whole accessibility list. If step 30 showed services you want to keep, put them first, separated by :, for example settings put secure enabled_accessibility_services <the list>:com.gathin.tvhome/com.gathin.tvhome.HomeRedirectService. Leave out CleanYourTV's InputKeyService and HomeKeyService and any button mapper: a key filter stops a held volume key from repeating and breaks the Settings button (#3360). Steps 29, 31 and 32 need the Tordroid CleanYourTV app installed.
tools\tordroid-undo.ps1 or tools/tordroid-undo.sh with the saved list, or -All / --all without it.Steps 18 to 20 (two tuners and one TV input) were already off at the factory on the tested TV; the restore-everything path turns them on as well, which is harmless.
Xiaomi TV X Pro 43 (2025) - Android reports model MiTV-MZTU0, codename river. Google TV on Android 14 (build family UKN1.240806.017, V816.0.26.x), MediaTek MT5896, 2 GB RAM, 32-bit userspace, 4K panel with a 1080p UI. Tested over ADB and with the real remote on 28 November 2026.
What happened. The usual CleanYourTV setup disables Google TV's launcher (com.google.android.apps.tv.launcherx). After that, the YouTube button did nothing.
Why. The YouTube button sends KEYCODE_BUTTON_3 (190). The system's global-key map sends that key to launcherx's GlobalKeyListener_Receiver, not to the app on screen. With launcherx disabled, nobody receives it.
Fix. Keep launcherx enabled, but stop it from running in the background with two app-ops (RUN_ANY_IN_BACKGROUND and RUN_IN_BACKGROUND set to ignore) and the restricted standby bucket. The YouTube button then works the way the TV maker intended.
What happened. CleanYourTV's answer to (a) was its key helper (InputKeyService with an app_keys entry for the YouTube button). The YouTube button worked, but holding Volume + or - moved one step per press, and the Settings button misbehaved.
Why. Any accessibility service that filters key events puts an input filter in front of the keys. While that filter is active, the system's key repeat stops. This is not specific to CleanYourTV: a button-mapper app does the same. Upstream issue #3360, still open.
Fix. No key filter anywhere. The YouTube button is handled by launcherx itself (see a), so no helper has to filter keys. The Settings button goes to mitv.service, which needs com.xiaomi.tvqs.overseas.y24 enabled (the MZTU0 debloat list disables it).
What happened. Once launcherx was enabled again, the Home button opened Google TV's home, even with the CleanYourTV launcher holding the Home role and cmd package set-home-activity answering Success.
Why. On this Google TV 14 build, Home is resolved by intent priority, and the saved default Home is ignored. launcherx has the highest priority, so it wins whenever it is enabled.
Fix. A small accessibility service that does not filter keys and does not read window content. It only hears window events from launcherx and from the CleanYourTV launcher. When Google TV's home appears, it opens the CleanYourTV launcher. In Tordroid CleanYourTV it is built into the launcher as the Home button helper (com.gathin.tvhome/.HomeRedirectService).
What happened. The first version waited for a window-state event naming HomeActivity. Sometimes Home showed Google TV's home and nothing happened.
Why. Google TV does not always send a window-state event when it brings its home back. Sometimes only its root FrameLayout changes (a content or focus event).
Fix. Also listen to content and focus events from launcherx, and treat its root FrameLayout changing as "home is back". A 700 ms pause between redirects stops it from firing twice.
What happened. With (d) in place, the Settings button opened Google TV's settings panel, and a split second later the helper closed it by opening the launcher.
Why. The settings panel (DashboardActivity / DashboardHandler) is also a launcherx window, and its own FrameLayout changes looked like "home is back".
Fix. Remember when a launcherx window other than home opens (a "panel"), and ignore its content changes until the CleanYourTV launcher or Google TV's real home comes to the front again.
What happens. After the TV restarts, or after the launcher itself is restarted, Google TV's home is on screen for a few seconds before CleanYourTV appears.
Why. The helper can only act once Android has started it, and Android starts accessibility services a little after the first home screen. Google TV's home may also flash briefly after each Home press.
Status. Not fixed; it is the cost of this setup. It goes away once the helper is running.
InputKeyService and HomeKeyService off, no button mapper.RUN_ANY_IN_BACKGROUND and RUN_IN_BACKGROUND set to ignore and the standby bucket set to restricted.com.xiaomi.tvqs.overseas.y24 enabled for the Settings button.Result: the YouTube button, Home, held volume and the Settings button all work. Upstream CleanYourTV alone could give either a working YouTube button (with its key helper) or a held volume that ramps and a working Settings button (without it), but not both on this TV. The Home button helper, which filters no keys, is what makes all four work at once.
CleanYourTV v2.7 went onto the TV. The bloat was disabled over ADB, the CleanYourTV launcher was made Home, and Google TV's own home (launcherx) was disabled, as the usual setup does. The YouTube button stopped working, because the TV sends it to launcherx; CleanYourTV's key helper with a mapping for the YouTube button brought it back.
The key helper had a cost: holding Volume + or - moved one step per press instead of ramping, and the Settings button misbehaved. Upstream issue #3360 describes the same thing on other TVs.
launcherx was enabled again and kept from running in the background, so the YouTube button worked natively with no key filter. The Settings button needed com.xiaomi.tvqs.overseas.y24, which was enabled again.
With launcherx enabled, Home went to Google TV. A small accessibility service, "TV Keys", was written: it listens only to window events from launcherx and the launcher, and opens the launcher when Google TV's home appears. Two fixes followed: watch launcherx's root FrameLayout, and leave the Settings panel alone. YouTube, Home, held volume and Settings all worked with the real remote.
The work became Tordroid-CleanYourTV: one app with the Home button helper built into the launcher, a first-start card that explains it, Edit my line, the family theme as the default, and guides for people without a computer. The merged app passed its unit tests and lint; it is a beta until it has run on TVs.
What the app may do. Tordroid CleanYourTV has no INTERNET permission and no network code, no analytics, no ads and no tracking. It asks for the same small set of permissions as upstream's launcher, and stores only its settings, your line and the theme files on the TV.
The accessibility service. The app contains one accessibility service of its own, the Home button helper (com.gathin.tvhome/.HomeRedirectService). It is off until you switch it on in Settings > Accessibility.
canRequestFilterKeyEvents="false"), read what is on the screen (canRetrieveWindowContent="false"), see other apps, read what you type, store anything, or send anything anywhere.Upstream's optional key helpers (InputKeyService, HomeKeyService) are still in the app and stay off unless you switch them on; on TVs like the tested Xiaomi TV X Pro 43 (2025), leave them off.
ADB. Nothing here uninstalls anything: packages are turned off with pm disable-user, which pm enable undoes. Network debugging lets any computer on your network ask to connect, and the TV asks you to allow it. Switch debugging off when you are done.
Checking the APK. It is signed with this fork's own key, not upstream's. Compare the SHA-256 checksum and the signing certificate fingerprint above with your download, or build it yourself from the source. Report a security problem in what this fork adds as the repository's security policy describes.
This fork stays MIT-licensed (LICENSE); the family theme's drawings stay CC0 (credits). Changes in this fork: changelog.
Read, edit, sign, scan, compress and convert PDFs and Office files. Your documents stay on your phone.
View app
One media app for Android phones, tablets and Android TV: bring your own servers and libraries (Jellyfin, Emby, Plex, SMB, WebDAV), a Live TV guide, your cloud storage and an offline downloader — all in one tidy place.
DownloadThe ColorOS 17 dialer, contacts and call recording, ported to OnePlus as a Magisk / KernelSU module. Flash it, reboot, done — releases on GitHub.
View releases
A private family portal for shared cloud storage, with downloads, a video player and WebDAV.
Open portal