/android-tv-setup:android-tv-setupfrom android-tv-setup
Guides through setting up Android TV/Google TV over network ADB: backup, debloat, disable ACR/mic/camera, tune performance, calibrate picture/sound, replace launcher, and set up YouTube DPI bypass. Verifies each step with screenshots.
Ships in android-tv-setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Work on the real device, step by step. Every change is reversible and verified with a screenshot or a
command that proves it. Ask the owner before anything that depends on taste or on how they use the TV.
The question bank is references/questions.md; ask each question at its phase, in the owner's language,
with checklist/option UI when available.
scripts/ - helpers, run from the TV's work directory. Python 3, no packages needed.launcher/ - the launcher source (Java, AndroidX RecyclerView). Copied into each TV's work directory.references/ - one file per phase, read it when you reach that phase.tvs/<brand-model>/ next to the skill's repo (or the current project).
It holds .tv (one line IP:5555), backup/, shots/, debloat/, launcher/ and the TV's README.md.
backup/ and shots/ contain device identifiers: never publish them.Run scripts as python <skill>/scripts/<name>.py with the work directory as the current directory.
| Script | Purpose |
|---|---|
scan.py | find TVs on the LAN (ADB and Cast ports) |
tv.py | shell command, key presses, screenshots |
backup.py | save the original state, print a device summary |
disable.py | disable a package list, refuses core/factory/Wi-Fi-owner packages, logs for restore |
setting.py | change settings, records original values for restore |
snapshot.py | find which settings key a TV menu item writes (save, change one item, diff) |
appops.py | restrict background running for apps, logs for restore |
privacy.py | list ACR/ad packages and apps holding the mic or camera; block mic and camera; blocking DNS with a proof check; logs for restore |
restore.py | undo everything: packages, settings, app ops, Home |
build-install.sh | build the launcher, install, set as Home, print who really holds Home |
adb-closed.py | prove network ADB is closed at the end |
references/connect.md. Find the TV, connect ADB, tell the owner when the
"Allow debugging?" prompt appears and to tick "Always allow". Ask the connection questions (Q-C*).scripts/backup.py before any change. Read the summary aloud: brand, Android version,
RAM, Google TV or not, who owns the saved Wi-Fi network.references/debloat.md. Sort packages, ask Q-D*, disable in small batches,
screenshot after each batch.references/privacy.md. Mandatory on every TV, never skipped. Scan with scripts/privacy.py,
have the owner switch off ACR / viewing information / ad ID in the menu (screenshots), disable proven ACR
packages, block the mic and camera for vendor apps, turn on blocking DNS (privacy.py dns on). Ask Q-R*.references/performance.md. Measure memory first, ask Q-P*, apply, measure again.references/launcher.md. Ask Q-L*, build, install, take over Home. On Google TV this
involves the setup wizard and the Wi-Fi owner: follow the file exactly. Verify the cold-start skeletons per
launcher.md section 5a. For owners in Russia (timezone/locale)
or with slow YouTube, ask Q-B* and set up ByeByeDPI per references/dpi-bypass.md before building, so the
launcher can start it only while YouTube is open.references/picture.md. Ask Q-V*, discover the vendor's keys, apply a calibrated profile,
verify in the TV's own menu.references/sound.md. Ask Q-S*, apply, verify.references/finish.md. Write the TV's README (with a Privacy section), close network ADB, prove it is closed.Remote buttons (app keys, gear/dashboard key, remapping, Bluetooth remotes) are a separate module that is
not part of this version. Record which buttons stopped working (getevent -lt + logcat) and tell the owner.
pm disable-user --user 0 only, one pm call per shell call.references/debloat.md) or anything the TV needs to show a picture,
switch inputs, pair the remote, type, or install apps. When a vendor package name is unclear, read
dumpsys package <pkg> (activities, services, receivers, permissions); ask the owner if still unclear.dumpsys wifi | grep -o 'cname=[^ ]*'. Android deletes the saved
network of a disabled owner and the TV drops off Wi-Fi and ADB. disable.py refuses; the owner must
forget and re-join the network in Settings first. The TV may get a new IP afterwards.pm list packages -d with backup/disabled-by-us.txt.pm disable-user is refused for every package, stop debloating and say so. Offer DNS blocking and the
TV's own privacy toggles instead.set-home-activity can print Success and change nothing. Only dumpsys activity activities | grep mFocusedApp
after pressing Home proves the takeover. If Home goes black, re-enable the stock launcher at once.settings but not on screen was not applied.dumpsys activity activities | grep topResumedActivity instead.privacy.py scan and pm list packages -d.After each phase tell the owner, briefly: what changed, how it was verified, how to undo it.
Write per-TV knowledge (package meanings, vendor settings keys, quirks) into references/devices/<board>.md
so the next TV of the same family goes faster.
launcher/app/build.gradle (opens in a new tab)launcher/app/src/main/AndroidManifest.xml (opens in a new tab)launcher/app/src/main/assets/fonts/OFL.txt (opens in a new tab)launcher/app/src/main/assets/fonts/Onest.ttf (opens in a new tab)launcher/app/src/main/java/com/cleantv/launcher/AppRepository.java (opens in a new tab)launcher/app/src/main/java/com/cleantv/launcher/GlassHighlight.java (opens in a new tab)launcher/app/src/main/java/com/cleantv/launcher/MainActivity.java (opens in a new tab)launcher/app/src/main/java/com/cleantv/launcher/ShimmerDrawable.java (opens in a new tab)launcher/app/src/main/java/com/cleantv/launcher/SkeletonAdapter.java (opens in a new tab)launcher/app/src/main/java/com/cleantv/launcher/TileAdapter.java (opens in a new tab)launcher/app/src/main/res/drawable/banner.xml (opens in a new tab)launcher/app/src/main/res/drawable/ic_input.xml (opens in a new tab)launcher/app/src/main/res/drawable/ic_settings.xml (opens in a new tab)launcher/app/src/main/res/drawable/ic_wifi.xml (opens in a new tab)launcher/app/src/main/res/layout/activity_main.xml (opens in a new tab)launcher/app/src/main/res/layout/item_tile.xml (opens in a new tab)launcher/app/src/main/res/values/config.xml (opens in a new tab)launcher/app/src/main/res/values/strings.xml (opens in a new tab)launcher/app/src/main/res/values/styles.xml (opens in a new tab)launcher/build.gradle (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub johnwayneeee/cleantv --plugin android-tv-setupOther plugins' skills for the same job