Skip to content

v1.6.35

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:36

Service 1.6.35, launcher 1.5.28.

A safer boot, a safer Live TV, and a language sweep

This release is mostly hardening: the boot no longer trips the Homebrew Channel's failsafe after LG's maintenance reboot, the Live TV code from pull requests 297 and 298 got a security review and edge-case tests, and every translation is complete.

Boot

  • The takeover runs in the background at boot, so the Homebrew Channel clears its failsafe flag early. Before, a TV that LG rebooted for maintenance in standby and then switched off again could start the next time in failsafe mode (no boot scripts, no root, a prompt to reboot). boot-unfinished in the service folder now stands in for the failsafe: a boot that went down in the middle of the takeover (a power cut, or the script killed) shows LG's Home once, with the service running, and the next boot takes over again. Thanks to @privatepenguinzero (pull request 325), who found the cause in the crash logs and tested it on an LG OLED B4 (webOS 24): the failsafe flag was gone within 49 s of boot.
  • The guard also removes its file on a hang-up, and three tests now run the guard itself as the boot script does (pull request 328).
  • Faster start where Home is a flutter or web app (the mount takeover): the boot skips staging the launcher again when an earlier boot already worked it out. On an OLED65G26LA (webOS 25) the launcher was mounted 4.0 s after the script started instead of 6.3 s (pull request 313).

Power-off reboot (issue 302)

@AviMcCartney reported that on an OLED55B23LA (webOS 25) the remote's power-off ends in a reboot (rebootByFault) instead of standby while CleanYourTV is Home, and that switching the takeover off brings standby back. Thank you for the careful tests in that report.

  • Fixed on the TV where it could be tested (pull request 331): the cause was found. The language change that takes Home over (rescan-home.sh, a moment of the bare UI language) makes LG's AirPlay service abort. LG's fault manager keeps that as a crash report, and at the next power-off the TV runs its recovery, rebootToSuspend, so it reboots (rebootByFault) instead of suspending: a power-on after more than about ten seconds in standby was a cold boot (a short standby never reaches the suspend, so it hid the problem). The boot script now removes that one AirPlay report right after the takeover; every other crash report stays for LG's own recovery. On an OLED65G26LA (webOS 25) a 90-second standby with CleanYourTV as Home now suspends and wakes. The Home mount inside LG's jails was not the cause.
  • Not yet checked on the OLED55B23LA of the report. If the power-off still ends in a reboot there, please attach the Share log (its Power-off section) to issue 302: the crashing program may be another one.
  • The Share log and diagnose.sh have a new read-only Power-off section: the last power state changes with PowerOffReason, the power state now, how many other mount namespaces carry the Home mount (counts and process names only), and the criu flag (pull request 307).
  • docs/troubleshooting.md has an entry with the workaround for TVs where the reboot still happens: CleanYourTV as Home off in the manager app (pull request 322).

Live TV: reviewed and tested

The Live TV features of Nadir Bakkali (@BKNadir) from pull requests 297 and 298 were reviewed and tested harder as tasks on Pollen Code (done by AI coding agents, merged by the maintainer). Nothing below was run on a real TV.

  • Security fixes (pull request 304): the pairing code's five tries now hold for requests begun before the page closed; redirect answers no longer stop the service; every address Live TV calls refuses the TV itself, also by name; a Stalker play command only comes from the portal's own list; an old download can no longer bring back data after Remove the playlist; an unreadable portal address is refused instead of printed in an error.
  • The parental PIN is stronger as a child lock (pull request 326): with a PIN set, the phone page for Manage channels and VOD asks for it, so the remote can no longer open the page and remove the lock. The PIN stays a child lock, not a security boundary; docs/security.md lists the ways round it.
  • Two small bugs found by the new tests (pull request 327): a failed reading of the provider's clock was kept for six hours, so Replay played the wrong programme on a server that is not on UTC (now retried after a minute); and a count of wrong PINs outlived a PIN that was removed, which could lock the TV for a minute on the first wrong try after the next PIN.
  • Live TV tests went from 159 to 200 checks: Replay times and clock offsets, PIN lockout, subtitle track numbers.
  • A written checklist for testing the Live TV features on a real TV (pull request 323) and a check of every Live TV file against the Node 8.12 rules (pull request 324).

Languages

Dutch, Spanish, French, Catalan, Danish, Polish and Brazilian Portuguese are now complete (1867 of 1867 texts), together with German, Italian and Swedish. All of the new texts were drafted by an AI and not checked by a native speaker or on a real TV: if a text reads wrongly, tell us or send a fix. Stale texts were removed and the status page matches the numbers (pull requests 309, 310, 314, 315, 316, 317, 321).

Under the hood

  • The lint now enforces the Node 8.12 and Chromium 68 rules by machine: ??, ?., fs.rmSync, global URL, timeout on child processes and more, in every Node file, plus the ES5 pages, flex gap and animations (pull request 319).
  • New tests for wsclient.js, addonrepophone.js and hacards.js (109 checks, pull request 318).
  • docs/api.md documents eleven more service endpoints (pull request 308).
  • The add-on catalog index was regenerated after the Spanish rebuild, and a failed catalog install is now reported as a failure instead of stopping the test file. Thanks to @timtedje (pull request 312), who also fixed the stand-in inputs in the Chromium screenshots.
  • The README explains how to help with a coding agent through Pollen Code (pull request 303).

Not yet tried on a real TV

The boot change was tested on one TV (webOS 24) with a simulated mid-takeover boot; a real power cut during the takeover, the sam-restart way and webOS 5 and 6 were not tried. The Live TV hardening, the PIN gate on the manage page and the power-off diagnostics were tested against stand-ins only. Please report anything odd in an issue, with the Share log report attached.