Homatics Box R 4K Plus

@Fandangos

One fork exist from old CoreElec dev, TheCoolest aka Arthur Liberman.

You can begin there. :wink:

2 Likes

I have not updated my branches in months. I’m not sure how much work it would take to make upstream CE repos work with this branch.
It’s possible that it’ll be easier to just take CE21-NG and slap Kodi 22 on top of it rather than rework what has been going on in the upstream CE 22 repos.

It seems to me you did all the heavy lifting.

I’m familiar with Kodi and have develop for it in a distant past but I’m not familiar with CE.
I see your contact info on Core Temp.

Mind if I email you?

A post was merged into an existing topic: Help, support CPM build

I’m using a Dune Homatics Box R 4K Plus (S905X4) and have been running CoreELEC-Amlogic-ng.arm-21.2-Omega_nightly_20250805 from USB. Everything worked flawlessly when my box was on Android TV 12 .

However, after updating the internal Android to ATV 14 (v14.8.2463), CoreELEC still boots fine, but Dolby Vision (DV) and HEVC TrueHD movies are throwing this error:

when i click on play, it just shows loaders and spins continuously.

  • I’m using the correct DTB (sc2_s905x4_sei_smb_280.dtb) and also tried sc2_s905x4_4g_1gbit.dtb

Would appreciate any help or workarounds (including stable Android 12 firmware links if needed).

Does ATV Version Running On Dune Have Any Affect on Coreelec ? or its independent

Thanks in advance!

Full Log

2025-08-05 19:48:09.150 T:7145     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video Coding)
2025-08-05 19:48:09.767 T:3975     info <general>: VideoPlayer::OpenFile: /var/media/MyUSB/Ready.Player.One.2018.Multi.UHD.2160p.Bluray.x265.HDR.Atmos.7.1-DTOne/Ready.Player.One.2018.Multi.UHD.2160p.Bluray.x265.H
DR.Atmos.7.1-DTOne.mkv
2025-08-05 19:48:09.768 T:7207     info <general>: Creating InputStream
2025-08-05 19:48:09.791 T:7207     info <general>: Creating Demuxer
2025-08-05 19:48:09.862 T:7207     info <general>: Opening stream: 0 source: 256
2025-08-05 19:48:09.862 T:7207     info <general>: Creating video codec with codec id: 173
2025-08-05 19:48:09.862 T:7207     info <general>: CBitstreamConverter::Open bitstream to annexb init
2025-08-05 19:48:09.864 T:7207     info <general>: DVDVideoCodecAmlogic: Opened Amlogic Codec
2025-08-05 19:48:09.864 T:7207     info <general>: Creating video thread
2025-08-05 19:48:09.864 T:7209     info <general>: running thread: video_thread
2025-08-05 19:48:09.865 T:7207     info <general>: Opening stream: 1 source: 256
2025-08-05 19:48:09.865 T:7207     info <general>: Finding audio codec for: 86060
2025-08-05 19:48:09.865 T:7207     info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder truehd
2025-08-05 19:48:09.865 T:7207     info <general>: OpenStream: Allowing max Out-Of-Sync Value of 50 ms
2025-08-05 19:48:09.865 T:7207     info <general>: Creating audio thread
2025-08-05 19:48:09.866 T:7210     info <general>: running thread: CVideoPlayerAudio::Process()
2025-08-05 19:48:09.866 T:7207     info <general>: Opening stream: 6 source: 256
2025-08-05 19:48:09.868 T:7209     info <general>: CDVDVideoCodecAmlogic::AddData: Open decoder: fps:24000/1001
2025-08-05 19:48:09.868 T:7209     info <general>: CAMLCodec::OpenDecoder Amlogic device does support DV, DV is enabled by user, display does support DV, DV system is disabled
2025-08-05 19:48:09.876 T:7210     info <general>: Creating audio stream (codec id: 86060, channels: 8, sample rate: 48000, no pass-through)
2025-08-05 19:48:09.877 T:4008     info <general>: CActiveAESink::OpenSink - initialize sink
2025-08-05 19:48:09.877 T:4008     info <general>: CAESinkALSA::Initialize - Configure simple control for "AUGESOUND"
2025-08-05 19:48:09.878 T:4008     info <general>: CAESinkALSA - Use card "hw:0" and set codec format "2 CH PCM"
2025-08-05 19:48:09.882 T:4008     info <general>: CAESinkALSA - Set Spdif to HDMITX to "Spdif_b"
2025-08-05 19:48:09.882 T:4008     info <general>: CAESinkALSA - Set codec for "Audio spdif_b format"
2025-08-05 19:48:09.882 T:4008     info <general>: CAESinkALSA - Set codec for "Audio spdif format"
2025-08-05 19:48:09.882 T:4008     info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=AMLAUGESOUND,DEV=0"
2025-08-05 19:48:09.893 T:4008     info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=AMLAUGESOUND,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"
2025-08-05 19:48:09.893 T:4008     info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2025-08-05 19:48:09.893 T:4008     info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2025-08-05 19:48:17.607 T:7209    error <general>: CAMLCodec::GetPicture: time elapsed since last frame: 7739ms (11:Resource temporarily unavailable)
2025-08-05 19:48:23.247 T:7209    error <general>: CAMLCodec::GetPicture: time elapsed since last frame: 5088ms (11:Resource temporarily unavailable)
2025-08-05 19:48:28.263 T:7209    error <general>: CAMLCodec::GetPicture: time elapsed since last frame: 5012ms (11:Resource temporarily unavailable)
2025-08-05 19:48:33.283 T:7209    error <general>: CAMLCodec::GetPicture: time elapsed since last frame: 5017ms (11:Resource temporarily unavailable)
2025-08-05 19:48:38.515 T:7209    error <general>: CAMLCodec::GetPicture: time elapsed since last frame: 5227ms (11:Resource temporarily unavailable)

For the Dune HD Homatics Box R 4K Plus, using the "sc2_s905x4_sei_smb_280.dtb" file is essential for proper functionality. After switching to it, everything is working perfectly — Dolby TrueHD, DTS-HD MA, and even Dolby Vision FEL are all supported now.

Used this image - CoreELEC-Amlogic-ng.arm-21.2-Omega_nightly_20250726-Generic.img.gz

How do you have the sound configured in Coreelec?
I have Dune connected to the TV through a Denon amplifier, but I only get Dolby Surround even if the playback is output in DTS or DD.
Estoy en la última nightly.