Skip to content

TV research

Findings about how LG's webOS works, kept so the same ground is not covered twice. Each entry names the TV and webOS version it was found on. For how Glasshouse itself works, see IMPLEMENTATION.md.

LG DS90TR over Wi-Fi with HDMI eARC (webOS 10.3.1)

A DS90TR connected to a TV on firmware 33.31.61 answered the LG Wi-Fi Speaker status requests on TCP port 9741 from a computer on the LAN. It advertised itself as an S90T over Google Cast and identified itself as DS90TR in the local control protocol. Its settings included Night mode, woofer, center, side, height and rear levels, bass, midrange and treble. Its woofer value was 19 with a reported range of −15 to +6. The local protocol counts levels from the minimum, giving +4. The bar also reported a calibration status.

The framing is documented in python-temescal and the level offsets in LG Soundbar Plus.

Native DTS playback on the G5 (webOS 10.3.1)

OLED83G54LW.BEKYLJP, firmware 33.31.68, read and tested on 26 October 2026. The AVC-A10H receiver advertised DTS and DTS-HD, with eARC negotiated and Pass Through selected. Receiver capability did not enable native DTS.

A generated silent DTS/48 kHz/5.1 MKV failed in the stock GStreamer pipeline: matroskademux emitted audio/x-unknown, codec-id=A_DTS, and decodebin reported a missing decoder. Temporarily setting tv.model.edidType to TrueHD+dts, verifying it and restarting ARC did not change that result. The original TrueHD value was restored and verified. The demuxer could extract the elementary DTS data; feeding it to decodebin with explicit audio/x-dts input caps instead reported Missing decoder: DTS.

dts_audiodec was unregistered, and the DSP0 processor inventory contained no DTS decoder. LG's audiosink advertised raw audio input and refused a direct audio/x-dts connection. These are native playback boundaries, not proof that a new compressed bypass implementation is impossible. Plex's server-side direct-play state and source codec do not establish successful DTS output from the TV.

The separate standard ALSA sink advertised framed DTS, but the configured iec958 and spdif devices failed to open with ENOENT. Live ALSA configuration resolved pcm.iec958 to an absent cards.pcm.iec958 profile. A bounded compressed-DTS probe through hw:0,0 negotiated no compatible format; its supported caps were raw PCM. This does not establish a working alternative native compressed-output route.

The HDMI-only lg-g5-dts helper targets a different kernel binary despite the same 5.4.268-329.ptl4tv.5 release string. Eight of its nine original 64-byte code guards failed against this TV's captured boot image; live kernel symbols also placed the DTS support gate at a different address. The old addresses must not be reused on this firmware.

A separate exact-target native carrier trial on this 83-inch G5 reached an AVC-A10H as DTS. DTS core frames were wrapped in IEC 61937 bursts, matching FFmpeg's SPDIF output byte for byte. LG audiosink index=0 pcm-bypass=true accepted the S16LE/stereo/48 kHz carrier. The native renderer port was 0x100, including for PCM bypass. Connecting it to output3 and setting audio_hal_earc_set_output_format(1, 48000) produced receiver SYSDA DTS. The original encoder3-to-output3 connection was restored afterwards.

The prototype dts_audiodec GStreamer element accepts both audio/x-dts and the stock demuxer's audio/x-unknown, codec-id=A_DTS. A 30-second Matroska pipeline selected it automatically and completed with DTS receiver lock and normal EOS cleanup. LG creates the native renderer only after output-caps negotiation, so the forwarder sets PCM bypass and negotiates before acquiring the route. Its input caps must retain the compressed channel count independently of the two-channel IEC carrier. A suspended producer exhausted its renewable 20-second lease; the original route returned and resumed forwarding failed closed. These observations establish the native DTS-core route, not lossless DTS-HD forwarding or compatibility with every app.

Native app playback uses a different starting graph from an idle TV. The OLED83G54LW connected renderer_1_out0 to mixer_0_in1, then mixer_0_out0 to output_3_in0, whereas the idle trial used encoder3 as the output source. The native helper records and restores that source kind. It revalidates the exact source/port under the block-manager operation mutex before replacing output3's input; the mixer-to-output1 connection is retained. Cleanup preserves a foreign replacement route. Standard mutex imports use loader relocations; private locked block-manager entry points retain code guards verified against the running image.

LG supplies GST_PLUGIN_PATH_1_0 and disables registry updates, so an unversioned plugin path alone did not reach app players. The native package sets both paths, uses a private registry and binds a checked copy of gstcool.conf, selecting the forwarder ahead of decproxy as a software element. Plex then direct-played Casino's DTS-HD MA/DTS:X track without transcoding, while the Denon reported DTS core. Seeking, a toast and a 24-second pause/resume retained that route. A real eight-second clip completed with EOS restoration; a killed native player restored the PCM route, and the next player recovered from its orphaned module. Those core-mode trials did not qualify lossless extensions or audible quality.

The first DTS-HD trials supplied type 17 packets matching FFmpeg at both 192 kHz stereo and eight-channel HBR rates. LG accepted those raw caps, but the Denon reported an unidentified bitstream. The captured output stride was 32 bytes for both eight-channel S16LE and four-channel S32LE carriers; LG's idle MAT path used 16 bytes. Those initial trials did not establish receiver-side lossless forwarding.

In the matched kernel, aren_start selects two bypass output channels when the PCM input has fewer than three channels, and eight otherwise. The same rule applies to pcm_multi_ch. renderer_set_pcm_bypass_rts_out_channels sets the bypass SRCBIN's out-channels property. The audiosink caps field out-channels does not override that kernel rule. A packed four-channel S32LE carrier therefore requires a separate output-channel adjustment before its byte layout can be assessed on the receiver.

On 27 October 2026, shared-buffer snapshots located an alteration between the renderer's input and the buffer after bypass SRCBIN/lipsync. LG's renderer_set_pcm_format builds a 32-byte command: eight little-endian u32 values for input rate, channels, bits, endian, unsigned flag, then output rate, channels and bits. Endian 0 is LE and unsigned 0 is signed. Command 0x50020020 normally targets renderer+48; a temporary trial targeted the known bypass SRCBIN at renderer+52 instead. Setting input 192 kHz/eight channels/16 bits and output 192 kHz/eight channels/32 bits preserved complete FFmpeg DTS-HD bursts in the high halves of S32 samples, with zero low halves. This established byte preservation at that buffer, not at the eARC wire.

The eight-channel post-converter ring interleaves 32-byte record headers with 8192-byte payloads. Its header words were [2,12,10,4,256,0,0,8192]; treating those headers as samples falsely suggests inserted data. Physical ring addresses change between players and must be traced through each live module graph. SRCBIN property queries returned -1 even with a distinct initial sentinel, so they did not establish the actual format.

LG's output setup separately calls aud_clock_update_output before its eARC HAL operations. The output3 clock callback on this firmware was aud_hal_set_arc_sample_rate. A temporary trial changed and read back its rate as 192 kHz, then explicitly restored 48 kHz and the saved flag. Both the two-channel and eight-channel DTS-HD trials still produced receiver Unknown with no sample rate. The installed DTS-core helper remained unchanged. Neither the format command nor the clock change alone qualifies lossless forwarding.

The complete eARC sequence on 27 October 2026 established DTS:X reception. After the bypass SRCBIN command and output-clock update, the trial mirrored LG's mute, channel, non-PCM format, unmute and set_on operations. A second channel call after the format change selects the non-PCM branch. Calling audio_hal_earc_set_on with the saved on-state reprogrammes the link even when it is already on. The Denon then reported SYSDA DTS:X, signal 31 and 48 kHz from the unchanged type 17 HBR carrier. Mode 6 and compressed layout A (layout field 0) worked; layout B was not required. The HAL takes a physical 192 kHz rate, while its channel-status sampling code represents 768 kHz.

Passive snapshots of all four 16 KiB eARC hardware source rings contained bit-exact carrier words in the high halves of S32 samples, with zero low halves. Their stereo pairs followed input channels 0/1, 2/3, 4/5 and 6/7. The DSP's output-channels=2 property therefore did not establish that six channels were missing from the multichannel hardware output.

The deployed forwarder also reached DTS:X through com.webos.media with a real Casino DTS-HD MA/DTS:X clip: 297 complete HD frames, zero core-only frames and 145 startup frames replaced with silence. Native app preroll precedes LG's delayed format event, so the module keeps the HAL muted while configuring or recovering the output; the element emits silence until hd_ready is set. The true HAL mute is channel-status word 2 bit 18, distinct from the DSP output's mute byte. Cleanup restored the mixer route, removed the module and restored the original output clock. These muted trials establish transport and receiver identification, not an audible quality assessment or every app's compatibility.

Plex subsequently direct-played Casino's original MA/DTS:X track without transcoding and retained receiver DTS:X through seek, a notification and a 24-second pause/resume. Stop restored normal routing. Native media-service clips also completed with EOS restoration for MA stereo/5.1/7.1, HRA, ES, plain DTS, DTS:X IMAX, DTS 96/24 and 96 kHz MA. The receiver's protocol uses generic DTS-HD, DTS and DTS:X labels; these do not independently identify ES or IMAX-specific receiver processing.

One remuxed DTS 96/24 clip was refused by uMS before forwarding started. FFmpeg had written Matroska SamplingFrequency 96000, whereas the original track says 48000. Changing only that field and the Tracks CRC, with identical compressed-payload and packet hashes, made the native clip play and the receiver report 96 kHz. The uncorrected clip played through gst-launch. A separate real 96 kHz MA track with a 96000 container frequency also played through uMS, so this does not establish a general native 96 kHz limit. The precise reason uMS refuses the mismatched DTS 96/24 header is unresolved.

On this G5, a whole-category getSystemSettings sound query returned digital output auto, while named queries for soundOutputDigital returned the actual passThrough value. Both answers were successful and repeated without a setting write between them. Using the category answer alone falsely blocked re-enabling the DTS helper. Audio status prefers named output values and retains the category answer as a fallback; sound rows request only keys found in the category response, avoiding unsupported keys on older TVs. These are reading changes, not changes to LG's sound settings.

With the current-settings reading corrected, the live dashboard disabled an active HD stream and re-enabled the selected HD mode. ARC reconnection needed a settling interval after the service restart. A forcibly killed native media pipeline returned output3 to LG's route; its idle orphaned module was removed when the next player acquired HD output. A subsequent native PCM Matroska clip reached the receiver as PCM at 48 kHz with no DTS module active.

App switches on 8 November 2026, in HD mode with Plex, Disney+, YouTube, Netflix and live TV. When Plex resumed a title after another app had played, the forwarder's first frame arrived while the pipeline still held fakevdec in place of lxvideodec and playsink had no audio chain; the audiosink appeared 100-300 ms later. Refusing then made Plex transcode to PCM in place of DTS. The same wait was needed, at 100 ms, on one ordinary start. When another app played while Plex was in the background, LG connected that app's source to output3 and the module stood down, ending the lease. uMS paused Plex's pipeline and played the same one again when Plex returned, so its forwarder, which had failed for good once its lease ended, had to take the route again: doing that on the same sink, left in bypass, brought DTS-HD back. Plex twice stuck on a grey screen when reopened with no media pipeline at all; its cause was not established. Disney+ DD+, YouTube multichannel PCM, Netflix and live TV each took output3 from a held DTS route and played normally. The kernel log (/var/log/legacy-log) records each audio_hal_earc_set_* call with the calling thread, which separates LG's eARC set-up from the module's.

Native DTS playback on the B4 (webOS 10.3.2)

