Tordroid sites

DocaltoTesting on Google PlayPDF and documents Droid StreamAvailable nowMedia app for phones and TV Dialer PortPublic betaColorOS dialer module for OnePlus Tordroid CleanYourTVBetaClean home for Google TV Tordroid PlusFamily portal, invite only
TordroidAll apps
Browse apps

Tordroid CleanYourTV

Debloat a Google TV and get a clean home screen.

BetaUtilities
  • Android TV 8+
  • Google TV
  • No internet permission
  • Undo for every step
Tordroid CleanYourTV home on a Xiaomi TV X Pro 43 (2025): the family theme with a personal line under the clock; each app tile is blurred

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).

Version
3.6.0-tordroid.5 (beta)
Requires
Android TV 8.0+
Size
734 KB
Package
com.gathin.tvhome
Licence
MIT
Category
Utilities
Download

Get Tordroid CleanYourTV

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.5Beta
Size
734 KB
Requires
Android TV 8.0+
Released
29 Nov 2026

Tordroid 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

25d6becb6a2e77d2e649f247ab28924c00df495d2426f3472e2d1234eff30182

Signing certificate SHA-256

a609028c5aabd5b187fc8da2362b07ced6bc6837c213b8f6155e4b7e017ffc94

Check 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.

Screenshots

On the Xiaomi TV X Pro 43 (2025)

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.

  • Tordroid CleanYourTV Home on the tested Xiaomi TV X Pro 43 (2025): the family theme with a personal line and a pink heart under the clock; each app tile is blurred
    Home: the family theme, five apps per row, and your own line under the clock (Edit my line).
  • Google TV's settings panel opened by the remote's Settings button over Tordroid CleanYourTV; the app tiles, the profile picture and the notifications are blurred
    The Settings button opens Google TV's settings panel, and it stays open.
  • YouTube opened by the remote's YouTube button; the profile pictures and names are blurred
    The YouTube button works again, with Google TV's launcher kept on but quiet.
This fork

