github SamuriHL/CoreELEC v22.0-samurihl-20260824170247
[EXPERIMENTAL] CoreELEC 22 · samurihl DV build (20260824170247)

pre-release4 hours ago

⚠️ EXPERIMENTAL · UNSUPPORTED · USE AT YOUR OWN RISK

This is an unofficial, experimental CoreELEC 22 build. It is NOT an official
CoreELEC release and it is NOT a supported CE22 port.
I am not a CoreELEC 22
port maintainer, and I will not be providing support, bug fixes, updates, or
ongoing maintenance for this build.

The only purpose of this build is to give Amlogic AM9 Pro-class users a more
complete Dolby Vision experience than stock CoreELEC 22, by carrying a set of
custom Kodi features I built for my own device. That is the entire scope.

READ THIS BEFORE YOU FLASH ANYTHING

  • USE ENTIRELY AT YOUR OWN RISK. There is no warranty of any kind, express
    or implied. It may fail to boot, misbehave, break Dolby Vision, or do nothing
    useful on your hardware.
  • BACK UP YOUR CURRENT INSTALLATION FIRST. Take a full CoreELEC backup
    (Settings → CoreELEC → Backup) and/or image your existing boot media before
    you install anything from here. Assume you may have to restore it.
  • Prefer a SEPARATE SD card or USB stick you can boot from, instead of
    overwriting a working internal (eMMC) install.
  • Do NOT report problems with this build to the CoreELEC team or forums.
    This is not their build; it is not their responsibility. Do not ask them to
    support it.
  • I am also not offering support. If it breaks, you keep both pieces.

By downloading or using any file in this release you accept all of the above.

Install

  • Clean install (recommended): flash the *.img.gz to an SD card or USB with
    balenaEtcher (or the Amlogic USB Burning Tool for eMMC), then boot from it.
  • In-place update: copy the *.tar to the /storage/.update folder on an
    existing CoreELEC install and reboot. (Back up first — see above.)
  • Verify your download against the SHA256 sums below before flashing.

What's changed in this update

This is an incremental update to
v22.0-samurihl-20260812171608
(see that release and its predecessors for the standing feature set: Blu‑ray disc
menus, HDR10+ → Dolby Vision conversion, DV → HDR10 that stays in HDR10, FEL
profile‑7 reconstruction on non‑DV displays, VS10 output on non‑DV displays, VSVDB
override, tone‑mapping target controls).

Two headlines this time: disc menus are now detected from what the disc itself
states instead of guesswork, and pause/resume no longer steps audio sync.
Plus a
new experimental episode‑listing feature that could use testers, an HDR subtitle
fix for files, and a rebase onto the latest upstream Kodi/CoreELEC.

⚠️ Still experimental and completely unsupported — see the disclaimer above.
Back up your current install before flashing.

Dolby Vision still requires dovi.ko (the CE22 5.15 build) installed on your
device — it is not bundled; install it yourself as on stock CoreELEC 22. You do
not need to modify it — this build corrects it automatically at boot.


📀 Menus are now recognized from the disc's own statement, not guessed

The symptom class. Whether a playing segment got "menu treatment" (tight
low‑latency buffering so menu input and button drawing line up with what you see)
or "feature treatment" (deep buffering for smooth playback) was decided by
heuristics: how long the playlist is, plus menu flags that can arrive late. Discs
that author their menus unusually break heuristics — Star Trek TNG's main episode
menu is authored as an 18.6‑minute playlist, so it was being treated as a
feature: menu decisions could run up to the full buffer depth (~16 seconds) ahead
of the picture.

The fix. A Blu‑ray playlist's stream table says outright whether it carries an
interactive menu composition, including menus delivered out‑of‑band through a
sub‑path (exactly how TNG ships its menus — a check on the clip files alone finds
no menu on the whole disc). That statement is now the authority:

  • a playlist carrying an always‑on menu composition is menu‑domain, even
    before any menu flag fires — and a long‑authored menu now still counts when the
    disc raises its menu state;
  • a playlist whose composition is authored pop‑up is content carrying a
    menu, and now keeps feature treatment even while the pop‑up is open — opening a
    pop‑up can no longer degrade the movie's buffering underneath it;
  • discs with no interactive composition behave exactly as before.

