xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

Install 5.4 Kernel for RPi3B+ #925

Closed sirnacnud closed 1 year ago

sirnacnud commented 1 year ago

Sorry if this is the wrong place to ask, but I couldn't create a new thread on the forums due to my account being a "newcomer".

Anyways, I have a RPi3B+ which I would like to be able to keep support for HEVC playback which has dropped in Kodi 19 on LibreELEC. I found this post mentioning it works with Kodi 20 with a 5.4 Kernel on Xbian.

How do install a 5.4 Kernel on one of the Xbian releases? I tried the latest RPI4 image and the latest Buster RPI4 image, but both have a newer kernel.

mkreisl commented 1 year ago

Step 1: Add the kernel area into the file /etc/apt/sources.list.d/xbian.list

deb http://apt.xbian.org/      stable  main    kernel    rpi2-...
#deb http://apt.xbian.org/     staging  main    kernel    rpi2-...
#deb http://apt.xbian.org/       devel  main    kernel    rpi2-...

Step 2:

sudo apt-get update sudo apt-get install linux-image-bcm2836=5.4.150+-1633006719

Step 3:

sudo apt-mark hold linux-image-bcm2836

sirnacnud commented 1 year ago

Thanks for the instructions, worked perfectly!