Probed on an OLED77B46LA running webOS 10.3.2 (firmware 33.31.75, Realtek rtd2885p) connected to a Sonos Arc Ultra over eARC (Glasshouse issue #1379).

  • EDID and GStreamer elements: tv.model.edidType reports TrueHD+dts. GStreamer includes dcaparse and omxdtsdec / omxdtsdec1 (Rank primary + 1 (257)), accepting audio/x-dts, audio/x-dtsh, audio/x-dtsl, audio/x-dtse, audio/x-dtsx and audio/x-raw, and logs ../git/omx/gstomxaudiodec.c:788: invalid property id 20 for "downmix".
  • Direct GStreamer pipelines fail outside LG's media stack: matroskademux ! decodebin on a silent 6-channel 48 kHz dts51.mkv fails with Missing decoder: audio/x-unknown (audio/x-unknown, codec-id=(string)A_DTS, ...). dcaparse stops with Failed to get media type from upstream, and feeding framed audio/x-dts,framed=(boolean)true,rate=(int)48000,channels=(int)6 into omxdtsdec fails with Could not initialize supporting library..
  • Player path and kernel procfs: Jellyfin direct-playing a 6-channel 1.5 Mbps DTS MKV outputs DTS to the Sonos Arc Ultra over eARC (starfish-media-pipeline: vdec: H264 high 4.1, adec: audio/x-dts; audiooutputd: input_source: MEDIA, input_codec: dts, earc_output_codec: 4, arc_output_codec: 4, sound_output: external_arc). /proc/rtkaudio holds only debuginfo (no DSP0 inventory).

C9 HAWK2 audio EDID (webOS 4.10.2)

OLED65C9PUA, firmware 05.50.00, reported in #1078 on 28 October 2026.

  • The C9 reports tv.model.hdmiSwitchType: HAWK2 and tv.model.edidType: TrueHD. Source-facing EDIDs are returned by com.webos.service.tv.systemproperty/getEdidData with inputType: 0 and logical portNumber: 1..4. On the measured mapping, HDMI 1 is receiver 3. The lower HDMI20 driver buffer does not hold this switch's source EDID.
  • Its sound-settings response names the selected input in dimension.input (hdmi1), not dimension.audioInput. Its legacy audio and ARC queries can be unavailable. The TrueHD family name does not mean no DTS: the checksummed native EDID includes core DTS (3d1ec0) and DTS-HD (5f7e01).
  • Receiver 3's status file gives the source's Audio InfoFrame channel count, allocation and sample frequency. Zero means unspecified, not stereo or 48 kHz. The fields can remain through a pause, so they are source metadata, not proof of playback.
  • The media-resource file declares DTS, DTSH and DTSE with six-channel limits, which does not show DTS-HD Master Audio decoding or DTS:X rendering.
  • A Panasonic UB820 on HDMI 1 decoded DTS-HD Master Audio 5.1 to stereo PCM for a Sonos on eARC. With HDMI 1's EDID changed to declare six-channel PCM and a 5.1 speaker allocation, it sent PCM 5.1 instead. Writing the EDID is elforeign's separate helper, not part of Glasshouse.

OLED55G36LA, firmware 23.25.55, kernel 5.4.268-320, read on 25 October 2026: tv.model.edidType is TrueHD+dts, dts_audiodec accepts DTS/DTS-HD/DTS:X input caps, and DSP0 contains dec_dtsx. These are native declarations and decoder evidence, not a receiver-side pass-through trial.

arccontroller/getARCState reported arcActivation: ARC, audioDeviceType: arc, and a two-channel PCM receiver descriptor for the HDMI 2 STEREO 70s. At the same time, getARCEDIDInfo reported eARC: true and DTS/HD/MAT SADs. Its eARC flag and source-facing descriptors therefore do not identify the negotiated link or the receiver's accepted formats. With TV speakers selected, ARC state reported no active link and empty receiver descriptors.

The current HDMI input's /proc/lg/hdmi20/portN/edid provides a checksummed CTA declaration even with ARC off. LG's public-input-to-receiver map must be applied before selecting that file. The media-resource file lists local playback codecs; it is a separate declaration from HDMI forwarding.

With no audio playing, the HDMI driver still reported AudioData=1 and Codec=PCM, with zero sampling rate and an unstarted ADEC. Those values are not a live PCM signal. Native sound-output and Pass Through controls were exercised and their original settings restored. The PCM-only receiver did not provide a DTS reception test.

A stale whole-category sound read (G5, webOS 10.3.1)

Reported in #1007 from an OLED83G54LW, firmware 33.31.68. getSystemSettings for the whole sound category returned soundOutputDigital: auto, while a query naming soundOutputDigital returned passThrough, as LG's menu showed. Both answers were successful, and repeated with no setting written between them. webOS 4.4 answers nothing to a named query that includes a key it lacks (#954), so only keys the whole read returned are named.

Homebrew Channel screen saver apps

Read from their sources on 28 October 2026 (#1067). Custom Screensaver (webosbrew), Aerial Screensaver (aabytt), Aerial webOS screensaver (rchalaaa) and Idlegif each ship one QML file and bind-mount it over /usr/palm/applications/com.webos.app.screensaver/qml/main.qml, from their app or an init.d hook. On webOS 10.3.2 that file does not exist, as LG's screen saver is Flutter, so Custom Screensaver's script stops with "Target file does not exist". Each QML loads everything else by its full path: its app folder under /media/developer/apps, or /var/lib/webosbrew/idlegif for Idlegif's GIFs. Custom Screensaver's DVD logo is inside the QML. They use QtQuick 2.4, with QtMultimedia, WebOSServices and iLib for the Aerial ones. aabytt's also takes over com.webos.app.videoads on webOS 11.

On a B4 (webOS 10.3.2) with Aerial Screensaver 3.0.4, its boot hook runs before Glasshouse's and bind-mounts its whole assets folder over com.webos.app.screensaver, in the same shared peer group (shared:40) as the /media/developer and /mnt/lg/appstore mounts of the developer apps. A mount made on top of it propagates to that group, so it also lands over Aerial's own /media/developer/apps/usr/palm/applications/org.aabytt.webos.custom-screensaver-aerial/assets and hides the QML there (#1378). Taking Aerial's mount off first, and then mounting, leaves its folder as it was.

On a G5 (OLED65G56LS, webOS 11.2.0) with Aerial Screensaver 3.0.4's screensaver-main.qml as the screen saver, tvpower went from Screen Saver back to Active 1.0 to 1.4 s after the screen saver's window showed, as its first video (3840x2160 HEVC) started. The same QML started with qml-runner by hand, outside tvpower's screen saver state, went on playing. After

luna-send -n 1 luna://com.webos.service.screenmanager/setScreenSaverMode \
  '{"appId":"com.webos.app.screensaver","mode":"manual"}'

the screen saver stayed up with its video playing, 15 minutes when left. screenmanager's strings give mode as auto or manual, and have "full screen playing" and "appId(%s) is manual mode" beside them. Aerial's web page for these TVs sends manual at every start, and its source says why: screenmanager ends the screen saver when it sees full-screen video, except for an app in manual mode, and keeps the mode in memory until it restarts. Its QML does not send it. Whether the mode outlasts a reboot was not seen: Glasshouse sent it again 43 s after each of two boots, and the screen saver stayed up after both.

HDMI CEC devices (G3, webOS 9.2.2)

com.webos.service.eim/getAllInputStatus returns CEC devices in each HDMI input's subList, with id: SIMPLINK. HDMI 2 on an OLED55G36LA reported STEREO 70s at depth 1 and PlayStation 5 at depth 2. Entries include osdName, cecpDevType, vendorId, physicalAddress and uniqueId. Non-SIMPLINK entries can describe universal-remote configuration instead.

On the same TV, unplugged HDMI 1 and HDMI 3 returned connected: true, but hdmiPlugIn: false, hdmiSignalExist: false, lastUniqueId: -1 and empty sublists. Where present, hdmiPlugIn takes precedence over connected for plug detection. The device list does not report per-device power state.

On a C2 (webOS 9.2.2), connected follows the cable: a cable with nothing on its other end read connected: true, hdmiPlugIn: false, ports with no cable false for both, and a PC switched off at the wall hdmiPlugIn: true. A B4 (webOS 10.3.2) reported connected: true on all four ports, two with no cable (#1382), as the G3 does. So connected tells a cable apart only on a TV where some port reports it false; the Metrics tab shows such a port as Cable only.

Selecting and waking a source through a receiver (G3, webOS 9.2.2)

LG's installed InputPicker/Controllers/ConnectionsInterfaces/Interfaces.qml passes a device's EIM uniqueId as HDMI launch parameters {id: "uniqueId", value: "8"}. inputcommon's DeepLinkHandler.qml passes them to ExternalDeviceControlInterfaces/SimplinkController.qml, which calls com.webos.service.eim/cec/setCECUniqueId. Without the parameters, that controller uses the input's lastUniqueId, or its first SIMPLINK device. On HDMI 2 with no remembered source, this selected the STEREO 70s receiver (ID 5), leaving the PS5 (ID 8, physical address 2.4.0.0) asleep.

lastUniqueId follows each selection at once: on 27 October 2026, launching HDMI 2 with the PS5's ID set it to 8, with the receiver's ID to 5, and a later plain HDMI 2 launch left it at 5. It is the TV's own record of which device on a port was last chosen. Whether the PS5 waking itself (One Touch Play) updates it was not tested.

On 20 October 2026, with the PS5 confirmed in rest mode, switching through HDMI 4 and Home then launching HDMI 2 with its device ID woke it. CEC history showed Set Stream Path to 2.4.0.0 and the PS5 replying Report Power Status with On (80:90:00). The patched Glasshouse Home tile also woke it from standby; LG's service sent the CEC Power key itself. No separate power key is needed in Glasshouse. A DISPLAY capture showed the receiver's logo even while the PS5 reported On, so that picture alone does not establish console power state.

LG's recent-input preview (G3, webOS 9.2.2)

Read from the installed QML on 29 October 2026. With Glasshouse mounted over LG's Home, the original app remained readable at /var/palm/jail/com.webos.service.voice.performer/usr/palm/applications/com.webos.app.home; no unmount was needed.

Recent Input embeds the input app through App View. In Home's qml/, UserInterfaceLayer/Containers/Sub/DeviceInfoTileComponent.qml enables live preview only when lastInput equals physicalLastInputApp and both settings have arrived. For HDMI, its guest parameters are {id: "deeplinkAppViewExt", sender: "home"}, without a CEC device ID. Interfaces/AppViewInterfaces/AppServices.js maps its calls to com.webos.service.multiviewcontroller. AppViewInterfaces.qml subscribes to getAppViewStatus, then calls createAppView with:

{
  "hostAppId": "com.webos.app.home",
  "guestAppId": "com.webos.app.hdmi4",
  "guestAppParams": {"id": "deeplinkAppViewExt", "sender": "home"},
  "mode": "pip",
  "usageType": "appview",
  "guestAppLayout": {"x": 35, "y": 636, "width": 338, "height": 190}
}

The rectangle above is the service wrapper's default; the call uses the tile's current absolute rectangle. The subscription reports completion as appViewStatus.eventStatus: appViewCreateCompleted or appViewChangeCompleted. Showing and hiding use setAppViewStatus with hostAppId, guestAppId and event: "focusInGuestApp" or "focusOutGuestApp"; focus-in also carries guestAppLayout. Home destroys the view with destroyAppView {} on exit or power-off and handles appViewDestroyCompleted. A recent HDMI input has a 1000 ms focus delay followed by a 400 ms show delay. Other preview paths also wait for the subscription's appPipelineStatus to report a connected pipeline.

The HDMI app uses the external-input service. com.webos.app.hdmi4 runs com.webos.app.inputcommon. Its Handlers/DeepLinkHandler.qml recognises appViewRole: "appViewGuest"; DisplayInterfaces.qml opens com.webos.service.utp.extinputs/open with {inputSourceType, options: {appId, windowId}} and starts the port through switchExternalInput {pipelineId, portId}. The inspected Home path uses neither an ext:// source nor mediaOption. This establishes LG's caller path, not that App View works unchanged with Glasshouse or avoids CEC, picture-mode and audio side effects; those need a live trial.

Live TV uses the same App View with channel parameters. The Recent Input tile gives guestAppId: "com.webos.app.livetv" and guestAppParams: {id: "channelChange", channelId: lastChannelId, sender: "home"}. That app also runs inputcommon. Its ChannelChangeInterfaces.qml calls com.webos.service.utp.broadcast/changeChannel with {broadcastId, channelId, connection_timeout: 500} and adds update: false while isAppViewLaunching is true. The explicit-channel path also supplies ignorable, false by default. checkEndAppView commits an explicitly chosen channel through com.webos.service.utp.channel/setLastChannelId when returning from preview to normal viewing.

Updating channel history is separate from tuning. The installed /etc/palm/schemas/utp/utp.changeChannel.schema defines update, default true, as whether to update the last channel. utp.open.schema also accepts options.updateLastChannelId, default true; false prevents that broadcastId from updating the last channel. These are channel-history controls, not evidence of a spare tuner or independent CI+ decoding.

ChannelChangeInterfaces.qml classifies BROADCAST_ERROR_1006 and CHANNEL_ERROR_1011 as digital-TV recording conflicts, and BROADCAST_ERROR_1007 and CHANNEL_ERROR_1012 as analogue-TV recording conflicts. Its recording handlers can ask to stop recording before changing channel. utp.play.schema separately defines resolveConflicts, default false; true resolves recording conflicts and plays an available channel. Tuner-busy and CI+ behaviour, including the events received by a web-page preview, was not exercised during this source inspection.

AlwaysReadyPreview and Hero are separate players. Interfaces/AlwaysReadyInterfaces/AlwaysReadyInterfaces.qml reads com.webos.app.lifeonscreen/assets/builtin_theme.json, taking each mood-wall theme's themePlayInfo[0].previewPath for its Qt Multimedia player. Hero's player takes the advert's assetData.contentData. Neither is the Recent Input preview.

An input or channel playing in a web page (G3, webOS 9.2.2)

Measured on 29 October 2026 from a test web app and from Glasshouse Home, a muted <video> with one <source>:

  • type="service/webos-external" src="ext://hdmi:4", the input behind Home (3840x2160 at 24 Hz), played in about 150 ms. videooutput's MAIN sink read connectedSource: HDMI with the page's app ID, displayOutput followed the element's rectangle, and a DISPLAY capture included the picture, unlike the HDMI app's. /var/log/cecmessages showed no Set Stream Path, Active Source or other message beyond the TV's periodic ones, and the sound output stayed tv_speaker.
  • HDMI 2, its receiver and PS5 asleep: loadeddata, canplay and playing all fired over a black picture, nothing woke and nothing went out over CEC. The events do not tell a live picture from none; the receiver's lock in /proc/lg/hdmi20 does.
  • Back to HDMI 4 from HDMI 2, its picture returned within about 0.7 s.
  • pause(), removing the source and load() set both sinks back to unknown.
  • type="service/webos-broadcast" src="tv://" plays the last channel. src="tv://<channelId>" tunes that channel and makes it the last channel (com.webos.service.utp.boot/getLastChannelId).
  • type="service/webos-broadcast-preview" src="tv://<channelId>" tuned BBC ONE in about 120 ms and left the last channel as it was, also after the video was released.
  • While a channel plays in the page, videooutput's getStatus names it on the MAIN sink with contentType: dtv: Sky News read 544x576, scanType: interlaced, frameRate: 2500 (hundredths of a hertz; an app's video reads 23.976) and hdrType: none; BBC ONE HD 1920x1080 interlaced at 2500. The format appears a moment after playing.
  • The test app on screen became Glasshouse Home's last source, as any app does.
  • Setting the element's muted on a channel playing this way reaches the tuner: on 10 November 2026 the page called com.webos.service.utp.broadcast/setAudioMute with isMuteOn and muteOwner: com.webos.app.home, which LG's legacy broadcast service turned into avmutemanager/setAvMute with muteType: audioMute on the adec port, in both directions, while the channel played on. On an ext://hdmi:N source, changing muted sent nothing over the bus, and an input started muted or not showed the same calls: audiod's own brief mute while connecting, then the HDMI PCM on tv_speaker. That recording was made at speaker volume 0. A listening check on the same G3 at volume 10 confirmed HDMI 4's preview was audible with Preview sound on, silent with it off, and audible again when switched back on. By contrast, on a 55NANO756PR (webOS 6.5.3, standalone Home, #1359), an HDMI 1 preview (ext://hdmi:1) still played sound through the TV speakers even with <video muted> (Preview sound off).

How a busy tuner (a recording) or an encrypted channel shows to the page was not tried.

On a C8 (webOS 4.4.3, #1208) the browser has no service/webos-broadcast-preview: the service/webos-* types in /usr/lib/libcbe.so are broadcast, broadcast-cable, camera, dvr, external, photo and photo-camera. service/webos-broadcast with tv://<channelId> played the channel in 1.5 to 2 s. There is no com.webos.service.videooutput either, so a channel playing in the page reports no signal.

IPTV streams in a web page (G3, webOS 9.2.2)

Measured on 31 October 2026 on an OLED55G36LA from Glasshouse Home's page, with an Xtream account that allows one stream (53,463 live channels behind Cloudflare) and a fake provider on the same network (scripts/fake-iptv.js):

  • A plain <video> with src set to the account's live/<user>/<pass>/<id>.m3u8 played it natively: a 302 to a tokenised edge URL, then HLS version 3 with 10-second MPEG-TS segments, 1280x720. No MSE player was needed. Desktop Chrome plays the same streams natively too. The provider sent Access-Control-Allow-Origin: *, so an MSE player in the page would also have been allowed to read them.
  • Unlike an HDMI app's picture, the stream's picture is included in a com.webos.service.capture/executeOneShot DISPLAY capture, as an input or channel playing in a page is.
  • The account's active_cons (player_api.php with no action) read 1 of 1 while a channel played, and still 1 of 1 after six channel changes in about five seconds, each releasing the video (pause(), src removed, load()) before the next channel's URL was set.
  • After playing and changing channels, neither /var/log (messages, legacy-log, dbg-log and the rest), /tmp's logs nor the journal held the provider's host, the user name or the password.
  • The provider answered Python's default User-Agent with 403 and curl's, and Glasshouse/<version>, normally.
  • Its get_short_epg left out the programme on now as it neared its end: at 19:49 the first listed for one channel started at 20:00, where at 19:07 it had listed 19:00 to 20:00. It also listed some programmes twice, with and without "Live:" in front.
  • While a stream plays full screen, videooutput's MAIN sink reads connectedSource: VDEC for com.webos.app.home with contentType: movie and the stream's width, and the media state Glasshouse reads (as for an app's video) is playing, full screen.
  • The TV's idle screen saver came on 13 minutes after the last key, after the player had been left showing a stream: panel care (eplmanager) refused it and Glasshouse's idle screen saver handling (lib/idlesaver.js) lifted the hold and asked again, which it does only when the media state is not playing. Whether the stream had stopped by then was not seen.
  • tvwebctl watch killed the worker process reading a 200 MB guide three seconds into it, taking a server child still running node for one stuck between fork and exec (child 14217 stuck before exec in tvweb.restarts).

  • Leaving Home for an input while a channel previewed, the TV's one established connection to the stream's edge server was closed within 3 seconds (only TIME_WAIT remained). The panel's active_cons took about 10 seconds to count a new stream and kept counting it for about a minute after it closed.

  • The remote's Guide button does not reach a web page: sent as evdev 362 (IR_KEY_GUIDE 370 in /usr/share/X11/xkb/keycodes/lg, less xkb's 8) with Glasshouse Home in front, webOS opened LG's own broadcast guide. With Glasshouse's key filter set to launch com.webos.app.home with { "glasshouse": "guide" } beside the Home key's own parameters, the page got them in PalmSystem.launchParams at its webOSRelaunch, from Home and from HDMI 4 alike. Info (evdev 358, IR_KEY_INFO 366) reaches the page as keyCode 457, and CH+ (evdev 402) as 33.
  • Left full screen from 19:51, a stream played on with no screen saver at 20:26, 35 minutes after the last key, the media state reading playing throughout.

webOS 7 and 10 were not tried.

On 2 November 2026, moving a playing IPTV preview's element from its tile back beside the clock for full-screen playback left the G3's picture black. The video still reported paused: false and readyState: 4, but its time returned to zero and com.webos.media/getForegroundAppInfo no longer listed its media session. Calling play() again did not recover that session. Keeping the element attached and positioning it over the tile preserved the same media ID through full screen and Back, with playback time advancing from 43.127 to 50.151 seconds. Internet TV uses that placement; the guide returns the picture beside the clock without moving its parent.

RTÉ One, RTÉ2 and RTÉ News, as listed by the public Free-TV playlist (on 5 November 2026), never played on a B8 (webOS 4.4.3) or a C2 (webOS 9.2.2): the preview showed no picture. Their master playlists carry no key, but each variant's playlist has #EXT-X-KEY:METHOD=SAMPLE-AES with KEYFORMAT="com.apple.streamingkeydelivery" (FairPlay, skd://), and their segments' stream types are 0xdb and 0xcf, SAMPLE-AES H.264 and AAC. The same master with its subtitles removed, with English audio only, or one video variant alone failed the same way, and both TVs' OpenSSL verified live.rte.ie's certificate (GlobalSign ECC Root CA - R5, in both TVs' store). Their other Irish channels in the list carried no key.

Broadcast HDR and preview metadata (G3, webOS 9.2.2)

Read on 29 October 2026 from the office OLED55G36LA, during an existing Glasshouse Home preview run. These probes did not open a pipeline or tune.

LG's Live TV badge reads com.webos.service.utp.broadcast/getVideoInfo with the app's broadcastId. In inputcommon's Interfaces/ChannelBannerInterfaces/, responseGetVideoInfo takes response.videoInfo.video; ChannelDetailBannerController.qml reads HDRType || hdrType. It displays HLG as HLG HDR, HDR10 as HDR, Prime as Advanced HDR by Technicolor, and DOLBY or DolbyVision as Dolby Vision. IsBT2020 controls a separate colour-space badge.

The no-ID method also works while the page owns the preview:

sleep 4 | luna-send -n 1 -f \
  luna://com.webos.service.utp.broadcast/getCurrentVideoInfo '{}'

During a BBC ONE Lon HD preview it returned appId: com.webos.app.home, videoInfo.content: dtv and videoInfo.video with width: 1920, height: 1080, frameRate: 25, hdrType: none, IsBT2020: false. videoInfo.context matched videooutput's MAIN sink context. Unlike videooutput's broadcast rate of 2500, this method reports hertz. getCurrentVideoInfo selects the active broadcast internally, as confirmed in utp-dvb's cb_getCurrentVideoInfo; it does not select by a supplied app ID. A transition can return No resource or zero dimensions. Match the app and content, and wait for non-zero dimensions before using it. The observed getChannelState replies contained videoSignalState and channelScreensaverType, without an HDR field.

The ID from com.webos.media/getActivePipelines (type: tv) is not a UTP broadcastId: passing it to getVideoInfo returned error -106. ls-monitor -j -f com.webos.service.utp.broadcast showed the page's open reply returning a UTP UUID, for example 000008df-9f29-5b3d-97e2-063de2a3770b. UTP translates it to a different legacy-broadcast ID, which is also the decoder context. The service's private introspection lists no broadcast-ID enumeration method. The no-ID video read avoids needing either ID for the picture format.

Do not repeat ls-monitor on this G3. Claude-HDMI-preview reported a 15:02 entry in /tmp/faultmanager/kernel on 29 October 2026: fd leak is happened on "process = ls-hubd(1750) ... max = 1024", coinciding with these monitor probes. ps -ef at 15:11 showed no monitor remaining. The C5 monitor fault was already known; the G3's leak mechanism was not independently measured.

During the same SDR previews, /proc/lg/pe/hdr_status contained VPQ_PQ_MODE_INFO with [0]{hdrStatus:sdr(sdr),colorimetry:bt709,...} for HD and bt601 for SD. The picture settings read still returned dimension: {input: default, dynamicRange: sdr}. The engine status describes the current display processing; settings with an explicit dtv dimension read a stored picture preset. Neither is a per-channel HDR declaration. Named dtv reads returned filmMaker for sdr, hdrStandard for hdr and dolbyHdrCinemaBright for dolbyHdr, without an HDR broadcast playing. Another read on 29 October 2026 returned technicolorHdrTechnicolor for dynamicRange: technicolorHdr. A broadcast reporting Prime needs that settings range rather than sdr; this is a stored preset read, not a Technicolor broadcast reception test.

The API adapter's tv/getChannelList returned 183 terrestrial services, including data and radio, with no HDR/UHD field. Their DVB serviceType counts were 1: 96, 2: 24, 12: 37, 22: 13, 25: 13. The HD entries were AVC (25, hexadecimal 0x19); none declared HEVC (0x1f or 0x20; DVB service-type definitions, table 89). iepg/getChannelList additionally returned 354 IP services, all type 0, also without an HDR field. No catalogue entry had UHD, HDR or 4K in its name. A BBC ONE HD current-channel response reported isHEVCChannel: false. These results provide no known HDR broadcast test source; the IP catalogue does not establish its streams' live formats.

For DVB signalling, VUI transfer_characteristics: 16 identifies PQ. HLG10 can instead use VUI value 14 with alternative_transfer_characteristics SEI preferred_transfer_characteristics: 18. See DVB TS 101 154, clauses 5.14.4.4.2.1 and 5.14.4.4.3.2. Checking only videoInfo.vui.transferCharacteristics === 18 would miss that signalling. Prefer LG's effective hdrType; BT.2020 or UHD alone does not establish HDR. Positive HLG/HDR10 broadcast detection in the page was not tested because no such source was identified.

The picture of an input behind Home (G3, webOS 9.2.2)

With a web app on screen, an HDMI input's receiver stays locked to its source. /proc/lg/hdmi20/port0/status (HDMI 4) kept PHY Lock[1], Sig: [3840]x[2160]@[23]Hz, Video Format[Y444], DeepColorMode[10BIT] and cvi_vfreq[2400]; Sig's rate rounds down, cvi_vfreq is in hundredths of a hertz. The same directory's pkt lists the last packet of each kind as bytes. Its DRM entry (Dynamic Range and Mastering InfoFrame, header 0x87) had EOTF 0x02 (PQ) in the byte after the checksum; an input with nothing connected reads all zeros. Switching to HDMI 4, videooutput's getStatus reported hdrType: HDR10, EOTFtype: 2 and 24 Hz, matching both. When the same source later went back to SDR, the DRM entry was all zeros again, the status read Video Format[R444] and DeepColorMode[ 8BIT] (padded), and videooutput reported hdrType: none. Whether Dolby HDR Info turns to 1 for a Dolby Vision source over HDMI was not seen.

An app's video is gone once it stops, but while it plays videooutput's getStatus names it on the MAIN sink with connectedSource: VDEC: Netflix gave 3840x2160, frameRate: 23.9760246, hdrType: DolbyVision, and the settings service read dimension: {input: 'default', dynamicRange: 'dolbyHdr'}, mode dolbyHdrCinemaBright. A subscription to getStatus answers at once with the current state. YouTube's home page plays a preview (854x480, 25 Hz) on the same sink.

settings/getSystemSettings keeps a picture mode for each input and dynamic range, and reads another input's only when both are given: dimension: {input: 'hdmi2'} answers no result from DB, {input: 'hdmi2', dynamicRange: 'sdr'} answers. Inputs are hdmi1 to hdmi4, dtv, ip and default; the four HDMI inputs had four different HDR modes. An app on screen (YouTube) reads as input default. backlight is kept for each input and picture mode, dimension: {input, pictureMode}, and adding dynamicRange to that answers no result from DB.

luna://com.webos.service.capture/executeOneShot with method: DISPLAY writes a PNG of the screen, web apps included, at the size asked for.

LG's picture settings (G3, webOS 9.2.2)

getSystemSettings {category: 'picture'} without a dimension answers the picture on screen, with dimension: {pictureMode, dynamicRange, input}, and setSystemSettings without one writes there; LG's Settings app (com.palm.app.settings, main.js) does the same. With Home on screen the input is default. getSystemSettingDesc describes a number as values.range: {min, max, interval} (webOS 4's rows used values.min and max), a choice as values.arrayExt, each value with visible and active, and the key itself with ui.visible and ui.active. A list of keys some of which have no description answers returnValue: false with the others in results.

LG's app hides a setting whose ui.visible is false and greys one whose ui.active is false, and the G3's own menu matched the flags: in Cinema and Filmmaker, with Home on screen, Gamma, Colour Temperature and Colour Gamut were inactive in both. Dynamic Tone Mapping, Expression Enhancer, Local Dimming and Precision Detail were not visible.

Each write from LG's app also sets pictureSettingModified, a map of picture mode to true, for the mode on screen when it is not already true; LG's menu then shows the mode as "Cinema (User Settings)" and offers Reset.

blackLevel (Video Range: low Limited, high Full, auto) is a string on an HDMI input and, for default, an object with a value per colour system (ntsc, pal and others). colorTemperature is -50 (Warm 50) to 50 (Cool 50) and tint -50 (R50) to 50 (G50). skinColor, skyColor and grassColor are stored as text, -5 to 5.

A picture mode never adjusted answers its numbers as text (contrast: '95' in Standard); one adjusted from LG's menu, as numbers. Keys the TV keeps but does not describe, such as edgeEnhancer, hSharpness and xvycc, are not in its menu, and a write to edgeEnhancer answered ERROR!! sending a request to DB.

On this European G3, setting energySaving to any step but auto, from outside LG's menu, put LG's "may increase energy consumption of this TV" prompt on screen. The new value held while the prompt waited (a minute and more), OK kept it, and Cancel set auto. No other picture setting raised it.

Aspect ratio, Just Scan and TruMotion are kept for each app, an HDMI input included (com.webos.app.hdmi4). LG's app reads them with the foreground app: {category: 'aspectRatio', app_id, keys: ['arcPerApp', 'justScan']} and {category: 'picture', app_id, keys: ['truMotionMode']}, and writes them with current_app: true. Asked without app_id, aspectRatio answered only arcMenuBySystem and truMotionMode was an errorKey. On HDMI 4 the TV offered aspect ratios 16:9, Original, 4:3, Vertical Zoom and 4-Way Zoom, and TruMotion Off, Cinematic Movement, Natural, Smooth Movement and User Selection. picture.aspectRatio reads 16x9 with Home on screen while LG's menu shows Original, greyed; it is not what the menu uses.

On a C2 (webOS 9.2.2), dynamicColor offers off, low, medium, high and user, and LG's menu calls it Colour adjustment, under Fine Tune. The colorManagement{Saturation,Hue,Luminance}{Colour} keys, -30 to 30, are kept for each input and mode, and LG's menu shows them, for the colour picked in colorManagementColorSystem, only under User Selection. In Game mode the TV describes them as visible and active and keeps written values, yet green at +30 on all three changed nothing on screen with User Selection on; in ISF Expert the same adjustment did. A B8 (webOS 4.4.3) offers dynamicColor only off to high.

The TV's 12 or 24 hour clock (webOS 4.4, 7.6, 9.2)

com.webos.service.systemservice/getPreferences with keys: ["timeFormat"] reads timeFormat ("HH12" or "HH24") from /var/luna/preferences/systemprefs.db. On an OLED65B8SLC (webOS 4.4.3) and an OLED42C24LA (webOS 9.2.2) set to the UK (en-GB, Europe/London), /etc/palm/defaultPreferences.txt seeds systemprefs.db with "timeFormat": "HH12", and LG's Settings app (com.palm.app.settings) has no switch for it (its own menus read localeInfo.clock: "locale"). systemservice/getPreferenceValues with key: "timeFormat" lists ["HH12", "HH24"] on both TVs, and systemservice/setPreferences with timeFormat: "HH12" or "HH24" updates TimePrefsHandler in /usr/sbin/LunaSysService and persists the choice in systemprefs.db. The clocks Glasshouse draws follow it, and a TV that answers without timeFormat is taken as 24-hour.

The screen saver app's QML locale (C6, webOS 11.1)

QML screen savers run inside LG's com.webos.app.screensaver, whose QML locale stays en_US whatever the TV's menu language: on an OLED77C64LA (webOS 11.1.0) set to Swedish, Qt.formatDate(now, "dddd d MMMM") gave "Sunday 22 November". The menu language is read from com.webos.settingsservice/getSystemSettings with keys: ["localeInfo"], as settings.localeInfo.locales.UI (sv-SE): on that TV, adding category: "option" gave an answer without localeInfo, and the dates stayed English until the key was asked for without a category.

Home input titles (G3, webOS 9.2.2)

HDMI launch points added by Glasshouse are bookmarks with systemApp: false. LG's HomeAppListComponent/View/AppTile.qml hides a focused tile's title unless titleVisible is set; otherwise it defaults to systemApp. applicationManager/updateLaunchPoint accepts titleVisible: true, although the on-TV schema does not list it. A read-back preserved the field and the physical Home screen displayed the title immediately, without a Home restart or QML modification. Updating the title can therefore show the port and EIM's CEC names on LG's own Home screen. Long titles use LG's scrolling text.

Home after the boot hook's sam restart (webOS 6.5.3)

On a 55NANO756PR (webOS 6.5.3, firmware 03.53.46) with Quick Start+ and Open Home at power-on off, the boot hook's sam restart, which makes sam read Glasshouse Home, was followed by SAM NL_APP_LAUNCH_BEGIN {"app_id":"com.webos.app.home","caller_app_id":"last_input_handler","mode":"last_input"} at 43 s, over HDMI 1, which bootd had put in front at 20.5 s. LG's own Home stays hidden when launched that way; Glasshouse Home's page opened as a card window over the input. A 48C11LB (6.5.3) showed the same (#1231).

Taking over Home (G3, webOS 9.2.2)

  • The Home button opens com.webos.app.home whatever general.defaultApps names: surface-manager launches it with mode: "hotKey". Back out of an app opens it through SAM's last_input_handler, mode: "last_input". Unlike webOS 10.3 (above), a replacement Home has to bring itself back after LG's appears: LG's showed for 0.17 s after Back and 0.31 s after Home before Glasshouse Home replaced it.
  • defaultApps.home was gone after each full restart, other entries kept. defaultApps.idleApp naming another app does not change where Back out of the last app goes: still com.webos.app.home through last_input_handler.
  • A compositor key filter ahead of LG's that accepts Qt.Key_Super_L (the Home key) and launches an app replaces LG's Home entirely: surface-manager launches that app in hotKey mode, and LG's Home never shows. The filter is loaded from configd at boot, before any Glasshouse process runs.
  • An app declaring "appCategory": ["home"] installs through the developer install service and is accepted as defaultApps.home.
  • The TV starts on the app physicalLastInputApp and lastInputApp name, and a web app is accepted there. After a cold start the web app is opened through com.webos.app.inputcommon, and SAM lists the input app's process as the web app's. closeByAppId then answers true without closing it, and an install over it waits in appInstallService/status state "app closing" with the app locked (launch answers "app is locked") until the TV restarts. Opened any other way, the same app closes and reinstalls normally.
  • From suspend, the TV comes back on whatever was in front.
  • The Home button is evdev code 773 (IR_KEY_HOME, 781, in /usr/share/X11/xkb/keycodes/lg, less xkb's 8), as on a B4 with webOS 10.3. A web app never sees it; held, it reaches /dev/input as down and, later, up.
  • A web app gets OK (13) down and up, and Back (461).
  • A web app's page renders at 3840x2160: devicePixelRatio is 2 at 1920x1080.
  • PalmServiceBridge in the app's own page, file:// or http://localhost, can launch com.webos.app.home, but called about 23 s after a cold start it opened nothing.
  • luna-send run over SSH with stdin at end of file exits 0 and prints nothing; with stdin held open (sleep 5 | luna-send ...), or from node's execFile, it answers.

Cold start with Glasshouse Home as the start-up app (webOS 9.2.2, G3)

Measured on 17 October 2026 by rebooting over SSH with lastInputApp naming com.tvweb.home, capturing the screen with com.webos.service.capture/executeOneShot (method DISPLAY) about once a second:

  • SSH answers about 36 s after the reboot, and the Glasshouse server about 45 s after it.
  • From about 36 s the application manager names com.tvweb.home as the foreground app, but the screen shows the input or channel the TV was last on (Live TV, or HDMI 4), and the app's page never loads the view: no heartbeat arrives, while the same page opened later loads it within a second.
  • applicationManager/launch of com.tvweb.home from the server after that (about 52 s) draws it.
  • The TV's own defaultApps.home is unset after each of these reboots.
  • Home pressed (over SSAP) at about 37 s brought LG's Home to the front: drawn in one run, black for about 6 s in another. The compositor key filter that sends Home to com.tvweb.home from the server's start onwards had not done so.
  • /var/log holds CRIU dump and restore logs for com.webos.app.home and com.webos.app.inputcommon, so those two are restored from snapshots at boot; whether that is why the started app is not drawn is not established.

What the boot hooks wait for (50QNED87T6B, webOS 10.2.2)

Measured from bootd's log and each process's start time in /proc/<pid>/stat:

  • bootd signals core-boot-done at 16.1 s and Live TV is in front at 18 s, but the Homebrew Channel's service, which its core-boot-done activity starts, was started only at 27.5 s, and its startup.sh at about 29 s. It sleeps 2 s, then runs init.d with run-parts, one hook after the other.
  • 20-tvweb-services took 7.2 s, almost all of it systemctl daemon-reload. With another hook that sleeps 5 s before its own work, 50-tvweb started at about 50 s and Glasshouse Home was in front at 53.5 s.
  • With both hooks doing their work in the background, 50-tvweb started at 32 s, Glasshouse Home was in place at 35 s, and bootd had it in front at 43.7 s.

Replacing LG's Home under its id (webOS 9.2.2, G3)

Measured on 17 October 2026 on an OLED55G36LA with a web app's directory bind-mounted over /usr/palm/applications/com.webos.app.home, its appinfo.json naming com.webos.app.home with type: "web".

  • sam takes the type change. After a profile.blockedAppList nudge, getAppInfo reported the app as web with systemApp: true and defaultWindowType: "card", read on the first poll. Unmounting and nudging again brought back native.
  • Everything that opens Home opens it. The Home button (surface-manager, mode: "hotKey") drew it 0.08 s after the press, Back out of the last app and closing the app in front (sam's last_input_handler, mode: "last_input") 0.06 s after the launch, and waking from standby (bootManager) on Home. LG's Home never drew. LG's own Home is a card window too (NL_VSC _WEBOS_WINDOW_TYPE_CARD), and WebAppMgr has no home window type. The compositor launches it with {"activateType": "home", "launchType": "homeKey"}.
  • Nothing calls LG's Home as a service. No luna://com.webos.app.home appears under /usr/lib/qt5/qml or /usr/palm/applications; the compositor's key filters name the id only to launch it. Toasts sent with sourceId com.webos.app.home still showed.
  • The type must not change under a running instance. With the web page still running, sam rereading LG's native manifest left running listing a native app with the web page's process: closeByAppId answered "Message status unknown", the next launch hung for 8 s, and the screen went black until Live TV was launched. closeByAppId on the web app only sends it to the background; WebAppMgr's killApp { appId } ends it, and sam then drops it.
  • The working order is: mount or unmount, nudge, then stop the old instance (kill LG's process, or killApp the page). Where that instance was in front, last_input_handler launched Home again 1.0 to 1.2 s later, as the new app. Each direction took 2.1 to 2.2 s, nearly all of it the nudge's wait. Killed in the background, LG's Home was not started again (so switching from Glasshouse Home to Glasshouse Bar while Home is in front first brings back the previous card app/input so last_input_handler leaves LG's Home closed).
  • LG's Home started fresh took about 3 s to draw: its window was visible 1.2 s after the switch and it logged NL_HOME_SHOWN 1.9 s after that. Restored from its snapshot it drew in 0.2 to 0.3 s.
  • Cold start. LG's Home starts 5 s into boot (BootTimeApps in /etc/palm/sam-conf-tv.json), in the background while the TV shows its last input (12.6 s). A webosbrew init.d hook ran at 24.8 s; mounted, nudged and with LG's process killed it was done at 28.5 s, and Home pressed afterwards opened the web app. The mount does not survive a reboot.
  • Standby. The mount and sam's reading of it outlast suspend: switched on with the remote, bootManager launched the web app as Home.
  • An empty layout hides LG's Home before the hook. With home_layoutShelfView.xml and home_layout.xml in /mnt/lg/cmn_data/manifest holding a <layout type="ShelfView" bgColor="#000000"> with an empty <firstPage>, LG's Home started fresh logged NL_HOME_SHOWN and drew a completely black screen, keys included. At boot it started fresh and read it: with the hooks held back 25 s by a test hook, Home pressed at 32.8 s showed LG's Home, black (every captured pixel 0), until the mount at about 53 s. Its wallpaper comes only from its own bundled images (backgroundImageId opt1 to opt3), so the layout cannot show anything else.
  • The key filter can answer Home before any hook. Glasshouse's filter, loaded by surface-manager from configd, called lunaCall.send("com.webos.applicationManager", "/getAppInfo", ...) and lunaCall.send("com.webos.notification", "/createToast", ...) with sourceId lunaCall.appId, as LG's appLaunch.js does. With the hooks held back, Home pressed at 27.9 s with nothing mounted showed the toast 0.04 s later, over HDMI 4, and LG's Home was not launched; pressed at 54.2 s, after the mount, it opened the web app in 0.19 s.
  • Back out of an app before the hook also reaches LG's Home, through last_input_handler, not the key filter. Closing the browser at 45.9 s, with the hooks held back, showed the empty layout's black screen (every captured pixel 0); Home pressed over it at 51 s showed the toast.
  • A left web app keeps running. com.tvweb.home, an earlier build's Home app with closeOnBackground false, stayed in applicationManager/running after another app came to the front, for minutes, so a removal waiting for it to stop never came. com.palm.webappmanager/killApp with its id closed it; sam stopped listing it, and its removal went through.

Checked on 18 October 2026 on the same TV, with Glasshouse Home in the place:

  • LG's other screens still work over it. The Input picker (com.webos.app.inputcommon) opened over it and switched to HDMI 4. A toast and a createAlert alert showed, and the alert closed with OK. The notification list (com.webos.app.notificationcenter), Search (com.webos.app.voice), the LG Account panel (com.webos.app.overlaymembership) and the full account app (com.webos.app.membership) opened over it, loaded their content, and closing them brought it back. Search logged NL_ACTIVATE_SEARCH with foreground_app com.webos.app.home, as it does over LG's Home, and a result opened HBO Max at the title. Quick settings (the Settings key) opened over it.
  • LG's apps that name the id launch it. First-use setup and the on-timer in Settings launch com.webos.app.home, so open Glasshouse Home. Settings and the weather location app keep the weather location under appId com.webos.app.home, key location, in the settings service, not in the app.
  • The notification list has no other way in. LG's Home has a sidebar with the account, notifications, settings and search; neither the notification list nor Search has a launch point (visible: false). getAppInfo gives each one's title, icon and folderPath. Search's icon.png is a pair of circular arrows.
  • Without the empty layout, a cold start still showed no LG Home. With homeAutoLaunch on and HDMI 4 last, the screen stayed on HDMI 4 from 26 s; the mount was in place at 30 s, and com.webos.service.preloadmanager launched com.webos.app.home at 53 s, after it.
  • The empty layout outlives Glasshouse. With it in place, the server killed without releasing and /var/lib/tvweb moved aside, Home after a reboot drew black. rm -rf /mnt/lg/cmn_data/manifest /tmp/checkpoint/*com.webos.app.home* /mnt/lg/cmn_data/checkpoint/*com.webos.app.home* && reboot brought LG's Home back on its default layout.

Glasshouse Home on webOS 7 (65UQ801C0SB, webOS 7.6.0)

Measured on 22 October 2026 on an LCD 65UQ801C0SB, firmware 04.60.90.

  • LG's Home is the webOS 9 kind. /usr/palm/applications/com.webos.app.home holds a native app (main is /usr/bin/com.webos.app.home, with QML) and the compositor's key filters are the QML ones in com.webos.surfacemanager.keyFilters.
  • sam has neither rescan used elsewhere. profile.blockedAppList is listed in missingConfigs, and blockSystemApp and releaseBlockSystemApp are "Unknown method". Installing and removing a developer app made sam read only that app.
  • sam still reads the list. /usr/sbin/sam names profile.blockedAppList and logs NEW_BLOCKED_APP_LIST_FROM_CONFIGD. While configd has none, sam blocks the list LG's server sent, kept in /var/preferences/com.webos.applicationManager/blockedAppList/IND.json (com.webos.app.livepick-full, google.assistant.promo); the DefaultBlockedAppList in /etc/palm/sam-conf-tv.json was not applied. Writing that list plus an id no app has, then the list alone, made sam report a bind-mounted appinfo.json within 0.5 s, with the same pid, listApps unchanged and IND.json untouched.
  • The takeover works as on webOS 9. Mounted and nudged, getAppInfo reported com.webos.app.home as web, LG's process was stopped, and the Home button (evdev 773, IR_KEY_HOME) opened Glasshouse Home, which drew its rows and opened apps from its tiles.
  • No defaultApps. getSystemSettings in general for defaultApps, lastInputApp and physicalLastInputApp answers returnValue: false with errorKey: ["defaultApps"], and the other two in settings.
  • Cold start. The boot hook had it mounted, nudged and LG's process stopped by 66 s; sam kept the pid it started with, profile.blockedAppList still held the country's list, and MAIN's video sink was not muted.
  • LG's Home is slow to come back. Given its place back and launched, it was in front about 6 s later, against 2 to 3 s on a G3; the screen is black meanwhile.

The screen saver's runner (OLED55A19LA, webOS 6.5.3)

  • qml-runner runs a QML screen saver with its standard output and error on /dev/null: console.log from the saver is lost, and nothing of it reaches /var/log/messages. A saver that ends shows there only as the window going invisible, then tvpowerd going back to Active.
  • The GPU is a single-core Mali-G52 (/sys/class/misc/mali0/device/gpuinfo: Mali-G52 1 cores r1p0 0x7402), with no utilisation figure under sysfs.
  • With Spotify playing behind the screen saver, WebAppMgr kept using about 42% of one core and the compositor 21%; the load average stayed near 38.

The sound output as a capture device (OLED55A19LA, webOS 6.5.3)

Checked with Spotify playing, read-only, on 21 November 2026:

  • /proc/asound/pcm lists card 0 (mlp_scard_audio) with eight software mixer playback devices, two game audio ones, and three capture devices: 00-10: Pcm8 capture App, 00-11: AAC encode capture and 00-12: Pcm9 capture App.
  • arecord -D hw:0,10 -f S16_LE -c 2 -r 48000 and the same on hw:0,12 record the mix the TV is playing, Spotify included: neighbouring samples differ by a fifth of their size, as music does, not noise. Recording did not interrupt playback.
  • PulseAudio runs system-wide (/var/run/pulse/native). Its pcm_output sink was RUNNING, but parec from pcm_output.monitor gave only zeros: Spotify does not play through it.
  • With Spotify in front, the TV still went into the screen saver when idle, though a request to start one was refused as something playing.

The screen saver and the Magic Remote's pointer (webOS 9.2, C2)

Checked on an OLED42C24LA, webOS 9.2.2, with the screen saver started by tvpower over an app (#1364):

  • LG's own screen saver (com.webos.app.screensaver, QML) ends when the pointer moves. Its UIController handles every key, including the webOS.Key_webOS_CursorShow the pointer appearing sends, by calling com.webos.service.tvpower/power/turnOnScreen through WebOSServices' Service; it has no MouseArea.
  • A screen saver mounted in its place with no key handler is not ended by the pointer moving. tvpower ends it on a remote key and, on this TV, on a click; on a C3 with webOS 11.2.0 a click did not end it either.
  • The pointer device (ClickableMouse, /dev/input/event8 here) sends EV_REL movement and BTN_LEFT (272), which an evdev reader such as remotebuttons.py sees whatever is in front.

Methods and keys a TV does not have (webOS 6, A1; webOS 9.2, C2)

  • An OLED55A16LA (webOS 6, firmware 03.53.45) answers com.webos.service.audio/tv/getAudioInputProperty with an unknown-method refusal; audiod logs LS_NO_METH ... Couldn't find method for each call (#1418).
  • Its com.webos.service.tv.systemproperty/getSystemProperties has neither panelUsageTime nor lastCompensationTimestamp ("Not found any keys"), and a C2 (webOS 9.2.2) answers {"errorCode":"ERROR_06","returnValue":false,"errorText":"Invalid argument"} for the same keys. Both give the panel hours from com.webos.service.panelcontroller/getPanelUsageTime.
  • On webOS 5 and 6, a child aborted with libuv's uv_close: Assertion '!uv__is_closing(handle)' before running luna-send while another handle was closing; the A1 logged 314 of these over three days on 0.139 to 0.141 and none in the four days after 0.142.0, which starts each child from a timer (#1215).

Glasshouse Home on webOS 6.4.0 (OLED55C14LB, firmware 03.41.00)

Reported on PR #910 on 27 October 2026.

  • No defaultApps at all. getSystemSettings in general for defaultApps answers returnValue: false with errorText: "There is no matched result from DB", and neither settings nor errorKey, where 6.5.3 gives a partial answer.
  • The last input comes back after sam restarts. With Home held, the release's sam restart gave LG's Home its place and it opened, and about 3 s later the last-input handler put HDMI 3 back over it, as on webOS 5.
  • An app brought back from Recent apps does not move sam's foreground. House, already running, came to the front with no launch, and sam kept naming com.webos.app.home in front for the 20 s until the view was taken for hung. Apps opened from the view's rows did move it.
  • Exiting an app lands on the last input, from LG's Exit dialog or Back on LG's Apps, not on Home.

LG's Home after an app closes (OLED55C16LA, webOS 6.5.3, firmware 03.53.45)

  • sam opens LG's Home about 1 s after the app in front closes. The app's window went at 8932.21 s and last_input_handler launched com.webos.app.home (mode: "last_input") at 8933.23 s, with lastInputApp at com.webos.app.hdmi1.
  • sam skips it when another full-screen app is starting. Glasshouse Home launched on the closing app's close event from applicationManager/getAppLifeEvents was in front 0.12 s after it, and last_input_handler launched nothing in 10 of 10 closes. sam's strings name the case skip_launching_last_input_app.
  • An app left for another gets background, not close. Opening NPO Start over the Glasshouse app gave the Glasshouse app background; close came only from closing it. Switching inputs (Live TV to HDMI 1, HDMI 1 to HDMI 3 and back) gave the input left background each time.
  • An app opening another and exiting sends close while the other starts. Launching Netflix over YouTube and closing YouTube at once gave launch netflix, then close youtube.leanback.v4, then foreground netflix about 0.5 s later. A preload sends preload and background (status preload), not launch.
  • An overlay app comes forward and closes back to the app under it. On an OLED65C11LB (webOS 6.5.3, firmware 03.53.45), the eARC Volume Overlay (com.github.nikolay1243.earcvolume, "defaultWindowType": "overlay" and "transparent": true in its appinfo.json), launched over Glasshouse Home, gave launch, then foreground with windowType _WEBOS_WINDOW_TYPE_OVERLAY (the card under it had foreground with _WEBOS_WINDOW_TYPE_CARD), then close and stop when it timed out. The card got no background. Launched over Live TV, it left Live TV in front after its close.
  • Switching off, tvpower's steps come before any close. With the remote's power key, getPowerState replied Request Power Off, Request Active Standby, Request Suspend and Prepare Suspend, each with state Active and onOff: "off", within 0.14 s. sam's closes followed 0.2 to 0.5 s after the first: windowPolicy for inputs behind the app in front, powerOff for Glasshouse Home, none for AirPlay. State Suspend came 1.74 s after the first step. LG's YouTube in front got background; a sideloaded YouTube build got close, 1.5 s before Suspend.
  • LG's Home takes the screen back while it starts. Covered about 0.1 s after it showed, its card window went invisible and visible again about 0.5 s later with no launch in sam, and sam named it in front. Covering it again at once repeated this up to seven times after one close; covering it once it had been in front 0.6 s did not, in 12 of 12. Its QML shows its window from several launch handlers (launching, relaunching, the registerApp relaunch event, and a launch mode kept until it is ready), and hides it on background, so a handler still to run shows it again. Its own printLog lines go to a com.webos.app.home PmLog context that the firmware does not register, so they are not in /var/log/messages.

Glasshouse Home's frames (C2, webOS 9.2.2; B8, webOS 4.4.3)

Measured with scripts/tv.sh <tv> frames (testing.md), in Alternative View:

  • At rest and scrolling the rows, the C2 had no frame over 17 ms; the B8 had 3 over 33 ms in 30 s of moving along and between rows, the longest 67 ms. Home's own work per key was under 5 ms on the C2 and under 15 ms on the B8, once 30 ms.
  • Opening Recent apps held the C2's page for 300 to 350 ms each time, one long task. The cards' script took about 10 ms; with the apps' screenshots (480 × 270 JPEGs of about 19 KB, five of them) left out the long task went, and with them decoded off the page's thread (decoding="async") too, the longest frame then being 67 to 100 ms.
  • A contributor's G3 (webOS 9.2.2) missed 25 of about 480 frames in 8 s of continuous scrolling (#955), which the C2 did not reproduce.
  • The office G3 (OLED55G36LA, webOS 9.2.2), standard view with a picture wallpaper, 26 November 2026, five runs of each frames scenario on 0.160.0: no frame over 33 ms scrolling 36 keys along the Apps row, its applyFocus 5.6 ms on average. Recent apps opened with one or two long tasks of 53 to 81 ms, the longest frame 100 to 133 ms; the cards' script took under 10 ms. The rest is likely the browser restyling and compositing the page as the rows fade behind the panel (not yet tested). After a reload of the page every row was replaced once or twice more as what was on and the guide came in, 125 to 160 ms each time.
  • The TV's storage manager lists media servers in a new order at each read (attachedstoragemanager/listDevices, eight Sonos speakers on the office network, G3, webOS 9.2.2).
  • Closing Home does not reload it. applicationManager/closeByAppId for com.webos.app.home on the G3, then a launch, reached the page as a webOSRelaunch: the page was not loaded again. tv.sh frames cold reloads the page from its heartbeat instead.

Home pressed with Home in front (C2, webOS 9.2.2)

  • The TV does nothing. With Glasshouse Home in LG's Home's place and on screen, a Home key press (code 773 on /dev/input/event1) logged IM NL_RCU_CONTROL_USE {"key_code":773} from surface-manager and launched nothing, so the page never heard of it and its folder stayed open (#1254).
  • A launch from outside reaches the page as webOSRelaunch. com.webos.applicationManager/launch with com.webos.app.home while it was in front did.
  • webOS 4 differs: the remote key filter launches com.tvweb.home on every press, so the page hears each one (B8, 4.4.3).

Reopening webOS 4's Home app (B8, webOS 4.4.3)

  • Launching com.tvweb.home while it runs only brings it to the front. A page in it that had navigated to another site (a custom launcher's start page going to https://example.com/) stayed on that site through a launch from the server and a press of Home.
  • com.palm.webappmanager/killApp closes it, and the next launch loads its index.html afresh. HDMI 2 opened normally straight after.

LG Home's recent apps (G3, webOS 9.2.2)

Read on 19 October 2026 from LG's Home's QML under the Glasshouse Home mount, and tried over SSH.

  • The panel is part of LG's Home. Back on LG's Home's first page sets uiController.isRecentMode (UIController.qml showRecents), which slides Recents.qml up from the bottom. No activateType or other launch parameter opens it, so nothing outside LG's Home can show it.
  • Its list is com.webos.service.recent, served by the surface manager: listRecents answers recentsAppList, newest first, each with appId, title, cardSnapShotFilePath (a JPEG in /tmp/snapshots/<id>/) and customImageFilePath (Netflix names RECENTS.png of its own). It is not the running list: Apple TV was listed after it had stopped, and YouTube and the browser, kept running in the background, were not.
  • Removing closes. LG's Close and Close all call only removeRecent { appId } and removeAllRecents {}. Each closed the apps it removed: Netflix left applicationManager/running within 2 s, and Close all took Netflix and the Glasshouse app with it while YouTube and the browser, unlisted, kept running.
  • A launched app joins the list once it has been left; launching Home over it is enough.
  • On a G5 (webOS 10.3.1) the service is there with the same answers, but removing does not close: Netflix was still in running after removeRecent and after removeAllRecents, and closeByAppId then closed it. Snapshots are in /tmp, so apps left before the TV restarted are listed with cardSnapShotFilePath empty and only their splashBackground. Checked on 19 October 2026.

Read on 21 October 2026 from LG's Search app's QML (/usr/palm/applications/com.webos.app.voice/qml) and tried over SSH on a G3 in the UK.

  • Search is a luna service. com.webos.service.nlpmanager/search { subscribe: true, query, start_index: 1, max_results: 24, category_name: "movie,tvshow" } answers searchStart, searchConnecting, then searchResult and sessionEnd, in 0.7 to 0.9 s. Without subscribe it is refused (6011, NLP invalid parameter). Root needs no app id (-a).
  • Each result is one title on one service: title, type (movie, tvshow), thumbnail (a 960x540 poster on eic-ngfts.lge.com, with a #ADDSIZE#... hint after it), display_info (release_date, running_time, age_ratings), cp_thumbnail[0].cp_id (the app id: amazon, netflix, com.apple.appletv, com.wbd.stream, com.disney.disneyplus-prod, bbc.iplayer.3.0, cdp-30 for Plex) and action_on_click.launch_parameter.itemId. Dune (2021) came on three services, dated 3 September, 15 September and 21 October 2021.
  • The item's detail names the app's own id. com.webos.service.sdx/send with serviceName sdp_onnow, url content_discovery/item-detail and item_id, item_type=CONTS in bodyData answers in about 0.5 s with item.item_detail.exec_list.execs[]: exec_app_id and exec_id. For Prime Video, Netflix and HBO Max the exec_id was the item id after its first |; for Disney+ it was its own (page=play&id=...).
  • applicationManager builds the deep link. LG's Search launches { id, replaceParams: { deeplinkingParams: { target: "$CONTENTID", value: exec_id } } }, and the app's appinfo.json holds the template, such as {"contentTarget":"$CONTENTID"} (Disney+ and HBO Max add "handledBy":"app"). Prime Video and Netflix opened at the film's page, Apple TV at an episode of Severance after its profile picker, BBC iPlayer at an episode's playback (asking to sign in), and Disney+ and HBO Max stopped at their own first-run privacy prompts.
  • A series opens at its latest episode in LG's own Search: exec_full names it (Severance on Prime Video: series 2 episode 16, a bonus interview; The Bear on Disney+: series 5 episode 8). With item_detail_type advanced the detail adds season_list (each season's conts_season_num and item_id) and tab_episode (that season's items, item_name the episode number, real episodes listed before extras, which Prime Video numbers too). Any other type (full) gives Apple TV's show id. Each item id, less what precedes its first | and LG's tag (AMAZON_, DISNEY_, BBC_, MAX_), is the app's own id. Tried on 21 October 2026: Prime Video's season id opened its season page; Disney+'s season links (page=browse&...) left a blank screen, its episode links played; BBC iPlayer's programme id and a guessed tv/episodes/ link failed or went to its home, its episode links played; Apple TV ignored its show id and a tv.apple.com/gb/show/ link, cold or running.
  • The servers are LG's SDP. sdx/getHttpHeaderForServiceRequest with serviceName sdp_nlp, sdp_search or sdp_onnow answers a top-level HOST (GB.nextlgsdp.com) beside device ids and LG account tokens, which should not be logged.
  • Only that host matters to search (26 October 2026, firmware 23.25.55). Everything blocked gb.nextlgsdp.com and search failed (errorCode 6003, Server response error); Ads & telemetry plus an uploaded list holding only that host failed the same way; Everything with every name but that host searched normally.
  • Apps opened from search (26 October 2026, Ads & telemetry): Prime Video at the Dune and Severance pages, Netflix at Dune: Part Two and Stranger Things, Plex at its film pages, BBC iPlayer playing Doctor Who and All Creatures Great and Small series 1 episode 1, Apple TV at Dune and Severance's latest episode. Apple TV, Disney+ and HBO Max showed a profile picker first when cold: Apple TV then went on to the title, HBO Max to its home; opened again while running, HBO Max played Dune and Succession and Disney+ played The Bear and Loki (protected video captures black, so the episode was not seen). LG's catalogue offered no titles on ITVX, Channel 4, 5, YouTube, Paramount+ or Sky Store for 14 test queries.
  • luna-send over SSH needs stdin closed (</dev/null): without it, it printed nothing and did nothing on the G3.
  • The TV's keyboard. A focused text field brings up LG's keyboard, which takes the arrows. Its Enter reaches the page as key 13; its Back closes it without reaching the page and leaves the field focused, and keyboardStateChange with detail.visibility fires on the document, not the window. com.webos.service.ime/insertText and sendEnterKey type into it over SSH.
  • webOS 4 (B8, 4.4.3) answers the same search with less in each title: no type (the result list's domain, movie or tvshow, gives it), no display_info and no action_on_click. LG's Search there asks for the detail of content_set_id and content_id joined by |, through serviceName sdp_secure; sdp_onnow answers code 0, Error, with no response. On 1 November 2026 Disney+'s and Prime Video's The Office had exec_list entries; Netflix's titles and a Prime Video film were ERROR ITEM NOT FOUND. Netflix's content_id is its own launch string (-Q m=http://api-global.netflix.com/catalog/titles/...&source_type=4). LG's Search puts the exec_id into the app's deeplinkingParams itself, after getAppInfo, or gives it as contentTarget where the app has none.

Channels and the guide (G3, webOS 9.2.2)

  • com.webos.service.apiadapter/tv/getChannelList (the method behind SSAP's tv/getChannelList) lists the tuner's channels with channelId, channelNumber, channelName, Radio, skipped and Invisible: 182 terrestrial channels in London. com.webos.service.iepg/getChannelList answered with none.
  • On a 65SM8500PLA (webOS 4.10.1) with satellite channels tuned, the same call took 3.6 s and answered with 4.6 MB through luna-send -f.
  • com.webos.service.apiadapter/tv/openChannel { channelId } tunes and brings Live TV to the front, from any app. Launching com.webos.app.livetv with channelId or channelNumber does not change the channel while Live TV is open.
  • com.webos.service.apiadapter/tv/getChannelCurrentProgramInfo { channelId } gives the programme on now for any channel, with startTime and endTime in UTC as "2026,10,17,13,40,00" and localStartTime/localEndTime in the TV's zone, once a channel has been tuned since the TV started; before that it has no programme. tv/getChannelProgramInfo and iepg/getEventList returned empty programme lists throughout.
  • With the tuner's channels in use, the call can still answer with no programme for one of them for minutes: BBC One gave none from about 19:24 to 19:33 on 26 November 2026 (office G3), on two builds of Glasshouse alike, then its programme again; the cause was not found. At a programme change it moved on at once: polled every 20 s across 20:00, BBC One and Channel 4 gave the next programme in the first poll after it began.
  • com.webos.service.utp.boot/getLastChannelId names the channel Live TV is on, including one reached with the remote's Channel Up within Live TV, which changes nothing in sam's foreground. Measured on 18 October 2026.

Glasshouse Home's view and the foreground (G3, webOS 9.2.2)

Measured on 18 October 2026 by launching apps over SSH and logging applicationManager/getForegroundAppInfo's subscription.

  • Launching com.webos.app.home from Live TV, the view's /api/home/catalogue request reached the server about 0.2 s before sam's subscription named com.webos.app.home. Whatever the server learns from the foreground changing is not yet known when the view asks for its rows.
  • An app launched cold (Channel 4, BBC Sounds) is named once, 2 to 3 s after the launch, with nothing in between. Once, during the first launch of BBC Sounds that session, LG's app store (com.webos.app.discovery) was named for about 10 s before it; this could not be made to happen again.

Which window has the remote (webOS 6.4.0, C1)

  • com.webos.applicationManager/getForegroundAppInfo names only the app beneath LG's own windows: with Settings, User Guide, Home or Quick Settings open over HDMI 3 it still reports com.webos.app.hdmi3.
  • com.webos.surfacemanager/getForegroundAppInfo lists the windows on screen, each with appId, displayId and windowType: HDMI 3 as _WEBOS_WINDOW_TYPE_CARD, Settings (com.palm.app.settings) as _WEBOS_WINDOW_TYPE_OVERLAY, and Home (com.webos.app.home) as _WEBOS_WINDOW_TYPE_HOME, not as an overlay. Opening User Guide from Settings replaces the overlay with com.webos.app.tvuserguide.
  • Quick Settings (com.webos.app.quicksettings) is not in that list. It is in com.webos.surfacemanager/getFocusedWindowInfo and getForegroundWindowInfo, as SYSTEM_UI_TYPE_OVERLAY. The focused window is the one the remote's keys reach.
  • All three accept subscribe: true. SurfaceManager's replies are formatted JSON over several lines even without luna-send's -f.
  • LG's on-screen keyboard is the MaliitServer surface _WEBOS_WINDOW_TYPE_KEYBOARD. getForegroundWindowInfo lists it while it is open, but it never takes focus, so getFocusedWindowInfo keeps naming the app typed into. With it up, keys sent through networkinput/test/sendKeyCode did not move it; the remote's own input device does.
  • com.webos.service.ime has four methods: registerRemoteKeyboard (subscribe only; currentWidget.focus and the field's content type), insertText (text, optional replace and replaceLength), deleteCharacters (count, optional mode backspace or direct) and sendEnterKey. None checks that the caller registered as a remote keyboard.

Disconnected input devices (webOS 6.4.0, C1)

A stale evdev descriptor can remain readable to select while reads fail or return EOF. Retrying without closing it creates a busy loop. On 14 October 2026, the remote-button worker reached 8.16 million read calls with only 451 KB read, and a top sample showed 85% CPU. Reopening its devices stopped the loop. The patched worker closes EOF/permanent-error descriptors, retains EAGAIN/EINTR descriptors, and retries discovery every five seconds. Four minutes after deployment it had 189 read calls and 0.1% lifetime CPU.

Home screen (webOS 9.2.2, C2)

The home app is com.webos.app.home, a native QML app in /usr/palm/applications/com.webos.app.home/qml. The source is readable. It uses the "multiple home" layout (isMultipleHome), built from Standalone/Components.

The first screen is laid out from an XML file. MainView_M.qml loads /mnt/lg/cmn_data/manifest/home_layoutShelfView.xml (or home_layout.xml, depending on testLayout), and falls back to the copy in qml/UserInterfaceLayer/ when that is missing or empty. The folder does not exist on a stock C2 and is writable. LG's file lists four parts:

type On screen
Hero The banner, and the profile, notification, settings and search icons beside it
Qcard The coloured "Quick Card" ribbon: Get Special Offers, Sports, Gaming, Music
AppList The app tiles
AdShelf Recent Input and Device Functions (Edit App List, TV Guide, User Guide, Home Hub)

A layout with only <item type="AppList" itemX="24" itemY="24" itemWidth="1872" itemHeight="173" focus="true" option="webOS24"/> shows the app tiles alone at the top. The <layout> element also takes bgColor, and type can be ShelfView, LifeStyle or TabView.

Moving the parts is not possible. The parts stack one under another from the top: itemY on the app list, vMargin on <layout>, and a margin item (whose MarginComponent.qml is missing from this firmware) all left the app tiles at the top. Only the banner uses its itemY.

The rows below the first screen (Live TV, LG Channels, Shopping, Amazon, Editor's Pick and others) come from LG's server, as ai_home_info in the reply to a service_setting_secure getConfig request with requester: ai_home. The home app logs that reply to /var/log/home. No setting or layout attribute turns them off: Model/ShelfList.js _filterShelfItem() decides which are shown, so removing them means changing that file.

With Home Promotion off (general.homePromotion), the banner does not go away: it shows "Start a new experience with webOS." and a Go to Apps button. With Content Recommendation off as well (other.contentRecommendation), the advert row shows Recent Input and Device Functions instead.

An HDMI input can be a Home tile. applicationManager/addLaunchPoint with { id: "com.webos.app.hdmi2", title: "Mac", params: {} } is accepted, and the tile shows LG's HDMI icon and opens the input.

A tile can be moved. applicationManager/moveLaunchPoint with { launchPointId, position } (0 is first) changes the order the app manager lists, and the order stays, but the home app shows it only once it starts again. A tile added with addLaunchPoint goes at the end of the apps, and shows straight away.

The banner cannot be blanked. The layout's other banner types, AlwaysReadyPreview and Seiro, in the Hero item's place, draw the same picture, "Start a new experience with webOS." and Go to Apps button while Home Promotion is off. That picture and text are in the home app's own files.

The home app reads its layout only when it starts. Reopening Home does not reload it. Restarting it:

  • applicationManager/closeByAppId only sends it to the background.
  • Killing the process makes the TV restore it from its CRIU checkpoint, so the old layout comes back. The checkpoint is in /tmp/checkpoint/com.webos.app.home, restored from a copy in /mnt/lg/cmn_data/checkpoint/com.webos.app.home (LG's criu_copy_img.sh copies one to the other at boot). With only the /tmp copy deleted, the kill restored the flash copy and the old layout; with both deleted, it starts fresh.
  • A fresh start makes a new checkpoint straight away, and a restart afterwards restores that one.

At boot the home app starts fresh. After reboot (/sys/power/mode reads resume), it was a new process (pid 2442 is simply its place in the boot order), and the copy in flash was rejected: criu images( com.webos.app.home ) hashes are different !!.. will be deleted in dmesg. So:

  • The layout file survives a restart, and a power-on after the TV was unplugged at the wall, with nothing re-applied, since a fresh start reads it. Both booted with /sys/power/mode reading resume and the home app started fresh.
  • A bind mount over one of the app's files (a changed ShelfList.js) does not: the home app starts about 5 s into boot, before anything a rooted TV runs, so it has to be mounted again and the home app restarted.

Undoing it: deleting /mnt/lg/cmn_data/manifest and restarting the home app brings back LG's layout. Launch points added with addLaunchPoint are removed with removeLaunchPoint.

Which TVs have this home app. Glasshouse's Home screen layout is offered only on webOS 9. webOS 3 and 4 have a different, plainer home app, and webOS 10 and later have a Flutter one (its log lines come from flutter-client). The QML has code for LG's webOS 23 (webOS23Test, the webOS23 app list style), so a webOS 8 TV may read the same layout file; that has not been tried.

The time service's sources (webOS 4.4.3, B8; webOS 9.2.2, C2)

com.webos.service.systemservice/clock/getTime with { "source": name } answers a source's time and priority: manual 0, micom 1, broadcast 2, sdp 4, with system the clock itself and systemTimeSource the source it follows; ntp, rtc, local, network and user are "not registered". The higher number wins: the B8, with an aerial and a broadcast time answering, followed sdp, as did the C2, which has no broadcast time. clock/setTime with source: "sdp" sets the clock on both. A reporter's TV answered every hourly sdp set and stayed about 6940 s out, the correction the same each hour bar a few seconds a day of drift (#1201); what it follows instead is not known yet.

The clock since boot stops in suspend (webOS 4.4.3, B8)

With Quick Start, the B8 suspends in standby, and /proc/uptime and /proc/stat's btime leave the suspended time out: rebooted at 07:47 UTC and put in standby twice, it gave its boot as 18:18 the same day. Time since boot, and a boot time worked out from it, are wrong on such a TV after its first standby.

Timers stop in suspend (webOS 10.3.2, 75QNED80ARA)

Node's timers stop while the TV is suspended, and the wall clock runs on. With Quick Start+, Glasshouse Home's page kept sending its heartbeat in Active Standby, so a heartbeat check was pending at the suspend. After five minutes off it fired as the TV resumed, 250 ms after the server saw the screen on in one wake and before it did in another, and took the view, which had not yet had a chance to beat, for hung (#1277).

Switching off without Active Standby (webOS 4.4.3, 49SK8500PLA; webOS 5.6.2, OLED48CX8LC)

An LCD, and an OLED that is not running panel care, go from Active to Suspend at once. Glasshouse logs Active -> Suspend and TV switched off 10 to 25 ms apart, and the system is asleep after that: the clock since boot moved 2 s across a 140 s standby, and the watchdog reported resumed after 140s suspended. Home Assistant saw nothing of the "off" status published in those milliseconds, only the broker's will once the connection had been silent for its keepalive.

Changing the will as the TV switches off does not finish in that time either: on the 49SK8500PLA, switched off at 20:09:39, the broker published the old will, offline, at 20:09:54 (keepalive 10 s). The OLED48CX8LC did the same twice: the reconnect with the new will was logged 3.3 s after the switch-off, and the will that came out 15 s later was still offline. After a Wake-on-LAN into Active Standby, which leaves seconds before it sleeps again, the change did take and the will came out as asleep.

What a TV has written in its last moments before it sleeps stays in its send buffer and goes out as it wakes. On the OLED48CX8LC an off published at the reconnect just before it slept reached the broker a second before the TV's own power answer, which showed Power off for that second.

An OLED running panel care (OLED48C31LA, webOS 11.2.0) goes Active to Active Standby first and stays up for 6 to 15 s before Suspend, and its "off" arrives.

Keeping a TV awake while off (webOS 4.4.3, B8)

The question was whether the B8 could stay reachable while switched off, as the C2 does with LG's Stay connected (general.alwaysOn, Active Standby at 12.5 W). It cannot in any useful way.

  • Switching off passes through Active Standby: screen off, everything running, at about 37 W on an OLED65B8SLC (50 W on). With Quick Start+ it then suspends to RAM, and the PSU clicks off. Panel maintenance after switch-off runs in that Active Standby state.
  • com.webos.service.tvpower takes votes. Programs register with power/registerSuspendRequest, registerPrepareSuspend and registerActiveStandbyRequest ({ clientName, subscribe: true }), and answer with the matching response… method. power/getClientList lists them; besides LG's services, homekit, physical-device-manager and webos-connman-adapter ask for Active Standby, and the AirPlay module votes on suspend. homekit answers { "clientName", "ack": true|false, "timestamp" }, echoing the request's timestamp.
  • Refusing to suspend does not keep it awake. With a client registered on all three answering ack: false to suspend and ack: true to Active Standby, the next switch-off went from 37 W to 0 W and the TV booted from scratch when switched on again (uptime 156 s, power-on reason remoteKey), instead of resuming. A switch-off with no such client resumed with its uptime intact.
  • Even held there, 37 W around the clock is about 0.9 kWh a day. The low-power awake state behind Stay connected arrived with LG's 2022 TVs (webOS 7).

Standby power with Stay connected (webOS 9.2.2, C2)

With general.alwaysOn on and the TV switched off (power/getPowerState reads Active Standby), an OLED42C24LA drew 11.9 to 12.2 W at the wall. The processor is fixed at 1.4 GHz (the only frequency offered, performance governor), and LG runs three of its four cores, switching cores on and off itself (224 core starts in five hours). About 40% of those three cores was in use: ls-hubd, iconnectivity, Glasshouse's server and YouTube kept ready. None of it showed at the wall:

Change Draw
None 12.0 W
Glasshouse's server and watchdog stopped 11.9 to 12.2 W
Also down to two cores (LG kept bringing a third back) 11.9 to 12.1 W

iconnectivity cannot be stopped: ls-hubd starts it again on demand within 5 s. The load average of about 12 comes from a dozen of LG's driver threads in uninterruptible sleep, not from work.

LG's blocked-app list on webOS 10 (C2, webOS 10.3.1)

On a C2 updated to webOS 10.3.1, adding an app on the Home screen (com.webos.app.camera) to configd's profile.blockedAppList left it on Home and sam's pid unchanged, checked from 0.01 s to 10 s after. On webOS 9.2.2 the same change takes the app off Home within 2 s, which is how tile hiding and screen savers make sam reread apps without restarting it (#366). /usr/sbin/sam names profile.blockedAppList on both, so webOS 10's sam has the setting and does not act on it.

What webOS 10's sam does act on is applicationManager/blockSystemApp followed by releaseBlockSystemApp for one app id. On a C5 (webOS 10.3.1) with a bind mount over com.webos.app.screensaver that changed its manifest from Flutter to QML, the two calls returned within the same second, getAppInfo reported type: qml at once, sam kept its pid, and LG's /var/preferences/com.webos.applicationManager/blockedSystemAppList/USA.json (eight ids there) was byte-identical before and after. The block does not stop a running instance. The screen saver then ran under qml-runner, and two screen saver, standby and wake cycles left the picture intact (YouTube reached the MAIN sink with activation: true). The same calls have run at every boot of an LG Home replacement on that C5 since 2026-10-11. A reboot between the two calls would leave the app blocked, so they stay together and the release is retried.

Not every sam with the block has the release. A G3 (OLED77G3PUA, webOS 8.4.0, firmware 13.40.76) took blockSystemApp for com.webos.app.home and answered releaseBlockSystemApp with Unknown method "releaseBlockSystemApp" for category "/" (-1); LG's Home then answered a launch with -101 "not exist" until a reboot cleared the block, and blockedSystemAppList was not on disk (#1493). A C2 (webOS 9.2.2) answers the release the same way, though /etc/palm/schemas/sam/applicationManager.blockSystemApp.schema is there, so the schema does not say the release is. A release of an app that is not blocked changes nothing (a C5 answers returnValue: true), so it is asked first, and nothing is blocked where it is unknown.

webOS 11 changes the block's parameters. On a G3 (OLED65G36LA, webOS 11.2.0, firmware 43.21.71) /etc/palm/schemas/sam/applicationManager.blockSystemApp.schema requires forceBlockSystemApp as well as id ("force blocking system app for WEE platfrom"), and {"id":...} alone is answered errorCode 2, "invalid parameters"; a C2 on webOS 10.3.1 requires only id. With "forceBlockSystemApp": false the block returned true, the release (still id alone) took it out, blockedSystemAppList/GRC.json was byte-identical afterwards and sam kept its pid. A QML screen saver over the Flutter one was then reported as type: qml, ran, and held through standby and a full reboot, with ARC sound and HDMI-CEC working afterwards (#768). The same G3 has no profile.blockedAppList: getConfigs lists it in missingConfigs.

On that C5 a standby after about a day of uptime ends in LG's own refresh reboot (PowerOnReason: rebootByOnRegular, next to "Instant Boot Refresh Timeout" in tvpowerd), which clears tmpfs and bind mounts; and sam came back as the same pid after it, so a pid check alone does not show a restart there: ps -o etime and /proc/uptime do.

Instant Boot Refresh and 4 h forced power-off (G4, C2, webOS 10.3.1, 9.2.2)

In LG's tvpowerd (webOS 7 and later), when uptime passes 24 h (stock threshold 1440 min), switching the TV off initiates an Instant Boot Refresh reboot (rebootByOnRegular) roughly two minutes later.

When the TV boots into Active Standby, QuickBootdMgr::startActiveStandbyForcedOffTimer checks whether alwaysOn is enabled. At ~11 s into boot, settingsd has not delivered the setting yet (which arrives at ~16.5 s). Because the in-memory flag is 0 at 11 s, tvpowerd arms a hardcoded 14,400 s (4-hour) forced power-off timer (Forced Power Off Timer start(period:14400)). When alwaysOn: 1 arrives 5 s later, setAlwaysOn updates the flag but does not cancel the running timer. Exactly 14,400 s later (at 14,410 to 14,412 s of uptime), the timer fires and calls powerOffActiveStandby("offByWarmWait"), cutting power completely (Active Standby -> Power Off). This explains the 14,411 s cold power-off observed on the C4 below and on the C1 in #1199.

Entering Suspend (setPowerState) clears the timer. When rebootByOnRegular occurs inside the 5-hour Nightly power-down window (e.g. 03:00–08:00), the TV transitions to Suspend roughly two minutes later, clearing the timer and preventing the 4 h forced shutdown.

The refresh threshold is managed in memory via luna://com.webos.service.qbd/getResetTime and com.webos.service.qbd/setResetTime {"timeMin": min} (which forwards to com.webos.service.aos). Both answer timeMin: 1440 by default. Raising timeMin dynamically pushes the threshold so that the reboot only fires during the nightly power-down window, avoiding daytime drops to Power Off (#1288).

The TV's time zone (C5, webOS 10.3.1)

com.webos.service.systemservice/time/getSystemTime gives the time zone with the time: localtime as year, month, day, hour, minute and second, utc in Unix seconds, offset in minutes (120 in Ljubljana in October), timezone (Europe/Ljubljana), TZ (CEST), isDST and timeValid. localtime less utc matched offset. Watch time works its offset out from localtime and utc. Which of these fields older webOS versions give is not yet known.

The browser's locale (C5, webOS 10.3.1)

With the TV's language set to Russian, the web app browser (Chrome 120) reports navigator.language as ru-RU, but Intl.DateTimeFormat() resolves to en-US, so toLocaleDateString() without a locale gives Saturday and October. Given ru it gives суббота, and with a day 24 октября. Glasshouse Home names the page's language when it writes the date.

Toasts as the screen comes on (C4, webOS 10.3.1)

A toast sent through com.webos.notification/createToast in the moment turnOnScreen brings the screen back is accepted (returnValue: true) but not seen. The same toast sent with the screen already on is. Screen-time limits wait 5 seconds after the screen comes on before sending one.

turnOffScreen while LG's screen saver is showing does not hold: tvpower goes from Screen Saver to Screen Off and back to Active 0.2 s later, with the screen on. From Active it holds. Screen-time limits dismiss the screen saver with Back first, as the screen saver tab does.

Toasts with an icon (C1, webOS 6.5.1)

Toast.qml knows three types. standard, the default, is the toast at the bottom center, text only: its icon slot is 0 wide. advanced is the same 900-wide toast at the bottom with a 66 icon, and is clickable when it has an action. light is the small toast that slides down at the top right, 50% black, with a 36 icon, between 150 and 450 wide. The icon is iconUrl, a local file: SystemUI/Notification/Toast.qml passes it through Utils.applyImagePath. Sizes are at 1080p (NotificationStyle.qml). A toast stays about 5 seconds whatever is asked.

On a B8 (webOS 4.4.3), createToast refuses type: advanced with "Message is not parsed", with or without iconUrl; light and standard work, light with its icon. A C2 (webOS 9.2.2) shows all three.

Switching off (C5, webOS 10.3.1)

power/powerOff with reason remoteKey switched the TV off, going Active, Active Standby 3.3 s after the request, then Power Off 5.7 s later, but its answer was taken as a failure: a second powerOff with reason localKey got "com.webos.service.tvpower/power is busy". From Power Off, switching on with the remote booted the TV from scratch (uptime 42 s), so the server started again.

The Magic Remote's battery (C4, webOS 10.3.1)

/mnt/lg/cmn_data/mrcu/mrcu1.info is written when the remote pairs and not after: on a C4 its time and Paired Time were the same, a day old. Its Battery = 52(M) 35(L) is not the charge. /usr/sbin/lginput2, which writes it, logs the same pair as Battery threshold : Mid %d, Low %d, and an MR24 on a C4, the remote on a C5 and the remotes in the test fixtures all read 52. mrcu1.scd has BA 35, the Low threshold.

Swapping the batteries left mrcu1.info unchanged. The remote's reconnect went out from com.webos.service.mrcu as getConnectionStatus replies, with no battery in them, and the binary .dcd file beside it was rewritten. Nothing else showed a level: /sys/class/power_supply is empty, the system log has only button presses, and getDiagnosisItem stays empty. getDeviceInfo answers "Invalid Parameter" to {}, deviceId 0 and 1, and deviceType mrcu, MRCU and 0.

The remote has the standard Battery Service, and com.webos.service.bluetooth2 reads it. The remote is in device/getStatus (name LGE MR24, type ble), but gatt/getServices answers "Device is not connected to profile" until gatt/connect is called with its address, which returns a clientId. After gatt/discoverServices, the remote lists 180f among its services, and gatt/readCharacteristicValue with that clientId, service 0000180f-0000-1000-8000-00805f9b34fb and characteristic 00002a19-0000-1000-8000-00805f9b34fb returned "bytes": [61] with old batteries in it. The call takes no address. The characteristic also has notify. gatt/disconnect with the clientId ended it, and the remote worked after each of the two connections. How often this can be done without disturbing lginput2's own connection, and whether webOS 9 and earlier have these calls, is not yet known.

On a B8 (4.4.3) and a C2 (9.2.2), getConnectionStatus asked once answers isBleRemocon: false even with the Magic Remote connected. Subscribed, the update sent as the remote wakes has connected: true, isBleRemocon: true, and the one as it sleeps keeps isBleRemocon: true.

On the B8, getDeviceInfo with deviceName MagicRemote_1 answers batteryLevel 49, and 63 once other batteries were put in: the charge, not a threshold. Its mrcu1.info (in /mnt/lg/cmn_data/btsvc) has no battery line. Its gatt/connect answers appId and no clientId. The C2 answers batteryLevel "-".

A user's webOS 5 TV, on v0.97.0, the first release whose read reached gatt/connect, had a remote with no pointer and some buttons ignored after the TV woke from standby, until a reboot. Not yet confirmed from its log; the read over Bluetooth is held to webOS 9 and 10 meanwhile.

On the B8, lginput2 once started a diagnostic capture, a /tmp/var/log/<date>_MRCU.log with columns for motion, RSSI, voltage, temperature and gyro, beside a ManualDevice-<remote MAC>-rawInput.dsf. A new mrcu_LS2 thread started with it and used a whole core until the TV was rebooted, through a night in standby. lginput2's luna methods include enableLoggingMotion, getSensorData and enablePrintRfStatus, none of which Glasshouse calls; getConnectionStatus and getDeviceInfo left it at 0%.

The ?, 123 and Home Hub buttons in the key filters (C5, webOS 10.3.0)

On an OLED48C56LB (webOS 10.3.0) with an MR25GA, LG's appLaunch.js in /usr/lib/qt5/qml/KeyFilters/ names the ? button as WebOS.Key_webOS_Multikey: a press calls launchAccessibility, and a 2 s hold, timed by longPressTimer, launchAccessibilityOverlay, unless settingsService.disableAccessibilityLaunch. The key reaches Linux as code 1124, IR_KEY_MULTIKEY. The Home Hub button (IR_KEY_INPUT_HUB, Linux code 1023) reaches the filters as Qt.Key_Video (0x010000f3 in /usr/share/X11/xkb/keycodes/lg): appLaunch.js launches inputHubAction.appId with the last input (applicationManager.checkLaunch), passing the key on where that app is already full screen, or, where inputHubAction.action is showInputPicker, shows com.webos.app.quickinputpicker.

The 123 button reaches the filters as WebOS.Key_webOS_ScreenRemote (Qt 0x01200032; Linux code 994, IR_KEY_SCREEN_REMOTE). appLaunch.js sends it on to YouTube's window, leaves it to a foreground app whose info has handleScreenRemoteKey (the web browser shows its own menu) and to the screen saver, opens com.webos.app.multiviewsettings in multi-view, and otherwise asks systemUIManager/launch for com.webos.app.screenremote: LG's on-screen remote, here a list of the user manual, Sport, Quick Help and the four colour keys. That id is not an app (getAppInfo refuses it); systemUi.js closes it as screenRemoteView. Held, the button toggles audio description, AD/SAP printed under it.

Which Magic Remote model the TV knows (C5, webOS 10.3.0)

On an OLED48C56LB (webOS 10.3.0, firmware 33.30.80) with an MR25GA, by its label, the remote's model is in every place that keeps its Bluetooth name: bluetooth2/device/getStatus lists it as LGE MR25GA (typeOfDevice ble), mrcu1.info has Name = LGE MR25GA with fwVer, the first line of mrcu_info beside it is LGE MR25GA, pairing_history there logs MR25GA <firmware> PAIR_OK(KEY_OK) among other Bluetooth devices' events, and lginput2's NL_BUTTON_CLICK lines in /var/log/messages carry "remote_type":"LGE MR25GA". The input devices carry no model: LGE M-RCU - Builtin [0] to [2], vendor and product 0. mrcu/getDeviceInfo with MagicRemote_1 gives the slot, the address and, while the remote is awake, its firmware, but no name. The name is the remote's own; nothing checks it against the hardware.

MR25GA battery (C5, webOS 11.2)

OLED77C5PUA.DUSQLJR, firmware 43.21.31, read on 3 November 2026: getDeviceInfo with deviceName: "MagicRemote_1" returned batteryLevel: "-" and a zero address while asleep, then batteryLevel: "MID" and the paired address while awake. lowStrength: false is signal strength, not charge, and the pairing file's 52(M) 35(L) is the remote model's thresholds.

On the awake LGE MR25GA, bluetooth2 gatt/connect returned a clientId. After gatt/discoverServices, gatt/getServices listed service 180f with characteristic 2a19 (read: true, notify: true), and gatt/readCharacteristicValue with that clientId returned bytes: [46] (and [42] on a later read). After gatt/disconnect, gatt/getStatus reported connected: false and discoveringServices: false, while LG's remote service still reported connected: true. Because standby/wake cycles have not been tested on webOS 11, the C5 uses getDeviceInfo's "HIGH", "MID" and "LOW" steps without opening a GATT connection.

No firewall in the kernel (50QNED80A6A, webOS 10)

A 50QNED80A6A on firmware 33.31.61 (LG's webOS 25, kernel 5.4.268, rooted with Dangbro) has iptables 1.8.7 (legacy) but no packet filtering in its kernel: iptables fails with can't initialize iptables table 'filter' after modprobe finds no ip_tables module, /proc/net/ip_tables_names and /proc/net/netfilter do not exist, and there is no nft. Developer Mode's debugger on port 9998 stays reachable from the network (#699).

/etc/systemd/system/scripts/webapp-mgr.sh exports ENABLE_INSPECTOR=1 and starts WebAppMgr with --remote-debugging-port=9998 whatever the mode (its comment says "if in developer mode", but nothing tests for it). With Developer Mode on (/var/luna/preferences/devmode_enabled is a directory), both a C2 (webOS 9.2.2) and the second TV in #699 listen on 0.0.0.0:9998. An earlier note here that a C2 did not listen on 9998 was mistaken. LG's browser engine, /usr/lib/libcbe.so, names remote-debugging-port but no remote-debugging-address, so the debugger cannot be bound to loopback by a switch: without a firewall, only leaving out the port switch, which needs WebAppMgr restarted, or turning Developer Mode off closes it.

A 50NANO753PR on firmware 03.53.45 (webOS 6.5.3, kernel 4.4.84) has no ip_tables either, and no tcpdump or strace.

App jails and DNS (50NANO753PR, webOS 6.5.3)

Native apps run in a jail, /var/palm/jail/<id>, made by /usr/bin/jailer from /etc/jail_*.conf. YouTube (youtube.leanback.v4, Cobalt, "type": "native", "privilegedJail": true) runs in one. /var/palm/jail also held jails for Netflix, Amazon, the web browser, Jellyfin's service, LG's voice and ThinQ adapters, and wap.

  • A chroot, not a container. YouTube's process has the jail as its root (/proc/<pid>/root) and the same mount, network and UTS namespaces as PID 1, so a mount made on the TV under the jail is what the app sees, and it reaches connmand's relay at 127.0.0.1:53.
  • resolv.conf and hosts are copies. The jail's etc/resolv.conf and etc/hosts are plain files. jail_native_builtin.conf names copy /etc/hosts; nothing there names resolv.conf, yet it is copied too. Both are written each time the jailer resets the jail, which touches jail-reset.6.5.3-47 in it: at every launch, including the preload manager's own relaunches in the background after the app was killed. The jail's other directories persist between launches.
  • The hosts copy can predate the ad blocker. After a reboot, YouTube's jail was reset at 21:47:58 and Glasshouse mounted its table over /etc/hosts at 21:48:17, so YouTube had LG's 237-byte file until its next launch, which copied the 5617-byte table.
  • Cobalt uses the jail's resolver. Its binary calls getaddrinfo (glibc 2.28 in the jail) and holds no DNS-over-HTTPS or fixed resolver names. With the jail's resolv.conf naming a logging relay on 127.0.0.53, YouTube sent it www.youtube.com, www.gstatic.com, i.ytimg.com, redirector.googlevideo.com and others, and played normally.
  • Only a write after the copy holds. A writable bind mount over the jail's resolv.conf stays mounted, but the next launch copies the TV's file through it. A read-only one makes the copy fail: YouTube did not start, its jail-reset marker was gone, and a launch sent after the mount came off was not logged by sam; the next one, 2 minutes 47 seconds after the failed launch, started it normally. Writing the file again right after the copy worked: the copy came 1.5 s before YouTube's first lookup. Rewriting it while YouTube ran brought no lookups to the new server in 70 s, so a running app is not counted on to read it again.
  • An app can open before the server. In one boot, Glasshouse's boot hook ran 34 s in, YouTube was opened from Home at 36 s (its jail reset then), and the server was listening at 48 s. That YouTube kept the TV's DNS until it left the screen 7 minutes later and a new YouTube process started.
  • Web apps cannot be told apart. They all run in WebAppMgr, one process outside any jail. (webOS 4.4.3, B8; webOS 9.2.2, C2)

The compositor (surface-manager) runs every remote key through a chain of JavaScript filters named in the configd key com.webos.surfacemanager.keyFilters: { file, handler } pairs, LG's from /usr/lib/qt5/qml/KeyFilters/ (appLaunch.js, systemUi.js and others; 12 entries on a B8, 18 on a C2). Each handler returns KeyPolicy.NextPolicy to hand the key on, Accepted to consume it, or NotAccepted to pass it to the app in front. Remote Keys puts its own filter first.

  • Rebuilt on a change. Writing a new value to the key makes the compositor load its filters again at once. configd does not report a value written unchanged, so a filter file changed in place needs the entry taken out and put back.
  • Read at boot. configd keeps the value, and the compositor loads the chain before Glasshouse starts: after a reboot, a key mapped there opened its app 35 s (C2) and 40 s (B8) in, with the server not yet running.
  • A missing file is skipped. With the first entry naming a deleted file, after a reboot the next filters still ran: the TV key opened Live TV through LG's filter on both TVs.
  • Keys sent over the network go through it. com.webos.service.networkinput/test/sendKeyCode with a Linux key code (the IR_KEY_* value in /usr/share/X11/xkb/keycodes/lg less 8: Blue 401, TV 377) reached a mapped key's filter like the remote's own press.
  • A filter can send keys over the network. On a C3 (webOS 10.2.2) the filter's own lunaCall.send to networkinput/test/sendKeyCode with play 207, pause 119, stop 128, rewind 168, fast forward 208, volume up 115, volume down 114 and mute 113 acted as the remote's keys. A play/pause toggle that first asked com.webos.service.acb/getForegroundAppInfo (then com.webos.media's) and sent pause or play did nothing.
  • A mapped microphone button can switch the TV off. Power off in Remote keys was tested with the microphone button on an OLED65C43LA, webOS 10.3.1, firmware 33.31.61. The filter requests standby through tvpower on release.
  • A rebuild re-runs LG's init()s. In Game mode each write of the key opened the Game Dashboard (NL_GAMEDASHBOARD_ENTERED, "entered_by":"HotKey" in /var/log/messages) on the C2. Launching an app the same way does not.
  • Filters can subscribe over luna. LG's use the global lunaCall.subscribe( service, method, payload, callback, true). A filter subscribed to com.webos.service.config/getConfigs gets a changed value about 0.1 s after setConfigs, on the B8 and the C2, so its behaviour can change with no rebuild.
  • The voice assistants' buttons are ordinary hotkeys. On a C2 (webOS 9.2.2) appLaunch.js handles Key_webOS_ALEXA (IR 1094) and Key_webOS_GoogleVoice (IR 1125) like the streaming buttons, launching the assistant's app on a press, while the microphone button (Key_webOS_Voice, RF 436) goes to voice control. The same file names about 20 regional streaming buttons (Hotstar, Stan, Wavve, U-Next, TVer and others). A 55QNED70A (webOS 10.3.1, Brazil) names the same set, among them Key_webOS_Globoplay, which opens globoplaywebos and is on Brazilian remotes. An OLED77B46LA (webOS 10.3.2, United Arab Emirates) names Key_webOS_Shahid (IR 1092, Qt 18874462), which opens net.mbc.shahid-lgapp and is on Middle East remotes (#1348). On a CX (webOS 5.5), the microphone button set to an app through the filter opened it on a press and on a hold alike, and set back to LG's own it started voice control again (#1034).
  • Red and Green pass straight through on webOS 4. On a B8 (webOS 4.4.3), /usr/lib/qt5/qml/KeyFilters/ matches WebOS.Key_webOS_Yellow (appLaunch.js, a 5 s hold calling global.launchAGP) and WebOS.Key_webOS_Blue (systemUi.js, magnifier.blueReleased()), while WebOS.Key_webOS_Red and WebOS.Key_webOS_Green have no filter case and reach the foreground app directly, though libwebosglobalplugin.so and /usr/share/X11/xkb/keycodes/lg (IR_KEY_RED..IR_KEY_BLUE, 406–409) define all four.
  • Filters get the compositor's timers. StarfishKeyFilter.qml hands every filter genericTimer (set(ms, callback), cancel, isRunning), as LG's appLaunch.js uses it. On a change to the key it cancels every genericTimer, destroys the filters and loads them again, running each init(). On a G3 (webOS 9.2.2), a 90 s timer set in Glasshouse's init() ended its hold on Home: with starting set and nothing mounted, Home 5 s and 30 s after a reload showed the toast and stayed where it was, and 96 s after it opened LG's Home. Date.now() cannot time this: the system log starts at 2023-01-01 and jumps when the TV sets its clock.
  • Home sent over the network does nothing. On the G3, sendKeyCode with 773 (IR_KEY_HOME 781 less 8) neither opened Home nor reached the hold, while Search (217) and Settings (139) did. Writing 773 to the remote's own input device (LGE RCU in /proc/bus/input/devices, event0) acted like the remote's Home.
  • configd takes any name and cannot forget one. setConfigs stores a key it has never heard of (glasshouse.remoteKeys) in /mnt/lg/cmn_data/var/preferences/configd_factory_db.json, kept across reboots. There is no delete method, and setting null is ignored.

The microphone and Google Assistant on the evdev device (C2, webOS 9.2.2)

Read on 28 October 2026 for #1088, with an MR22 Magic Remote. Both buttons arrive on the remote's own input device (LGE M-RCU - Builtin [0]) as key codes 428 (the microphone) and 1117 (Google Assistant), LG's xkb codes 436 and 1125 less 8, while lginput2 logs KEY_VOICE and KEY_GOOGLEVOICE. A C9 on webOS 4.10.2 reports 428 for the microphone too. With either set in Remote keys, the compositor's filter keeps the press from LG and the device still delivers it.

Typing into apps that ignore LG's input method (55UM7290PTD, webOS 4.10.2, Glasshouse 0.132.0)

The dashboard's keyboard box types through com.webos.service.ime (insertText, deleteCharacters, sendEnterKey), which only reaches LG's own text fields. ime/registerRemoteKeyboard with {"subscribe":true} answers at once with currentWidget; on a screen with no LG field it was {"currentWidget":{"focus":false}}. The answer on a focused LG field was not read on this TV.

  • Native apps (Nuvio Legacy 2.0.8, SDL). networkinput/test/sendKeyCode with Linux evdev codes typed letters, space and backspace into its search (KEY_B 48, KEY_H 35, KEY_I 23, KEY_SPACE 57, KEY_M 50, KEY_BACKSPACE 14). The call takes one code and no modifier, so there is no shift. Digits and unshifted punctuation were not tried. Nuvio treats s as a shortcut for its Saved panel even while its search has focus, so s cannot be typed this way; pressing OK on its search box opens LG's keyboard, where the input method types everything. Back to back, a letter was sometimes lost, so the keys go about 60 ms apart.
  • YouTube (youtube.leanback.v4), a web app. IME, sendKeyCode, writes to the remote's evdev node and a uinput keyboard did nothing in its own on-screen-keyboard search. The web app debugger on 127.0.0.1:9998 lists its page in /json as type page, title "YouTube on TV", URL https://www.youtube.com/tv?.... Chrome DevTools Protocol over the page's webSocketDebuggerUrl, Input.dispatchKeyEvent with {type: "keyDown", key: "a", code: "KeyA", text: "a", unmodifiedText: "a", windowsVirtualKeyCode: 65, nativeVirtualKeyCode: 65} then the same as keyUp, typed "a" into the search. Sent back to back, the results matched the query but the box showed some letters missing; about 60 ms between keys keeps them. Backspace (rawKeyDown, code 8) deletes, and on an empty box it acts as Back. Chromium is 53 (WebKit 537.36), protocol 1.1. devtools.js only drops port 9998 for traffic that is not on loopback, so this is not affected by closing the debugger to the network.

Glasshouse picks between these by the app in front; docs/IMPLEMENTATION.md has the order.

LG's Home started again behind Glasshouse Home (G3, webOS 11.2.0)

Reported in #1042 by BlueSink from an OLED77G3PUA, firmware 43.21.71. A minute or two after the takeover stopped LG's Home, with sam already reporting com.webos.app.home as web in the home category, new flutter-client -i com.webos.app.home processes appeared, launched by com.webos.service.preloadmanager. Home presses then logged five or six SAM NL_APP_LAUNCH_BEGIN for com.webos.app.home (caller com.webos.starfish.keyfilters) with no LSM NL_VSC after them, while launches by luna-send still drew the view. Stopping LG's Home every few seconds and preloadmanager/setPreloadPolicy with {"application":{"id":"com.webos.app.home", "isEnabled":false}}, sent again about once a minute, kept Home opening through reboots.

The preload manager launching Home during playback (B4, webOS 10.3.2)

Reported in #1372 from an OLED77B46LA, with Glasshouse Home in LG's Home's place. While Jellyfin played a 4K Dolby Vision file at 94 Mbps, with MemAvailable under 200 MB, com.webos.service.preloadmanager launched com.webos.app.home three times in 90 s (preloadType periodic, preloadMode criu). After the third, surface-manager hid Jellyfin's window and showed Home's, and under four minutes later Jellyfin was no longer running. With setPreloadPolicy isEnabled: false for com.webos.app.home the preload manager launched only HDMI 4 in nine minutes of the same file, and set back to true it launched Home 8 s later.

Streaming buttons with the screen off open LG's apps (OLED48C56LB, webOS 10.3.0)

With the screen off (tvpowerd: Screen Off, from power/turnOffScreen) a press of a streaming button never reaches the JavaScript key filter. About 200 to 260 ms after the press sam logs NL_APP_LAUNCH_BEGIN for the button's app, with caller_id: com.webos.platformstarfish and mode: hotKey, in the same millisecond as tvpowerd moves Screen Off to Active. A launch from the filter has com.webos.surfacemanager as its caller. Netflix (netflix), Prime Video (amazon), Disney+ (com.disney.disneyplus-prod), LG Channels (com.webos.app.lgchannels) and Rakuten TV (ui30) all did it, with Glasshouse holding the key as Nothing or as Screen off; with the screen on the same keys opened nothing. The Alexa button (KEY_ALEXAVOICE) only woke the screen.

The apps are the ones in the settings service's other.mapping_info, LG's list of streaming buttons (35 entries on this TV, each { name: { app_id, launch_param, isActive } }; the list webOS 11's key filters read). With the lgchannels entry set to isActive: false (the rest of the list as it was), the press of LG Channels with the screen off woke the TV and opened nothing, and no toast window opened; with the entry as LG has it, the same press opened LG Channels five times out of five. LG did not write the list back while the screen was off or when it woke.

Drawing in the compositor from a key filter (C5, webOS 10.3.0)

A JavaScript key filter is loaded by controllers/base/StarfishKeyFilterLoader.qml into StarfishKeyFilterShell.js with Qt.include, and is handed only wrapper objects (volume, overlayView and the rest hold selected properties and bound functions, never a view). The compositor's views are still reachable by name: views is a property of the StarfishKeyFilter.qml item, the loader is made in that file's context, and QML name lookup walks up to it. views.starfishVolume is LG's volume view (StarfishVolumeView.qml), made once with StarfishViewsRoot.qml and only shown and hidden; its parent is the layer the system UI views share. Qt.createQmlObject(qml, views.starfishVolume.parent) from the filter puts an item there, drawn over apps and video like the volume bar, with no app window or launch (no NL_APP_LAUNCH_BEGIN or NL_VSC in /var/log/messages). The item outlives the filter: configd handing the compositor a new chain destroys the loader, not what it made.

Native key filters (C5, webOS 11.2.0)

  • No JavaScript filters. surface-manager runs on Weston (/usr/share/weston/weston.ini loads starfish-keyfilters.so), and the filter chain is com.webos.surfacemanager.keyFiltersCpp: { file, handler } pairs naming /usr/lib/libpreProcess.so, libsystemUI.so and libappLaunch.so. /usr/lib/qt5/qml/KeyFilters/ does not exist, though com.webos.surfacemanager.keyFilters still names its files.
  • Streaming buttons come from other.mapping_info. handleCPHotkeys reads the settings service's other.mapping_info (37 entries, Netflix to YouTube, each { app_id, launch_param, isActive }) at each press; LG's server sends it, and libappLaunch.so also keeps a copy in the microcontroller's database. With netflix.app_id changed, the next Netflix press (IR 1045, written to the remote's input device as 1037) launched the new app, caller com.webos.starfish.keyfilters, mode hotKey; a real press on an MR25GA did the same. With isActive: false it launched nothing and showed a toast.
  • Some keys come from com.webos.keyaction.*. libappLaunch.so reads tvGuide, inputHub, voice, muteX3, sleep, aspectRatio, pictureMode and localEnter, at each press. Guide (IR 370) set to { action: "launch", id } launched that app from Home; on HDMI 2 the input app took the key and opened its own guide, with or without fgAppIdsForByPass. Input Hub (IR 1031) followed its value on HDMI 2 too. Input (IR 249) opened com.webos.app.quickinputpicker and Red (IR 406) did nothing new, whatever inputHub and colorRed held.
  • Keys sent over the network still reach them. sendKeyCode with 362 (Guide) opened com.webos.app.livemenu, launched by com.webos.starfish.keyfilters. Codes above the remote's own input devices' range (Alexa 1086, the ? button 1124, 123 994) reached nothing, written to any of them.
  • lginput2 logs every press by name. NL_BUTTON_CLICK in /var/log/messages gives remote_type and button_type. On an MR25GA: KEY_HOMEDASHBOARD (the house in a circle; opens com.webos.app.homeconnect-overlay through keyaction.inputHub), KEY_MULTIKEY (?), KEY_GUIDE, KEY_VOICE (AI), KEY_HOME, KEY_SCREEN_REMOTE (123), KEY_ALEXAVOICE, KEY_NETFLIX, KEY_AMAZON. The line comes as the button goes down, not up: with Screen off on the Netflix button, 2 presses in 6 on a C5 (webOS 11.2.0) had the screen off and back to Active 21 and 92 ms later, a black blink, where the screen went off before the button was let go and its release woke the TV (#1143).
  • The ? button is LG's custom button. A press launches other.customShortPress ({ id, type: "app", params }, LG's default the input picker) with mode customkey, a hold other.customLongPress (Accessibility). A change applies at the next press. With type: "None" a press opened com.webos.app.accessibility.
  • AI, Home, 123 and Alexa read no value. AI goes to com.webos.service.voiceconductor whatever keyaction.voice holds; Home launches com.webos.app.home from the filter; 123 stays in the compositor (NL_SCREEN_REMOTE_APP_USE); Alexa is launched by amazon.alexa.adapter.plugin.
  • The AI button goes to the voice assistant alone. voiceconductor reads no value for it: its voiceframework settings name none, and keyaction.voice did not change it. Raw events are not readable: a reader on every /dev/input/event* that opened saw none of the MR25GA's presses, as lginput2 holds them. mrcu/getButtonHistory lists presses but sends no updates to a subscriber, and voiceconductor/getVoiceUiEvents answers subscribed: false. With voiceconductor.service stopped, presses were still logged as NL_BUTTON_CLICK and nothing started the service again; an app launched from that log line was in front 0.6 to 1 s after the press, with nothing of LG's on screen, before and after a switch off and on.
  • The Alexa button goes to Amazon's adapter. libappLaunch.so names amazon.alexa.adapter.plugin and cb_launchAlexaHotkey; the adapter, a dynamic service (Type=dynamic, run through jailer), showed "Amazon Alexa est en cours de chargement" 1 to 1.5 s after the press and launched amazon.alexa.view 2.5 s after it, then the terms, with voiceconductor stopped as well as running. With the view blocked by blockSystemApp { id, forceBlockSystemApp: false }, sam logged the launch and nothing opened; getAppInfo on a blocked app returns returnValue: false, a second block errorCode 1 "already blocked: ", and a release of an app not blocked returnValue: true. The adapter launched the view up to 13 s after a press. A C3 (webOS 11.2.0) refused the block outright, errorCode 1 "exist in listLaunchPoint: amazon.alexa.view": the view has a launch point there (hidden: false), and sam will not block an app that has one (#1498).
  • Toasts can be refused, not closed. notification/closeToast with a toast's id returned true and the toast stayed its 5 s. After notification/disable (exceptions optional), createToast was answered "Toast is blocked by []" and nothing was shown, then or after enable. A subscriber to getToastNotification gets each toast with its sourceId.
  • mapping_info is written back at each switch off and on. At Active Standby, 60 ms after NL_POWER_STATE, and twice more on power-on, the settings service's subscribers got LG's entries again, from the copy kept for the microcontroller (com.webos.service.lowlevelstorage, dbid micom). configd's key actions and the custom button kept their values. Not every write is announced: around another switch off and on the list was written back nine times, five of them with no message to the subscriber, the last 60 s after power-on.

The Guide key's launch, native key filters (OLED48C31LA, webOS 11.2.0, firmware 44.00.92)

  • The key's value is read for id and fgAppIdsForByPass alone. With com.webos.keyaction.tvGuide set to com.webos.app.livetv the key opened Live TV at once, with no restart of anything. Set to com.webos.app.home with params { glasshouse: "guide" }, or to com.webos.app.tvhotkey with params { activateType: "sleep" } (the form LG's own entries for sleep, aspectRatio and muteX3 take, whose handlers do read params), it opened the app and nothing of the parameters reached it.
  • The launch passes a fixed {}. In libappLaunch.so (388,132 bytes, 32-bit ARM, Thumb-2, run by surface-manager as surface-manager-daemon.service) the Guide branch of handleHotkeys, which logs "handle TVGUide", reads action and id from the value kept for tvGuide and calls the launcher with the launch parameters as a literal {}, a string 57 places share, each through a literal of its own.
  • An app already in front is not launched again. The same branch asks isForegroundApp for the app it opens and ends the key if it is in front, so with Glasshouse Home in front the key did nothing at all.
  • Two changes make the key work. The literal of the Guide branch pointing at {"glasshouse":"guide"} in padding at the end of .rodata instead of {}, and the bne after isForegroundApp a nop. Glasshouse Home reads the parameter from PalmSystem.launchParams at a relaunch, closes its player, and opens its guide. A change to the file on disk is not needed: the library is read when surface-manager starts, and a copy bind mounted over it, with the service restarted, was in use after, and was gone after a restart of the TV.
  • The rootfs is read only. / is squashfs ro and /usr an ro overlay. mount --bind of a file over /usr/lib/libappLaunch.so.1 (a link to libappLaunch.so.1.0.0) worked, and a second one over the first, while an umount of the first answered "target is busy".
  • After the restart the screen shows LG's Home first. Glasshouse Home had the place again 33 to 37 s after each of two restarts of the service.

The Guide key on another build (OLED65C35LA, webOS 11.2.0, firmware 43.21.71)

  • The same code, 0x7c8 on. libappLaunch.so is 392,300 bytes here. The bne after isForegroundApp is at 0x2fa6e and the Guide launch's {} literal at 0x30264, both with the same bytes as on the C3. .rodata ends with 11 zero bytes, too few for {"glasshouse":"guide"}, so the text is put in the 780 zero bytes after .eh_frame (0x5d3c8), which the first PT_LOAD maps with the rest of its last page (r-x up to 0x5e000).
  • An input in front takes the key. The branch logs "handle TVGUide: fullscreen appId, activeFocus, keyfilter, isInput" and, where the app in front is an input, hands the key to it: on HDMI 3 com.webos.app.hdmi3 launched com.webos.app.livemenu, which opened LG's guide, and the key handler launched nothing. The bne on isInput (0x2fa2c) made a nop, the key launched Glasshouse Home's guide from HDMI as well.
  • The guide opened only with a starred channel. Home's guide asked for by the key needed a channel in Home's row; with a lineup and no favourite it launched Home and stayed on it.
  • The first compositor of a boot crashed as it was restarted. A segmentation fault in libweston-10.so.0 (surface-manager, the boot's pid) was in /var/log/reports/librdx after the restart that loaded the copy; the compositor came back and kept running.

The Input key's launch, native key filters (OLED48C31LA, webOS 11.2.0, firmware 44.00.92)

  • The Input key reads no value. In libappLaunch.so its handler (IR_KEY_INPUT_HUB, then showInputPicker, and IR_FRONTKEY_INPUT_SELECT for the key on the TV) launches com.webos.app.quickinputpicker through applicationManager/launch with a text kept in .rodata, {"id": "com.webos.app.quickinputpicker"}, which only two places in handleHotkeys use. Nothing in configd or other.mapping_info names the key.
  • One text, both launches. The text replaced, in a copy of the library, by {"id": "com.tvweb.inputbar"} (shorter, with zeros after it) made the Input key open Glasshouse's input bar, with the bar's app installed and nothing else changed. The text is 41 bytes with its end, so an id of up to 30 characters fits, which takes all but two of the 30 apps and inputs a C5 offers.
  • It is the picker's id, not the key's. With the text changed the picker also opens the bar from the key on the TV and wherever else LG's code opens it, so the change is made only while the Input key is set to the bar.

The Home key's launch, native key filters (OLED48C31LA, webOS 11.2.0, firmware 44.00.92)

  • Settings and category do not choose the app. general.defaultApps.home set with applicationManager/setDefaultApp to another app was accepted and read back, an app declaring appCategory: ["home"] was installed, and the Home key still opened com.webos.app.home each time. sam keeps the default apps in the system profile (OnSystemProfileDefaultAppsChanged), whose defaultApps.categories.home is com.webos.app.home in /etc/webos-profile/platform/dynamic/senior_normal/profile.json. A profile of its own in that folder (a copy of the folder mounted over it, with debug/rescan and enableProfile, which answered true) was not found by getProfiles and changed nothing.
  • The id is not in the library. libsystemUI.so's handleHomeKeys calls launchHomeApp, which builds {"launchType":"homeKey","activateType":..., "category":"home","params":...} and passes it to the launcher's launchDefaultApp, slot 0x5c of an object's table. No text there names com.webos.app.home, and ls-monitor on the public bus shows nothing of the call.
  • A call that launches by id sits next to it. The function after launchHomeApp launches LG's settings for an always-on display, through slot 0xc0 with an id (com.palm.app.settings, 21 characters) and parameters ({"target":"LightingSettings"}, 29) it builds from literals. With the id and parameters made com.tvweb.homebar and {"glasshouse":"bar"} (their lengths set in the code and the literals pointed at padding after .eh_frame) and launchHomeApp made to call it and return, the Home key opened Glasshouse Bar from an app, and LG's Home showed when the app closed.
  • With the home app in front the key is not launched. handleHomeKeys compares the id of the app in front with the home app's, and where they are the same sends the key to that app (LG's Home scrolled to the top) and does not call launchHomeApp. The branch is a beq.w after a memcmp, 4 bytes that a nop.w makes fall through, and then the Home key from LG's Home opens the bar too, 57 bytes changed in all. With Glasshouse Home in front the bar's own check closes it unseen.
  • The compositor's restart leaves no app. With Glasshouse Home off nothing opens LG's Home after it, and the screen stays black until an app is launched.

The channel keys, native key filters (OLED48C54LA, webOS 11.2.0, firmware 43.21.77)

  • Volume and channel reach the key filters. libsystemUI.so's handleSystemKeys names KEY_CHANNELUP, KEY_CHANNELDOWN and calls master/volumeUp itself. Nothing in com.webos.keyaction.* names the channel keys; com.webos.keyaction.volume is { action: "ignore" }.
  • The first filter blocks what the profile lists. handleKeyBlockByApp (libpreProcess.so, first in keyFiltersCpp) asks systemprofile/getProfiles for blockedKeys once, as it loads, and accepts every event of a key whose code is in it, after createToast(0x2b), LG's "This button is not available" notice. The list is empty on this TV.
  • blockedKeys cannot be set from outside. profile_generator reads each JSON file in /var/webos-profile/override/ ([override_directory] file:) and copies a value it does not know into /var/webos-profile/platform/profile.json as it is, an array included, but recomputes blockedKeys, blockedOrgKeys and blockedApps from the feature files in /etc/webos-profile/platform/configuration/ ([process] ignore feature : blockedKeys), each a list of key names that profile_keymap.json turns into codes (IR_KEY_CH_UP 402). No feature lists the channel keys, and a feature named only in an override is ignored too. debug/rescan runs the generator again; getProfiles returns the new value within a few seconds.
  • Two 11-character names make the list Glasshouse's. The filter's request {"names":["blockedKeys"]} (at 0x1533f) and the name it reads in the answer (0x152a8, only used there) both made tvwebBlocks, an override value, and the filter took 402 and 403, nothing of LG's acting on them, Live TV included. The toast call (blx at 0xb7b8) has no result anyone reads.
  • Only whitelisted log lines reach /var/log/messages. PmLogDaemon passes the context and message id pairs in /etc/PmLogDaemon/whitelist.txt; even PmLogCtl logkv LSM info ... with another id is dropped, as are the filters' own [KEY_HANDLER] lines. LSM NL_INPUT_KEYFILTER_USE and lginput2 NL_NON_LIST_BUTTON_CLICK are on it.
  • lginput2 logs presses, not holds. It logs each press of a channel key as NL_NON_LIST_BUTTON_CLICK, quick presses 160 ms apart included, but a key held for 3 s logged once and another twice. It holds the remote's /dev/input/event* devices: reading them gave nothing.
  • The filter sees every event. Code written into the zeros after .eh_frame (0x18854 to 0x18a20, mapped executable with the segment's last page) and called in place of the toast logged, for a 3 s hold, a press (ev 0), 61 repeats (ev 2) 50 ms apart from 0.5 s after it, and the release (ev 1). The compositor ran on it without a restart.
  • A word past .bss is free and writable. The library's .bss ends at 0x1a2b4; the loader zeroes the rest of that page, which the library does not use. A repeat counter at 0x1a2c0 let the code log the first repeat and every fourth after it: a 2.5 s hold logged 11 repeats, 200 ms apart from 0.5 s.
  • The panel follows OLED Light written every 0.2 s, read before each write or not, and with a key held: five steps of 10 in a second were each seen.
  • After a restart of the compositor nothing is in front until Home is pressed or an app opened: the screen stayed black after one, LG's Home showed after another.

On 18 October 2026, with a network-wide ad blocker in the house switched off, two apps appeared within 3 s of each other: webos.day (LG Streaming Week) and com.miniclip.eightballpool (8 Ball Pool). Both have type: "stub", internalInstallationOnly: true, requiredEULA: "generalTerms" and vendor lgmtv.app@lgepartner.com, are removable, and are in /media/cryptofs/apps/usr/palm/applications. Their image files were dated 14 September and 6 October, their appinfo.json the minute they arrived. The notification list showed "Some apps are available for update" the same minute. Neither name is on Glasshouse's ad-blocking list.

LG's placeholder for YouTube (UM7290, webOS 4.10.2)

A 55UM7290PTD has /mnt/otncabi/usr/palm/applications/youtube.leanback.v4: an appinfo.json with type: "stub", version 0.0.1 and vendor LG Electronics, Inc., the placeholder for the store's YouTube. The installer's check for an id that is already part of the TV system found it, so YouTube Foxtended (youtube.leanback.v4, a Homebrew Channel app that replaces YouTube on these TVs) was refused with "already part of the TV system". Installing it with com.webos.appInstallService/dev/install works, and puts the real app under /media/developer/apps, next to the placeholder. The installer now skips an id whose folder holds only a stub.

Home screen (webOS 10 and 11)

From layout dumps in #612 (a C2 on 10.3.1, a B4 on 10.3.2, a C4 on 11.2.0) and others' work on webOS 10 (github.com/mareklarek/webos10-homescreen-customization and its issue 2).

  • The home app is Flutter. Its layout is /usr/palm/applications/com.webos.app.home/data/flutter_assets/assets/home.xml, a vertical list of items by id: margin (spacing, with a height), container holding globalline (the side buttons) and herobanner, qcardList, appList and recommendedShelf. The files were identical on the two webOS 10 TVs, US and EU.
  • webOS 11 differs: home.xml has two pages, the first a mypage item (with a new home_widget_template.xml), drops globalline, and the folder has img_background.webp.
  • No writable layout path. On the 11.2.0 C4, lib/libapp.so names home.xml, home_layoutShelfView.xml and home_wee.xml, and the only /mnt/lg/ path in it is the Gallery's AI Art folder. So unlike webOS 9 the layout can only be changed by mounting over the folder.
  • What works, from others on webOS 10: taking out qcardList and recommendedShelf; replacing the banner image (images/{hd,2k,4k}/bg_banner_img.png) and its text (in i18n, a symlink to /mnt/lg/wee/ui_l10n/...); shrinking globalline to 0 by 0, placed after herobanner. Taking globalline out left the screen black. Icon size is in libapp.so and the clock item works only in the senior layout.
  • The home app runs as flutter-client. On a C2 (webOS 10.3.1) its command line is /usr/bin/flutter-client -i com.webos.app.home, so pidof com.webos.app.home finds nothing. Other Flutter apps run as flutter-client too; the -i argument names the app. Killed with SIGTERM, the TV started it again with the changed layout.
  • Rows are stacked from their heights. With qcardList and recommendedShelf only taken out, the apps row sat in the middle of the screen on a C2 (webOS 10). mareklarek's layout keeps it at the bottom by growing container and herobanner to 1803 (from 900), so the removed height has to go to the banner.
  • An overlay mount is enough. The kernel has overlayfs: LG's folder as lowerdir and a small folder with the changed files as upperdir applied in 0.08 s on a G5 (10.3.1), against 0.54 s for copying the whole folder (28.7 MB, 525 files) and bind-mounting the copy. Restarting the home app (killing it) reads the new layout; no black picture was reported from it. Mounted from a webosbrew init.d hook, the home app was running with the changed layout about 29 s after power-on.

The apps' recommendations (50QNED87T6B, webOS 10.2.2)

  • The cards come from the apps, not LG's servers. Netflix, Prime Video, Disney+, HBO Max and YouTube each give the application manager a list of titles. luna://com.webos.service.applicationmanager/getAllContents with {} answers with all of them, read on the TV: allContents, one entry per launch point (netflix_default), each with contents. A type: 'title' entry heads each list and is empty; the cards are type: 'content' with titleText, category (Netflix: "Continue watching for …", "Top picks for you today"), image.url (480 x 270, on the app's own servers) and onClick: { targetAppId, contentId, launchParam }. 70 cards across the five apps on this TV; the browser's list was empty.
  • LG's Home reads them as its NowStreamingProvider. libapp.so names applicationmanager/getAllContents there, and applicationManager/getContents (which refuses {} as invalid parameters). The recommendedShelf itself is LG's: [SDP Shelf Data] and [ContentMinorShelf] ask com.webos.service.admanager/requestBannerInfoWithoutContextIndex and com.webos.service.sdx.
  • A card opens through contentTarget. contentId is the app's contentTarget launch parameter, the convention libapp.so names beside targetAppId. Each card also has an onShow ({ method: 'invoke', service: 'amazon.service', contentId }) that tells the app it was seen.
  • com.webos.service.discovery/getRecommendationData and com.webos.service.prs/listRecommendations gave no answer within 10 s.

On webOS 4.10.2 (43UM7100PLB, webOS TV Lite)

  • getAllContents answers in the same shape under both com.webos.service.applicationmanager and com.webos.applicationManager: 54 cards, from Prime Video and YouTube (16 each), Netflix and Disney+ (11 each). Pictures are 390 x 219 to 480 x 270, with an image_4k of 960 x 540 except on Netflix. Only Netflix's cards carry onShow.
  • LG's Home here is com.webos.app.fullhome, the one running. PreviewInterfaces.qml reads getAllContents, keeps at most 16 cards an app, and shows only the apps in contentPreviewMenu, which ShelfList.js takes from the shelf data's parameter.appId. com.webos.app.home is on the TV too and not running; it asks getContents per launchPointId.
  • Opening a card: LG's Home uses onClick.launchParam if set, otherwise the app's deeplinkingParams with $CONTENTID replaced, and bare contentTarget for a stub app. No card here set launchParam. Netflix, Prime Video and YouTube's deeplinkingParams are {"contentTarget":"$CONTENTID"}; Disney+ adds "handledBy":"app".
  • Launched with only contentTarget, as Glasshouse Home does, a Netflix card opens that title's page and a YouTube card plays that video, after YouTube's account picker where it shows one. The cards are listed with no account signed in to YouTube, Prime Video or Disney+.

What the player is doing (webOS 4.4.3, B8; webOS 9.2.2, C2)

  • The B8 answers com.webos.service.acb/getForegroundAppInfo with an acbs pipeline list, each with playStateNow and playerType (external input for HDMI). The C2 has no such service ("Service does not exist").
  • A C1 (webOS 6.4.0) has no acb either. An app playing through Web Audio (Afterglow, a music visualiser built as a web app) gets an empty foregroundAppInfo from com.webos.media, so its state can't be read. KEY_PLAYPAUSE (164) injected on the remote's device never reached it as a key event; KEY_PAUSE and KEY_PLAY arrived as keyCode 19 and 415, and paused and resumed it.
  • On the C2, com.webos.media/getForegroundAppInfo gives foregroundAppInfo: [{ appId, playState, type: "media", mediaId, windowId }]: YouTube read playing, then paused after the remote's Pause key, and the list was empty on HDMI 2. com.webos.media/pause with that mediaId answered returnValue: false and did not pause.

luna-send over SSH (webOS 9.2.2, C2)

Run over ssh without a terminal, luna-send -n 1 exits 0 at once and prints nothing, for any service; with ssh -tt it prints the reply, with \r\n line ends. getForegroundAppInfo answers an empty appId while LG's Home or Glasshouse Home is in front and in standby, and the input's app (com.webos.app.hdmi2) while an input is.

On the office G3 (webOS 9.2.2, 26 November 2026) the call itself was not always made either: applicationManager/launch for the web browser, Live TV, Glasshouse Home with launch parameters, and tvpower/turnOnScreenSaver, sent without a terminal, each left the TV as it was on some tries and worked on others, with no error. The same calls with ssh -tt worked every time, with the app named in front within a few seconds. A script that launches over SSH uses a terminal and checks the app in front afterwards.

Services a TV does not have (webOS 3.9.3, 43UJ750V; webOS 9.2.2, C2)

ls-hubd routes a call only to a service named on a Name= line of its service files (/usr/share/luna-service2/services.d, /usr/share/dbus-1/system-services); one line can name several, separated by ;. On a C2 a call to an unlisted service, such as com.webos.service.acb, answers "Service does not exist" at once. On a 43UJ750V (webOS 3.9.3) a call to an unlisted one, such as com.webos.service.audio or com.webos.service.videooutput, gets no answer: luna-send waits out -w and logs "Shutting down with unsent QueryName message", and ls-hubd logs LSHUB_NOT_LSTED "Service not listed in service files" as an error (#1112). A 55SJ800V-ZB (webOS 3.9.3) answered the same way, with nothing, for com.webos.service.settings, where it lists only com.webos.settingsservice (#1137), so a TV that old never says "Service does not exist" for a renamed one.

LG's device scans (webOS 9.2.2, C2; #244)

On 13 November 2026, an OLED65C43LA owner (webOS 10.3.1, firmware 33.31.61) reported periodic scans despite Network device scans being off, separately from Auto device detection and Privacy's Everything tier. This is an unresolved enforcement report, not a verified capture identifying the scanner. The switch in stats reflects the saved disabled-services list, not the process or stub's current state. services.isStubbed() checks for a mount at the executable's path without checking its contents; enforcement retries after 30 s and every five minutes. The report alone cannot distinguish a missing or ineffective stub from another scanning process.

The owner's later Pi-hole log recorded 253 PTR queries at 11:40:17–18 CET on 13 November. The TV's boot-hook log started at 11:40:14, the server listened at 11:40:24 and its clock gate closed at 11:40:25. A later read-only check found the scanner executable byte-for-byte equal to Glasshouse's stub. That snapshot does not identify the process responsible for the earlier sweep. A de.nextlgsdp.com query at 11:41:17 was after the gate closed; its originating process and resolver path remain unidentified.

iconnectivity (UEI QuickSet) reverse-looks-up every address on the TV's /24. On a C2 with other.ueiEnable off, opening the Home Hub's page for connecting other devices sent 759 PTR queries in two minutes (three passes), and nothing periodic followed. A reporter's TV sent all 253 every 5 minutes (1.6 s each pass) alongside www.ueiwsp.com, and discovery.meethue.com every 1.5 to 3.5 minutes; the C2 asks for the latter too. Other C1 (webOS 6.5.3) and C3 owners report the same with Auto device detection off. Its state is in /mnt/lg/cmn_data/iconnectivity (environ.conf holds ueiEnable; qs_data/discovered_devices.db is a SQLite table of the devices it found).

  • A sweep is asked for. One luna://com.webos.service.ics/iot/getAllIoTDevices call, the Home Hub's, started a pass of all 253 addresses within 5 s, with the stored device list intact, and nothing followed for 6.5 minutes. With no such call, 12 minutes with the device list emptied and 12 minutes with ueiEnable on each sent none; the emptied list refilled to 17 devices from other discovery. A TV that sweeps every 5 minutes has something asking every 5 minutes. ls-monitor shows the caller: the TX call lines to com.webos.service.ics name the sender and the app it acts for.
  • /etc/hosts does not answer them. With the table naming all 253 addresses as themselves, mounted where iconnectivity sees it, and gethostbyaddr answering from it, a sweep still sent 252 PTR queries. iconnectivity sends them to the DNS relay in /etc/resolv.conf (connmand, at 127.0.0.1 and ::1), one socket per query, without the name service lookup that reads /etc/hosts, and connmand forwards them. Answer device scans on the TV (#1146) was built on the opposite reading, and was taken out.
  • The firewall cannot pick them out. The C2's kernel offers only the icmp, udp, tcp and similar matches, no string, u32, owner or bpf, so a rule cannot tell a PTR query from any other DNS query, and iconnectivity runs as root like the rest. Sending all DNS through a relay on the TV would make every lookup depend on it.
  • Its own controls. com.webos.service.ics/debug/setDebugCmd ({ "debugCmd": "showTimerList" } and others) answers returnValue: true and logs nothing, even with the ICS log contexts at debug; its strings name IP discovery methods (SubnetScan, Reverse DNS, mDNS, UPnP) and a device polling interval, with no luna method found that switches one off.
  • A stub holds it down. ls-hubd starts it from /usr/share/dbus-1/system-services/com.webos.service.ics.service (Type=dynamic, Exec=/usr/sbin/iconnectivity) at each call, so killing it lasts until the next one. With a script that exits at once bind-mounted over /usr/sbin/iconnectivity, calls got no reply and nothing ran; the mount reached the app jails' copies too, and one umount took them all away, after which the next call started it again. ps and pidof do not list it: its executable link in /proc does.
  • What asks on webOS 11. On an OLED65C2PUA (webOS 11.2.0, firmware 43.21.74), com.webos.iotframework called /iot/getAllIoTDevices every 300 s. It is started the same way (Type=dynamic, /usr/palm/services/com.webos.iotframework/com.webos.iotframework). The C2 on webOS 9.2.2 does not have it.
  • An hourly sweep is left. On an OLED65C34LA (webOS 11.2.0, firmware 43.21.71), with iotframework held down by a bind-mounted stub, the 5-minute sweeps stopped and a full one came an hour later, then none for 15 minutes. What asks for it, or whether iconnectivity keeps a timer of its own, was not found. Holding iconnectivity down stops it as well.
  • It is also universal control's IR blaster. LG's settings and connection apps ask com.webos.service.ics/blaster/ (getURLforUEIDevices, deleteIPConnectionHistory), and the input app reads a set-top box's set-up from it. On the C2, blaster/getURLforUEIDevices {} answered at once with QuickSet running (error 322, with no box set up) and not at all with it held down. Two owners with it held down had a set-top box stop answering the Magic Remote a few seconds after the TV started, and LG's Universal Remote settings spin and fail, until it was back (an A1 on webOS 6.3.1, a C2; #1266).

Boot and app state (webOS 9.2.2, C2)

  • The kernel command line has snapshot resume=/dev/mmcblk0p51 criu_enabled. Apps such as the home app and com.webos.app.inputcommon are checkpointed with CRIU and restored from it when killed; at boot the home app's copy in flash was rejected and it started fresh.
  • /usr/sbin/snapshot-boot-manager --remove discards the memory image; the next boot is a slower "making" boot (/sys/power/mode reads making) that remakes it, and clears the CRIU copies in flash.
  • com.webos.service.capture/executeOneShot with { path, method: "DISPLAY", width: 1920, height: 1080, format: "JPEG" } saves what is on screen, including the home app.
  • On a B8 (webOS 4.4.3) there is no com.webos.service.capture; com.webos.service.tv.capture/executeOneShot takes the same payload, answers capturedWidth: 0 and still writes the file, and its picture includes the HDMI video, which the C2's leaves black.
  • On a C9 (webOS 4.10.0) with LG Input Hook (org.webosbrew.inputhook, 1.5.1) started by its boot script, which injects libinputhookpp.so into tvservice with ezinject, tv.capture/executeOneShot answered "Device or resource busy" for every method from the first call after a boot, then stopped answering, through restarts and a power cut; isLocked said false and no other client called it. With the boot script moved aside and a restart, the same call worked.
  • luna-send run from an SSH shell can print nothing for com.webos.applicationManager calls, while the same call from a node child process answers.
  • The Web Browser (com.webos.app.browser, 2.0.7) hidden with visible: false bound over its appinfo.json no longer starts: launch, with or without a saved page's params.target, returns true and the system log has NL_APP_LAUNCH_BEGIN and nothing after it. Shown again, the same launch opens it. Other hidden LG apps (LG Channels, Media Discovery) still open.

Screen saver timing (webOS 5.6.2, CX; webOS 10.3.1, C5)

Both TVs were timed from the last key press to tvpower's Screen Saver state, with a blank browser page (com.webos.app.browser, target: about:blank) in front.

  • The idle time is screenmanager's, not the compositor's. com.webos.surfacemanager.userActivityTimeout (120000 ms) runs a timer in StarfishScreenSaverView.qml; when it ends, StarfishViewStateController.qml closes overlays, alerts, the keyboard, PIN prompts and the spinner. It does not start the screen saver.
  • CX: /usr/sbin/screenmanager reads configd's com.webos.service.nop.screenSaverTimeout, in seconds. The base layer has 1800; the tvoverlay layer sets 130 for OLED, and the screen saver came on 123 s after the blank page opened. Whether a value written there is used was not tried on the CX.
  • C5: screenmanager does not read that key (its value there is 180, and 60 written to it changed nothing, live or after a reboot). It subscribes to settings option.screenSaverTimer, in minutes, with checkChangedScreenSaverTimerByUser beside it (default, or user once LG's menu has set it). The allowed values are 3, 10, 20 and 30, and 3 timed at 176 to 181 s. 2 and 4 were stored (with valueCheck: false, and again after adding them to the allowed list with setSystemSettingDesc), but with either one stored no screen saver came at all, live, after systemctl restart screenmanager, or after a reboot. So only LG's four values work, and anything else switches the screen saver off. resetSystemSettingDesc puts LG's list back.
  • com.webos.service.screenmanager.screenSaverProperties (OLED layer: preferredType 2 and 3, screenSaverDelay 30) is per kind of screen saver request, not the idle time.
  • An input with no signal blocks it. Over HDMI 1 with nothing connected (CX), or Live TV with no antenna (C5), no screen saver came in over 200 s. On the CX the input shows its own No Signal picture instead, LG's No Signal Image (settings general.noSignalScreenSaver, on on that CX, off on the C5).
  • On the C5 the TV falls back to Live TV after a reboot, and when the compositor's 120 s timer closes a Home window with nothing under it, sam launches the last app (LAUNCH_LASTAPP on_foreground_null). A Home that comes back that way closes the screen saver as it opens.
  • G3 (webOS 10.3): with option.screenSaverTimer at 10, Glasshouse Home's video background let go 5 s before 10 minutes after the last key brought no screen saver in the minute after: the timer had not run while the video played. Started from Home at that time instead, the screen saver came at once.
  • G3 (webOS 10.3): a video screen saver started by tvpower is ended as its video starts. tvpower went from Screen Saver back to Active 2.4 to 2.6 s after turnOnScreenSaver, in the same millisecond as the Video screen saver's first clip (4K Dolby Vision) reached the media pipeline, from Home and from the Homebrew Channel alike, and with screenmanager's setScreenSaverMode manual sent just before. The same app launched through sam, with tvpower left Active, played on until a key.

sam losing the screen saver app (webOS 9.2.2, C2)

On 2026-10-17 a C2 with a custom screen saver mounted over com.webos.app.screensaver stopped starting it: tvpower's turnOnScreenSaver returned true, nothing came up, and sam's getAppInfo for the app answered errorCode 1, "Invalid appId specified OR Unsupported Application Type", although its appinfo.json (QML) and files were in place, nothing in profile.blockedAppList or blockedSystemAppList named it, and listApps left it out. One configd nudge (profile.blockedAppList) brought it back at once, and the screen saver then started. That morning had several deploys, sam rereads after hiding and showing tiles, a remote keys filter reload and a screen saver switch; none of these, repeated, lost it again, so the cause is not known. Start screensaver now checks getAppInfo first and rereads the apps where sam has lost it.

tvpower dropping a screen saver request (webOS 9.2.2, G3)

On 18 October 2026 a G3 answered turnOnScreenSaver with returnValue true and started nothing. A getPowerState subscription showed processing: "Request Screen Saver" and then "Screen On" 10 to 30 ms later, back to plain Active. LG's own idle screen saver was refused the same way, at 180 s and again at 360 s with no key pressed. tvpower asks the clients in getClientList's ListScreenSaverRequests before it starts one; on that G3 they were com.webos.service.oledepl and com.webos.app.browser on /power, and com.webos.service.screenmanager and netflix on /power2. A C2 on the same webOS, where the request works, has the same list without Netflix, which it does not have installed.

It was still refused with the browser and Netflix closed and gone from that list, leaving only oledepl and screenmanager, and with:

  • every other app closed and nothing in com.webos.media/getActivePipelines or getForegroundVideoWindow,
  • screenmanager restarted (systemctl restart screenmanager),
  • LG's own Home back in its place and Glasshouse stopped,
  • Glasshouse's ad blocking off and screenmanager restarted after it,
  • settings general.screenSaverEnabled written off and on again,
  • oledepl's setPcScreenSaverResponse set to ack: true (its getPcScreenSaverResponse had read false).

screenmanager's strings name a server-sent app blacklist, full-screen playback, a per-app manual mode (setScreenSaverMode), store mode, an unfinished first use and a Hall sensor as reasons. Store mode was home, /var/luna/preferences/ran-firstuse was in place, and nothing was playing. Which client refused, and why, was not found: their debug logs do not reach /var/log/messages, which PmLogDaemon filters by /etc/PmLogDaemon/whitelist.txt, nor /var/log/legacy-log. It was eplmanager: see the next section.

Launching com.webos.app.screensaver through sam still brought LG's screen saver up, and closeByAppId closed it. tvpower stayed Active under it. The app answers a key by calling tvpower's turnOnScreen and leaves closing it to tvpower, which from Active refuses ("The current sub state must be 'screen off'"), so the remote did not close it. Start screensaver launches the app where tvpower drops the request, except over full-screen playback, tracks it through sam's running list, and closes it on any key the remote-button worker reads from /dev/input. On an LCD TV (or when Screen Saver is disabled in LG's settings), tvpower refuses turnOnScreenSaver with screenSaverEnabled value is off; falling back to launching the screensaver app directly allows the manual trigger to start it.

Panel care holding the screen saver back (webOS 9.2.2, G3)

ls-monitor -c (/usr/sbin/ls-monitor, run as root with a terminal: over a plain ssh command luna-send printed nothing) showed the answers to tvpower's responseScreenSaverRequest: screenmanager and the browser ack: true, com.webos.service.oledepl (/usr/sbin/eplmanager) ack: false. From eplmanager's disassembly (32-bit Thumb, symbols exported):

  • PixelExtension::RequestScreenSaver answers by a test policy (1 always yes, 2 always no, set from its debug menu, "Set Screen Saver Policy (0:Default, 1:Forcely Enable, 2:Forcely Disable)"), and by default answers no while its screen saver timer runs.
  • screenmanager calls setEplAppInfo { appId, supportScreenSaverPolicy } at each change of foreground app, with false for every app seen (Home, the browser, YouTube, Netflix). For those, on a TV where mw_isSupportOSDCapture is true, applyEplAppPolicy sets the delay to 30 minutes (movs r3, #0x1e), starts the timer and the OSD capture dimming (the com.webos.service.capture/executeOneShot calls seen while idle). onInputKey (by restoreEplCondition, at most once per 3 s) starts it again on every key.
  • With supportScreenSaverPolicy: true, screenSaverDelay (minutes) is the timer instead, and createScreenSaverTimer starts none at 3 or less; 0 reads as not set. That path uses brightnessDropRatio and brightnessDropPeriod rather than the OSD capture dimming. screenmanager's screenSaverProperties in configd give 30 minutes for both kinds (preferredType 2 with a 33 % drop after 300 s, and 3).

Timed live: with Home handed over at a 4-minute delay, LG's idle requests at 0:36 and 3:36 were refused and the one at 6:36 started the screen saver. At a 1-minute delay a turnOnScreenSaver straight after started it, and handing Home back with false made the next one refused again. screenmanager did not call setEplAppInfo when the screen saver closed, only at the next change of app. eplmanager has no getter for the app info it holds. The C2 on the same webOS starts its screen saver; whether it reports no OSD capture support was not checked.

Home's snapshot (webOS 5.6.2, CX)

The webOS 9 entries above describe the home app's CRIU checkpoint. On a CX:

  • sam restores only apps listed in CRIUSupportApps in /etc/palm/sam-conf-tv.json (Home and fullhome among them), and only while /tmp/criu_enable exists. criu.sh creates that flag at boot; with it moved aside, a killed Home starts fresh. The flag is not per app, so the other snapshot apps (the inputs and Live TV) are not restored either until it is back.
  • Deleting /tmp/checkpoint/com.webos.app.home is not enough: the next restore copies it again from /mnt/lg/cmn_data/checkpoint. An invalid_img marker in the tmpfs copy means "refresh from flash", not "skip".
  • Setting Home's preloadMode to full in configd's preload list made no difference: Home was still restored (parameters.snapshot: true).
  • With no image in either place, sam logs criu dump image is not exist, starts the app normally and dumps it about 0.25 s later. The dump comes after QML loads and before appLaunched, so a luna connection made at load time is dead after a restore (Denied method call).
  • A restore whose saved pid is taken still worked: libcriu restored with a new pid (enable_zygote:1).
  • /etc is a read-only overlay on a full squashfs, sam reads sam-conf-tv.json once about 5 s into boot, and sam.service's ExecStartPre script kills every native app when sam is respawned, so the list cannot be changed without a mount and a sam restart at every boot.

Which app the Home key opens (webOS 5.6.2, CX)

  • general.defaultApps.home is com.webos.app.fullhome, LG's full-screen Home, a separate native app (appCategory: ["home"], window type home) from com.webos.app.home. surfacemanager launches it for a Home press (NL_APP_LAUNCH_BEGIN, caller com.webos.surfacemanager, then NL_VSC with _WEBOS_WINDOW_TYPE_HOME). With Glasshouse Home in com.webos.app.home's place, the first press showed LG's Home and only the second the view.
  • Releasing the overlay to open com.webos.app.home again restarts sam, and about 1 s after the launch last_input_handler (mode last_input) launched the input, then eim again at 4.8 s; LG's Home was hidden under it (the LG Home tile, 01:33 UTC), and the same when Home was held. Launching com.webos.app.fullhome needs no release.
  • Home was the same web process (pid unchanged) across both presses and getForegroundAppInfo kept naming the input, so a Home window is not visible in the foreground app; /var/log/messages shows which one is.
  • Woken from Active Standby by the remote key, with Home opened 1.4 s in (com.webos.app.home, caller lunasend), Home showed for about 2 s: eim launched the input (com.webos.app.hdmi2) again 2.9 s after the wake, twice, and it came back in front.
  • homeAutoLaunch and checkHomeAutoLaunchValue are in category general; asked for under option they come back as errorKey.

Widevine DRM and ESN with SAM takeover (webOS 5.6.2, CX)

  • Restarting sam.service (killall -9 LunaExecutable and systemctl kill -s 9 sam.service) or bind-mounting over /usr/palm/applications/com.webos.app.home breaks Widevine DRM and ESN initialization: Widevine and ESN show as "Unknown" in TV Information, and DRM streaming playback fails. Running Glasshouse Home as a standalone app (com.tvweb.home) directed by remotekeys-filter.js leaves com.webos.app.home and sam untouched, keeping Widevine DRM and ESN functional.

Widevine DRM and ESN with the bind mount (webOS 10.3.2, B4)

Reported on an OLED77B46LA, webOS 10.3.2 (33.31.75), Glasshouse 0.146.2, with Glasshouse Home on (#1421).

  • With /var/lib/tvweb/home-takeover bind-mounted over /usr/palm/applications/com.webos.app.home, com.webos.service.sm/crypto/checkSeStore with {"id":["esn","widevine"]} reported both keys with isOk: true, and TV Information showed an ESN and a Widevine ID rather than "UNKNOWN", which it shows for a key that call does not return.
  • With the same mount on 0.143.1, Netflix, Prime Video and the Apple TV app played (#1315).
  • sam took the change through blockSystemApp and releaseBlockSystemApp, never a restart. Where the CX above (webOS 5.6.2) lost both keys with the mount, this TV kept them.

IPTV after Active Standby (webOS 5.6.2, CX)

Measured on an OLED65CX9LA, Glasshouse 0.143.0, Quick Start+ off. Active Standby, for 8 seconds and for about 3.5 hours, left the server running. The power state went Active Standby to Active, on by remoteKey.

  • Wake put com.webos.app.livetv in front (bootManager), and Glasshouse opened com.webos.app.home over it 4.5 s later. Both windows are _WEBOS_WINDOW_TYPE_CARD. Live TV was hidden as Home was shown. The view answered in 1 s, so it was the page that had stayed up.
  • An IPTV channel then received an MPEG-TS URL and gave up after 12 s with no picture and no media error (why=nopicture, tries=0). Further channels did the same, including after the screen saver. Another app on the TV played, and the same stream played on another device at the same time.
  • killApp of com.webos.app.home and a launch loaded a new page. The next channel started in 1.2 s at 1920×1080. A reboot does the same. Closing the app while it was in front made last_input_handler open Live TV.

Home's launch events (webOS 5.6.2, CX)

  • At power-on, com.webos.app.inputcommon launches the default home app with activateType: powerOn when the TV was switched on by a key and general.homeAutoLaunch is on (it is the Home Auto Launch switch in LG's settings). LG's home app closes itself about 9 s later on its own timer; nothing in the system does it.
  • Home gets relaunch with launchType: homeKey for a Home press and activateType: recent for a long press. The My Apps key sends the same launch as Home. Launching another app sends Home pause with reason keepAlive; it never gets close.
  • Home is an overlay window (_WEBOS_WINDOW_TYPE_HOME), so the app beneath stays the foreground app and keeps playing. A Home window that sets _WEBOS_WINDOW_TYPE_CARD before it shows becomes the foreground app, and the app beneath gets background and gives up its media pipelines.

The default home app (webOS 10.3.1, C5)

  • Which app the Home key opens is settings general.defaultApps (home), set with applicationManager/setDefaultApp { category: "home", appId }. The surface manager calls launchDefaultApp with { activateType: "home"|"myapps", launchType: "homeKey" }.
  • If that app is gone, the Home key does nothing ("no default app is set for the category"), while power-on still opens LG's home.
  • A developer-mode QML app runs under qml-runner with only public permissions, and its luna calls never reach the bus, so a separate app cannot stand in for Home.

Glasshouse Home on webOS 10 (G5, webOS 10.3.1)

  • LG's Home's appinfo.json declares "appCategory": ["home"]. sam answers launchDefaultApp { category: "home" } with the app that declares it, with defaultApps.home unset too. A web app mounted under the same id without it gets "no default app is set for the category", whatever defaultApps.home names, and the Home button does nothing: surface-manager logs the press (NL_RCU_CONTROL_USE, key 773) and launches nothing. With the field, Home from live TV had the app on screen 0.09 s after the press.
  • systemUi.js's handleHomeKeys keeps the press, sets a 2.5 s long-press timer, and on a release before it sends Home to the focused window again and launches the default home app on that pass. Held for the 2.5 s, it opens the screen magnifier (KEY_SCREEN_MAGNIFICATION, zoom 150) instead.
  • sam took the changed manifest on a block and release of com.webos.app.home within the second; the blocked-app list nudge never took ("sam had not caught up").
  • The TV has no /etc/issue. /etc/starfish-release has Rockhopper release 10.3.1-3006, and /etc/os-release VERSION_ID=10.3.1.

The first Home press after a reboot (CX, webOS 5.6.2)

Reported on 26 October 2026 from an OLED55CXPUA (firmware 4.64.00), with Glasshouse Home on behind allowExperimentalHome.

  • The view took up to 13 s to answer the first Home press after a reboot, with WebAppMgr running: its page was loading from cold. A 5 s wait for its first heartbeat gave LG's Home the place every time, so Glasshouse Home never opened. With the wait at 20 s it opened.

Glasshouse Home without the remote after a wake (C5, webOS 11.2.0)

On an OLED65C5PSA (firmware 43.21.77) with an MR25GA, after every wake from standby Glasshouse Home was drawn and kept beating, but arrows, OK and the pointer did nothing, while lginput2 logged each press as NL_BUTTON_CLICK (#1122). It happened after a full restart too. Stuck, surface-manager's getFocusedWindowInfo named com.webos.app.home (fullscreen) and getForegroundWindowInfo it alone as the card; LG's Flutter Home was not running, WebAppMgr was, and com.webos.app.starfish_flutter_systemui was. So the compositor gave the view the keys and they were lost in the web engine. closeByAppId on com.webos.app.home, 2 s, then launch brought them back every time. On that TV preloadmanager/setPreloadPolicy failed each time it was asked.

The same wake on an OLED48C31LA (C3, webOS 11.2.0, firmware 44.00.92) kept the remote working with Glasshouse Home left as it was, so the close and open shown as Home going and coming back after each wake was only a cost there. LG numbers firmware per model year, so no number tells which TVs need it, and the dashboard's Reopen Home after a wake switch skips it.

WebAppMgr stopped (G4, webOS 11.2.0)

Seen on 23 October 2026 on an OLED65G4KNA with Glasshouse Home switched on.

  • WebAppMgr can stop for good. webapp-mgr.service (in /etc/systemd/system, Type=simple, Restart=on-failure, OOMScoreAdjust=-1000, PartOf=surface-manager.service) ended with code=killed, signal=TERM, Result=success, NRestarts=0, and stayed inactive. What sent the signal was not found: nothing in /var/log/messages at that second, no crash report, and the TV has no systemd journal.
  • Every web app then opens nothing. Each Home press logged NL_BUTTON_CLICK KEY_HOME (lginput2, remote LGE MR24N) and sam's NL_APP_LAUNCH_BEGIN for com.webos.app.home (caller com.webos.starfish.keyfilters), with no NL_VSC window after it, for 40 minutes. LG's own Flutter Home, put back in its place, did not show either: launched by the server and then by a Home press 21 s later, it got no window.
  • sam goes on naming the dead view in front. With WebAppMgr stopped while the view was in front (under the screen saver), Glasshouse's foreground stayed com.webos.app.home through later presses, so only the view's heartbeat tells whether a press opened it.
  • systemctl start webapp-mgr.service brings it back without a restart.
  • The remote's Home reaches /dev/input on this TV. Unlike the C5's MR25GA (above), Glasshouse's reader saw Home go down on the MR24N and held it past its 1.2 s; LG's filter opened the screen magnifier at 2.5 s, as on webOS 10.

Home's button does not change the foreground app (webOS 4.10.2, 55UM7100PLB)

supported() already refuses Glasshouse Home on webOS 4 and nothing here changes that; this is what was found trying anyway, for whoever looks at webOS 4 next.

  • com.webos.app.home's appinfo.json is laid out the same as on webOS 9: "type": "native", "main": "file:///usr/bin/com.webos.app.home", "visible": false, "defaultWindowType": "home".
  • Neither of lib/samrescan.js's two rescan mechanisms exists here. configd has no profile.blockedAppList ("no profile.blockedAppList on this TV, so sam cannot be nudged", matching the B8 the file's header already names), and blockSystemApp/releaseBlockSystemApp are not registered methods at all: blockSystemApp for com.webos.app.home refused: Unknown method "blockSystemApp" for category "/" (-1)". home-takeover.js's reread() has no third path for this - the project-wide retreat from restarting sam for a rescan (#366) was not re-added for Home specifically, so take() fails clean through giveBack()/release() rather than leaving anything mounted.
  • The Home button does not make com.webos.app.home (or anything else) foreground. A real press, and a direct applicationManager/launch {"id":"com.webos.app.home"} (returnValue: true), both left getForegroundAppInfo answering whatever was in front before the press, unchanged, while the TV visibly showed a translucent overlay bar over the running app. Whatever draws that bar is not tracked as a foreground app on this firmware, so neither sam-level app-identity swapping nor foreground polling can detect it; any Home-button interception here has to watch the physical key itself (remotebuttons.js's evdev HOME_CODE 773 route already does, for the hold-Home gesture) rather than app state.
  • getForegroundAppInfo's subscribe: true only ever answers once here. It returns its first reply and then never pushes a second one - the pipe does not close either, so a caller waiting on it (rather than on a timeout) blocks indefinitely. Confirmed over several minutes and across both a real press and a synthetic launch.
  • A second, heavier Home app exists: com.webos.app.fullhome, already named "Home" at 40 MB in lib/preload.js's own catalog, distinct from com.webos.app.home (the overlay). Not tried as a takeover target - it may be the more promising one for a pre-webOS-9 Home replacement, since it is apparently a real, substantial, separately-preloaded app rather than an overlay LG keeps out of the foreground-app API.
  • Device: 55UM7100PLB (2019 LCD), webOS 4.10.2, firmware 05.40.97, core_os_kernel_version 4.4.84-p.649.grampians.k5lp.1, core_os_name Rockhopper, webos_imagename starfish-dvb-secured.

Glasshouse Home on webOS 4 (webOS 4.4.3, B8)

Tested on an OLED65B8SLC (webOS 4.4.3, firmware 05.50.70) in October 2026.

  • Standalone app rather than takeover: On webOS 4 LG's launcher is an in-compositor ribbon rendered directly by LSM, triggered by Linux evdev 125 (Qt.Key_Super_L). Rather than mounting over an app, Glasshouse Home runs as a standalone web app com.tvweb.home.
  • Compositor key filter: Directing the remote's Home button to Glasshouse Home sets glasshouse.remoteKeys.home in configd. LSM's key filter (remotekeys-filter.js) intercepts Qt.Key_Super_L and launches com.tvweb.home.
  • Escaping to LG ribbon: Escaping to LG's native launcher (via the "LG Home" tile or holding Home) clears glasshouse.remoteKeys.home in configd and injects evdev key 125 after a 300 ms delay, and the ribbon opens over com.tvweb.home. If key 125 is injected while the filter is active, LSM catches it and relaunches com.tvweb.home. The app is not closed from outside: on 22 September 2026, closing the app in front from outside made this B8 relaunch the last input mid-teardown, after which HDMI opened no more until a reboot.
  • Rearming: the ribbon opens over the view, so sam's foreground stays com.tvweb.home while it is open, and whatever is picked from it, an input included, comes to the front after it. That change rearms the key filter, so the next Home press opens Glasshouse Home.
  • Switching off: the view closes itself with window.close() when its heartbeat answers enabled: false, as Back closes it.
  • Under the screen saver: it opens over the standalone view without hiding it, so the page went on drawing its drifting wallpaper: the web app manager at 22% and the page at 12%, the screen saver's qml-runner at 2% and stuttering. With the page resting while covered (wallpaper hidden and paused), they read 0.7%, 0.3% and 9.2%. With the view in front and idle, the two took about 40% between them.
  • After a boot: the remote key filter holds the Home key for 90 s while its starting notice is set, until com.webos.app.home is Glasshouse Home's web app, which on webOS 4 it never is; Home only showed the notice. The server then took the unanswered press for a stopped WebAppMgr, found no systemctl to start it with (webOS 4 runs upstart), and gave LG's ribbon the Home key. The notice is not set on webOS 4, and a press the view does not answer opens it once more before LG's ribbon is used. The boot hook opens the page before the server, which takes about a minute to answer on a B8 (4.4.3): the page's first load failed, it showed "not answering" and asked for LG's ribbon, which came up over it once the server did. On webOS 4 that request is ignored, and the page shows the fault only after a minute without the server.
  • Which ports are plugged in: eim/getAllInputStatus gives each HDMI port activate, chosen, subCount and lastUniqueId, but neither hdmiPlugIn nor connected, so Glasshouse Home showed all four as Connected with only HDMI 2 in use. The Metrics tab's reading, a CEC device behind the port (lastUniqueId other than 255, or subCount) or a link on its receiver, is used instead.
  • Dismissal on Back: window.PalmSystem.platformBack() is a no-op on standalone web apps on webOS 4; window.close() cleanly dismisses the app.
  • Chromium 53 ICU locale: Date#toLocaleDateString(undefined, ...) defaults to Korean (ko) in Chromium 53 on webOS 4; passing 'en-US' explicitly produces English date strings.

What the TV opens as it starts (G5, webOS 10.3.1)

Measured on 19 October 2026 on an OLED55G56LS, Quick Start+ off.

  • Every power-on is a cold start with Quick Start+ off. The kernel restores a prebuilt snapshot (/proc/cmdline has snapshot resume=..., bootd.log --Snapshot=YES), and /proc/uptime restarts at each power-on from standby. The power-on is handled about 10 s in.
  • bootd chooses the first app. It reads /etc/palm/action-condition.json (com.webos.bootManager.actionConditionConfPath unset): the Input App action launches the last input (physicalLastInputApp in /var/luna/preferences/general, Live TV by default). With general.homeAutoLaunch on and a power-on reason in com.webos.service.tvpower.fullHomeBootingPowerOnReasons (aiKey, lastPowerOn, localKey, remoteKey, seniorHelp), it shows its boot logo (com.webos.app.bootlogo, 10.6 to 16.8 s) and launches com.webos.app.home with {"boot": true} at 14.2 s; LG's Home logged NL_HOME_SHOWN (launch_type bootingHome) at 15.5 s.
  • With it off, LG's Home never comes to the front. On the remote, bootd logged homeAutoLaunch(off), showed no boot logo and had Live TV in front at 14.2 s; nothing launched com.webos.app.home until com.webos.service.preloadmanager preloaded it at 67 s, after the boot hook had mounted Glasshouse Home over it.
  • A restart from the menu or reboot is micomPower. Not in the list: with homeAutoLaunch on, bootd still put Live TV in front at 14.9 s.
  • Writing homeAutoLaunch through the settings service turns checkHomeAutoLaunchValue from default to user.
  • bootd logs the app it put in front as BootSequencer) '<id>' is foreground in /var/log/bootd.log, which is on tmpfs and holds the current boot only.
  • The boot hook ran 31 to 36 s in. Mounting and rereading took 8 s with LG's Home running in front, 1 to 2 s with it never started, and 10 s once. sam's last_input_handler relaunched Home 1 s after the hook stopped LG's Home in front, with nothing in front in between.
  • Wake-on-LAN did not wake it from Power Off after a powerOff, on either interface, with network.wolwowlOnOff true.
  • With Quick Start+ off it powers off 4 to 6 s after Active Standby, so a powerOn 6 s after a powerOff found it gone.
  • With Quick Start+ on, a powerOff went to Suspend 5 s after Active Standby (PowerOffReason oslbSaving). Woken by the remote from Suspend, uptime carried on and the mount was still in place; bootd logged homeAutoLaunch(on), launched com.webos.app.home, and Glasshouse Home was in front 0.76 s later.

What the TV opens as it starts (G3, webOS 9.2.2)

Measured on 19 October 2026 on an OLED55G36LA.

  • With Quick Start+ on, a wake runs bootd too. Woken by the remote from Suspend, it logged homeAutoLaunch(on) and launched com.webos.app.home with {"boot": true}: Glasshouse Home, still mounted, in front 1.3 s later. With auto launch off, bootd put the last input (HDMI 4) in front instead.
  • Wake-on-LAN is wakeOnLan, and bootd stayed on HDMI 4 with auto launch on.
  • fullHomeBootingPowerOnReasons is missing (missingConfigs); bootd opened Home on remoteKey and not on micomPower.
  • A cold start logs the first app as on the G5: 'com.webos.app.hdmi4' is foreground at 13.4 s, after remoteKey at 9 s.
  • Off and on again 6 s apart goes Active, Active Standby, Active, with no boot: bootd runs and puts the last input in front, and the boot hook does not run.
  • The settings service gave no quickStartMode for a getSystemSettings quickStartMode sent as the TV woke from Active Standby, twice; read seconds later it answered.
  • powerOn with {"reason": "remoteKey"}, sent over SSH in Active Standby, wakes it as the remote does: tvpower and bootd log remoteKey.
  • Writing homeAutoLaunch left checkHomeAutoLaunchValue at default, unlike the G5.
  • With Glasshouse Home first, the boot hook started 30 s in and had it in place at 34 to 39 s, the screen saver mount after it.

What the TV opens as it starts (C4, webOS 10.3.1)

Measured on 20 and 21 October 2026 on an OLED65C4PSA (firmware 33.31.68), Quick Start+ on, Always Ready on, homeAutoLaunch on (checkHomeAutoLaunchValue user).

  • It powers off 4 h after its last boot. tvweb.log had Active Standby -> Power Off at 14411 s of uptime on both days, so the first power-on after that is a cold start even with Quick Start+ on.
  • bootd started on the last input at every power-on by remoteKey. At a cold start it logged homeAutoLaunch(on) at 10 s and 'com.webos.app.hdmi3' is foreground at 15 s, and launched no com.webos.app.home. Woken after 8 s in Active Standby, it logged auto_home_launch(on) homeAutoLaunch(on) and again launched only HDMI 3.
  • The boot hook started about 41 s into the cold start and had Glasshouse Home in place 3 s later.
  • Switched on by Always Ready the power-on reason is alwaysOn, which is not in fullHomeBootingPowerOnReasons.

What the TV opens as it starts (QNED72B6B, webOS 11.1.0)

Measured on 26 October 2026 on a 50QNED72B6B (43.11.85), Quick Start+ off.

  • bootd put Live TV in front at 22 s ('com.webos.app.livetv' is foreground), with general.homeAutoLaunch off and the power-on reason remoteKey.
  • The boot hook ran 41 s in, after rest-boot-done at 39.6 s, and had Glasshouse Home mounted 4 to 9 s later.
  • LG's Home's id is reported in front once the hook has stopped it. At 44 s, while the hook had sam reread the mounted app, bootd logged 'com.webos.app.home' is foreground, and getForegroundAppInfo gave com.webos.app.home, with Live TV still on screen and nothing of Home drawn. A check that the input bootd started on is still in front then opens nothing. Launching com.webos.app.home from there brought Glasshouse Home to the front.
  • With Quick Start+ on, a wake by the remote from Active Standby or Suspend had Glasshouse Home in front with no Live TV before it.

What the TV opens after Wake-on-LAN (G3, webOS 10.3.0)

Measured on 19 November 2026 on an OLED65G39LA (firmware 33.31.24) on Wi-Fi, Quick Start+ on, homeAutoLaunch on, a PS5 on HDMI 2 with SIMPLINK on.

  • Woken from Suspend by a magic packet the reason is wakeOnWiFi. bootd launched com.webos.app.home as its first app and, 0.03 s later, the last input (com.webos.app.hdmi2, caller com.webos.bootManager), which was in front 0.2 s in; the PS5 woke over HDMI-CEC. Its Input App action ran because Last App Booting stayed off. With the remote (remoteKey) the same TV woke on Home with no input launched.
  • Last App Booting follows firstAppByPowerOnReason. With /var/luna/preferences/bootd.json, a copy of /etc/palm/bootd.json with wakeOnWiFi and wakeOnLan mapped to com.webos.app.home, read after a reboot, a wake from Suspend logged Trigger 'Last App Booting' and doExtAppLaunching, had com.webos.app.home in front 1.1 s in and launched no input.
  • bootd reads fullHomeBootingPowerOnReasons once, about 10 s into a boot. com.webos.service.config/setConfigs adding wakeOnWiFi returned true and getConfigs gave the new list, but a wake still launched the input; after a reboot bootd's own request at 10.2 s still got LG's list, though getConfigs gave the new one later.
  • A magic packet sent to the TV's IP address does not wake it from Suspend: the sender has no ARP answer for it. Sent to the network's broadcast address it woke in about 3 s.
  • Auto Power Sync (simplinkAutoPowerOn) is not what wakes the device. The input put in front does.

What the TV opens as it starts (C9, webOS 4.10.0)

Measured on 27 October 2026 on an OLED65C97LA, Quick Start+ on.

  • bootd takes the first app from its own config. /etc/palm/bootd.json has common.firstApp.firstAppInNormal {LAST_INPUT_APP}, and common.firstAppByPowerOnReason maps reasons to apps: netflix, amazon and ivi to those apps, remoteKey and localKey to {LAST_APP}. A reason not listed takes firstAppInNormal. Both placeholders came out as the last input (utp.externaldevice/getLastInput, HDMI_2, kept in /var/lib/eim/lastinput), whatever app was in front at the switch off.
  • /var/luna/preferences/bootd.json replaces it. bootd's constructor checks it with access() and parses it instead of the file in /etc, not on top of it, so it must be a whole config. It is read once, as bootd starts: a cold start is needed, and a Quick Start+ wake uses what was read.
  • An app as the first app. With firstAppInNormal, remoteKey, localKey and wakeOnWiFi set to Luma (com.ecklf.luma) and hdmiCec to {LAST_INPUT_APP}, a Wake-on-LAN from Suspend opened Luma through com.webos.coverUI/open 0.34 s after Active, and the last input (HDMI 2, a PS5 woken by it over HDMI-CEC) was not opened at all. The TV closes Luma at each switch off, so this is a fresh start: its window was up 1.3 s after the launch.
  • A cold start is slow for an app installed in developer mode. bootd launched Luma 15 s in, got no reply from sam within 5 s three times ("Fail to launch firstApp. Retry") and gave up; sam had its launch points at 45 s (bootd's listLaunchPoints), and Luma was in front at 52 s. LG's Home and com.webos.app.inputcommon were restored from snapshots at 3.8 s, and with the last input as the first app the input was in front at 15 s.
  • Writing the settings service's general.lastInputApp and physicalLastInputApp to an app changed nothing: bootd still asked getLastInput, and the TV wrote HDMI 2 back.
  • The power-on reasons seen: remoteKey, wakeOnWiFi (Wake-on-LAN over Wi-Fi), micomPower (a restart or the power cable), and hdmiCec among the names tvpowerd knows.

Muting and pausing (webOS 5.6.2, CX)

  • com.webos.audio/setMuted only changes audiod's own status: the TV keeps playing and com.webos.service.apiadapter/audio/getMute stays false. apiadapter/audio/setMute { mute } mutes it and shows LG's mute icon. Switching on from standby, or a reboot, clears the mute.
  • With sound through an ARC soundbar (external_arc), com.webos.audio/setVolume left the volume as it was. Not looked into further.
  • com.webos.service.networkinput/controls/pause paused a playing video in YouTube, Netflix, Apple TV and Peacock. Paramount+ only shows its player bar on the first one and pauses on the second. On YouTube's browse screen it does nothing.
  • applicationManager/pause { id } sends the app pause but leaves it the foreground app; YouTube stopped, and a launch afterwards left it on a black screen for over 25 s. com.webos.media/pause fails on an app's own pipelines (is_managed: false).

The system log (webOS 5.6.2, CX; webOS 10.3.1, C5)

  • On the CX, /var/log/messages gets only the NL_* messages named in /etc/PmLogDaemon/whitelist.txt. A context raised to debug with PmLogCtl writes nothing more there, and a native app's stdio is /dev/null.
  • The C5 keeps its system log in /var/log/dbg-log as well as /var/log/messages; QML errors are in the first.

ls-monitor restarts the TV (webOS 10.3.1, C5)

Running ls-monitor on the C5 made ls-hubd open a monitor socket per service until it ran out of file handles (Too many open files, about 360 in use normally, limit 1024). faultmanager recorded fd leak is happened on "process = ls-hubd" in /var/spool/faultmanager and answered the next suspend request with rebootToSuspend, so the TV restarted with PowerOnReason: rebootByFault at its next standby. It happened both times ls-monitor was run, and not without it.

How the flags are rebuilt from the agreement documents is described in IMPLEMENTATION.md; this is what two more firmwares showed.

  • Which flags exist. Two CX on the same firmware and a C5 all have acrAdAllowed, acrAllowed, acrGdprAllowed, acrOnAllowed, additional1Allowed, additionalDataAllowed, cookiesAllowed, customAdAllowed, customadsAllowed, generalTermsAllowed, marketingOnAllowed, networkAllowed, remoteDiagAllowed, thirdPartySharingAllowed, voiceAllowed and voice2Allowed. Only the C5 has additional2Allowed and additional3Allowed; only the CX have takeOnAllowed. shoppingOnAllowed was on the C5 and one of the two CX, so the same firmware can differ.
  • What rests on what. generalTermsAllowed rests on S_SVC (Terms of Use) and S_PRG (Privacy Policy); on the C5 so does additional3Allowed. networkAllowed rests on no document.
  • A flag written off with its documents left accepted comes back at boot. With every flag written off on its own, a reboot of all three put generalTermsAllowed back on, and additional3Allowed on the C5. All the others, networkAllowed among them, stayed off.
  • networkAllowed off stops nothing visible: on a CX with it off, YouTube and Netflix opened to their profile screens and the Content Store listed apps, with some pictures missing. It held through a reboot on all three.
  • The Terms gate (CX). With S_SVC, S_PRG or both withdrawn, the TV set generalTermsAllowed off at its next boot, and then YouTube, Netflix and the Content Store each opened com.webos.app.eula (LG's User Agreements screen) instead, on six of nine launches; the Home key on it asked whether to end User Agreements. With both accepted and the flag written off, launches were blocked at once. Accepting both again and setting the flag opened the apps without a restart. So the gate is the flag, which the TV sets at boot only when both documents are accepted. chpAllowed went off with the terms and stayed off after they came back.
  • general.launchEulaByHome was already false on a CX and the C5; on the C5 only the first-use app names it. Not tried.

Privacy settings and what reads them (webOS 10.3.1, C5)

Readers were found by searching /usr and /etc for each key, so a reader that builds the name at run time would be missed.

Key C5 value Read by Effect found
option.dbgLogUpload true uploadd, PmLogDaemon Not in LG's menus (ui.visible: false). Once seen back on after a boot, with uploadd running 73 s in although its unit had been masked under /run.
option.faultLogUpload false uploadd, remotediag, prosense, PmLogDaemon, Settings, first use Its description limits it to KOR, USA.
option.usageCare true Settings only The Usage Care menu entry, which opens Family Care. Family Care's own code never reads it; its screen-time lock reads the parentalControl keys, and it has no network code.
option.thirdPartyCookie on the HbbTV plugin of WebAppMgr, Settings HbbTV only. Values on, off, onByUser, offByUser.
general.voiceLongDistance on voiceinput Off or on, no capture device was opened in Active or Active Standby; detection may run on the sound chip, so not settled.
option.watchedListCollection on none found (only tvdataexchanger/spec.xml names it) Unknown.

The CX has voiceLongDistance and watchedListCollection but none of the other four. On both, general.lmt (Limit Ad Tracking) read on; the advertising ID read limitTracking: true only after a reboot, while the advertising service had not answered before it.

Others with no effect found:

  • option.webOSPromotionVideo (on/off): nothing outside LG's settings definitions names it, on either TV.
  • general.homeAutoLaunchMode (full) on the CX: no reader found.
  • general.powerOnScreen takes only todays and liveTv, and only the broadcast service (legacy-broadcast) reads it.
  • hotelMode.enablePowerOnDefaultVolume and powerOnDefaultVolume are set by LG's installation menu together with hotel mode itself. On the C5 audiod reads the first; on the CX nothing outside that menu does. Not tried.

LG host names in the firmware (webOS 5.6.2, CX; webOS 10.3.1, C5)

A search of /usr and /etc for names under lgtvcommon, nextlgsdp, lgtviot, lgthinq, ngfts, wiselg, lggalleryplus and lgsmartad. None of these was seen in a network capture; they are only what the firmware can name.

  • Region prefixes. Many names appear bare and with aic., eic., eu., kic. and us. in front (cdpbeacon, cdpsvc and wau under lgtvcommon.com, info.lgsmartad.com), or as aic-, eic-, kic- and qt2- forms (ngfts.lge.com, the lgthinq.com services). A hosts entry blocks only the exact name, so the prefixed forms need their own lines.
  • Names held with a leading dot: .api.lgtviot.com and .lgtviot.com on the CX, .lgtviot.com, .buddy.lgtviot.com and .pnv.lgtvcommon.com on the C5, which suggests the firmware puts a prefix in front at run time. Not confirmed.
  • CX only: fooddelivery, cpv and qt2-kic.imagesvc under lgtvcommon.com. C5 only: the nextlgsdp.com names (ibs, ibsstat, rdx2, qt2-US), dev-ruc-ngfts.tv.wiselg.com, and cpauth, qcardservice, rdl, wiseconfig, wiseresource and videoads under lgtvcommon.com.
  • Both: nudge, recommend, rdx, homeprv, netflixvoice and videoacr under lgtvcommon.com; api, push and sports under lgtviot.com; ad, info under lgsmartad.com.
  • No lggalleryplus.com in either.

Stale hosts copies across clock sync (C4, webOS 10.3.1)

On 12 November 2026, an OLED65C43LA running Glasshouse 0.143.1 with Everything enabled held a correct 9,799-byte /etc/hosts. getent hosts answered :: for de.nextlgsdp.com, eic.tv.wiselg.com and ngfts.tv.wiselg.com. Chromecast's running jail held an 8,104-byte ordinary copy, byte-for-byte the pre-clock table, missing all 33 clock-delayed names. Its copy was dated six seconds before the server reported the clock already valid and skipped the grace period. A separate Python process chrooted into that jail resolved de.nextlgsdp.com to public IPv4 addresses; the main hosts file blocked it. This proves a resolver bypass through the stale copy, not which app caused each earlier Pi-hole entry or that an HTTPS upload succeeded.

The running lg.thinqai.adapter and voice performer's jails held LG's 234-byte file with no blocker entries. YouTube's copy matched the current table. Reboots can repeat the ordering: copying before the blocker starts or the clock gate closes leaves a running app behind. Synchronization must cover existing copies after each table change and the jailer's later resets, including jails for background services.

Read-only owner checks of build 681736d5 on 13 November found all ten listed jail hosts files equal to the TV's table, including Chromecast, ThinQ, voice, YouTube and Netflix. getent hosts returned :: for www.ueiwsp.com, de.lgeapi.com, de.nextlgsdp.com and eic.tv.wiselg.com. These establish the copies and the queried resolver's state at that time; they do not establish that every running client consults them or prevent requests before startup.

Regional service coverage

An owner's Pi-hole log reports de.ibs.nextlgsdp.com, de.lgeapi.com, eic.lgtviot.com and eic-connect-client.lgthinq.com with Everything selected. These are reported DNS lookups, not a project network capture or proof of a successful connection. A hosts entry for nextlgsdp.com or lgtviot.com cannot cover their subdomains.

The firmware string search above names ibs, ibsstat, the ThinQ API, push, sports and buddy families, and LG's dotted and hyphenated regional prefixes. Own Your Glass's extracted SDX configuration also identifies ibs.nextlgsdp.com and ibsstat.nextlgsdp.com as the ibis_secure and ibis_stat_secure services, and names common.lgthinq.com and connect-client.lgthinq.com for ThinQ. This establishes service names, not the payloads sent by each regional endpoint.

Everything expands these service families with LG's known regional prefixes and the TV's country; ThinQ Connect uses aic-, eic- and kic-. Generated siblings are coverage derived from those patterns, not observed traffic on every region's TVs. They remain in Everything because account, store and ThinQ features may depend on them. New names under nextlgsdp.com keep the existing wait for a valid clock. lgtvonline.lge.com remains the connectivity check described below.

Additional hostnames reported on the C4

On 13 November 2026 the same owner reported these names after updating main and restarting the TV. DNS activity alone does not identify a request's payload or prove that a connection succeeded. Post-startup checks of the synchronization are described above; the earlier DNS activity does not identify an individual app's resolver behavior.

Names reviewed Coverage and evidence
de.nextlgsdp.com, de.lgeapi.com, eic.tv.wiselg.com Already in Everything. SDP and WiseLG names wait for the clock; stale jail copies can omit them after that wait ends.
eic-ngfts.lge.com Added to Everything alongside aic-ngfts.lge.com; Home search's poster URLs above use this European host.
www.ueiwsp.com Added to Everything alongside the bare domain; also observed alongside the device scans above. Blocking this cloud host does not stop the LAN PTR sweep.
eic-ocp.lgtviot.com Added as an exact reported alias. A read-only string search on the C4 found ocp.lgtviot.com in /usr/sbin/ocpservice; this does not establish the regional endpoint's payload.
eic-gfts.tv.wiselg.com Added as an exact reported alias, with the WiseLG clock gate. Its function has not been independently established.
device-provisioning.googleapis.com Added to Everything: Google's FCM network documentation lists it alongside mtalk.google.com. The lookup does not identify which TV component used it.
clients1.google.com Left out: Google lists certificate-revocation checks and app approval among its uses. No request path was captured on this TV.
clients2.google.com Left out: Google documents both crash/WebRTC update logs and extension downloads here. No request path was captured on this TV.
www.googleapis.com A later reported lookup; left out because Google documents shared APIs and connectivity probes here. The hostname alone does not establish telemetry.
clients3.google.com, clients4.google.com Left out: shared Google services, including clock synchronization and crash reporting, rather than a dedicated LG tracking endpoint.
tools.google.com Left out: Google documents update configuration for Omaha here. Its use on this TV is unverified.
www.gstatic.com Left out: Google documents shared sign-in assets and connectivity probes here.
clients3 Left out: a bare label is a different query from clients3.google.com; its origin is unknown.

Google's FCM network requirements identify the provisioning endpoint. Its Android Enterprise requirements describe the shared clients hosts, and the Chrome endpoint reference describes Omaha, static assets and connectivity checks. The Chrome proxy endpoint list also documents shared API, extension-download and logging uses. These describe Google's platforms, not captured webOS request paths. Earlier reported connectivitycheck.gstatic.com and www.google.com remain outside the list as connectivity/shared service hosts. The earlier lgtvonline.lge.com exclusion still applies. Owners can add exact names to a custom list, with the risk of breaking services that share them; Everything is not a firewall or a wildcard DNS policy.

Content Store interface and recommendations

On 13 November 2026 the C4 owner also reported de.app.lgwebostv.com. Life's Good Without Spying's Content Store list identifies app.lgwebostv.com as the store interface and lgrecommends.lgappstv.com as app recommendations. It lists both bare hosts and 71 country variants of each, and reports store errors 202 or -102 when blocked. This is that project's evidence; the C4 lookup does not establish its request path or payload, and the other variants were not captured on it.

Both families are blocked only in Everything, using the bare host and saved TV country, or the existing fallback countries before it is known. No LG region prefixes are inferred for these families. They do not carry the known SDP clock endpoints, so they are blocked before clock sync too. The store's request-log family, elastic.lgwebostv.com, remains in Ads & telemetry.

WiseLG names beyond the reported alias

The existing list generates tv.wiselg.com, LG's dotted regional names (aic., eic., kic., eu.) and the TV's country, and blocks ngfts.tv.wiselg.com. The owner's eic-gfts.tv.wiselg.com is a separate hyphenated name; neither the bare host nor eic.tv.wiselg.com covers it. The firmware search above also found dev-ruc-ngfts.tv.wiselg.com on a C5 running webOS 10.3.1. It is now an exact Everything entry, with the same clock gate. Its presence in firmware does not establish use on the owner's C4. Other guessed gfts or ngfts regional and development combinations are not added without a firmware name or traffic report. No exhaustive inventory of all WiseLG subdomains has been established.

Additional categorized domain coverage

Life's Good Without Spying's domain lists at 0057ce44 identify additional SmartAd, ACR, APM, Home, ThinQ, SDP and LG Channels endpoints. This is upstream classification and reported resolution testing, not a capture establishing the payloads or users of every name on a Glasshouse test TV. The upstream MIT notice is retained.

Glasshouse adds SmartAd's country family, regional ad/video-ad and second beacon families, the legacy lgad.cjpowercast.com, Alphonso's ad-inserter and config-overlay-ads, lgads.tv, tracking.lgtvsdp.com and dedicated APM names to Ads & telemetry. Home configuration/recommendations, additional ThinQ services, OCP and common push remain Everything-only because they can carry features as well as reporting. LG Channels' exact LG, Pluto and Xumo names also belong only to Everything, including the shared analytics name tags.tiqcdn.com; this can affect related Pluto features.

Country and regional families use bounded prefix generation rather than the upstream list's full country enumeration. Home uses the bare names and aic/eic/kic; additional RUC and development aliases are exact entries. Generated siblings are inferred coverage, not traffic observed on every region. The classification does not import generic shared Google or streaming domains. Firmware-update names remain under the existing separate update-block switch.

The SDP list documents af, as, la, me, na and eu7 macro-region names and these country7 names: au, br, cn, hk, id, il, jp, kr, my, sg, tw, us, vn and za. Glasshouse includes only the saved country's documented variant, or applicable fallback countries before it is known. It does not infer a variant for every country: no de7 or gb7 is listed. Those names and the exact ruc.tv.wiselg.com also remain reachable until the existing clock gate closes. Unlike the upstream project's fixed 60-second SDP delay, this gate requires valid time.

The C4 owner subsequently reported testing the expanded coverage with no functional problems observed so far. Domains and the LAN-wide scan still appeared in Pi-hole during boot; no further queries were observed after Glasshouse was fully started during that test. This does not identify the requesting processes or establish the behavior of other TVs and webOS versions.

Report and store log hosts (C4, webOS 10.3.1)

  • sdx uploads reports to rdx2.nextlgsdp.com. com.webos.service.sdx/getRdxServerUrl answers https://US.rdx2.nextlgsdp.com/rdx/9.0.0/ on a US C4, so the older rdx2.lgtvsdp.com names no longer cover it. It is a different name from us.nextlgsdp.com, which sdx signs in to and the Content Store uses.
  • The Content Store logs its requests to elastic.lgwebostv.com. LG's store frontend (com.webos.app.discovery, loaded from LG's servers) posts to <first label of its API host>.elastic.lgwebostv.com/logs/<type>: us. on a US TV, with st and qt test hosts mapped to qt2. Each post carries the TV's wired MAC address and a request id, and the request logs also carry the device platform, language, SDK version and FCK headers. It is fire-and-forget, and with it sinkholed the store still opens and lists apps.

ACR on a CX (webOS 5.6.2)

  • acr2 starts on demand. Its D-Bus service file is Type=dynamic, so any call to com.webos.service.acr, such as a status query, starts it. A running acr2 is not a sign ACR is on. Idle, it used 0.08 s of CPU in about 15 minutes, 3.5 MB, and only bus sockets, with libvtcapture mapped and the Alphonso library (libalphonsosolution.so) not.
  • What starts it on a stock TV. The activity manager's /etc/palm/activities/com.webos.service.acr/activity-com.webos.service.acr.start.json ("Start ACR service when TV on") calls acr/startAcr once bootManager/getBootStatus reports rest-boot-done. LG's input app (com.webos.app.inputcommon) and the com.webos.app.acr* apps call the service as well; in /usr/sbin only livepick-plus names it.
  • With Live Plus off it does not stay running after boot. On a CX with livePlus off and the ACR consents off, acr2 was not running 15 hours after boot, and its data folder has no record of a run. Its strings include a Quit path, the eula check it logs (generalTerms, livePlus, IBA, DPA), and an activity acr_wake_up_by_liveplus_on ("ACR service as dynamic for live plus menu"), which reads as a trigger to start it again when Live Plus is switched on. That it ran and quit was not seen: the activity list was not readable and nothing was logged.
  • Started by a call, it stays. On the same CX a single getACRSolutionStatus started it (answer ACRSolutionStatus: false), and it was still running 5 minutes 20 seconds later: no CPU time, 3.5 MB, 8 sockets, no /tmp/acr.xml. A SIGTERM ended it, and nothing started it again within 30 s. So a status query undoes what switching Live Plus off achieves until the next reboot; Glasshouse's Privacy panel asks it only while it runs.
  • Started that way, it collects nothing. With Live Plus and acrOnAllowed off, an acr2 started by getACRSolutionStatus was watched for 2 minutes: no CPU time, 5 threads throughout, libvtcapture mapped and the Alphonso library not, no network sockets (8 local bus sockets), no /tmp/acr.xml, getVideoCaptureStatus stopped with captureSpeed 0, and ACRSolutionStatus false at the start and the end.
  • /tmp/acr.xml is a downloaded configuration, not a switch. Its strings in acr2 are "[Configuration] Initialize : downloading config file", with /mnt/lg/cmn_data/acr.xml as a fallback that does not exist. On a CX and the C5 it read ACR_On="true", audio capture and send_data true while ACR reported itself stopped. Rewritten to false, it was true again about 30 s later and stayed false after a second rewrite; what wrote it back was not found. It was gone after a reboot on the CX, and still there on the C5.
  • ACR switched on (livePlus on, acrOnAllowed on) changed nothing in 3 minutes: no Alphonso library loaded, getACRSolutionStatus false, capture stopped, no network sockets, no /tmp/acr.xml. No input had a signal.
  • Why it went no further: traced over a restart of acr2, it reads the country, eulaStatus, livePlus, the device name, sdx getServer (Production) and getPublishFlag (true), then asks com.webos.service.sdx/getDeviceAuthenticationStatus, gets isDeviceAuthenticated: false, provisioningCompleted: false, and stops. Whether that was the network consent being off, the hosts block, or both was not tested.
  • /etc/pmlog.d/acr.conf points the acr context at /var/log/acr.log, which is never created; even at debug level nothing reached /var/log/messages.

LG's other privacy daemons with the consents off (webOS 5.6.2, CX)

On a CX with every ad, voice, diagnostics and marketing consent off, acr2 is the only one of these that the consents keep from running. The others start whatever the consents say, and sit idle:

Daemon Started by After 16 hours
admanager activity com.webos.service.admanager.start: admanager/start once connectionmanager reports the internet up; also on demand (Type=dynamic) running, 1 s CPU
adoverlay-service activity com.webos.service.adoverlay.start: startAdoverlay at rest-boot-done; also on demand running, under 1 s CPU
livepick-plus activity com.webos.service.livepickplus.start: livepickplus/wakeup once the internet is up running, 1 s CPU
voiceinput, voiceconductor, nlpmanager systemd units running; 14 s, 1 s and 42 s CPU

None had a network socket open. None of their start activities names a consent, so there is no consent to switch off that stops them; what keeps uploadd, rdxd, nudge, contentminer and remotelogger stopped is Glasshouse's background services switch, which masks their units. Glasshouse calls only admanager (the advertising ID, its reset and cookies) and voiceinput.sound (the microphone switch), and asks either only while it runs.

The microphone switch (webOS 10.3.1, C5)

The C5 has a far-field microphone (tv.model.supportFarFieldVoice: "on with switch"; WoV PDM Mic on ALSA card 1) and a switch for it on the TV. voiceinput.sound/getMicSwitchStatus reads the switch as a GPIO level: high is on, low off. Flipping it off logged "MIC SWITCH Status Changed: 1 -> 0", took ThinQ's voice activation off with reason "Mic Switch", and showed a toast saying the microphone is off. Before the flip, in Active Standby, voice activation was already off with reason tvPowerState, so wake-word listening does not run in standby.

WebKit 538.2 requires -webkit- prefixes for flexbox and transforms (webOS 2.2.3, 55UH600V)

webOS 2 runs WebKit 538.2. Unprefixed CSS display: flex, flex, align-items, and justify-content are ignored; flex containers and items fall back to block layout unless given -webkit-flex and -webkit- prefixes. Without them, an item with position: absolute children and no in-flow height collapses to 0 px. CSS transitions and transforms similarly require -webkit-transition, -webkit-transform, and element.style.webkitTransform in script (#746).

height: 100% on that flex item does not rescue it. Chromium 53 (webOS 4, a B8 and a C9) and WebKit 538.2 (the 55UH600V on 0.122.1) both count it as no height, so the TV app's row list collapsed to 0 px: on webOS 4 nothing showed in 0.121.0 and 0.122.0, and on webOS 2 only the right-hand explainer. The list now has no height of its own and is stretched to its row, and the page sets it in pixels where an engine still leaves it at 0.

On the B8 the TV app's page, kept in memory, went on showing the old layout after the server was updated, until the TV restarted: it came back without the webOSRelaunch event that reloads it. The page now also reloads when /api/caps reports a server version other than the one it loaded with.

Installing Glasshouse's own package (G3, webOS 9.2.2)

  • appInstallService/dev/install with ipkUrl set to a local .ipk of io.github.rorygallagher2024.lg-webos-dashboard replaced the app in about 1.5 s, with the server, run from /var/lib/tvweb, left running. The package has no services, so nothing lost root.
  • The app was open at the time and the install closed it; the TV went back to Home.
  • Network-input key codes (networkinput/test/sendKeyCode) did not reach the Glasshouse app's page; key events written to the remote's input device (LGE RCU) did.

Glasshouse Home's first load after a cold start (C2, webOS 9.2.2)

Opened as the boot hook opens it, 30 s after a reboot, Glasshouse Home's page waited for the server, which answered at 41 s, and the view's first heartbeat came at 50 s: about 9 s from the server answering to the view drawn. The first Home press after a reboot took up to 13 s on a CX (webOS 5.6.2), so a fixed wait from the server's start is too short for slower TVs; the page's own requests to the server show it is running.

LG's cloud and its uploads on webOS 11.2 (OLED77C5PUA, firmware 43.21.31)

  • The service platform is tv.wiselg.com. sdx's server list, /mnt/lg/cmn_data/sdp/sdx/server_addr_version.conf, has one block, 11.0.0, naming tv.wiselg.com (and tv.wiselg.cn) for every service: domainType default services (sdp_auth, sdp_init, sdp_common, sdp_logging, sdp_home) are reached as <country>.tv.wiselg.com, ric services (sdp_apps, sdp_search, sdp_nlp, ibis_secure, ibis_stat_secure, rdx_secure at rdx/10.0.0/, nudge_log_secure, cdpbeacon_secure, lgshoplog_secure) as <region>.tv.wiselg.com. getServerUrl answered http://US.tv.wiselg.com and getRdxServerUrl https://AIC.tv.wiselg.com/rdx/10.0.0/; appInstallService's serverInfo names http://US.tv.wiselg.com. lgtvsdp.com and nextlgsdp.com are not in the list. systemTimeSource is sdp, so the clock comes from these hosts.
  • uploadd is started by the bus, not its unit. /usr/share/luna-service2/services.d/com.palm.uploadd.service is Type=dynamic, so a call to it runs /usr/sbin/uploadd -v whatever uploadd.service is masked to; PmLogDaemon, faultmanager, prosense, rdxd, alwaysready, arccontroller, iot-proxy and remotediag name it. With its unit masked, it was found running 64 to 76 s after each of four boots and stopped by the server's first check. It names no host: it asks sdx for getRdxServerUrl, getServerUrl, getHttpHeaderForServiceRequest and sends through sdx/send. It reads option.dbgLogUpload (true from the factory) and option.faultLogUpload (false); PmLogDaemon, prosense and remotediag read faultLogUpload. /var/spool/uploadd/pending, /var/spool/rdxd and /var/log/reports/librdx were empty with rdxd masked.
  • adlogservice. /mnt/lg/cmn_data/adlogservice/data/adlogservice.enc is an encrypted Python script (script_version 0.38, with a backup/ record from August), run by com.webos.service.lsa (Type=dynamic, which reads generalTermsAllowed, sdx/getHttpHeaderForServiceRequest and the power state). Its adlogservice-config.json enables it on generalTermsAllowed alone. Its bytecode names aic.api.adts.lgtvcommon.com/api/v2/advertisement, https://{}{}.tv.wiselg.com/authr5, mac, app_id and channel. Neither host is in the tested blocklists of earlier releases.
  • remotediag (/usr/sbin/remotediag) names rone-aic.lge.com, rone-eic.lge.com, rone-kic.lge.com, rone-saic.lge.com and rone-tv-* siblings, and LG-internal addresses. Its unit has ConditionPathExists=/mnt/lg/cmn_data/remoteDebug/remoteDebug.sh, absent here, so it does not run.
  • remotelogger (/usr/sbin/remotelogger, running since first boot) names no host or URL and holds one local socket; its strings name /var/log/crashd, /dev/mem, /dev/kmsg and /proc/thermalinfo/soc_temperature.
  • The updater (/usr/sbin/update) checks https://snu.lge.com/...laf (snu-dev.lge.com and an IP for test), which the Homebrew Channel's update block covers; http://nsu.lge.com:5100/ is the download CDN it uses after a check answers (responseUpdate.cdnUrl).
  • No preload list in configd. com.webos.service.preloadmanager.supportAppList is a missing config; preloadmanager/getPreloadPolicy answers the list, with the same fields (id, isEnabled, isAllowed, requiredMemory, preloadMode, preloadType, staticPriority), naming LG Channels, Home, HDMI 2, YouTube, the browser, Prime Video and Live TV; sam's log shows the preload manager launching them at each boot. The allow list is /var/preferences/webos-preload-manager-conf.json (version 3).
  • Other hosts in the firmware, not telemetry. lgtvonline.lge.com is connman's online check (/etc/connman/main.conf); www.lge.com and dlnadevicename.lge.com are UPnP and DLNA descriptions; hlm.lge.com, dokdo.lge.com, wam.lge.com and collab.lge.com are LG-internal references in configuration; lgthinq.com, lgeapi.com and lgtviot.com are the ThinQ account and IoT cloud (accountmanager, iot-client, iot-proxy, the Matter service).
  • No /etc/issue. The release is in /etc/starfish-release (Rockhopper release 11.2.0-2901 (queue-qilian)), /etc/os-release (VERSION_ID=11.2.0) and /var/run/nyx/os_info.json; the kernel is 6.12.44, 64-bit, with 32-bit userspace.
  • Usage events stay in /var/log/messages. pqcontroller writes NL_PICTURE_PERIODIC_REPORT (picture mode, backlight, zip_code, the app) and sam NL_APP_LAUNCH_BEGIN; lginput2 logs each remote press. With the uploaders stopped these go nowhere.
  • LG switches dbgLogUpload on at boot. /etc/palm/defaultSettings.json has it false, yet it was true again after every start, with /var/luna/preferences/option rewritten at boot. PmLogDaemon's strings have the mechanism: dbgWhitelist_update asks sdx's rdxdev_secure service (fileInfo?version=, on tv.wiselg.com), downloads dbgWhitelist.enc through the download manager into /mnt/lg/cmn_data/whitelist/ (version 6 here, dbglogversion), and writes {"category":"option", "settings":{"dbgLogUpload": %s}} from the answer; "UserReport Off" writes faultLogUpload false. uploadd subscribes to both keys and answers "isDbgLogUpload flag is false" while it is off. A write of false from the dashboard held until the next boot only.

C9 CEC receiver detection without the newer ARC service

On an OLED65C9PUA, webOS 4.10.2/05.50.00, the 0.130 Audio view had no receiver name while audible DTS-HD-to-PCM 5.1 continued at Sonos. The firmware returned Service does not exist for com.webos.service.arccontroller, Unknown method for audio/tv/getAudioInputProperty, and exposed none of the newer /proc/lgtv-driver/audio files. com.webos.service.eim/getAllInputStatus did report arcDevice: true and a connected HDMI 2 with one SIMPLINK audio system (cecpDevType: 5) named Sonos Arc.

The receiver reader can identify that unique connected CEC audio system and its port without assigning it an active return-channel type or codec list. Ambiguous, disconnected, non-audio or failed replies do not supply a fallback. A targeted read-only diagnostics deployment identified Sonos Arc on HDMI 2, retained the native HAWK2 DTS advertisement and six-channel source metadata, and the owner confirmed continued audible Multichannel PCM 5.1. All calibration-file hashes, white balance, OLED protections and HDMI EDIDs matched the pretest baseline. The TV app was not opened on the TV during the disc.

Where a cold start's time goes (B8, webOS 4.4.3; C2, webOS 9.2.2)

Uptime in seconds from LG's NL_APP_LAUNCH_BEGIN and NL_VSC lines in /var/log/messages, the boot hook's log and the server's log:

B8 C2
Home pressed, the view on screen (webOS 4) 25.6, 28.1 -
webosbrew runs the boot hook 41 23 to 26
Server listening, with the hook's 5 s wait 50 40
Server listening, without it (#1171) 43 29

On webOS 4 the Home key opens the view before webosbrew runs the hook, and the view only shows the Glasshouse mark until the server answers. webosbrew's own start-up script decides when the hook runs; Glasshouse cannot move it.

Once the server answered, the view's first catalogue took 7.9 s on the B8 and 6.6 s on the C2, against 0.75 s and 0.35 s on later requests. Every child process start waits its turn 150 ms apart for the server's first 30 s (lib/children.js), so the catalogue's luna calls queued behind the start-up reads, and the route also waited on two uncached calls from status(), 3.7 s of the B8's 7.9 s. Answered from the lists saved in home-lists.json, it took 0.1 s on the B8 and 0.02 s on the C2.

Loading every module in server/lib takes 0.9 s on the B8 (node 0.12.2), and node itself 0.4 s; neither is worth shortening.

Paired Bluetooth audio devices (55UM7290PTD, webOS 4.10.2)

Read only, from luna-send:

  • com.webos.service.btaudiosrc/getPairedDevices with {} answered returnValue: true, a count and devices, each with address, name, state and type. The two paired devices, a soundbar and earbuds, were both type: "bt_audio"; the one in use was state: "connected" and the other "disconnected".
  • getConnectedDevice with {} answered connected: true and the connected device's name.
  • getDeviceStatus with {} was refused as not matching its schema; the request it wants has not been found.
  • The service's permission list names connect, disconnect, getDeviceStatus, getConnectedDevice, getPairedDevices, removePairedDevice, startDiscovery, cancelDiscovery and notifyUserSelection, among others.
  • Both disconnect and connect with {address} were tried through the dashboard's Bluetooth endpoint. Each answered returnValue: true before getPairedDevices reported the new state. Refreshing confirmed the soundbar disconnected and then reconnected; getConnectedDevice named it again. The other paired device remained disconnected. This verifies the request shape on this firmware, not on other webOS versions.
  • After reconnecting, audio/getSoundOut again reported Bluetooth output and the same volume, but mute was off rather than its original on state. Mute was restored after the test. Audible playback was not checked.
  • startDiscovery with { "subscribe": true } answers { returnValue: true, timeOut: 90 }, then one { state: "started", device: { address, name, type } } for each device it hears, type: "bt_audio" for speakers and headphones (B8, webOS 4.4.3; C2, webOS 9.2.2). cancelDiscovery ends it. A startDiscovery sent straight after a cancelDiscovery was once refused on the C2 with error 1005, "The Bluetooth adapter(local device) is not ready".
  • connect with the {address} of a device the scan found pairs it, then connects it: earbuds in pairing mode paired and connected on a C2, as in LG's own device selection. The binary's strings ("Try to Pair", "No discovered device. Check in paired list") show connect looks in the discovered list first.
  • A device that is off reads connecting in getPairedDevices for over 12 s after connect before going back to disconnected (B8).
  • On the C2, connecting switched the sound output to bt_soundbar, showed LG's toast, and 2 s later getSystemSettingValues for pictureMode listed game as visible: false; the picture mode changed, to normal, with a second toast. Game Optimizer was offered again once the device disconnected.
  • removePairedDevice takes {address} and answers error 1011, "There is no device in paired list", for one that is not paired (C2).
  • notifyDeviceSelectionMenuEntered and onDeviceSelectionMenu refuse {} and the payloads tried as not matching their schema; scanning works without them.

Children that abort before exec (A1, webOS 6.5.3)

On an OLED55A19LA (firmware 03.53.45, node 8.12.0), a child process can die of SIGABRT between fork and exec, printing uv_close: Assertion `!uv__is_closing(handle)' failed to the parent's log. A child started from inside another child's exit callback aborted every time; the same call a turn of the event loop later (setImmediate or setTimeout 0) did not. At server start, the first iptables call aborted on every start tried, even with that wait. execFile reports such a child with err.signal set and err.killed false, which tells it apart from one killed by its own timeout. The debugger rule in devtools.js tries an aborted call once more.

Issue #1248 shows the same assertion on an OLED65CX9LA, from the curl or wget the Internet TV worker starts: the worker itself goes on and reports the failed download. A job's later downloads start from the previous one's exit callback, the case that aborted every time, and its first is the process's first child, as the first iptables call at server start was. The worker waits a turn before each one and tries one aborted before any of its body arrived once more.

A CX (OLED55CX3LA, webOS 5.6.2, firmware 04.64.00, node 8.12.0, libuv 1.19.2) aborted 24 luna calls in 45 minutes. A core of such a child shows why: LG's node registers a fork handler, not in libuv itself, that takes uv_default_loop(), calls uv_close on its handles and sets up its signal and async handles again. A handle already closing at fork time fails the assertion. A child that has just exited is one: node closes its process handle in the exit callback, and the close completes in the loop's closing phase. setImmediate runs before that phase, a timer after it. Of 900 /bin/true starts, three running at a time, each started from another's callback: 9 aborted started at once, 8 from setImmediate, none from setTimeout(fn, 0). Every start through lib/children.js now comes from a timer. A start that does not go through it can still abort.

Source EDIDs after sam restarts (55UP77006LB, webOS 6.5.3)

LG's HDMI input service, /usr/sbin/extinput-integration, subscribes to com.webos.service.applicationmanager/getForegroundAppInfo once, from AdapterApplicationManager::initialize, and nothing subscribes again. When sam is killed and comes back, the service keeps an empty foreground app: its log printed [getForegroundAppId] :: appId : while sam itself reported com.webos.app.hdmi1. convertAppId maps an unmatched id to app type 0x0d.

EdidControl::decideEdidType, run with port 0xff when an input's audio format setting changes, takes the input from the app type and accepts only types 7 to 10. Otherwise it logs [SKIP] Don't update EDID [Cause : Invalid App type] [app type : 0x0d] and leaves the input on its basic EDID. With the service subscribed, the same change logged Convert HDMI port index : '255' => '1' and request HDMI(1) edid update [type : 2], and HDMI 1's Bitstream EDID changed from checksum (48,ba) to (48,2b); PCM stayed (48,8e).

With Glasshouse Home's boot hook restarting sam (webOS 5 and 6), an Apple TV on HDMI 1 sent only PCM all day, which the TV passed on as PCM to an eARC soundbar (KHAL_AUDIO_SNDOUT_eARC_OutputType ... codec_type 1). After systemctl restart extinput-integration it sent MAT (StartDecoding ADEC1 type MAT), passed through over eARC (codec_type 7), and reported Atmos available. Nothing requires the unit; restarting it with HDMI 1 in front re-wrote that input's EDID and hot-plugged it, and the app stayed in front.

No remote key filters on webOS 3 (60UJ6519-ZA, webOS 3.9.3)

  • Neither /usr/lib/qml/KeyFilters, /usr/lib/qt5/qml/KeyFilters nor any KeyFilters folder under /usr/lib/qml exists, and configd has no com.webos.surfacemanager.keyFilters (missingConfigs, "No Entry Found"). Every Home press opens LG's ribbon (#1222).
  • The remote's Home is IR_KEY_HOME, 781 in /usr/share/X11/xkb/keycodes/lg (773 as an evdev code), which LG maps to Qt::Key_Super_L, the key evdev's 125 (KEY_LEFTMETA) also gives. The same table is on webOS 4 and 9.
  • On a B8 (webOS 4.4.3), 773 written to the remote's input device (LGE RCU, event1) reaches a reader of that device but opens nothing in the compositor; 125 written there opens LG's ribbon.
  • Read from the remote, a press opens Glasshouse Home about a second after LG's ribbon, which shows each time, Glasshouse Home open or not; its tiles were up 3.3 s after the ribbon (0.142.0, #1222).
  • surface-manager holds /dev/input/event0 to event8 open, and /dev/uinput for writing. The input devices are CHECK INPUT (event0), LGE RCU (event1), Bluetooth-manager (event2) and LGE M-RCU - Builtin [0] (event3, also mouse0 and js0, the Magic Remote's pointer). /dev/uinput is there (crw-------, root). Taking Home before the ribbon would need EVIOCGRAB on these and every other key written back through uinput; the TV's Python is a stripped 2.7 with no fcntl module, and node has no ioctl, so it would need a native program. Not tried.
  • /usr/lib/qml does not exist; /usr/lib/qt5/qml has WebOSCompositor, FavoriteChannels (whose SuperRibbon names the ribbon) and LG's other QML modules.

A web app as the screen saver (OLED65C5PUA, webOS 10.3.1)

Measured on 5 November 2026, with LG's screen saver app's folder bind-mounted over by Glasshouse's staged copy, its appinfo.json changed from type: qml to type: web and main to web/index.html, defaultWindowType: screenSaver kept.

  • sam takes the type change. The block and release of the one app that moves it between Flutter and QML (blockSystemApp, releaseBlockSystemApp) also moved it to web, without restarting sam.
  • The web app manager runs it as the screen saver. Launched through com.webos.applicationManager/launch, the page drew full screen over Home, getPowerState answered Screen Saver, and the app in front stayed com.webos.app.home. A 1.3 MB single-file page with WebGL and WebAssembly ran there.
  • A key ends it, as it ends LG's. One remote key (Down, sent through the network input service) took the TV back to Active and Home; the page did nothing to end itself.
  • sam keeps the main file as well as the type. Moving between two web pages of different names (web/index.html to web/probe.html) left sam opening the first, as getAppInfo still named it, until the block and release; the type alone had not changed.
  • A page in it can use the TV's services. PalmServiceBridge is there, and a page could read com.webos.service.settings/getSystemSettings, com.webos.applicationManager/running, getForegroundAppInfo and listApps, and com.webos.service.tvpower/power/getPowerState, from file:// and from a page loaded over http:// alike. With requiredPermissions staged as [] instead of LG's ["all"], and sam having read it again, every one was still answered: the access comes with the app being LG's own, not with its manifest.
  • A frame does not shut it out. A page loaded over http:// in an <iframe sandbox="allow-scripts"> of a local page had PalmServiceBridge too, and running, listApps and getPowerState were answered. The bridge is put into every frame, so a website cannot be shown in the screen saver without what it runs being able to use the TV's services. A frame without sandbox kept the screen saver up as well.
  • Rereading the app under a showing screen saver breaks tvpower. A block and release of com.webos.app.screensaver while one was on screen killed it (Screen Saver to Active at once), and a turnOnScreenSaver about 3 s later, from the Back, close and request Glasshouse then made, launched the new one, whose window showed for under half a second. tvpower then read Active with processing: "Screen Saver Ready" and answered every turnOnScreenSaver with Invalid State change Request and turnOnScreen with power is busy; nothing short of a reboot cleared it. Reproduced on the first try from Clock to a web one; from a web one to Clock the TV rebooted itself. In "Screen Saver Ready" tvpower waits on its own applicationManager/launch of the app. Closing the showing one with Back first, waiting for Active, then switching and asking 3 s later worked in both directions, QML to QML and to and from web, every time.

Overlay web apps and the input bar (webOS 6.5.3, C1)

Measured on an OLED77C1PUB with webOS 6.5.3, building the input bar, with HDMI 3 in front.

  • A developer web app with "defaultWindowType": "overlay" and "transparent": true in its appinfo.json opens as _WEBOS_WINDOW_TYPE_OVERLAY over the input: the picture shows through where the page draws nothing, getForegroundAppInfo goes on naming com.webos.app.hdmi3, and the remote's keys reach the page (WaylandKeyboard::OnKeyNotify in WebAppMgr). LG's own overlays, Settings and com.webos.app.adhdmi1 to 4 among them, declare the same.
  • Without "noSplashOnLaunch": true and "spinnerOnLaunch": false, sam shows its grey splash with a spinner over the picture until the page draws.
  • A page that goes on to another with location.replace (the http://localhost page Glasshouse serves, as Glasshouse Home's app does) was suspended after that load (handleLoadFinished; m_suspendAtLoad : true), and its window was mapped 4.1 s later. The app's own page was mapped 0.3 to 0.4 s after it loaded, with its first frame: one that drew nothing until its data came waited 1.4 s, one drawing what it had kept from before none.
  • "keepAlive": true in appinfo.json, and PalmSystem.keepAlive = true, did not keep it: window.close() still ended it (WEBAPP_CLOSED). WebAppMgr has setKeepAlive, apparently for LG's own apps only.
  • PalmSystem.hide() left the overlay on screen and holding the remote's focus: no NL_VSC with visible:false, and focus stayed with overlaySurface.
  • applicationManager/launch with "preload": "full" starts the app with no window: PalmSystem.launchParams is {"preload":"full"} and document.hidden true. A later launch reaches it as a relaunch (APP_RELAUNCH), and the window was shown 0.35 s after it. WebAppMgr waits for a new frame first (Not PageFrameSwapped; Pending Show()): a page with nothing new to draw was shown 2.1 s later. On a B8 (webOS 4.4.3), a normal launch arriving 50–250 ms into a "preload": "full" start—or a preload arriving 40–100 ms into a normal cold launch—leaves the app hidden with PalmSystem.launchParams set to {"preload":"full"}; once running in front, a "preload": "full" launch emits no webOSRelaunch. On the same B8, a single relaunch with params dispatches duplicate webOSRelaunch events 1–19 ms apart, each carrying ev.detail populated from params.
  • Launching a card window already on screen, as Glasshouse Home is, redraws it, which shows as a flash on each press.
  • In the compositor's key filters, global.isForegroundApp(id) is true for the overlay while it is up, and global.sendKeyToFocusWindow(Qt.Key_Right, pressed, 106) reaches its page as keyCode 39. LG's appLaunch.js names the Input key WebOS.Key_webOS_InputSource and opens com.webos.app.quickinputpicker through systemUIManager/launch; the IR remote (LGE RCU) sends it as key code 241.
  • From the app's file:// page, a GET to http://localhost:8080 reads its answer; Glasshouse's POSTs refuse it on its Origin (null). PalmServiceBridge calls applicationManager/launch for com.webos.app.hdmiN with the app's default trust level.
  • applicationManager/running with "subscribe": true answers at once and on every change to the running apps.

Hue Sync settings service

A supplied Luna bus capture of retail Hue Sync 1.10.189 shows /get values as JSON encoded strings: brightness 50.000000, intensity 2, sync_mode 1, current_ec as a quoted ID, and ec_list as an array containing Name and Id. Observed /set calls carry numeric brightness (40, 50, 60), numeric intensity (0, 1, 2), string sync_mode (0, 1), and a plain entertainment-area ID. The capture also shows boolean reads for background_lightning_video, background_lightning_games and auto_start. Their setters were absent from that initial capture. The supplied follow-up confirms brightness 0–100, intensity 0–3 as Subtle, Moderate, High, Extreme, and mode 0 Video / 1 Game. Background-light and auto-start boolean write payloads were initially inferred. A subsequent full setup/settings capture confirms /set boolean data for both background-light keys, auto_start and auto_start_notification, each in both directions. /sub with {"subscribe":true} supplies {returnValue,key,value} deltas. Values may be native booleans/numbers or JSON-encoded strings. Area changes report busy and can take approximately 1–1.24 seconds before completion. Bridge reads expose Connected/Authorized independently of the service's ready/supported flags. Only these status fields belong in diagnostics; the other bridge fields and pairing/support/device data must not be copied into fixtures or logs.

Pausing a locally served MPEG-TS stream (webOS 5.6.2, CX)

Measured on 9 November 2026 on an OLED65CX9LA, with a provider's MPEG-TS channel recorded by curl to a USB stick and served from the TV to a page in com.webos.app.browser:

  • A <video> playing a local MPEG-TS stream that is still growing paused on the current picture, held it for a minute, and resumed at the same position. No HLS playlist or segments were needed.
  • The provider answered curl's own User-Agent with HTTP 461 and VLC/3.0.18 LibVLC/3.0.18 with the stream, alongside the one the TV was already playing: the 461 was the User-Agent, not a limit on streams.
  • curl wrote about 0.9 MB/s; the stick takes about 30 MB/s. The CPU stayed idle and about 450 MB of memory was free.
  • The stick was mounted at /tmp/usb/sda/sda1 (tfat), with 114 GB free.
  • A process started over SSH died when the session closed unless started with setsid nohup ... </dev/null &.

In Glasshouse Home on the same TV, the Magic Remote's (MR20) Pause and Play reached the page and paused and resumed a channel played from the recording; the page takes 19 as Pause and 415 as Play, and which code each key sent was not logged. The MR20 has no Stop key.

The worker's first curl died there with uv_close: Assertion `!uv__is_closing(handle)' failed when started from the server socket's listen callback, as in "Children that abort before exec".

A pause longer than a minute, which requests the player makes on resuming, and webOS 4 and 9 were not tried.

eARC port assignment across TV series (B4, webOS 10.3.2)

Reported in #1336 from an OLED77B46LA, webOS 10.3.2 (firmware 33.31.75). While most LG OLEDs wire the eARC transceiver to HDMI 2 (B8, C9, CX, C1, C2, C3, G3, C4, G4), the B4 series places the physical eARC port on HDMI 3.

com.webos.service.arccontroller/getARCEDIDInfo reports the hardware eARC port number in its arcHDMIPort field (3 on the B4, 2 on the G3). On older firmware lacking that service (webOS 4), com.webos.service.eim/getAllInputStatus identifies a connected audio system (cecpDevType: 5) and its port when present, falling back to HDMI 2.

Network pointer input (C3, webOS 11.2.0)

Read on 11 November 2026 on an OLED77C3RLA, firmware 43.21.71. com.webos.service.networkinput/getPointerInputSocket, called from the Glasshouse server, returned /tmp/netinput.pointer.sock. Its interface declares LENGTH_PREFIX_32; InputSocketConnection::handleData in the 32-bit ARM network-input-service reads a four-byte big-endian payload length, rejects a payload over 4096 bytes, then hands the bytes to the text-command parser. A move is type:move\ndx:N\ndy:N\ndown:0\n\n, click is type:click\n\n, and scroll is type:scroll\ndx:N\ndy:N\n\n. down:drag presses while moving and down:0 releases.

A batch of two moves followed by a click moved to YouTube's Play button and started playback. Screen captures often omitted the pointer even when it was visible on the TV, so a missing cursor in a capture is not evidence that no move occurred. A direct write to /dev/uinput created a kernel input device, but was not needed and was removed.

The same /tmp/netinput.pointer.sock Unix socket was subsequently observed working on a B8 (webOS 4.4.3) and a C2 (webOS 9.2.2).

Realtek HDMI receiver status (55NANO756PR, webOS 6.5.3)

Reported in #1359 from a 55NANO756PR (webOS 6.5.3, firmware 03.53.46) with a 3840x2160 50 Hz SDR YCbCr 4:2:2 source on HDMI 1. Realtek boards have no /proc/lg/hdmi20; instead, receiver status and EDID live in /proc/lgtv-driver/hdmi_status/hdmi.p0 to hdmi.p3:

  • hwport:1 to 4 in hdmi.p0 to hdmi.p3 match configd's inputMap.videoInputMapIndexInfo0 ({"hdmi1":"0","hdmi2":"1","hdmi3":"2","hdmi4":"3"}).
  • hpd_state : 1 remained high on empty hdmi.p1 and hdmi.p2; phy_lock_status:1 indicates an active locked signal and link_hdmi_5v:1 indicates +5V present from a source.
  • With the 2160p50 source active (avi_vic:96), hdmi.p0 reported timing_active_w:3840, timing_active_h:2160, timing_v_freq:500 (tenths of Hz), link_frame_rate_x100_hz:5000 (hundredths of Hz), pixel_clock_khz:594000, timing_scan_type:1 (progressive, with timing_v_total:2250; empty ports read 0), color_depth:0 alongside link_color_depth:8, avi_pixel_encoding:1 (link_color_space:1, matching CTA-861 AVI byte 1 0x31 for YCbCr 4:2:2), allm_mode:0, dolby_hdr_type:0, drm_length:26 and drm_eotf_type:0.
  • edid_data_block0 and edid_data_block1 hold two checksummed 128-byte EDID blocks in comma-separated 0x.. hex rows (edid_size :2) on active/linked hdmi.p0, omitted when idle.
  • Under /proc/lgtv-driver/audio/, active HDMI decoding reported Connect=HDMI0 in adec.p1 (rather than LG/MediaTek's HDMI_PORT0..HDMI_PORT3) and SamplingRate=48 in hdmi (in kHz rather than 48000 Hz).
  • Interlaced, HDR10/HLG/Dolby Vision, VRR and HDCP/FRL active samples were not captured on this board (phy_tmds_clk_khz:593500 tracked the pixel rate on this TMDS link, and hdcp_version read 1 active vs 2 idle).

Which cgroup the Homebrew Channel's start-up runs in (webOS 6 and 9)

Processes started by the Homebrew Channel's start-up (/var/lib/webosbrew/startup.sh and the hooks it runs) inherit the systemd cgroup of the LG service that ran it. On a 50NANO756PR (webOS 6, #1355) that was webapp-mgr.service, holding the Glasshouse server, dropbear and telnetd; changing some settings, background services and Promotions & tips among them, restarted it, which killed all three until the TV was unplugged. On a C2 (webOS 9.2.2) they are in ls-hubd.service, the Luna hub. systemd-run --scope (systemd 250 on the C2) moves a command into a transient scope of its own.

The No Signal screen (B8, webOS 4.4.3; C2, webOS 9.2.2)

An input with nothing coming in shows a screen drawn by the input app, com.webos.app.inputcommon, a native QML app, in Screensaver.qml: under qml/UserInterfaceLayer/Containers/BgViewLayer/ on the C2 and qml/TvComponent/ScreenSaver/ on the B8. The same file draws the other messages an input shows there, keyed by currentKey ("noSignal" for No Signal). The animated picture above the heading is an AnimatedImage (screensaver12frame.gif) with visible: element.isDynamic && (headerText.text || bodyText.text), and the line of advice under the heading a ScreensaverSubText with visible: text.length > 0; both lines are the same on the two TVs. A copy bind-mounted over the file takes effect once the input app is restarted (killall com.webos.app.inputcommon): it starts again at the next input launch. With an input in front, the B8 keeps the input and draws it again after a moment; the C2 closes the input and opens Home.

On webOS 9.2.2 (and 10.3.1), when LG's No Signal Image setting (general.noSignalScreenSaver, "on" by default) is enabled, noSignalPhotoModel.enabled is true: PhotoSlide (photoModel: noSignalPhotoModel) displays LG's gallery photos together with textBoxOverPhoto, while RandomMoveItem is hidden by visible: visibleScreensaver && noSignalPhotoModel && !noSignalPhotoModel.enabled && !noSignalPhotoModel.opend.

A TV boots onto its last input, and the input app is started early in the boot (5 s in on the C2, 7 s on the B8), before the Homebrew Channel's start-up runs. com.webos.service.eim/getAllInputStatus lists each input with activate: false for an empty HDMI port on both TVs, and on the C2 for a port with a device connected (connected: true, a field the B8 does not have) that sends nothing.

The Homebrew Channel's update block and other hosts layers (OLED77B46LA, webOS 10.3.2)

With its "Block system updates" flag set, the Homebrew Channel's start-up binds /tmp/hosts over /etc/hosts, with the comment # This file is dynamically regenerated on boot by webosbrew startup script and loopback entries for LG's update hosts. /proc/self/mountinfo lists it as root /hosts on a tmpfs. Life's Good Without Spying 0.11.3 then binds a file of its own, /var/lib/webosbrew/lifesgoodwithoutspying.hosts on ext4, built from a copy of /etc/hosts, so it carries the same comment and update entries. The comment alone does not say whose layer is on top; the mount table's root and filesystem do (#1369). On webOS 9 and 10, a new bind mount from /var/lib also inherits /var/lib's shared: peer group in /proc/self/mountinfo, so a mount made over /etc/hosts without calling mount --make-slave /etc/hosts again after binding propagates back onto /var/lib/tvweb/adblock_hosts (#1712).

AirPlay's app without a tile (C2, webOS 9.2.2)

LG's AirPlay app, airplay, has "visible": false in its appinfo, and on the C2 no launch point at all, as on a B4 with webOS 10.3.2 (#1435); on a B8 with webOS 4.4.3 its tile is a bookmark that airplay-adaptor adds, and its AirPlay_Icon-115x115.png (8-bit gray+alpha) draws pure black (0) on a transparent background with iconColor and bgColor empty on its launch point. Home Hub opens it with airplay.service/showAirplayPage, which is in the public group. On the C2 that call and a plain applicationManager/launch of airplay open the same page: the Wi-Fi network, the TV's AirPlay name, How to Use AirPlay, and AirPlay and Apple Home, which holds its settings.

Screen Share without a phone (C2, webOS 9.2.2)

com.webos.app.miracast ("Screen Share", a web app, visible: false) is LG's Miracast receiver. Launched on its own it came to the front and closed itself within 3 s, as owners saw from Glasshouse's tiles on a CX (webOS 5.6.2,

1500) and a C5 (webOS 10.3.1, #1502): its script closes the window when no

connection comes. LG's Home Hub (com.webos.app.homeconnect) does not launch it either; its Screen Share entry is its own mobile guide panel, which a launch with { "actionType": "mobileGuide" } opens (onParamsCall in its main.js, beside iotConnectionGuide and iotPanel). Launched that way, Home Hub stayed in front.

AV and Component inputs (32LM637B, webOS 4.5)

eim's getAllInputStatus lists them beside HDMI as AV_1 and COMP_1, each with port: 1, connected saying whether anything is plugged in, the label the owner gave it, and an app of its own: com.webos.app.externalinput.av1 and com.webos.app.externalinput.component, not com.webos.app.av1 (#1468). There is no hdmiPlugIn and no subList for them.

Quick Access defaults (C2, webOS 9.2.2)

LG's settings screen offers no way to change Quick Access key 9, which opens Quick Help: magicNum9 holds { "override": true, "id": "com.webos.app.self-diagnosis", "params": { "from": "magicNum" } }. Once written empty, as Glasshouse's None does, nothing offered puts it back (#1539). settingsservice/resetSystemSettings with { "category": "option", "keys": ["magicNum9"] } does: the key read back as that same value at once.

LG's compositor handler (/usr/lib/qt5/qml/WebOSCompositor/controllers/base/StarfishMagicNumber.qml, checked on the same C2) resolves Quick Access apps through launchPointsModel.appList, externalInputAppList, livetv, self-diagnosis and a four-app fallback list (livetv, homeconnect, scheduler, recordings). An installed app with "visible": false has no launch point, so setting a key to it raises no confirmation toast, leaves it greyed out in the hold 0 Quick Access list, and does not launch it when held (#1786).

Holding down LG's account client (C2, webOS 9.2.2; B4, webOS 10.3.2)

Settings waits for com.webos.service.accountmanager/getLoginUserData before it shows; with LG's servers blocked and an account signed in, that took 6.8 to over 30 s on a B4 with webOS 10.3.2 (#1456). There /usr/bin/run-service refuses to start any service named in /var/preferences/servicemanager/blocked-services.json ({"blockedServices": [...]}, holding com.webos.service.signlanguageavatar from LG), so a call to one that is not running fails at once. The C2 has neither file. On the C2 the hub starts /usr/sbin/accountmanager on demand, and with a program that exits at once mounted over it, the same call was still waiting after 90 s.

LG Guide covering Glasshouse Home (C3, webOS 10.2.2)

On 16 November 2026, LG's broadcast Guide was visible while applicationManager/getForegroundAppInfo still named com.webos.app.home, with category home. surfacemanager/getForegroundWindowInfo listed Home as _WEBOS_WINDOW_TYPE_CARD, com.webos.app.livemenu as _WEBOS_WINDOW_TYPE_OVERLAY, and the volume window as _WEBOS_WINDOW_TYPE_VOLUME. getFocusedWindowInfo named livemenu, with type: overlaySurface.

That evening's Glasshouse log recorded three “view not answering” recoveries which gave LG's Home its place. Checking only for a different foreground card does not recognise this Guide state. Recovery checks match a focused overlay to the foreground window list and keep checking after it closes; an unfocused or merely cached overlay does not exempt a stopped Home view.

With the correction installed, navigating Guide for at least 30 s kept it open. Successive watchdog checks logged that the view was behind com.webos.app.livemenu, rather than restoring LG's Home.

The volume bar's layout (OLED48C56LB, webOS 10.3.0)

LG's volume bar is QML in the compositor (surface-manager), not a web app: /usr/lib/qml/WebOSCompositor/views/StarfishVolumeView.qml decides when it shows and views/volume/StarfishVolume.qml draws it, with the sizes and timings in the "volume" block of StarfishDefaultSettings.qml and the images in images/4k/ (also qhd/ and the plain folder). Sizes are in units of a 1920 x 1080 screen, scaled to the output; the 4k images are twice those.

The bar is vertical at the right edge, centred on the screen. From the left it has the output's icon (72), the level as a number (font 85, #E6E5E5, with a drop shadow), and a track 36 wide and 570 high, 51 from the edge, with an up and a down arrow (about 30 square) above and below it. The fill is 18 wide, up to 534 long above a 10 margin. When muted it is replaced by a 96 circle (#373A41, opacity 0.5) holding a mute icon. It fades in and out in 150 ms and stays up 1500 ms after the last change.

The configd value com.webos.surfacemanager.volumeOSD (true unless set) turns the bar and the mute icon off: with it false the view marks itself unavailable and closes. On this TV, setting it to false removed both at once, without restarting anything, and true brought them back. LG has no brightness bar to copy; the level bar of a Brightness key takes this layout.

Live audio decoder state under /proc/lg/amst0 (B8, webOS 4.4.3)

Measured on 22 November 2026 on an OLED65B8SLC (05.50.70) while Spotify (spotify-beehive) played in the foreground. The TV answers Unknown method for com.webos.service.audio/tv/getAudioInputProperty and has no /proc/lgtv-driver/audio files, while /proc/lg/amst0/ exposes DSP decoder and renderer state:

  • /proc/lg/amst0/status reports Main Decoder : 1.
  • /proc/lg/amst0/dec0/status (idle HDMI 2) reports bStarted: OFF, codec: AUD_CODEC_UNKNOWN, samplingFreq: 0.
  • /proc/lg/amst0/dec1/status (active Spotify) reports bStarted: ON, input: AUD_INPUT_SYSTEM, codec: AUD_CODEC_AAC, samplingFreq: 44100, avgBitRate: 128000.
  • /proc/lg/amst0/ren{0,1}/status report bStarted, input (AUD_INPUT_HDMI2, AUD_INPUT_SYSTEM), bSetMainRen, and samplingFreq.

The channel keys reach the JavaScript key filter (OLED48C56LB, webOS 10.3.0)

On an OLED48C56LB (webOS 10.3.0, firmware 33.30.80), appLaunch.js and systemUi.js name WebOS.Key_webOS_ChannelUp and WebOS.Key_webOS_ChannelDown, so Glasshouse offers the channel keys on webOS 10 and below: a key that is set is accepted by the filter, so LG's channel change no longer happens for it. On webOS 11 the filters no longer carry them (see the OLED48C54LA section above); they are offered through lib/guidepatch instead.

On a B8 (OLED65B8SLC, webOS 4.4.3), no filter names a channel key (only Key_webOS_ChannelDash), but the WebOS module /usr/lib/qt5/qml/WebOS/Global/libwebosglobalplugin.so defines Key_webOS_ChannelUp and Key_webOS_ChannelDown, so Glasshouse's own filter can name them. With CH+ set to open the browser, a CH+ press written to the remote's input device (LGE RCU, event1) brought the browser to the front over HDMI 2; set back to As LG has it, the same press left HDMI 2 in front.

Color-key observation on a C3 with webOS 11.2

An OLED65C31LA on webOS 11.2.0, firmware 43.21.71, reports physical Red, Green, Yellow and Blue presses to Glasshouse’s existing remote-button worker as Linux codes 398, 399, 400 and 401. inputcommon can repeat a press later as Qt codes 18874385–18874388; Red was observed again 685 ms after the physical event. A launch shortcut uses only the physical event so a delayed copy cannot reselect a previous input. Local shortcuts from those four events to HDMI 1–4 were confirmed with the physical remote. Reading the event does not consume it or suppress an app’s own use of the color key.

The input banner holds the remote's keys (C6, webOS 11.1)

On an OLED77C64LA (webOS 11.1, firmware 43.11.77) with a Formuler Z11 Pro Max on HDMI 1, switching to the input showed LG's banner "HDMI 1 / Formuler Z11 P" and the remote did not reach the box until it went.

  • What /var/log/cecmessages showed: the TV's Set Stream Path and the box's Active Source (RX4F821000) within a second of the switch, then no <User Control Pressed> (TX0444..) until about 5 s later, though keys were pressed throughout. From then on each press went out at once. The same held switching from Glasshouse Home and from LG's input picker.
  • Why: com.webos.app.inputcommon (which every com.webos.app.hdmiN runs) hands a key to its SIMPLINK handler only when inputEventHandler.simplinkEnabled && !isFocusableViewExist (UserInterfaceLayer/Containers/InputEventLayer.qml), and the input banner is a focusable view. Interfaces/Banner/BannerInterfaces.qml hides it after hideTimer: 5 s for the launching banner, 10 s with audio guidance. No setting turns it off; bannerPosition only moves it. It is skipped only for an App View guest (isAppViewLaunching).
  • What closes it: network input's sendKeyCode with 412 (LG's Back) 2 s after the launch closed the banner and the remote worked on the box at once. The same 412 with no banner up went to the box as one step back. Evdev's 158 did not close it.
  • Logs: the app's own lines (I_UICTRL, FR01_2_INBA_SHOW_LAUNCH) were not written to /var/log/messages though its PmLog context was at info, and the TV has no journal, so when the banner goes cannot be read.
  • Capture: com.webos.service.capture/executeOneShot on this TV included the HDMI picture under the banner, where webOS 5 and later had captured black on other TVs.