Skip to content
CodeByArnobPublic

About

Open-source Android TV management, wireless ADB, app control, diagnostics, and safe optimization toolkit.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

TVORA

Take Control of Your TV.

TVORA is an independent, local-first Android companion and Smart TV toolkit engineered by CodeByArnob to safely inspect, debloat, optimize, recover, and customize Android TV and Google TV devices — without root access, cloud accounts, analytics, ads, or guesswork.


Product Mission

TVORA prioritizes safe, transparent system control first, paired with a modular 43-theme customizable TV Home experience:

  1. Primary Mission — Safe Debloating, Inspection & System Cleanup
    • Analyze installed user apps and preinstalled system packages with multi-evidence 5-tier risk classification (SAFE TO REVIEW, LOW RISK, CAUTION, SYSTEM CRITICAL, UNKNOWN).
    • Run an honest 10-stage local or Wi-Fi ADB scan covering installed packages, declared service/receiver metadata, accessible storage & SHA-256 duplicates, and platform-scoped cleanup opportunities.
    • Enforce reversible --user 0 package disabling, strict allowlist validation, critical-package brick-risk guards (SetupWraith Wi-Fi ownership verification, active HOME/Recovery protection, HDMI/TV tuner handler preservation), and automatic pre-mutation Restore Points with one-tap or script rollback.
  2. Secondary Companion — TVORA Home Launcher (:tvlauncher)
    • A lightweight, OLED-native Jetpack Compose Android TV launcher (tvora-home.apk, deployable from the mobile app or sideloaded directly) inspired by and compatible with community themes from Gathin23/cleanyourtv.
    • Combines 10 original TVORA Obsidian themes and 33 imported CleanYourTV themes (43 total) with time-of-day sky interpolation, wallpaper mood filtering, seasonal skins, ambient DreamService clock screensaver, App Library (Hide/Favorite without uninstalling), and built-in on-TV Optimize TV Hub.

Screenshots

TVORA Companion Mobile App (Liquid Glass UI — Captured Live on Phone)

Dashboard Network Discovery & Pairing 10-Stage System Scan Scan Results & Tier Filter
Dashboard Discovery Scan Progress Scan Results
Launcher Studio (43 Themes & Live Preview) CleanYourTV Theme Catalog & Attribution 532-TV Compatibility Matrix
Launcher Studio CleanYourTV Gallery Compatibility Matrix

TVORA Home TV Launcher & On-TV Optimizer (Captured Live at 1080p on Android TV)

Obsidian Cinema (Default) Aerial Orbit (CleanYourTV / NASA) Stockholm Lights (CleanYourTV)
Obsidian Cinema Aerial Orbit Stockholm Lights
Midnight Glass (Cinema Horizon) Halloween Haunt (Seasonal Skin) Ambient Clock Screensaver
Midnight Glass Halloween Haunt Ambient Clock
On-TV Customize Drawer App Library (Non-Destructive Hide) TV Optimizer Hub TV Live Scan & App Review
Customize Drawer App Library Optimizer Hub TV Scan

Core Engineering Capabilities

1. Multi-Evidence Debloating & Pre-Flight Safety Guards

  • 5-Tier Risk Classification: Separates user-removable/ad packages (SAFE TO REVIEW) from borderline services (CAUTION), core framework/tuner/DRM packages (SYSTEM CRITICAL), and unrecognized OEM packages (UNKNOWN, never auto-selected).
  • Live Safety Evaluation Before Disabling (TvSessionCoordinator):
    • Verifies via dumpsys wifi whether Google TV SetupWraith owns active saved Wi-Fi networks before blocking unsafe stock-home changes.
    • Protects active HOME, RecoveryActivity, Settings, TV_INPUT_HARDWARE, TvInputService, and HDMI ACTION_VIEW handlers across MediaTek/Realtek/Sony/TCL/Philips boards.
    • Confirms final package state on --user 0 after every command and halts immediately on critical anomalies.
  • Reversible Restore Points: Automatically captures a snapshot before every mutating batch or launcher action and exports JSON recovery bundles + standalone ADB rollback shell scripts.

2. Pure-Kotlin ADB Protocol & Wireless Debugging Engine (:core:adb)

  • Full binary framing (CNXN, AUTH, OPEN, OKAY, WRTE, CLSE) with multiplexed streams.
  • Supports both legacy LAN TCP ADB (RSA-2048 signature/pubkey) and Android 11+ Wireless Debugging (TLS 1.3 mutual auth via BouncyCastle + BoringSSL-compatible Ed25519 SPAKE2 + HKDF-SHA256 + AES-128-GCM PeerInfo exchange).
  • Pairing RSA private keys are protected inside Android hardware-backed AndroidKeyStore (AES-256-GCM, android:allowBackup="false").
  • Simultaneous NsdManager mDNS discovery across _adb._tcp., _adb-tls-connect._tcp., _adb-tls-pairing._tcp., _androidtvremote2._tcp., and _googlecast._tcp., plus live VPN and LAN transition detection.