What is different in this fork

  • One app, with the Home button helper built in and no key catching. Tordroid CleanYourTV is the CleanYourTV launcher with a small accessibility service that brings Home back to it. It filters no keys and reads no screen content, so a held volume button keeps repeating and the Settings button keeps working. Upstream's key helpers stay off.
  • Edit my line. Your own line under the clock (for example "Love you always") with a heart, another emoji or none, set on the TV in Launcher settings.
  • The family theme with five icons per row, bundled in the app and used on the first start. tools/personal_line.py can also write your line onto its pictures (example).
  • A guided first start: the Home button helper, Home and the theme, your own line, then Start.
  • Tested fixes for the YouTube, volume, Settings and Home problems on the tested TV, each explained in Problems and fixes.
  • Setup paths ranked by effort, from an AI assistant down to just the app (below).
  • Setup and undo scripts with a saved undo list for Windows, macOS and Linux (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.

Set up

Best result for the least effort first

Five ways to set up the TV. Nothing is uninstalled from the TV, and every path can be undone.

RankPathWhat you needEffortResult
1Recommended: with an AI assistant (guide)A computer with a coding assistant; the TV on the same networkLow: answer a few questionsFull setup; it runs and checks every step and handles differences between TVs
2Second best: the one-command PC script (guide)A Windows PC (PowerShell), or a Mac or Linux computer, with adbLow: one commandFull setup, checked step by step, with a saved undo list
3Phone only: one line in a phone ADB app (guide)An Android phone on the same Wi-FiMedium: connect, paste one lineFull setup, with an undo list saved on the TV
4TV only: one line in an ADB shell app on the TV (guide)An ADB shell app on the TVMedium to high: pairing on the TV itselfFull setup, with an undo list saved on the TV
5Simplest but partial: just the app (guide)The TV and its remoteLowestNew 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.

Tested TV

Xiaomi TV X Pro 43 (2025)

Android reports model MiTV-MZTU0, codename river. Fully tested on 28 November 2026 with the real remote: every fix below works.

TVXiaomi TV X Pro 43 (2025) - Android reports model MiTV-MZTU0, codename river
SystemGoogle TV on Android 14, build family UKN1.240806.017, V816.0.26.x
ChipMediaTek MT5896 (board platform merak)
Memory2 GB (1.83 GB reported), 32-bit userspace (armeabi-v7a only)
Screen4K panel with a 1080p interface
StatusFully tested on 28 November 2026 with the real remote: every fix below works
Second TVA 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:

  • Holding Volume + or - steps once per press, and the Settings button misbehaves, whenever any accessibility service that filters keys is on (CleanYourTV's InputKeyService or HomeKeyService, or a button mapper). Upstream issue #3360, still open. This setup uses no key filter at all.
  • The YouTube button does nothing once Google TV's launcher (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.
  • Home goes to Google TV's home while its launcher is on. The Home button helper, with no key filter, opens Tordroid CleanYourTV whenever Google TV's home appears.
  • The Settings button needs com.xiaomi.tvqs.overseas.y24 enabled on this TV.
  • No wallpaper after restarting the TV. Home can start before the TV's storage is ready, and the theme's pictures live there. Since 3.6.0-tordroid.4 Home notices when it started without the wallpaper its theme asks for and loads it again as soon as the pictures can be read.

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.

Likely to work the same way (not yet tested)

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 itWhy it is likelyUpstream's notes
Xiaomi TV A Pro 55" and 75" 2026The same Android model MiTV-MZTU0 and codename riverlist
Xiaomi TV A Pro 43" (other MiTV-MZTU0 units)The same model code and codename, and the same firmware family UKN1.240806.017device 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 herelist
Xiaomi MiTV-AXFR2 (watchmen), IndiaXiaomi's Google TV 14 on MediaTek; its YouTube button (190) also goes to Google TV's launcherlist

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.

Every other TV

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.

Guides

Every way, step by step

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

Before you start: debugging on the TV

Paths 1 to 4 talk to the TV over ADB. Switch it on first:

  1. On the TV, open Settings > System > About.
  2. Select Android TV OS build seven times. The TV says You are now a developer.
  3. Go back to Settings > System > Developer options.
  4. For a PC or a phone, switch on Network debugging (or ADB debugging). For an app on the TV itself, switch on Wireless debugging.
  5. Find the TV's address in Settings > Network & Internet > your network, for example 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.

1. Recommended: with an AI assistant

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).

  1. Download the repository from GitHub (Code > Download ZIP) and unzip it, or clone it.
  2. Open your coding assistant in that folder.
  3. Paste the contents of upstream's PROMPT.md, then the additions below, and send them.
  4. Answer its questions: which apps you use, the dock, the voice assistant, casting and firmware updates.
  5. When the TV shows Allow debugging?, choose Allow.
  6. When it asks you to press a button on the remote, press the real one and say what happened.
  7. At the end, ask it to switch debugging off again and to give you the undo commands.
Additions for this fork (paste after PROMPT.md)
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.

2. Second best: the one-command PC script

Windows

  1. Install Google's SDK Platform-Tools and add its folder to PATH, so adb works in a terminal.
  2. Download the repository (Code > Download ZIP on GitHub) and unzip it.
  3. Open PowerShell in the unzipped folder.
  4. Optional, to see what it would do without changing anything:
powershell -ExecutionPolicy Bypass -File tools\tordroid-setup.ps1 -TvIp 192.168.1.50 -DryRun
  1. Run it:
powershell -ExecutionPolicy Bypass -File tools\tordroid-setup.ps1 -TvIp 192.168.1.50
  1. The TV shows Allow debugging? Select Always allow from this computer and choose Allow.
  2. Read the lines it prints: OK, SKIPPED (not on this TV, or kept on purpose) or FAILED.
  3. It saves the undo list next to the script as tordroid-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

  1. Install adb (macOS: brew install android-platform-tools; Debian or Ubuntu: sudo apt install adb).
  2. Download the repository and open a terminal in it.
  3. Optional: tools/tordroid-setup.sh --dry-run 192.168.1.50
  4. Run: tools/tordroid-setup.sh 192.168.1.50
  5. Allow debugging on the TV, as above.

Undo: 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.

3. Phone only: one line in a phone ADB app

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.

  1. Switch on Network debugging on the TV (see above) and note its address.
  2. Open the ADB app on the phone. Choose to connect over the network (Wi-Fi or TCP).
  3. Type the TV's address, for example 192.168.1.50, and port 5555. Choose Connect.
  4. The TV shows Allow debugging? Choose Allow.
  5. Open the app's shell screen.
  6. Copy the whole setup line below, paste it into the shell box, and run it.
  7. It prints one line per change and ends with Done. Undo list: /sdcard/tordroid-cleanyourtv-undo.txt.
  8. Check with the real remote: Home, the YouTube button, the Settings button, and hold Volume +.
  9. Switch debugging off again on the TV.
Setup line (all steps; a package the TV does not have is skipped)
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"
Undo line (puts back exactly what the setup line changed)
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
Restore-everything line (no undo list needed)
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."

4. TV only: one line in an ADB shell app on the TV

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.

  1. Install the ADB shell app on the TV.
  2. Switch on Wireless debugging in Developer options.
  3. In Wireless debugging, choose Pair device with pairing code. Enter the code and the port in the app, as the app explains.
  4. When the app shows a shell, paste the setup line from path 3 and run it.
  5. Undo with the undo line or the restore-everything line from path 3.
  6. Switch Wireless debugging off when you are done.

5. Simplest but partial: just the app

Get the APK onto the TV (pick one way)

  • With a USB stick: download the APK from this page on a computer, copy it onto a USB stick, plug the stick into the TV, open a file manager app on the TV (the TV's own media or files app, or one from the Play Store), open the stick and select the APK.
  • With a "send files to TV" app: install one from the Play Store on the TV and on your phone, send the APK from the phone to the TV, and open the file you received on the TV.

Allow the install

  1. The TV says the app that opened the file may not install apps. Choose Settings.
  2. Switch on Allow from this source for that app.
  3. Press Back. The install screen shows Tordroid CleanYourTV.
  4. Choose Install. Wait for App installed, then choose Done.

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

  1. Open Tordroid CleanYourTV from the TV's list of apps.
  2. If the TV asks which app to use for Home, choose Tordroid CleanYourTV, then Always.
  3. Google TV often does not ask. That is fine: the next step makes the Home button open it.

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.

  1. The app explains this on its first start. Choose Open Accessibility settings.
  2. In the list, choose Tordroid CleanYourTV Home button.
  3. Switch it on. The TV asks to confirm. Choose Allow (or OK).
  4. Press Back to return to the app.
  5. Press Home on the remote. Google TV's home may flash for a moment, then Tordroid CleanYourTV opens.

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)

  1. On the home screen, hold OK on the Settings button (the gear).
  2. Choose Launcher settings, then Edit my line.
  3. Select the text box and press OK. The TV keyboard opens.
  4. Type your line, for example Love you always (up to 40 characters). Close the keyboard.
  5. Pick the heart, another emoji, or None.
  6. Check the Preview, and that the switch reads Show on Home: on.
  7. Choose Save. The line shows under the clock.

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

  1. Press Home. Tordroid CleanYourTV opens.
  2. Press the YouTube button. YouTube opens.
  3. Press Home, then the Settings button. Google TV's settings panel opens.
  4. Hold Volume + for two seconds. The volume keeps rising.

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.

By hand

The commands one by one, each with its undo

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 doesCommandUndo
1Turn off Google feedback reportspm disable-user --user 0 com.google.android.feedbackpm enable com.google.android.feedback
2Turn off Xiaomi analyticspm disable-user --user 0 com.miui.tv.analyticspm enable com.miui.tv.analytics
3Turn off Xiaomi statisticspm disable-user --user 0 com.xiaomi.statisticpm enable com.xiaomi.statistic
4Turn off PatchWall Mi channelspm disable-user --user 0 com.mitv.tvhome.michannelpm enable com.mitv.tvhome.michannel
5Turn off PatchWall tabpm disable-user --user 0 com.mitv.tvhome.oemtabpm enable com.mitv.tvhome.oemtab
6Turn off Xiaomi web content rowspm disable-user --user 0 com.xm.webcontentpm enable com.xm.webcontent
7Turn off Google TV partner app auto-installspm disable-user --user 0 android.autoinstalls.config.google.gtvpaipm enable android.autoinstalls.config.google.gtvpai
8Turn off Play Gamespm disable-user --user 0 com.google.android.play.gamespm enable com.google.android.play.games
9Turn off Mi Musicpm disable-user --user 0 com.xiaomi.mimusic2pm enable com.xiaomi.mimusic2
10Turn off TV Managerpm disable-user --user 0 com.xiaomi.mitv.tvmanagerpm enable com.xiaomi.mitv.tvmanager
11Turn off Mi Connectpm disable-user --user 0 com.xiaomi.mi_connect_servicepm enable com.xiaomi.mi_connect_service
12Turn off Smart Sharepm disable-user --user 0 com.xiaomi.mitv.smartsharepm enable com.xiaomi.mitv.smartshare
13Turn off store demo modepm disable-user --user 0 com.xiaomi.floatingframepm enable com.xiaomi.floatingframe
14Turn off AirPlay (skip if you use AirPlay)pm disable-user --user 0 com.mediatek.AirplayAPKpm enable com.mediatek.AirplayAPK
15Turn off AirPlay service (skip if you use AirPlay)pm disable-user --user 0 com.mediatek.airplaydaemonpm enable com.mediatek.airplaydaemon
16Turn off AirPlay system part (skip if you use AirPlay)pm disable-user --user 0 com.mediatek.partner.airplay_syspm enable com.mediatek.partner.airplay_sys
17Turn off Miracast receiver (skip if you cast from Windows or Android)pm disable-user --user 0 com.xiaomi.wfdsinkhelperservicepm enable com.xiaomi.wfdsinkhelperservice
18Turn off unused TV input (off at the factory on the tested TV)pm disable-user --user 0 com.iwedia.tvinputpm enable com.iwedia.tvinput
19Turn off ATSC tuner, not used outside North America (off at the factory)pm disable-user --user 0 com.mediatek.dtv.tvinput.atsctunerpm enable com.mediatek.dtv.tvinput.atsctuner
20Turn off ISDB tuner, not used outside Japan and South America (off at the factory)pm disable-user --user 0 com.mediatek.dtv.tvinput.isdbtunerpm enable com.mediatek.dtv.tvinput.isdbtuner
21Turn off first-run setup wizard (read the Wi-Fi warning first)pm disable-user --user 0 com.google.android.tungsten.setupwraithpm enable com.google.android.tungsten.setupwraith
22Turn on Google TV's launcher (the YouTube button needs it)pm enable com.google.android.apps.tv.launcherxpm disable-user --user 0 com.google.android.apps.tv.launcherx (only if it was off before)
23Stop Google TV's launcher running in the backgroundcmd appops set com.google.android.apps.tv.launcherx RUN_ANY_IN_BACKGROUND ignorecmd appops set com.google.android.apps.tv.launcherx RUN_ANY_IN_BACKGROUND default
24Same, second rulecmd appops set com.google.android.apps.tv.launcherx RUN_IN_BACKGROUND ignorecmd appops set com.google.android.apps.tv.launcherx RUN_IN_BACKGROUND default
25Put it in the restricted standby groupam set-standby-bucket com.google.android.apps.tv.launcherx restrictedam set-standby-bucket com.google.android.apps.tv.launcherx active
26Turn on Xiaomi quick settings (the Settings button needs it)pm enable com.xiaomi.tvqs.overseas.y24pm disable-user --user 0 com.xiaomi.tvqs.overseas.y24
27Keep Google's voice app, but not in the backgroundcmd appops set com.google.android.katniss RUN_ANY_IN_BACKGROUND ignorecmd appops set com.google.android.katniss RUN_ANY_IN_BACKGROUND default
28Save the app-op changescmd appops write-settingscmd appops write-settings
29Make Tordroid CleanYourTV the Home app (once installed)cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivityChoose another Home app in Settings > Apps > Default apps, or uninstall the app
30See which accessibility services are on (write the answer down)settings get secure enabled_accessibility_services-
31Switch on the Home button helper (replaces the list; see the note)settings put secure enabled_accessibility_services com.gathin.tvhome/com.gathin.tvhome.HomeRedirectServicesettings put secure enabled_accessibility_services '<the list you wrote down>'
32Accessibility onsettings put secure accessibility_enabled 1settings 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.

Check and close

  1. Home opens Tordroid CleanYourTV (Google TV's home may flash first).
  2. The YouTube button opens YouTube.
  3. The Settings button opens Google TV's settings panel, and it stays open.
  4. Holding Volume + keeps raising the volume.
  5. Switch Network or Wireless debugging off in Developer options, and restart the TV.

Undo

  • PC: tools\tordroid-undo.ps1 or tools/tordroid-undo.sh with the saved list, or -All / --all without it.
  • Phone or TV: the undo line, or the restore-everything line.
  • By hand: the Undo column above, from the bottom up.
  • Just the app: switch the Home button helper off in Accessibility and uninstall the app.

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.

Problems and fixes

What went wrong on the tested TV, and how each was fixed

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.

a. Disabling Google TV's home made the YouTube button dead

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.

b. A key helper made held volume step once, and broke the Settings button

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).

c. With launcherx enabled, Home always opened Google TV's home

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).

