Repository navigation
URI on webOS 5+: admit firmware majors 6, 7 and 9, bracketed, no tester run - #1397
Merged
Merged
Conversation
…er run EXPORTED_STRATA listed firmware majors 5 and 10. It now lists 6, 7 and 9 too, each as "bracketed, no tester run", under the owner's decision of 2026-11-13: a major with (a), its own image showing the same windowId load path, but no tester run is admitted when the nearest admitted major below it and the nearest admitted major above it were both admitted on tester evidence. Majors 5 and 10 are those sides. On a set reporting major 6, 7 or 9, a viewer on the Experimental engine now plays a qualifying original through the TV's own pipeline in the exported window, and the boot line reads `major=<n> evidence=table`. No 6.x, 7.x or 9.x set has run it. Major 8 has no image read, so it has no (a) and still plays Standard, as does every major above 10. Evidence (a), read from each image's libplayerAPIs.so.1.0.0, where StarfishMediaAPIs::parseLoadMessage references the string option.windowId and reads it as an optional string (file VAs): - 6.5.3 (HE_DTV_W21O_AFABATAA), sha256 0b0f6654, 0x41556; - 7.6.0 (HE_DTV_W22P_AFADATAA), sha256 0969903e, 0x467c6; - 9.2.4 (HE_DTV_W24G_AFABATAA), sha256 cc08e2b8, 0x4385c. docs/uri-mode.md gains Results rows for 6.x and 7.x, rewrites the major-9 part of the 9.2.4 / 10.3.1 row, and spells out the rule as "nearest admitted major on each side". Its note on where the window id lands in MediaApiPrivate now gives the offsets read (0x90 on 6.5.3 and 7.6.0, 0x94 on 9.2.4 and 10.3.1). docs/playback-settings.md lists the five majors. The composition tests pin majors 5, 6, 7, 9 and 10 to Exported and every other major in 0..=30 (8 among them) to Unbound, and the boot-line test pins `evidence=table` for each admitted major and `major=8 evidence=none`. Part of the webOS 5+ URI work tracked in #1064; does not close it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…entify The "Read from" bullet in docs/uri-mode.md still said createAVProxy hands the window id to AVProxy::Builder and called the whole parse identical across releases. The Results rows say the slot was not identified on 6.5.3, 7.6.0 and 9.2.4. The bullet now limits "identical" to the get_optional parse, says the firmware report identifies the builder on 11.2 only (slot +0x78 of the object at MediaApiPrivate+0x60), and that on the three images read here only a virtual call at the same point in the code was seen. The 6.5.3 row names the 11.2 call by its slot. The EXPORTED_STRATA doc comment gains the same "one exception follows the list" pointer that docs/uri-mode.md has. Part of the webOS 5+ URI work tracked in #1064; does not close it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
URI on webOS 5+: admit firmware majors 6, 7 and 9, bracketed, no tester run
What changes for a viewer
EXPORTED_STRATA(rust-modules/play-uri/src/backend.rs) listed majors 5 and 10. It now lists 6, 7 and 9 too, each as "bracketed,no tester run". On a set whose firmware reports major 6, 7 or 9, a viewer who chose Experimental, for a direct play of an original
file that the existing route accepts (a single audio track, no subtitle stream of any kind, quality Original, or Auto on a local
link, and a file Standard itself would direct-play), now plays through the TV's own media pipeline in the exported window, with this
app's player screen and controls on top. The boot line on such a set reads
uri: product binding=Exported { canvas: (1920, 1080) } mode=2 ... major=7 evidence=table(ormajor=6,major=9). The line doesnot say that no tester ran it. No set on firmware major 6, 7 or 9 has run this.
Everything else is as before: Standard remains the default and the handoff target on any failure; originals with several audio
tracks, subtitles, a server-side conversion, a relay link or a non-1x speed still play in Standard; major 8 plays Standard
(
major=8 evidence=none) because no 8.x image has been read, so it has no (a); majors 11 and later play Standard; a 4.x set keeps itsACB path; majors 5 and 10 keep the entries #1331 and #1377 gave them.
The rule, and the maintainer's decision
The maintainer decided on 2026-11-13 that bracketing is yes: majors 6, 7 and 9 are admitted as "bracketed, no tester run" once major 10 has
landed (#1377 landed it), that major 8 needs a firmware image first (no 8.x image has been read, so 8 has no (a) and stays Standard),
and that
docs/uri-mode.mdmust spell the rule out as "nearest admitted major on each side". The text on main was narrower: it askedfor BOTH neighbouring majors,
major - 1andmajor + 1, so nothing between 5 and 10 could qualify. This PR rewrites the two placesthat said so (the
EXPORTED_STRATAdoc comment and the exception paragraph ofdocs/uri-mode.md) to the maintainer's rule: a major with(a), its own image showing the same
windowIdload path, but no tester run is admitted when the nearest admitted major below it andthe nearest admitted major above it were both admitted on tester evidence. Here those are 5 (the 5.6.2 product run, #1331) and 10 (the
2026-11-14 product run, #1377). A major admitted only as bracketed is skipped when looking for a side and never extends a bracket, so 6, 7 and 9 each stand
between 5 and 10, not between one another. The sentence "nothing else is inferred from a neighbouring major"
stays.
Evidence: (a) per major, read from each major's own image
I used no television and pulled nothing from one. Each image is unpacked under
/Volumes/DAS/lgfw/x/; the version is the image's own/etc/os-release. In each image'slibplayerAPIs.so.1.0.0I found the stringoption.windowIdwithstrings, took its onecross-reference with
decomp.sh xref(Ghidra headless, strings and xrefs only), read the code around it withobjdump -d, andresolved the PC-relative literal by hand to confirm that it lands on the string. Addresses are file VAs (Ghidra's are +0x10000).
option.windowIdstringStarfishMediaAPIs::parseLoadMessageatHE_DTV_W21O_AFABATAA(6.5.3, 6.5.3-47)libplayerAPIs.so.1.0.0,0b0f6654MediaApiPrivate+0x90+0x5cHE_DTV_W22P_AFADATAA(7.6.0, 7.6.0-1901)libplayerAPIs.so.1.0.0,0969903eMediaApiPrivate+0x90+0x5cHE_DTV_W24G_AFABATAA(9.2.4, 9.2.4-48)libplayerAPIs.so.1.0.0,cc08e2b8MediaApiPrivate+0x94+0x60The shape is the same in the three:
get_optional<std::string>on the pathoption.windowId(a property-tree string path, separator.), then, when the optional is set, the string is assigned intoMediaApiPrivateand passed to a virtual call. The sha256prefixes match the firmware report (
/Volumes/DAS/lgfw/reports/uri-webos5plus/report.md) for these three images. As a control I readthe 10.3.1 image the same way: the reference is at 0x475ea, stored at
+0x94, vtable slot +0x78. Each image's string table alsohas
fail to create AVProxy(error 104's text).What I did not establish: that the virtual call is the AVProxy builder on these three images. The report names it so on 11.2
(
[MediaApiPrivate+0x60]->vtable+0x78), and the call sits at the same place here, straight after the same store and with the stored id as its argument, but I did notidentify the slot on these images. The "identical on 5.5, 5.6, 6.5, 7.6, 9.2, 10.3, 11.2" in
docs/uri-mode.md's "Read from" bullet was true of the parse in the three images read here, butthe offset it stored at was not the same:
docs/uri-mode.mdsaid+0x90on 6.5 and later; it is+0x90on 6.5.3 and 7.6.0 and+0x94on 9.2.4 and 10.3.1 (the report says+0x9con 11.2, which I did not read; the+0x7con 5.x is also from the earlier read).I corrected that sentence. Nothing in the route depends on the offset.
What stays untested
Everything, on these majors. No set on firmware major 6, 7 or 9 has run the product backend or the probe:
of its major;
majors is the first run;
W22P); other builds of the same major were not read.This is what the maintainer's bracketing rule accepts, and #1064 is still asking for testers on these majors.
Changes
rust-modules/play-uri/src/backend.rs:EXPORTED_STRATA = &[5, 6, 7, 9, 10]in ascending order; each new entry has a comment naming itsResults row, its (a) (image, sha256 prefix, address), the bracket by 5 and 10 and that no tester ran; the table's doc comment and its
exception paragraph are rewritten to the maintainer's rule (Major 8 is named as having no (a)).
rust-modules/src/app/adapters/backends.rs: the composition test pins majors 5, 6, 7, 9 and 10 toExported { canvas: EXPORTED_CANVAS }on
VP_EXPORTEDand every other major 0..=30 (8 among them) toUnbound, and the admitted majors to nothing onVP_ACBandVP_NONE; the boot-line test pinsevidence=tablefor each admitted major (major=7 evidence=tableamong them) andmajor=8 evidence=none. No new token, setting or UI: the boot line'sevidence=tableis unchanged.docs/uri-mode.md: Results rows for 6.x and 7.x (which had none): "unpacked images; no tester run", then "Admitted, bracketed, notester run" with the facts above; the major-9 part of the
webOS 9.2.4 / 10.3.1 (33.31.68)row (it said "major 9 is not [admitted]... not bracketed"; it now has the 9.2.4 image's (a) and is admitted, bracketed); the exception paragraph; every sentence that listed
the admitted majors; one sentence that major 8 has no image read and plays Standard; and the
MediaApiPrivateoffsets sentence.docs/playback-settings.md: which majors reach the TV's pipeline.media/src/route/*,uri_preflight.rs), the other Results rows, the grader,run_uri_boot_tests.rs, anddocs/release-notesanddocs/release-audits(records of released versions).Verification
I used no television. Host gates on the committed tree (
git status --shortempty before and after):&[5, 10]:make test-crate C=app T=backends:test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 1374 filtered out; finished in 0.00s; the composition test failed withmajor 6, leftUnbound, rightExported { canvas: (1920, 1080) }, and the boot-line test on the lineuri: product binding=Unbound mode=2 handle=none ptype=0 major=6 evidence=none.3a565a697):make test-crate C=plx_play_uri:test result: ok. 247 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.12smake test-crate C=app T=backends:test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 1374 filtered out; finished in 0.01s(the same ten tests as the red run: 8 passed then, 2 failed)
make test-hostsim T=uri_boot:test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 1562 filtered out; finished in 0.40smake check-nodef:Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.51s(a cargo check; no test line)bash ci/check-deps.sh:check-deps: all gates greenpython3 ci/check-module-layers.py:check-module-layers: green - 18 layers, 1930 modules, 169 Cargo layer declarations, 0 migration entries left in ci/allow/layers.txt, 0 of them into [port webos]; 0 cfg(test) items still named across layers (--report)CI runs the full suite.
Part of the webOS 5+ URI work tracked in #1064; does not close it.
🤖 Generated with Claude Code