Skip to content

No signal customization #2

Open
@Informatic

Description

@Informatic
Member

Surprisingly, both webOS 3.8 and webOS 6.2 (and probably everything inbetween) have very similar inputcommon qml layouts:
/usr/palm/applications/com.webos.app.inputcommon/qml/TvComponent/ScreenSaver/...

We could probably inject some custom code there as well.

Activity

abjugard

abjugard commented on Jan 10, 2024

@abjugard

I would very much be interested in this. Anyone had a look at it?

abjugard

abjugard commented on Jan 10, 2024

@abjugard

In an attempt to remove the long text under "No Signal" on my OLED C9 I modified some QML files and made a very crude /var/lib/webosbrew/init.d/99-kill-the-text with the following contents:

#!/bin/sh

set -e -o pipefail

STR_MOUNT_TARGET="/usr/palm/applications/com.webos.app.inputcommon/qml/StringResource/ScreensaverString.qml"
STR_QML_PATH="/media/developer/mods/com.webos.app.inputcommon/qml/StringResource/ScreensaverString.qml"

if [[ ! -f "$STR_MOUNT_TARGET" ]]; then
    echo "[-] Target file does not exist: $STR_MOUNT_TARGET" >&2
    exit 1
fi

if ! findmnt "$STR_MOUNT_TARGET"; then
    mount --bind "$STR_QML_PATH" "$STR_MOUNT_TARGET"
    echo "[+] StringResource mounted succesfully" >&2
else
    echo "[~] StringResource mounted already" >&2
fi

MDL_MOUNT_TARGET="/usr/palm/applications/com.webos.app.inputcommon/qml/Model/ScreensaverModel.qml"
MDL_QML_PATH="/media/developer/mods/com.webos.app.inputcommon/qml/Model/ScreensaverModel.qml"

if [[ ! -f "$MDL_MOUNT_TARGET" ]]; then
    echo "[-] Target file does not exist: $MDL_MOUNT_TARGET" >&2
    exit 1
fi

if ! findmnt "$MDL_MOUNT_TARGET"; then
    mount --bind "$MDL_QML_PATH" "$MDL_MOUNT_TARGET"
    echo "[+] Model mounted succesfully" >&2
else
    echo "[~] Model mounted already" >&2
fi

Rebooted the TV, and also tried killing com.webos.app.inputcommon, but unfortunately the text remains. I'm thinking that there must be a compiled version of the QML files for this app, and that probably happens too early in the boot process for my changes to take effect.

Anyone have any ideas how to get the TV to use the modified QML files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @abjugard@Informatic

        Issue actions

          No signal customization · Issue #2 · webosbrew/custom-screensaver