CleanYourTV troubleshooting
The CleanYourTV problems people hit most, grouped by stage, with what to do. Based on the official troubleshooting notes collected from contributors.
Connecting to the TV
| Problem | What to do |
|---|---|
| Mac: "No route to host" although the TV is on | Local Network privacy. It belongs to the app running the tools (Terminal, iTerm2, VS Code), not to adb or tools/tv.py, so allow that app in System Settings → Privacy & Security → Local Network, then quit and reopen it. |
| Motorola or Android 9 TV: "Allow USB debugging" prompt never appears, or Windows adb fails with error 10013 / ping 11050 | Error 10013 means Windows Firewall, antivirus or VPN is blocking adb.exe from opening sockets: allow adb.exe in firewall rules or disable VPN. If ping to the TV fails (status 11050), the router has AP Isolation enabled or the TV is on an isolated guest Wi-Fi. Connect both PC and TV to a mobile phone hotspot to verify, and the prompt will appear (#3171). |
| No Wireless debugging toggle | Normal on some TVs, Xiaomi among them. USB debugging alone opens network ADB on port 5555. |
| Port 5555 never opens | Some Google TV sets need Wireless debugging pairing first: adb pair, adb connect, then adb tcpip 5555. |
| The TV only offers encrypted Wireless debugging | Since 3.1 the tools can use an already paired Google adb connection: set TV_ADB_BINARY to adb and TV_HOST to the address and port on the Wireless debugging screen (native-adb.md). |
tv.py says there is no ADB to connect to | The TV refused the connection and may not be Android at all (Samsung, LG, Roku, VIDAA). Since 3.1 the tool names the non-Android guide; see what works on those TVs. |
| Mac: a tool reports Local Network privacy | Since 3.1 the tools name macOS Local Network privacy instead of just “unreachable”. Same fix as the row above. |
| A tool stops with exit code 2 and one plain sentence | Since 3.3 about 20 tools (tv.py, manage.py, recovery.py and others) say so in words when the TV cannot be reached, instead of a traceback. Check that the TV is on and on the same network, then follow what the sentence says. |
pip install fails on Windows on ARM (cryptography wheel) | Nothing to do with the TV: create tools\venv with the x64 Python from python.org, which Windows 11 on ARM runs (#2855). |
| Developer options missing or asks for a password | Seen on ISP boxes. An app that opens activities by name can often reach the developer screen anyway. |
| USB debugging greyed out | Some carrier firmware removes both switches. Without one of them, CleanYourTV cannot connect. |
| Connection times out on a guest or IoT network | The router blocks the computer. Allow tcp/5555 from your computer to the TV only, temporarily. |
| "Allow USB debugging?" keeps coming back | Dismiss the queued prompts with Back; the tool now reuses your existing adb key. |
| USB drive, speaker or Ethernet adapter dies | Some boxes switch the USB port to debug mode. Finish in one sitting, then turn debugging off. |
During the debloat
| Problem | What to do |
|---|---|
| Home lands on a factory test app | The stock launcher went first. Re-enable it, install the new launcher, then disable the stock one. The install script orders this for you. |
| Google TV crash-loops after the stock launcher is disabled | The setup wizard (setupwraith) takes Home. Disable it too, but check your Wi-Fi first (next row). |
| TV drops off Wi-Fi when setupwraith is disabled | The network was saved during setup and belongs to the wizard. Re-join it in Settings first. |
| Only the first of several commands ran | Chained pm commands can stop silently. Run one per call. |
| Every disable is refused | Seen on the 2015 Fire TV Box. Nothing can be done there. |
| Input key and HDMI-CEC stop working | Opening a hidden factory app can switch them off on some sets. Do not open unknown factory apps. |
| CVTE / Wisdom Share TV hangs on boot logo with no network | On Hi3751V350 CVTE boards without a tested list, disabling the stock launcher can hang before Wi-Fi starts (#2516); the prompt now keeps the stock launcher enabled on untested CVTE boards. |
Installing the launcher
| Problem | What to do |
|---|---|
INSTALL_FAILED_OLDER_SDK | The TV runs Android older than 8.0. The launcher cannot run there; the debloat still can. |
| Play Protect blocks the launcher as "built for an older version of Android" | That came from an old checkout targeting SDK 29. Update the repository and rebuild; the launcher targets SDK 34 now. |
| The Docker build fails on an Apple Silicon Mac | The official Docker page says the build fails in an arm64 container there; build natively with a JDK 17–22 and the Android SDK instead. |
adb install hangs on Android 14 | It waits for an on-screen confirmation. Push the APK and run pm install -r instead. |
| Setup was interrupted mid-way (connection dropped, power cut, or AI coding assistant token limit reached) | Debloat succeeded but the custom launcher was not installed (the stock home screen and ads remain, or the TV loop-connects). You do not need to wait for AI tokens: in the repository folder, install the launcher directly via PowerShell on Windows (powershell -ExecutionPolicy Bypass -File launcher\build-and-install.ps1 -TvHost <tv-ip>) or Terminal on macOS/Linux (launcher/build-and-install.sh <tv-ip>). Verify installation with tools/tv.py "pm list packages | grep gathin" (#2584). |
| Launcher installed but does not own Home | Some China-market Xiaomi and TCL sets filter out third-party Home apps. Re-enable the stock launcher and check your model’s device notes before trying again. |
Install stops with Home currently resolves to '<package>', which is not a stock launcher this script knows | Seen on boxes where a vendor setup stub (such as com.softwinner.provision on an Allwinner Z1 4K, #3471) or setupwraith still owns Home. Finish or skip the TV’s initial setup, inspect candidates via tools/tv.py 'cmd package query-activities --brief -a android.intent.action.MAIN -c android.intent.category.HOME', and rerun with STOCK_LAUNCHER=<package> (or STOCK_LAUNCHER=none to leave the stock launcher enabled for stock_home_redirect). |
| No on-screen keyboard | The default input method points at a keyboard that is not installed (seen on Xiaomi). Set Gboard as the input method with ime set. |
| Remote buttons (Input, YouTube, settings) stop working | The stock launcher handled them. The optional key helper service brings them back (and on main after 3.5, HomeKeyService preserves key filtering even when stock_home_redirect also watches windows, #3930). |
After the setup
| Problem | What to do |
|---|---|
| Ads are back after an update | Run tools/check.py --fix with your list. See restore and updates. |
| HDMI ports you never use clutter Inputs | Launcher 3.1’s inputs_connected_only shows only connected ports and folds the rest behind “More inputs”. |
| The TV opens Live TV or the last HDMI input at power-on | power_on_home (3.0) or power_on_home_always (3.1) brings Home back at power-on. |
| Settings button says “Not available on this TV” | Fixed in 3.1 for firmware that hides the standard settings entry, such as HY300-class projectors: update the repository and rebuild the launcher. |
| Phone casting stopped | On Chromecast and the Google TV Streamer, setupwraith is needed for casting. |
| Clock is off by 30 or 60 minutes | The TV picked a neighbouring zone or has old time zone data. Turn off automatic time zone and set yours by hand. |
| Google TV home comes back after a few presses | Seen on XGIMI: a remote-key service re-enables the stock launcher on every app button. Check the XGIMI lists for how it was handled. |
| Held volume moves only one step with key helpers on (TCL G08) | Turn on volume_pauses_filter in the launcher config: a tap pauses key filtering for 4 s so an immediate hold ramps volume normally while keeping mapped buttons (key-repeat note). |
The full, detailed notes are in the official troubleshooting document. Questions about your TV go to GitHub Discussions.
Quick fixes
"No route to host" on a Mac.
Usually macOS Local Network privacy. It applies to the app that runs the tools (Terminal, iTerm2, VS Code), so tools/tv.py does not avoid it either: allow that app under System Settings, Privacy & Security, Local Network, then quit and reopen it.
The "Allow USB debugging" prompt never appears on the TV (or error 10013 / ping fails).
On Windows, error 10013 means your PC firewall, antivirus or VPN is blocking adb.exe from opening network sockets. If ping to the TV also fails (status 11050), router AP or Client Isolation or a guest Wi-Fi network is preventing devices from communicating. Allow adb.exe through the firewall, turn off VPN, and temporarily test by connecting both TV and computer to a mobile phone hotspot.
The Home button opens a factory test app or a blank screen.
The stock launcher was disabled before the new one took over. Re-enable the stock launcher, for example tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx' on Google TV, then install the new launcher first.
The TV dropped off Wi-Fi after the debloat.
On Google TV the Wi-Fi network saved during setup belongs to the setup wizard. Re-enable setupwraith, join the network again in Settings, then disable it.
The setup was interrupted mid-way (connection dropped, power cut, or AI assistant token limit reached).
Debloating finished but the custom launcher was not installed? You do not need to wait for AI tokens to continue. The custom launcher can be installed directly in one command: on Windows PowerShell, run powershell -ExecutionPolicy Bypass -File launcher\build-and-install.ps1 -TvHost <tv-ip>; on macOS or Linux, run launcher/build-and-install.sh <tv-ip>. Verify with python3 tools/tv.py "pm list packages | grep gathin".
Casting from my phone stopped working.
Disabling setupwraith on Chromecast and the Google TV Streamer costs phone casting. Re-enable it if you need casting.
The mic button does nothing.
The voice assistant package was disabled. Re-enable it with the restore script, or apply the list again with that line commented out.