bryanroscoe/shield_optimizer
Acerca de
Clean up your Android TV from your phone. No computer, no root.
Otros proyectosCrecimiento de estrellas medido
- in 24h
- +1
- in 7 days
- +4
- in 15 days
- +11
- in 1 month
- +54
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalATV Optimizer
Clean up your Android TV from your phone. No computer, no root.
Disable bloat safely with reviewed labels, swap ad-heavy stock home screens for a clean custom launcher, tune hidden TV settings, type from a fast phone remote, and check live TV health — all over Wi-Fi.
Built and hardware-tested on NVIDIA SHIELD TV; also used across Google TV Streamer, onn. 4K Pro, Chromecast with Google TV, TCL, Xiaomi, Sony BRAVIA and other Android TV / Google TV devices. (Amazon Fire TV is not supported.)
Get the app · Safety · TV setup · Devices · Desktop · Privacy
Screenshots show demo data, not a live TV.
Watch the full Android walkthrough (GIF) & view every screen
Get the Android app
ATV Optimizer for Android is in a Google Play closed test. Use the same Google account for all three steps:
- Join the tester group — click Join group.
- Opt in to the test — click Become a tester.
- Install from Google Play on your phone or tablet.
Please stay opted in for at least 14 consecutive days. For TV setup and what to try, see the tester guide.
| Plan | Price | Included |
|---|---|---|
| Free | Free | Connect and check your TV · app list with safety labels, RAM and storage · fast remote with live typing and pinned apps · live diagnostics and TV screenshots · file transfer, APK installs and APK backups · re-enable apps and Emergency recovery |
| Pro | One-time US $1 during beta (US $4.99 at launch, no subscription) | Optimize wizard · disable and uninstall apps · custom launcher switching and stock-launcher disable · system tweaks · Snapshots (Beta) · expert Shell |
[!TIP] Beta pricing: Pro is discounted to US $1 during the closed test (regularly US $4.99 at launch; Google Play charges real money even during the test). You don't need Pro to test connecting, the remote, apps, diagnostics, files, or Emergency recovery. Ko-fi supporters receive a Google Play promo code for Pro — leave a note or message on Ko-fi, redeem the code, and open the app within 3 days (tap More → Restore purchases if it doesn't show right away).
Pro owners also see an optional in-app tip jar that unlocks nothing extra. Prefer a computer? The desktop app is completely free for macOS, Windows and Linux.
What it does
- Safe debloat (Optimize): Labels installed apps as Safe to remove, Caution, Protected or Unknown from our reviewed catalog. Optimize preselects Disable for reviewed default recommendations; optional catalog apps and matching per-model CleanYourTV suggestions (529 bundled profiles) start on Keep (the action is opt-in), and Uninstall requires an explicit confirmed choice.
- Clean home screen (Launcher): Replace ad-heavy stock home screens with Projectivy Launcher, FLauncher, Dispatch, ATV Launcher, Wolf, AT4K or Monet where your TV's firmware allows.
- Hidden tweaks: Animation speed, HDMI-CEC, match-content frame rate, long-press timeout, display scaling, audio passthrough, screensaver, Private DNS and SHIELD-specific toggles.
- Fast phone remote: Low-latency D-pad, media keys, phone volume keys, live typing and clipboard paste, plus Open app with up to three pinned shortcuts.
- Live health & playback: Temperature, RAM and storage usage, top memory users with safety labels, active resolution, refresh rate, HDR formats and audio passthrough.
- Files, sideloading & backups: Browse
/sdcardand USB drives, move files both ways, sideload APKs with processor (ABI) checks, back up installed APKs, and capture TV screenshots. - Snapshots (Beta) & recovery: Save disabled apps, settings and Home state to preview and reapply later, or use Emergency recovery to re-enable disabled apps.
- Power tools: Read-only TV Device logs (
logcat) and an opt-in expert Shell.
From ad wall to clean home screen
Stock Google TV and Android TV home screens are packed with sponsored rows and banners. ATV Optimizer installs or opens your chosen custom launcher in the TV's Play Store, sets it as Home and verifies the result first; disabling the stock launcher is always a separate, confirmed step.
Safety
ATV Optimizer is engineered so mistakes are hard to make and reversible changes are the default.
| Guard | What it means for your TV | Proof |
|---|---|---|
| Disable by default, not uninstall | Optimize preselects Disable (pm disable-user) for reviewed default recommendations; optional and CleanYourTV rows start on Keep. Uninstall is never pre-selected — it is an explicit, confirmed choice that removes the app for the TV user and can remove app data (recovery depends on the app and firmware). |
loader.rs · apps.rs |
| Do-not-disable & active-role guards | Protected system packages, the positively identified active keyboard and WebView, and the last identified enabled Home handler are blocked across curated removal paths. | safety.rs · apps.rs |
| Home-screen verification | Launcher takeover verifies the new Home app and attempts recovery if it cannot verify the switch. Disabling the stock launcher is a separate, confirmed step gated by the Home handler check. | launcher.rs |
| Review before applying | Optimize shows its full plan before running, and Snapshot restore previews every disabled app, setting and Home change (including skipped items) before applying. | Safety architecture |
| Right TV, every time | Saved TVs match on verified hardware ID (ro.serialno), never IP address alone. If another device answers at an old IP, you see Different device instead. |
Safety architecture |
| Emergency recovery | Asks a reachable, authorized TV to re-enable every disabled package and reports any the firmware refuses. Does not reinstall uninstalled apps or revert settings/launcher changes. | recovery.rs |
| Pure, unit-tested engine | All safety policy logic lives in a pure Rust module with zero device, file or network I/O, covered by unit tests. | engine/ |
[!WARNING] The expert Shell sits outside these curated guards. It is a bounded expert tool with a per-TV risk acknowledgment in the UI and a limited lexical check on obvious protected-package commands, but arbitrary shell expressions can bypass those checks and erase data or leave a TV unusable.
Device support badges are informational only — they never loosen any safety check, and re-enabling apps and Emergency recovery stay available on every device. Read the full breakdown in Safety architecture. Modifying system apps always carries some risk; ATV Optimizer favors safe, reversible changes.
Before you start
Turn on debugging on your TV once on a trusted local network (both apps also include brand-by-brand menu steps for 19 TV makers):
- On your TV, open Settings → Device Preferences → About and select Build 7 times to unlock Developer options.
- Open Settings → Developer options and turn on Network debugging (or Wireless debugging on Android 11+ / Google TV).
- Open ATV Optimizer on the same Wi-Fi network, select your TV, confirm you recognize the device, and choose Allow on the TV (tick Always allow so it remembers you). For Android 11+ Wireless debugging, use Pair PIN first, then connect on the separate port shown on the TV's Wireless debugging screen.
[!IMPORTANT] When you're finished, turn Network / Wireless debugging back off on your TV so debugging isn't left open on your local network. You can revoke trusted devices anytime in the TV's Developer options.
Having trouble finding or pairing your TV? See Connection troubleshooting.
Supported devices
Over 900 NVIDIA SHIELD installs and 400+ TV models have sent optional reports. Each connected TV shows its current tier next to its name.
| Devices | Status | |
|---|---|---|
| ● | NVIDIA SHIELD TV (2015, 2017, 2019 — SHIELD*) |
Fully supported — built and hardware-tested on it |
| ◐ | Google TV Streamer (kirkwood) · Chromecast with Google TV (sabrina) · onn. 4K Pro (jarvis2, SNA) & 4K Streaming Box (YOC) · TCL Google TV (G08, G10) · Xiaomi Mi TV (MiTV-AFMU0, AESP0, MOOQ1) · SEI Robotics Box R 4K Plus (YYJ) |
Beta — strong community results; firmware varies (additional Beta models under review are listed in the full report) |
| ○ | Other Android TV / Google TV devices (e.g. Chromecast HD, onn. 4K Plus, Sony BRAVIA, Haier, Hisense) | Not verified — may connect and work over compatible Wi-Fi ADB |
| ✕ | Amazon Fire TV (AFT*) |
Not supported — Fire OS firmware may block system-app and launcher changes; ATV Optimizer does not bypass firmware restrictions |
See per-model install counts, success rates, mixed-result models under review, and unrated user-reported TVs in Supported devices.
Desktop app
ATV Optimizer is also a completely free desktop app (no paid tier) for macOS, Windows and Linux. It connects over Wi-Fi with built-in Rust ADB — no separate adb install needed — and checks for updates on GitHub.
brew tap bryanroscoe/shield-optimizer
brew install --cask atv-optimizer
Or download the latest stable v2-* release from Releases: .msi / _x64-setup.exe (Windows), _universal.dmg (macOS), or .AppImage / .deb / .rpm / .flatpak (Linux).
Screenshots, first launch (unsigned/ad-hoc-signed builds), USB/platform-tools, macOS Local Network, Wake-on-LAN, and upgrading from Shield Optimizer: Desktop guide.
Privacy
Saved TVs, debugging keys, installed-app lists, settings, snapshots, screenshots and pulled files stay on your phone/computer and local network unless you explicitly export, share, email or send a report. No account is required. Shipped Android backup rules exclude the app's private data from cloud backup and device-to-device transfer (files you explicitly export via Save a copy / Share and Google Play's purchase history are handled outside the app's private storage).
Local network & ADB traffic
- Discovery & connection: Android discovers TVs over local mDNS (plus manual IP entry); desktop also sweeps your local subnet on TCP port 5555 and can broadcast Wake-on-LAN when you click Connect on a saved TV with a known MAC address. Legacy port-5555 network ADB may be unencrypted — use a trusted local network.
- Display names: During a scan, both apps may query
http://<tv-ip>:8008/setup/eureka_infoover plain local HTTP on LAN IPv4 addresses to read the TV's Cast display name (kept in memory for that scan only, never logged or uploaded). - TV-side actions: Clicking Install on a launcher asks the TV to open that launcher's page in the TV's own Play Store; ATV Optimizer itself downloads nothing. Changing Private DNS configures the TV's own setting.
Pseudonymous device & error reports (opt-out)
The apps send pseudonymous device and error reports by default (POST /v1/events) so we know which TV models work and where failures happen:
- What is sent: a random installation ID (UUID v4), timestamp, app and OS version, TV manufacturer, brand, model, codename, product and Android version, support/profile status, action outcomes, and scrubbed error messages or crash/connection diagnostics (plus desktop-only scrubbed ADB log excerpts on some failures).
- What is never sent: serial numbers or hardware IDs, IP addresses, TV names, installed-app lists, file paths, license/purchase records or snapshot contents. Cloudflare necessarily processes network metadata to deliver HTTPS requests, while our application backend stores no IP address or location.
- Retention, opt-out & deletion: Raw events and excerpts are scheduled for deletion after 30 days (earlier removal is possible under storage limits); per-model aggregates that retain the random installation ID have no fixed 30-day expiry. Turn reports off anytime in More → Privacy (Android) or Settings / Report a bug (desktop). Opting out clears queued events, cancels pending automatic requests where possible, and stops future support-tier downloads (previously received reports and cached support rules may remain); turning reports back on generates a new random ID. Copy your Support ID before opting out or clearing storage if you want to email
[email protected]to request deletion. Builds compiled without a reporting URL send nothing to our Worker.
All other network connections
- Supported-TV list: downloads
GET /v1/support-tiersfrom our Worker while automatic reports are enabled. - Manual support uploads (
POST /v1/diagnostics, user-initiated even when reports are off; scheduled for deletion after 30 days):- Desktop Send logs and Report a bug build and upload a freshly redacted diagnostics and recent app-log bundle (plus your description for bug reports) only when you confirm and press Send.
- Android Report a bug → Send uploads your scrubbed description and prepared summary (phone model/OS, Support ID, TV build/connection metadata and recent connection outcomes; no app logs).
- Android Email hands a private draft to your mail app (which can include TV address, serial and log tail), GitHub opens a prefilled public issue form in your browser, and Save a copy / Share hands the chosen screenshot or pulled file to the document provider or app you pick.
- Unreviewed system apps (Android, More → Unreviewed system apps → Send to developer, user-initiated only): uploads unreviewed preinstalled TV package names, per-entry reason, app/catalog versions, TV family, Android version, Support ID, app/phone OS version, timestamp and reports setting (never user-installed apps, TV names, IPs or serials). Scheduled for deletion after 30 days; packages reported by at least 2 distinct installation IDs may appear anonymously (without Support IDs) in our weekly public GitHub report.
- Desktop updates: checks
api.github.comfor releases at startup (including Flatpak). Non-Flatpak desktop builds also check the updater manifest onraw.githubusercontent.comand download signed release assets when you install an update or enable Auto-update (off by default). - Google platform-tools (desktop): downloaded from
dl.google.comonly on an explicit download action in Settings → ADB or the connection screen. - Google Play billing & SDK (Android): contacts Google Play for product details, entitlement checks (including on launch or resume), optional Pro purchases and tips. Our Worker never receives purchase records. The bundled Google Play Billing 9.1.0 SDK also initializes a
PLAY_BILLING_LIBRARYdiagnostics logger via Google DataTransport independently of our reporting toggle.
| Android permission | Why |
|---|---|
INTERNET |
Talk to your TV over Wi-Fi and send the optional/manual reports above |
ACCESS_NETWORK_STATE, ACCESS_WIFI_STATE |
Check Wi-Fi availability for TV discovery |
CHANGE_WIFI_MULTICAST_STATE |
Discover TVs on your local network via mDNS |
com.android.vending.BILLING |
Optional Pro purchase, restore and tips through Google Play |
com.atvoptimizer.mobile.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION |
Internal signature-scoped receiver protection merged by AndroidX Core |
The Android app declares no location, contacts, camera, microphone, nearby Wi-Fi, broad storage, notification, APK-install or accessibility permissions. On macOS 15+, the desktop app asks for Local Network access.
Links you tap open in your browser. See the full Android Privacy Policy.
Support, license & credits
- Support: The desktop app is free with no paid tier. If ATV Optimizer helped you, you can buy me a coffee on Ko-fi. Donated on Ko-fi? Leave a note (or message me on Ko-fi) and I'll send you a Google Play code that unlocks Pro on Android.
- License: Source-available software. The full source is published here for transparency and review. Official builds are free to install and use (with optional one-time Pro on Android), Flathub has specific permission to build and distribute unmodified packages, and all other copy, modify and distribution rights are reserved (see
LICENSE). - Credits: Per-model TV lists (529 profiles) and 19-brand debugging setup notes from CleanYourTV (MIT, bundled as a pinned offline copy; notices in
v2/catalogs/cleanyourtv/andv2/catalogs/connection-setup/) · SHIELD debloat research including florisse.nl/shield-debloat · low-latency remote powered by scrcpy (Apache-2.0) · built with AI assistance by a software engineer and tested on real hardware. - Developers & legacy: Android notes · Desktop & shared core guide · Legacy v1 PowerShell script · Archived docs index
Explorar proyectos relacionados
Cargando…