LibreELEC - RockPi 4

Are you using the 1st post image or the newer one from the 15th post?
I think you might sill be using an older version, try the one from the 15th post.
Are you trying to play anime videos or something else, maybe you have a link then I can try the same file?

I plan to make an updated LibreELEC image, but will have to test it first to see if everything still works with the 4.4 kernel since LibreELEC updated everything to use the 5.5 kernel that doesn’t have support for 4K, fractional frame-rates, HDR or 10-bit color yet.

@mo123
Yeah i don’t i think i used your last image. I used this one. https://mega.nz/#!wA9hkY7D!UP5THE5wmhgJu1v28ChUVQ58JSrkpprdqa_KyerVYWY

And yes i’m trying to play anime videos since the rk3399 supports hip10. I tested some images with kernel 5.5 but it’s such a buggy mess i’m staying with kernel 4 for now. I also just noticed wifi menu sometimes crashes the machine while trying to select a network aswell as 5ghz channel doesn’t show on the menu.

LE updated, see Opening Post.
Netflix and other Inputstream addons work very stable now.
(Change the Netflix addon’s settings to use VP9 codec for a reduction in CPU usage)
Updated to Kodi Leia 18.6
Several patches from Kodi and CoreELEC, OSMC added.

Mainline LE is still missing H265, HDR, 4K, 10-bit so if that is finished, we can finally move over to it.

1 Like

@mo123, Hi is there any way to install this image to nvme?

Maybe you can ask in the LibreELEC forum, Rockchip section?
I don’t use nvme storage so not sure.
I also don’t know if you can boot LibreELEC(4.4 kernel) or need to use mainline 5.7 kernel ones that are still wip or also use a different u-boot, but the LE people might know better or balbes150.
The mainline LE images are progressing nicely, we just need H265 & VP9 codec support working, lots of things have been added recently like 4K resolutions, fractional frame-rates, 10-bit H264 etc. I can’t wait for it to be finished and all the support merged into the mainline kernel.

New LibreELEC image, see OP
https://mega.nz/file/xZ0RDRAY#6R_qWSy8Wf8y6qUBvCadzHqNngUAXN_NYNEEGZbQWvQ

If using RockPi 4C replace with this dtb file to have all the USB ports working
https://mega.nz/file/UJtj3bhC#dgQpXCI6tcD-1EQmJYaZqwlJtHMOCVilIMbDlLddzIg

1 Like

Hi Mo123,

It looks like your post might solve my issue, I have just setup a brand new Rockpi 4C with LibreELEC but only the top USB3 port is working.

You say to replace the dtb file listed above but I have no idea how to do that, can you please give me instructions or point me in the right direction?

Cheers

Braydon

Hi Mo123, I worked out how to do it but still only have the uppermost USB3 port working. Any ideas?

Thanks in advance

I’ll try to post an updated dtb file.
I think the last one I posted might not have contained all the required changes.
But might be better if I rebuild LE from the latest source-code tomorrow.

Much appreciated

New images

RockPi 4B
https://mega.nz/file/F34HQTpI#ZwP0OHy_81s-uPsTiYfzxZ_1-Et7BQTZQ203MrIaMb8

RockPi 4C
https://mega.nz/file/0nx1iTZL#q_XmQkvIP1bBtw2TQgnjDfdhYjAmUKinsTW3R3xIZhk

Thanks Mo123, all 4 ports now working on 4C.

Hi,

i have try install latest image but it fail to start (no video, no blinking blue led)
When i try armbian, official LE or other image with same sd card it boot fine…

Should this image work with Rockpi4 model A v1.4?

Thank you

Hi

I have a rockpi 4c and the usb port won’t work when booting with official LE.
After I replaced the dtb file with the one in Armbian folder rk3399-rock-pi-4c.dtb (Yes I changed the dtb name in extlinux.conf), it won’t even start.

Any idea or help?

@windyoung
The Armbian & LE images you use likely use different kernel versions so the dtb file will contain different settings and cause no boot problems.

Try to use the latest LE from here and change the default dtb file.

or use my image based on the legacy 4.4 kernel with working USB ports and HDR playback.

Could someone help me with installing image to 4A v1.4?

Hi @mo123 Can you please update to the latest LE codebase so we can get widevine working again?

I did test Netflix with the new changes but it wasn’t working.
Other addons with Widevine was working.
I think LE still has to add additional patches.

LibreELEC with the 4.4 kernel was discontinued and it will be very difficult to work with it now since it uses the 5.10 kernel.

You can use the latest LibreELEC nightlies, they support all the codecs now like H265, VP9, 10-bit color, 4K resolution, fractional frame-rates correctly which wasn’t working last year.
https://test.libreelec.tv/

@mo123 Thanks for your quick response. The rock-pi-4 nightly build is missing the library /usr/lib/libtcmalloc_minimal.so which is required to get the newer widevine to work.

See instructions here: https://libreelec.tv/2021/05/le-9-2-7-10b4-fix-widevine/

Any idea why the libtcmalloc_minimal.so library is missing in the nightly rock-pi-4 images?

Oh this explains why the lib is missing: https://github.com/LibreELEC/LibreELEC.tv/pull/5422/commits

Still doesn’t work though…