Thread Rating:
  • 7 Vote(s) - 4.86 Average
Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
Kodi "master" is now based on Leia, or Kodi 18. See this thread for Kodi 17 (Krypton) testbuilds.

Fair Warning

Kodi 18 is currently alpha and there is likely to be a lot of activity in the coming weeks/months. There will be some breakage.

In addition, these are "bleeding edge" builds - they often contain cherry-picked commits that require early testing prior to merging upstream, and which won't be found in regular nightlies until after they have been merged.

Please continue to report issues in this thread, but as I'm often not responsible for bugs and regressions (unless it's build related) don't expect personal replies or for me to file any upstream bug reports on your behalf. The best you can hope for is that the developer responsible is monitoring this thread and responds appropriately. If you want to progress an issue, identify when the issue first appeared as that may help suggest the pull request (PR) responsible, then post a comment on the relevant github PR or - if it's VideoPlayer related, or you don't know which PR is responsible - on

Skin Usage

By all means use third party skins with these builds (if the skins are compatible), but please do not report problems that cannot be reproduced while using the stock Estuary skin that is included with every build.

If a problem is not reproducible with stock Estuary then it's most likely to be a third-party skin problem, in which case contact the skin maintainer.


You need a working LibreELEC system in order to install a test build. If you are starting from scratch, use an official LibreELEC disk image to create a working system on your SD card. Once you have a working system, install the test build by copying the tar file into your Update folder and reboot.

RPi 3 Users: Use RPi2 builds.

