LibreELEC - RockPi 4

LibreELEC for RockPi 4

  • Based on 08/09/2019 LibreELEC code
  • Upgraded to Kodi 18.4 base
  • Updated ffmpeg, mpp, rkbin, samba, addons
  • Enabled install addons from unknown sources by default
  • Enabled Expert Settings by default
  • Speed improvements
  • Added support for 1080p Netflix playback
  • Added RockPi logo on startup

Download Link:
https://mega.nz/#!MBMmkYLD!Xvl7XtTJPRJwVCwNQj-LCx08Q710zkh4K6e-o4bvI8Q

Write with Etcher to a micro-sd card and boot with the micro-sd card inserted to load LibreELEC.

To use Netflix 720p/1080p

  1. Download the Netflix addon repository
    https://github.com/castagnait/repository.castagnait/raw/master/repository.castagnait-1.0.0.zip
  2. In Kodi - Addons - Install from zip - Then install the repo
  3. In Kodi - Addons - Instal from Repo - Choose the new installed repo ‘CastagnaIT’ and install the Netflix addon from the video addons section
  4. Open the Netflix addon from the Addons - MyAddons screen and
    change the maximum quality from unknown to 1080p since 4K requires too much CPU power.
  5. In LibreELEC Settings, the last tile icon under Network enable the ‘Wait for network before starting Kodi’ setting and leave it on 10 seconds. It will help addons that load lots of settings on startup to work better and not give timeout errors when trying to stream.
    This is important to fix the Netflix addon to load correctly for some people.

image

  1. You will also need to install the Inputstream Adaptive addon for Netflix to work.
    Here is the link, just extract it to get the separate addon zip files.
    https://mega.nz/#!lI1hnKoZ!pOdQo1ruCk_3i7INmGXZxyB3BZjUGAz-udnljuD3W14
    It also includes TvHeadend and IPTV Simple PVR addons if you want to watch PVR Live TV with a USB DVB Dongle, just install the addons from zip.

  2. The first time you use the addon it will ask you to install a Chrome image to extract a file.
    Let it finish and afterwards restart LibreELEC to load the new files.
    Netflix should now play fine.

Since the Netflix addon is using CPU software decoding because DRM protected content can’t be hardware decoded on any Linux OS, it will cause some extra heat.
So it’s best to use the ecoPI Pro or ecoPi Starter + heatsink case from Allnet or put some extra fan or heatsink on the device.


This is based on the 4.4 stable kernel.
At the end of the year or early next year, LibreELEC will formally switch over to the 5.3 kernel then video playback and performance will be increased even more, but for now it’s better to use LE images still based on the stable, older 4.4 kernels.

If someone encounters any bug, please post your LibreELEC log so it can help.
PVR LiveTV is constantly being changed and improved by Kodi and is complicated, for some people it might work without any problems but for others they might have problems if they use DVB dongles that don’t have the right drivers or outdated drivers but in most cases it should just work well.

If someone is good with designing splash screens, it would be great to have a 720p/1080p/4K logo for when LibreELEC starts up. Perhaps with a nice pattern, green, blue, red, purple colors and the words LibreELEC and RockPi 4 somewhere. Here are the correct size images LE uses - https://github.com/LibreELEC/LibreELEC.tv/tree/master/distributions/LibreELEC/splash

3 Likes

It would be great if someone can help with adding a power menu to LibreELEC to boot back to Android like here

So you boot with a micro-sd card in then if you power on the RockPi 4 it boots LibreELEC and then you can boot back to Android on EMMC without removing the micro-sd card which has first boot priority.

Maybe a kernel, u-boot change is needed or only power menu addon or Kodi script to run?

LibreELEC Code


Something like this
https://forum.kodi.tv/showthread.php?tid=303833
https://discourse.coreelec.org/t/command-to-reboot-to-emmc-nand-to-use-on-other-skins/1937/3

Advanced Power menu addon
Maybe this can be changed to add Reboot to Android on Rockchip, creating own reboottonand script to run?

what is the difference from yours to the one from here

http://ftp.vim.org/pub/mediaplayer/libreelec/

Basically 1080p Netflix support(not working in that build), faster UI and latest Kodi 18.4 instead of 18.3 base and some Linux packages like Samba, ffmpeg etc. updated.
All Kodi changes from 19 June - 31 Aug 2019 in the link are included in my build while the ftp.vim.org build’s last Kodi changes end at 17 June 2019. In a few days when LE also merges the 18.4 Kodi base then the nightly images will have the same Kodi base changes as mine.
https://github.com/Kwiboo/xbmc/commits/rockchip_18.4-Leia

1 Like