d. The first redirect missed Google TV's home

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.

e. The next version closed Google TV's Settings panel

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.

f. After a restart, Google TV's home shows for a few seconds

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.

The final working setup

  • Tordroid CleanYourTV installed and set as Home.
  • No key filter anywhere: CleanYourTV's InputKeyService and HomeKeyService off, no button mapper.
  • launcherx enabled, with 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.
  • The Home button helper switched on in Settings > Accessibility.

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.

History

How this TV got here

  1. 25 October 2026: the first install

    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.

  2. The weeks after

    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.

  3. 28 November 2026: YouTube and Settings buttons without a helper

    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.

  4. 28 November 2026: a helper that does not touch keys

    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.

  5. 28 November 2026: the fork

    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.

Security

Security and privacy

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.

  • It does: receive window events (which screen opened) from Google TV's launcher and from this app only, and open this launcher when Google TV's home screen appears.
  • It does not: filter or read your remote's keys (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.

Support

Support and releases

People

Made by

  1. Tordroid (tordroid.com, github.com/1tordroid) - this fork: the app, the tested setup, the scripts and the guides.
  2. Gathin (github.com/Gathin23) - author of CleanYourTV, which this fork is built on (MIT).
  3. CleanYourTV's contributors - the TV lists, add-ons and themes upstream: contributors.

This fork stays MIT-licensed (LICENSE); the family theme's drawings stay CC0 (credits). Changes in this fork: changelog.

Apps

Made by Tordroid

Testing on Google Play

Docalto

Productivity

Read, edit, sign, scan, compress and convert PDFs and Office files. Your documents stay on your phone.

View app
Available now

Droid Stream

Entertainment

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.

Download
Public beta

Dialer Port

Root module

The ColorOS 17 dialer, contacts and call recording, ported to OnePlus as a Magisk / KernelSU module. Flash it, reboot, done — releases on GitHub.

View releases
Family, invite only

A private family portal for shared cloud storage, with downloads, a video player and WebDAV.

Open portal