Recent builds (see next post for older builds):
  • #1020, 20-Oct-2017: RPi / RPi2 -- Release post (New firmware; new 4.13.8 kernel; update to ffmpeg-3.4 (3.4-Leia-Alpha-1); update HEVC patches, reduces memory usage a little more)
  • #1019, 19-Oct-2017: RPi / RPi2 -- Release post  (xbmc.json fix mk2)
  • #1018, 18-Oct-2017: RPi / RPi2 -- Release post (Fix for xbmc.json that resulted in some addons being disabled; tvheadend42: changed to ffmpegx)
  • #1017, 17-Oct-2017: RPi / RPi2 -- Release post (wpa_supplicant: add security patches against KRACK attack)
  • #1016, 16-Oct-2017: RPi / RPi2 -- Release post (New 4.13.7 kernel; include nss/nspr in RPi & RPi2 image; drop RTL8814AU and revert back to paspro repo)
  • #1015, 15-Oct-2017: RPi / RPi2 -- Release post (libnfs fixes; ncurses, libgcrypt updates)
  • #1014, 14-Oct-2017: RPi / RPi2 -- Release post (Python2: update to Python-2.7.14)
  • #1013, 13-Oct-2017: RPi / RPi2 -- Release post (New 4.13.6 kernel; ffmpeg: hevc: Reduce memory a little; RPi UART fixes; pvr.vdr.vsni adapt to OpenGL >= 3.2, with fixes)
  • #1012, 13-Oct-2017: RPi / RPi2 -- Release post (New firmware; add RTL8812AU and RTL8814AU from aircrack-ng; update RTL8188EU; update LE service wrapper)
  • #1010, 10-Oct-2017: RPi / RPi2 -- Release post (New firmware; HEVC update which may help some streams; boost: update to 1.65.1)
  • #1009, 09-Oct-2017: RPi / RPi2 -- Release post (Minors)
  • #1008, 08-Oct-2017: RPi / RPi2 -- Release post (Minors)
  • #1007, 07-Oct-2017: RPi / RPi2 -- Release post (Fix missing labels)
  • #1006, 06-Oct-2017: RPi / RPi2 -- Release post (New 4.13.5 kernel; disabled media_build due to conflicts; missing labels not yet fixed)
  • #1005, 05-Oct-2017: RPi / RPi2 -- Release post ([PVR] Fix deadlocks on enable/disable addons)
  • #1004, 04-Oct-2017: RPi / RPi2 -- Release post (Minors)
  • #1003, 03-Oct-2017: RPi / RPi2 -- Release post (Reintroduce media_build package instead of as a seperate overlay (PR1835))
  • #1002, 03-Oct-2017: RPi / RPi2 -- Release post (VideoPlayer: expose stereo mdoe to dataCache; pulseaudio: set remixing-use-all-sink-channels = no)
  • #1001, 01-Oct-2017: RPi / RPi2 -- Release post (Minors)
  • #0930, 30-Sep-2017: RPi / RPi2 -- Release post (Minors)
  • #0929, 29-Sep-2017: RPi / RPi2 -- Release post (New 4.13.4 kernel)
  • #0928, 28-Sep-2017: RPi / RPi2 -- Release post (Updated "Make PVR database threadsafe")
  • #0927, 27-Sep-2017: RPi / RPi2 -- Release post (PR:12844: [PVR] Make PVR database threadsafe.; drop PR:12715)
  • #0926, 26-Sep-2017: RPi / RPi2 -- Release post (Re-enable pvr.octonet; fix addon installation broken in #0923)
  • #0925, 25-Sep-2017: RPi / RPi2 -- Release post (samba: update to samba-4.7.0)
  • #0924, 25-Sep-2017: RPi / RPi2 -- Release post (New firmware (tvservice reference counting); RetroPlayer: Add renderer for Windows, OpenGL, OpenGLES and MMAL)
  • #0923, 23-Sep-2017: RPi / RPi2 -- Release post (Updated OSD channel preselection PR:12823)
  • #0922, 23-Sep-2017: RPi / RPi2 -- Release post (New 4.13.3 kernel; [PVR] Fix channel OSD dialog channel preselection.; fix silence after unpausing)
  • #0921, 21-Sep-2017: RPi / RPi2 -- Release post (Update samba-4.6.8, bluez-5.47; stereoscopicsManager: Wait for valid stream info before triggering stereo mode)
  • #0920, 20-Sep-2017: RPi / RPi2 -- Release post (Restore pvr.njoy)
  • #0919, 19-Sep-2017: RPi / RPi2 -- Release post ([X11] factor out glx support; update to 3.3.4-Leia-Alpha-1; restore pvr.vbox)
  • #0918, 18-Sep-2017: RPi / RPi2 -- Release post (VideoPlayer: smooth motion; re-enable pvr.nextpvr)
  • #0917, 17-Sep-2017: RPi / RPi2 -- Release post (squashfs: update to squashfs-1a6ffc7)
  • #0916, 16-Sep-2017: RPi / RPi2 -- Release post (AE: allow bigger maxError when not in sync)
  • #0915, 15-Sep-2017: RPi / RPi2 -- Release post (ffmpeg hevc update; player state fixes)
  • #0914, 14-Sep-2017: RPi / RPi2 -- Release post (New 4.13.2 kernel; RTL8192EU: Update to new branch; add pvr.teleboy; RPi: add alsa card conf for IQAudIODigi to enable passthrough)
  • #0913, 13-Sep-2017: RPi / RPi2 -- Release post (New 4.13.1 kernel; PR:12797: VideoPlayer: make OpenFile asynchron)
  • #0912, 12-Sep-2017: RPi / RPi2 -- Release post (New firmware (fix CEC related crash); LinuxRendererGLES: implement hq scalers; Python: use /dev/urandom; pvr.wmc included)
  • #0911, 11-Sep-2017: RPi / RPi2 -- Release post (Minors)
  • #0910, 10-Sep-2017: RPi / RPi2 -- Release post (AE: some fixes and limit of max error; inputstream.adaptive fixes)
  • #0909, 09-Sep-2017: RPi / RPi2 -- Release post (Add custom samba config validation)
  • #0908, 08-Sep-2017: RPi / RPi2 -- Release post (New firmware (MMAL/IL I420 and YUVUV 10bpp formats); Possible fix for 3D main movie playback; newclock5: VideoPlayer flip changes)
  • #0907, 07-Sep-2017: RPi / RPi2 -- Release post (Drop PR12311 - needs rebase; re-enable ftrace; [PVR] Fix issue that required "Stop" before playback of a recording)
  • #0906, 06-Sep-2017: RPi / RPi2 -- Release post (New addon: pvr.zattoo; enable CONFIG_BRCMDBG; [PVR] Fix channel switching during playback)
  • #0905, 05-Sep-2017: RPi / RPi2 -- Release post (ibnfs v4 updates; [pvr] PVR Addon API 5.7.1)
  • #0904, 05-Sep-2017: RPi / RPi2 -- Release post (New 4.13.0 kernel; fix for individual movie scraping; kernel overlays addon now includes support for firmware)
  • #0903, 03-Sep-2017: RPi / RPi2 -- Release post ([PVR] Fix title missing in recordings OSD.; add contextmenu option to remove resume points)
  • #0902, 02-Sep-2017: RPi / RPi2 -- Release post ([PVR] Change context menu items for 'in progress' recordings.; RTL8812AU: allow LED on/of)
  • #0901, 01-Sep-2017: RPi / RPi2 -- Release post ([cec] Fix power messages handling.)
  • #0831, 01-Sep-2017: RPi / RPi2 -- Release post (Minors)
  • #0830, 30-Aug-2017: RPi / RPi2 -- Release post (New 4.12.10 kernel; binary addon API update; newclock5: Fix error interval; hevc update)
  • #0829, 29-Aug-2017: RPi / RPi2 -- Release post (Fix ssh breakage after samba workgroup/min/max change)
  • #0828, 28-Aug-2017: RPi / RPi2 -- Release post (Update dbus-1.11.16, connman-1.35; Kodi EPG fixes)
  • #0827, 27-Aug-2017: RPi / RPi2 -- Release post (Samba server: Add configuration support for workgroup, server min and server max protocol)
  • #0826, 26-Aug-2017: RPi / RPi2 -- Release post (inputstream.adaptive and RetroPlayer fixes)
  • #0825, 25-Aug-2017: RPi / RPi2 -- Release post (New 4.12.9 kernel; fix for FUSE when mounting exFAT; Samba auto-sharing, brcmfmac43430-sdiofixes; PVR Addon API 5.7.0; omxplayer: Avoid hang when skipping to next video)
  • #0824, 24-Aug-2017: RPi / RPi2 -- Release post (New 4.12.8 kernel; inputstream.adaptive:, audio description, build improvements)
  • #0823, 23-Aug-2017: RPi / RPi2 -- Release post (Fix BT MAC after recent BT/WiFi firmware update; fix inputstream.adaptive crash with Amazon; linux: enable ftrace)
  • #0822, 22-Aug-2017: RPi / RPi2 -- Release post (New firmware; inputstream.adaptive manifest updates)
  • #0821, 21-Aug-2017: RPi / RPi2 -- Release post (pvr.mediaportal.tvserver restored to build; update to samba-4.6.7)
  • #0820, 20-Aug-2017: RPi / RPi2 -- Release post (Minors)
  • #0819, 19-Aug-2017: RPi / RPi2 -- Release post (switch back to standard ncurses)
  • #0818, 18-Aug-2017: RPi / RPi2 -- Release post (Use 7zip to create addon archives; add audio description stream identification)
  • #0817, 17-Aug-2017: RPi / RPi2 -- Release post (Fix seeking in inputstream.adaptive; fix component logging; revert Wayland change until newclock5 rebase)
  • #0816, 17-Aug-2017: RPi / RPi2 -- Release post (Amazon flicker fix (PR12679))
  • #0815, 15-Aug-2017: RPi / RPi2 -- Release post (Update to gcc-7.2.0 (final) and glib-2.53.5; more PVR cleanup and updates; more inputstream.adaptive updates; MMALRender: Improve quality of 10->8 bit conversion)
  • #0814, 14-Aug-2017: RPi / RPi2 -- Release post (PVR Addon API 5.6.0 (breaks pvr.argustv which no longer builds); inputstream.adaptive updates)
  • #0813, 13-Aug-2017: RPi / RPi2 -- Release post (New 4.12.7 kernel; CEC labels fixed; inputstream.adaptive updates; newclock5: ffmpeg/hevc update)
  • #0812, 12-Aug-2017: RPi / RPi2 -- Release post (lirc updated to lirc-0.10 (PR:1726 updated))
  • #0811, 11-Aug-2017: RPi / RPi2 -- Release post (CrazyCat users: This is now an addon; kernel overlays installed sooner - hopefully fixes issue with FUSE module)
  • #0810, 11-Aug-2017: RPi / RPi2 -- Release post (Fix tvheadend issue (PR12656, thanks @peak3d))
  • #0809, 10-Aug-2017: RPi / RPi2 -- Release post (Bump ggc to 7.2-RC-20170808, binutils 2.29; update to pre-release RPi0W/RPi3 WiFi/BT firmware)
  • #0808, 08-Aug-2017: RPi / RPi2 -- Release post (New firmware; new 4.12.5 kernel; fix broken pvr.iptvsimple; busybox dd conv=fsync fix)
  • #0807, 07-Aug-2017: RPi / RPi2 -- Release post (pvr.argustv and pvr.mythtv: restored to build; sqlite: update to sqlite-autoconf-3200000; inputstream.adaptive updates)
  • #0806, 07-Aug-2017: RPi / RPi2 -- Release post (Bump to gcc-7.1 and glibc-2.26; pvr.hdhomerun and pvr.iptvsimple: restored to build; [PVR] Fix channel preview OSD)
  • #0805, 06-Aug-2017: RPi / RPi2 -- Release post (inputstream.adaptive update; ffmpeg: hevc: More SAO neon optimisations)
  • #0804, 04-Aug-2017: RPi / RPi2 -- Release post (inputstream.adaptive updates; PVR API 5.5.0; fix crash if a button in joystick.xml has no action)
  • #0803, 03-Aug-2017: RPi / RPi2 -- Release post (busybox: update to 1.27.1; PVR fixes; fix: libdvd's stream API doesn't handle incomplete reads well)
  • #0802, 02-Aug-2017: RPi / RPi2 -- Release post (pvr.vuplus: restored to build; correctly report when NEON is enabled (in kodi rollup patch))
  • #0801, 01-Aug-2017: RPi / RPi2 -- Release post (pvr.demo: restored to build; inputstream.adaptive: HLS updates)

Feature Requests:
I will not be adding extra add-hoc packages to these builds as that is not their purpose, which is to help test bug fixes and enhancements for existing features/packages/drivers in stock LibreELEC. New functionality may be included for testing purposes if it is considered both beneficial and highly likely to be merged upstream in the near future, and is available as a github pull request or commit.

I have no desire to create builds with unique features upon which someone becomes dependent, as this benefits nobody in the long term not even those using the unique features once I stop creating new builds. In theory, when I stop creating new builds you should all be able to seamlessly switch back to official LibreELEC builds which by then should be including most if not all of the enhancements originally tested in these builds.

If you care about long term support for your favourite package, feature or driver and want to see it included in an LibreELEC build, contact the LibreELEC developers on github or post on the forum requesting the addition of support in the base LibreELEC build (or better yet, create a Pull Request with patch). That way everyone building or using an LibreELEC derived system "wins".

Additional Testing Notes:
  1. Build references

    When reporting issues, refer to builds using only the published build codes, ie. #0215, #0216 etc. The build code is visible on the boot screen, and by typing "lsb_release".

    Do NOT use any other reference, as these are often meaningless. For instance, the LibreELEC github revision identifier, 20272, 20281 etc. can be used by more than one build if nothing changes in LibreELEC between successive builds meaning such references could identify multiple builds, rendering it useless as a unique reference.

    Anyone using the wrong reference will be ignored by me, possibly others, as I'm just not interested in working out which build you may or may not be referring to.
  2. Usage information

    Starting with build #0529(2014), very limited usage information will be collected during the first boot of each newly installed build. The information collected is: build#, Pi memory size (256MB, 512MB or 1008MB) and maximum ARM frequency. No IP or personal information is collected!

    If you wish to opt out of data collection, run the following command:
    touch /storage/.config/milhouse.dnt
  3. The purpose of this data collection is really just to get an idea of how much testing is being carried out and on what hardware, and would otherwise be achieved via non-opt out server logs if such logs were available (which they're not).
  4. Migrating LibreELEC from Pi1 to Pi2, and back again

    Note: Prior to migration I would recommend disabling all overclocks, as a Pi1 overclock may not work successfully on a Pi2, and vice versa.

    From Pi1 to Pi2: While using the Pi1, upgrade with the RPi2 tar. Once the upgrade is complete, the system will reboot to a rainbow boot screen (as you're now booting the ARMv7 kernel). Shutdown (pull the power) and transfer the SD card into your Pi2, which will boot normally.

    From Pi2 to Pi1: While using the Pi2, upgrade with the RPi tar. Once the upgrade is complete, the system will reboot to a rainbow boot screen (as you're now using the ARMv6 kernel). Shutdown (pull the power) and transfer the SD card into your Pi1, which will boot normally.
  5. Builds since early Dec 2014 include crashlog support

    In the event of a crash, the file /storage/.kodi/temp/kodi_crashlog_<ccyymmddhhmmss>.log will be created. The symbolic link "/storage/.kodi/temp/kodi_crash.log" will always point to the latest crashlog. Upload one of these files to a paste site and post details on the forum.

    Debug builds are occasionally uploaded to the debug folder. Debug builds will usually include more detailed crashlog information, but require a larger System partition (at least 384MB) and more RAM.

    Use the following command to upload the most recent crashlog:
    cat /storage/.kodi/temp/kodi_crash.log | pastebinit
  6. Resizing partitions for debug-enabled builds (or undersized partitions that result in "CHECKING SIZE: FAILED" errors)

    The default FAT partitition created by a disk-image installation (prior to OpenELEC 6.0.1) is too small for a debug-enabled build (and even some of the more experimental non-debug builds depending on what features are included), and will need to be increased in size to 512MB using some of the free space allocated to the second ext4 partition.

    To resize the FAT and ext4 partitions of an existing installation:
    • Linux: use gparted to resize FAT/ext4 partitions
    • Windows: use MiniTool Partition Wizard. See this post for more details - unfortunately partition move/resize is not supported by MiniTool for ext4 filesystems so backup, delete/recreate ext4, then restore to resize the Storage partition
    • Windows: An alternative solution is to boot a Linux "LiveCD" and then use gparted
  7. Alternatively, if you have a Linux system available and are creating a fresh SD installation, manually creating the partitions may be a quicker option (the linked instructions will create a 512MB FAT partition).

    Starting with OpenELEC 6.0.1, disk image installations will now create a 512MB FAT partition although this will wipe all existing data - use the backup/restore procedure to save existing data.
  8. Amazon Prime / Netflix / inputstream.adaptive
    Amazon is working working (as of 03 July 2017)
    Netflix is currently working (as of 29 Jun 2017)

    These builds include the inputstream.adaptive addon, which is enabled by default.

    With inputstream.adaptive it is possible to view Netflix and Amazon Prime content. To do so, you will need to install the library:
    curl -Ls | bash
  9. Amazon Prime addons (valid Amazon Prime account required):

    Netflix addon (valid Netflix account required):
  10. LibreELEC Settings add-on Development Updates
    For these builds since #0612, enter a URL into a Custom Channel, selecting from the following URLs based on your hardware:
    RPi Zero/RPi1: (x86):
  11. then select "Milhouse-9.0" as the Update Channel (or "Milhouse-8.0" for builds before #0202).
  12. Clean builds - what are they?
    There are two ways to build LE: a "clean" build, where everything (every package) is built from scratch - this takes 2.5 to 3 hours - or there's an "incremental" build where only the packages that have changed from the last build are re-built - this is much quicker, usually 10-15 minutes depending on the number of packages that have changed.

    Obviously "incremental" builds are the preferred method since they're so much quicker, however there are consequences when packages have inter-dependencies and only some of those packages are changed (and thus rebuilt) which may result in unpredictable results at run-time. For this reason, every now and again it's a good idea to "clean build". Also, when there are a large number of core packages being updated/bumped it's also a good idea to "clean build" since the likelihood/risk of inter-dependency is so much greater.

    I'll sometimes make a point of mentioning in the build highlights when a build is of the "clean build" variety, mainly so that I remember this if/when I come back to this build for any reason in another 6 months time... Note that I won't always do this as I'll sometimes forget to mention it, so the lack of any reference to "clean build" should not be taken as confirmation that the build is incremental.
  13. Uploading debug logs
    Without a debug log there's often no way to investigate a problem, and you can expect your bug report to be ignored as a result. This is the easiest way to upload a debug log:
    1. Enable debug logging. If this is not possible in the GUI (because Kodi is crashing) then add the following to /storage/.kodi/userdata/advancedsettings.xml:
      <advancedsettings>  <loglevel>1</loglevel></advancedsettings>
    2. Reboot, so that debug logging is in effect from the very start of Kodi
    3. Reproduce the problem
    4. Using ssh connect to LibreELEC (username: root, password: libreelec)
    5. Execute the command:
      cat /storage/.kodi/temp/kodi.log | pastebinit
    6. then paste the resulting url to the forum
  14. Debug logging is enabled in  Settings > System Settings > Logging > Enable debug log. Sometimes component-specific logging may be useful depending on the issue.

    Do NOT upload the log itself to the forum! Always us a pastebin-type site (or dropbox/googledrive if you have to compress the log).
  15. Game Emulators
    Access games via Internet Archive ROM Launcher (IARL):
    1. Download Zach Morris Repo and install from zip (don't use "Install from zip file" Home screen widget - use Add-ons > Add-on browser > Install from zip file)
    2. Install from repository > Zach Morris Add-ons > Game add-ons > Game providers > Internet Archive ROM Launcher
    3. Within IARL, install emulators, launch games etc.
  16. Odds and sods
    1. What are newclock3, newclock4 etc.? Link.
    2. A selection of addons are available here
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.

Messages In This Thread
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Milhouse - 2016-12-01, 06:34