Validated on‑box against TNG Season 1: first‑play bumper, language menu
(sub‑path case), the long main menu, and the in‑between intro segments all
classify correctly — the main menu now enters low‑latency mode about 130ms after
it is selected, where it previously never did.

🧪 New & experimental: episode lists read from the disc's own menu (testers wanted)

When Kodi's simplified‑menu mode matches a TV disc's playlists to episodes, it
guesses by comparing playlist lengths against scraped episode durations. This
build adds a better source: the disc's own menu. A small interpreter runs the
disc's HDMV navigation the way a player would — finds the menu the disc lands on,
reads its buttons, and follows each one to the playlist it starts — so the disc
itself states which playlists are the episodes and in what order.

Honest scope, so nobody is surprised:

  • It only activates in the episode library flow (playing a disc through a TV
    show's episode entry in your library). Browsing a disc's titles directly uses
    the movie flow and is unchanged.
  • It is used only when the menu's episode count matches what your library
    expects on that disc
    ; any mismatch falls back to the existing duration
    heuristics. Worst case is exactly the old behavior.
  • HDMV (non‑Java) discs only; BD‑J discs always use the old path.

The mechanics are validated against real discs, but the episode flow itself needs
people who actually keep disc‑backed TV libraries. If that's you, watch the debug
log for disc menu states N episode playlist(s) and tell us whether the listed
order matches the disc's menu.

🔊 Fixed: pause/resume stepped the audio sync

The symptom. Pausing a disc and resuming could step audio sync audibly — the
corrector was measured landing the resume up to ~45ms off before walking back in.

What was wrong. On resume, the start‑sync aimed for zero error instead of the
error the pause had parked — and then confirmed its landing against measurements
taken before the pipeline had settled, so a bad landing could be declared good.

The fix. The resume now lands at the epoch's parked error, confirms the
landing only against a settled measurement window (with a bounded budget of
re‑lands if the first touch misses), and respects the skip arm's rest bound
instead of a fixed frame‑and‑a‑half. Measured on‑box (DTS‑HD MA): resume steps
went from −44.5/+42.8ms to +3.2/−1.9/+2.6ms. One caveat stated plainly:
TrueHD has a separate, smaller known ceiling in the sync walk that is unchanged
by this fix.

🎨 Fixed: washed‑out PGS subtitles on HDR file playback

The PQ double‑encode fix that restored correct menu and subtitle colors on HDR
discs now also covers HDR files (e.g. MKV remuxes with PGS subtitle tracks):
the subtitle palette is pre‑inverted the same way, so subtitle graphics keep
their authored color instead of rendering washed out.

🔄 Rebased onto upstream Kodi 22 + CoreELEC 22 (2026‑08‑22)

This build carries upstream as of August 22, including ffmpeg 9.0.1 and a
batch of upstream Blu‑ray improvements (better stream/language determination in
simplified menus, EDL timing fixes for Blu‑rays, and more).

Upstream also rewrote its Dolby Vision dual‑layer detection; this build adopts
their per‑stream tagging and hardens it where it broke:

  • fixed a crash in upstream's new default‑stream code when playing DVDs;
  • made layer identity survive a second pass through the detection block (their
    version could mislabel on re‑entry);
  • kept our protection that prevents a runaway memory condition on dual‑layer
    discs, and synthesized the profile‑7 record correctly when the base layer
    arrives second.

FEL profile‑7 playback was re‑validated on content after the rebase.

🧹 Housekeeping

Removed a stale duplicated warning in the DV detection loop and a duplicate
include — no behavior change.


Source

  • CoreELEC (distro): SamuriHL/CoreELEC tag v22.0-samurihl-20260824170247
  • Kodi: SamuriHL/coreelec-xbmc tag v22.0-samurihl-20260824170247

Checksums (SHA256)

cbcdd2d72d2be85e15df3a7ebbf0d9cac08dd0fe008c0215f73e53a06385031b  CoreELEC-Amlogic-no.aarch64-22.0-Piers-samurihl-EXPERIMENTAL_20260824170247.tar
30de0d0b66b47d88bb24700a408c26a48327c368b5c5d669ff48097ece908e01  CoreELEC-Amlogic-no.aarch64-22.0-Piers-samurihl-EXPERIMENTAL_20260824170247-Generic.img.gz

Don't miss a new CoreELEC release

NewReleases is sending notifications on new releases.