Logo vun Android Tv Setup

Android Tv Setup

Communautéit
JohnWayneeee
android-tv-setup

Set up an Android TV or Google TV over network ADB - back up, debloat with the owner's choices, switch off screen recognition (ACR) and take the microphone and camera away from vendor apps, tune performance, set picture and sound like a calibrator, replace the home screen with a clean Apple TV style launcher, and set up a YouTube DPI bypass (ByeByeDPI) where the ISP throttles YouTube, verifying every step with screenshots from the TV. Use when the user wants to debloat, clean up, speed up, configure, calibrate or replace the launcher on an Android TV / Google TV set or box (Xiaomi, TCL, Hisense, Sony, Philips, CHiQ/Changhong, Haier, Nvidia Shield and others). Not for Samsung Tizen, LG webOS or Fire TV launchers.

Iwwersiicht

EditeurJohnWayneeee
Repositorycleantv
Skill-Nummandroid-tv-setup
Stären
47
Forks
5
Matgeliwwert Fichieren
50
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 50 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum JohnWayneeee op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Android Tv Setup an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/JohnWayneeee/cleantv/tree/main/skills/android-tv-setup
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JohnWayneeee/cleantv.git /tmp/cleantv
mkdir -p .claude/skills
cp -r /tmp/cleantv/skills/android-tv-setup .claude/skills/android-tv-setup
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Android Tv Setup an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Android Tv Setup automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Android Tv Setup net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Android TV setup

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.

Layout

  • 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.
  • Work directory per TV: 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.

ScriptPurpose
scan.pyfind TVs on the LAN (ADB and Cast ports)
tv.pyshell command, key presses, screenshots
backup.pysave the original state, print a device summary
disable.pydisable a package list, refuses core/factory/Wi-Fi-owner packages, logs for restore
setting.pychange settings, records original values for restore
snapshot.pyfind which settings key a TV menu item writes (save, change one item, diff)
appops.pyrestrict background running for apps, logs for restore
privacy.pylist ACR/ad packages and apps holding the mic or camera; block mic and camera; blocking DNS with a proof check; logs for restore
restore.pyundo everything: packages, settings, app ops, Home
build-install.shbuild the launcher, install, set as Home, print who really holds Home
adb-closed.pyprove network ADB is closed at the end

Phases

  1. Connect - 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*).
  2. Back up - 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.
  3. Debloat - references/debloat.md. Sort packages, ask Q-D*, disable in small batches, screenshot after each batch.
  4. Privacy - 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*.
  5. Performance - references/performance.md. Measure memory first, ask Q-P*, apply, measure again.
  6. Launcher - 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.
  7. Picture - references/picture.md. Ask Q-V*, discover the vendor's keys, apply a calibrated profile, verify in the TV's own menu.
  8. Sound - references/sound.md. Ask Q-S*, apply, verify.
  9. Reboot check - reboot once. Confirm Home, network, the disabled list, the settings and the mic/camera app ops survived.
  10. Finish - 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.

Hard rules

  • Back up first. Never uninstall system packages: pm disable-user --user 0 only, one pm call per shell call.
  • Never disable Android core packages (see 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.
  • Never launch, even read-only, a package whose name says factory/fac/AT/production. Some boards flip a factory flag when one starts and lose the Input key, CEC and Play services on the next boot.
  • Before disabling a package, check 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.
  • Disable in small batches and screenshot between them. After the last batch, reboot and compare pm list packages -d with backup/disabled-by-us.txt.
  • If 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 writes must be verified: read the value back and look at the TV's menu (screenshot). A vendor key that changes in settings but not on screen was not applied.
  • Live TV, HDMI and DRM apps give 0-byte screenshots. That is the TV, not a fault: check dumpsys activity activities | grep topResumedActivity instead.
  • The privacy phase is not optional. If the owner declines a step, record it in the TV's README as declined. Menu toggles are not proof: verify with privacy.py scan and pm list packages -d.
  • Keep it light: TVs have 1-3 GB of RAM. The launcher has no blur, no video, no network polling.
  • Finish by closing network ADB: port 5555 is plaintext and gives a shell to authorised keys on the LAN.

Reporting

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.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Android Tv Setup?

Set up an Android TV or Google TV over network ADB - back up, debloat with the owner's choices, switch off screen recognition (ACR) and take the microphone and camera away from vendor apps, tune performance, set picture and sound like a calibrator, replace the home screen with a clean Apple TV style launcher, and set up a YouTube DPI bypass (ByeByeDPI) where the ISP throttles YouTube, verifying every step with screenshots from the TV. Use when the user wants to debloat, clean up, speed up, configure, calibrate or replace the launcher on an Android TV / Google TV set or box (Xiaomi, TCL, His...

Firwat Android Tv Setup op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Android Tv Setup besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Android Tv Setup an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/JohnWayneeee/cleantv/tree/main/skills/android-tv-setup an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Android Tv Setup benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Android Tv Setup benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Android Tv Setup domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Android Tv Setup gratis?

Jo. De Skill gëtt vum JohnWayneeee ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