3. 43-Theme TV Launcher (:tvlauncher)

  • 33 CleanYourTV Themes + 10 TVORA Obsidian Themes loaded with full attribution metadata and per-photographer/author licenses.
  • Dynamic Visual Engines (UpstreamLauncherEngines.kt):
    • SkyPaletteEngine: 24-hour celestial gradient interpolation (midnight, dawn, noon, twilight).
    • WallpaperMoodEngine: Selects morning / evening / night wallpapers cleanly based on device clock.
    • ActiveFestivalSkin: Time-bounded seasonal styling (halloween, diwali, dussehra) with graceful expiry fallback.
    • TvClockDreamService: Android DreamService burn-in-safe ambient clock screensaver + in-app idle clock mode.
  • Single-Bundle Asset Architecture: High-resolution theme wallpapers and assets are packaged once in :tvlauncher (embedded inside :app as assets/tvora-home.apk) and decoded lazily on demand via ZipFile inside Launcher Studio previews, avoiding APK duplication.

4. Compatibility Database (532 TV Profiles)

  • 14 Verified Reference & Conservative Matrix Profiles plus 518 Community-Reported Device Configurations imported from CleanYourTV examples/.
  • Clearly separates Verified Reference Profile vs. Community-Reported Profile and locks stock home replacement on Google TV / Chromecast / Fire OS models where stock launcher removal causes cast or Wi-Fi regressions. See SUPPORTED_TVS.md.

Architecture

TVORA is organized into 9 Gradle modules following Clean Architecture:

:app · :tvlauncher · :core:model · :core:adb · :core:discovery · :core:security · :core:compatibility · :core:analyzer · :core:database

See ARCHITECTURE.md for the full module dependency graph and security boundary specification.


Platform Capabilities & Honest Limitations

TVORA strictly avoids fabricated claims and states Android platform boundaries transparently:

  • System ROM partitions are read-only without root: pm disable-user --user 0 disables eligible bloat reversibly for user 0 rather than deleting read-only /system / /product APKs.
  • Third-party app cache access: Standard unprivileged mobile/TV apps cannot inspect or clear private caches of other apps; TVORA reports accessible external/media storage accurately (Downloads, Movies, Documents, SHA-256 exact duplicates) and invokes pm trim-caches only over authorized ADB sessions.
  • Locked OEM & Fire OS Launchers: Fire OS blocks default HOME overrides; Chromecast/Google TV models with SetupWraith or mediashell coupling restrict stock launcher disabling cleanly.
  • Emulator vs. Physical TV Verification: Live TV UI flows in this repository were verified on a 1080p Android TV 16 emulator (TVORA_TV_1080p) and companion flows on a physical Android 13 phone (realme RMX3085); community-imported compatibility rows require physical firmware verification per model.

Build & Verification

Requirements

  • Android Device / TV: Android 10+ (API 29) for companion app; Android TV / Google TV 8.0+ (API 26+) for :tvlauncher
  • Build Environment: JDK 17+, Android SDK Platform 36, Gradle Wrapper (./gradlew)
# Run unit tests across all modules, build debug & release APKs, and verify Android Lint
./gradlew test testDebugUnitTest :tvlauncher:assembleRelease :app:assembleDebug :app:assembleRelease lintDebug

Signed release artifacts and SHA-256 checksums are automated via GitHub Actions without storing any keystore secrets in git.


Privacy & Security

  • Zero telemetry, zero crash-reporting SDKs, zero accounts, zero cloud servers.
  • Sensitive identifiers (IPv4/IPv6, MAC addresses, serial strings, pairing codes, public keys) are scrubbed automatically by RedactionEngine before copying diagnostic reports.
  • See PRIVACY.md and SECURITY.md.

Acknowledgments & Licensing

  • TVORA original code is licensed under the MIT License.
  • Incorporates launcher inspiration, safety heuristics, Outfit typography (SIL OFL 1.1), Fluent Emoji sprites (MIT), 518 community TV compatibility profiles, and 33 community themes (configs MIT; per-theme photography NASA Public Domain, CC0 1.0, Unsplash/CC0, CC BY, and CC BY-SA) from Gathin23/cleanyourtv.
  • Full third-party notices and per-asset license attributions are preserved in THIRD_PARTY_NOTICES.md and inside tvlauncher/src/main/assets/themes/*/CREDITS.md.

About

Open-source Android TV management, wireless ADB, app control, diagnostics, and safe optimization toolkit.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages