docs / launcher

Free My TV β†’ native VIDAA Home plan

This page records the first, simplified offline adaptation, not verified one-for-one upstream parity. The actual pinned web interface now runs in a reversible on-TV trial. Follow the web parity status and acceptance gates and private release guide for that subsequent work. The first adaptation remains a recovery target.

Goal and constraints

Port the MIT web frontend of Free My TV (snapshot f2d984c51edca1544e39f2d44cdf86b75b0b6703) into the existing native Cobalt Home module on the owned 55A7KAU, firmware V0000.09.09O.P1015.

Keep the polished layout, app shelf, navigation and useful launcher settings. Keep the TV's full original Settings UI and remote functionality. This is not a browser redirect or an Android APK installation. No PC/cloud dependency for Home, app enumeration, input switching or root access. Streaming apps may of course need their own Internet access.

Replace our Go HTTP/WebSocket/MQTT bridge with direct vendor SDK integration. Keep the TV's own Phoenix/services, shared router, SDK and system modules. Do not remove vendor infrastructure needed by Settings, inputs and apps.

Preserve root SSH, verified boot, OTA blocking, origin storage, ownership/modes, original stock backups and explicit stock restore. Do not overwrite another session's changes. No timed-trial controller or assumed APM respawn.

Starting evidence (before the port)

See measured findings and candidate research.

Delivery order

1. Native platform adapter β€” local implementation first

Acceptance: deterministic tests for boot-empty→ready, delayed events, partial failures, stop/reactivate, input IDs and Settings calls. Tests are mock contract checks, not evidence of hardware compatibility.

2. Complete the platform compatibility contract

Area Required handling / verification
Home, Source/Input Preserve launcher route entry and input focus semantics
Arrows/OK/Back Scope Home navigation to its active route and focus; do not swallow other UI keys
Settings/Menu Retain original setting module, all menus and context-dependent behavior
Volume/mute Leave volume-bar handlers intact; verify overlay and action
Dedicated app keys Leave apc-service handlers intact; verify actual remote buttons
Power/standby/resume Keep vendor ownership; verify Home recovery and refreshed data
Guide/channel/numbers/colours/playback Map owners; pass through outside applicable Home navigation
Voice/accessibility/subtitles Retain vendor handlers; verify relevant device features
Kids/game modes and parental/hotel locks Preserve/delegate native entry points; do not silently reject or bypass

Resolve kids/game preservation before shipping: investigate retaining their vendor routes without restoring stock Home or its browser bounce. If that requires a material architecture compromise, document it and obtain a decision rather than quietly drop functionality. Do not claim full parity based on source inspection alone. Do not invoke destructive settings for test coverage.

3. Adapt Free My TV's frontend

4. Safe update path for the installed native module

The current installer expects stock bytes and fresh backups. Do not rerun it unchanged over N02. Add an update operation with:

Process liveness does not prove rendering. Supervised screenshot/remote checks are required. Preserve private environment context and credentials off Git.

5. Device verification, then retire the extra server

  1. Validate rendering, apps, inputs, Settings and remote controls with the new adapter/frontend, keeping the old bridge available only for recovery.
  2. Stop the extra bridge temporarily and repeat checks, including local icons.
  3. Verify root SSH and original stock restore; test cold boot and standby.
  4. Inspect the actual deployed root bootstrap/installer. Remove both the Go bridge autostart and its server.js fallback, keeping root startup intact.
  5. Archive obsolete runtime files reversibly; do not delete keys or backups.
  6. Repeat cold boot with no PC servers and no extra launcher server running.

Never remove the bridge while the installed N02 UI still depends on it. Simply deleting its binary is insufficient: bootstrap source starts a fallback static server when the binary is missing.

6. Records and publication

Run adapter/UI/deployment tests and ./scripts/check.sh. Record device results, failures and limitations in model findings as they occur. Update recovery docs and PR24 only with measured claims; do not include vendor bundles, keys, private platform context or unrelated working-tree changes.

Historical outcome: first offline adaptation

The first adaptation was installed. native-platform.js uses the direct SDK for data, readiness events, Settings, input switching and APC app launch. APC re-resolves metadata and retains vendor parental/EULA checks, never forwarding bypass flags.

free-my-tv-native.js implements the upstream offline clock/shelf design, local cached icons, all-apps/input views, themes, shelf customization and native screen-reader focus announcements. native-entry.js replaces only the original main Home component: it retains other routes, guards, initialization and key groups. Handled Home keys are consumed during bubbling before document-level defaults; dialogs and unrelated keys retain the normal vendor handling.

The installer supports hash-guarded updates and returning to native after stock restore. Actual stock restore and reapplication were exercised on the TV. The extra bridge/fallback and their boot section are retired with reversible backups. A fresh kernel/startup cycle returned root SSH and populated native lists with port 8770 closed. The operator had to power the TV on after the restart request; this is not an unattended-wake or mains-disconnect cold-boot claim.

54 local tests pass with the private loader fixture. Full repository checks pass, including 108 rendered documentation pages using the optional Python markdown dependency in a temporary host environment. See the current operator guide, port findings and boot/retirement findings.

Progress

Remaining physical acceptance, not silently assumed complete: exhaustive remote buttons, microphone, audible accessibility, kids/game flows, mains-power cold boot and full standby/wake behavior. A Netflix HAL capture was black and is inconclusive for visible app startup/playback. Preserve these caveats when reporting results upstream.