DISCONTINUED: These builds will no longer be updated but you are welcome to use them!
LibreELEC 8.2 for Amlogic S805 devices.
Important notes:
- These are unofficial, community supported builds so please post all bugs/issues in this forum area only.
- Bug reports will no longer be looked into as the build is discontinued.
I created these builds for myself and work on them in my free time. I also don't know a lot of things so please be kind and patient if you encounter any bugs.-
Bugs? Read this first:LibreELEC
Supported devices:
- "MXQ" build: MK808B Plus and Beelink MXQ (with red "MX" stripe on top, Nexteon motherboard)
- "HD18Q" build: all-black MXQ, OTT MXQ and possibly other S805-based devices. You should first try running LE from an SD card to see if it works for you.
- "m201d" build: "all-black" boxes with 512MB RAM
Odroid-C1(+) is not supported, please use Wrxtasy's builds.
How to install:
How to install
Before installing, make sure that you have a fully-functional Android firmware on your box. Most of all make sure that powering on by remote control works in Android.
SD card:
- Download img.gz file from SD release folder.
- Unpack image to you hard drive and burn it to SD card. You can read how to do it here: Installation - LibreELEC
As a result, you should have 3 files on your SD card: aml_autoscript, KERNEL.IMG and SYSTEM. - To boot the system for the first time you have to use "toothpick" method. You have to do this only once. You should repeat only this step if booting from SD fails after Android reconfiguration/update. Don't worry, it won't delete your data.
Internal memory:
Run from SD card/USB drive first. If it runs fine, connect to your box over SSH, execute installtointernal command and follow on-screen instructions. This command wipes SYSTEM and DATA partition!
Updating:
For both NAND and SD card installations, download img.gz file from SD or Update folder and follow instructions from here: HOW TO:Update LibreELEC - LibreELEC
FAQ
FAQ
LibreELEC FAQ - LibreELEC
LibreELEC
Q: Which build should I use?
A: For MK808B+ and red-stripe MXQ use MXQ build. For other boxes, you have to experiment with HD18Q/MXQ/m201d builds. m201d build is aimed at boards with 512MB of RAM.
Q: Can I migrate from your OpenELEC build to LibreELEC?
A: In most cases you should be able to safely migrate from OpenELEC to LibreELEC without resetting to factory settings. Make a backup just in case.
Q: What about the other way round?
A: Not guaranteed to work.
Q: My WiFi/SPDIF doesn't work. I would like to replace device tree to fix that.
A: Index of /s805/utils/bootimg_tools/
Q: I tried to flash LE to NAND and I'm getting "invalid signature error". What should I do?
A: You can use TWRP to flash LibreELEC to internal memory or you can download recovery.img from here and place it on your SD card with other files unzipped from NAND release - after this use toothpick method to install.
Q: My remote control does not work, what can I do?
A: Grab remote.conf file from Android firmware (it's available in /system/etc) and copy it to Configuration folder: /storage/.config over SSH or \\your_box_IP\Configuration using Windows shares. You may need to remap some buttons.
Q: Can I have LibreELEC installed on both NAND and SD card?
A: Yes.
Q: What ROM can I have installed on NAND?
A: Any that works for you.
Q: I have LibreELEC running from NAND, I want to have Android from NAND and LibreELEC from SD card. How can I do that?
A: Backup LibreELEC settings. Copy backup to external storage. Install Android (your seller should provide you a link). Install LibreELEC to SD card. Restore backup.
Q: Can I run Android from SD card? Can you make that possible?
A: Not possible at the moment.
Q: Toothpick method doesn't take me to recovery any more, what can I do?
A: Connect over SSH and issue a reboot recovery command. In Android, you can either use Terminal Emulator if you're rooted or connect over ADB and use adb reboot recovery command. In rare situations you may have to re-flash bootloader using Amlogic's USB Burning Tool.
Q: After upgrading from your earlier OE builds, CEC buttons functionality has changed. How can I fix it?
A: The new behaviour is default for Kodi. You can bring back the old one using Index of /s805/utils/old_cec_keymap_for_new_driver/ You can also download Keymap Editor from Kodi official addon repository and remap buttons to your liking.
Tips & tricks:
Tips and tricks
- if you lost your original aml_autoscript file or want to use it with previous releases, it's available at: Index of /s805/utils/boot_from_sd_uenv/
- if your box doesn't detect 50 and 24Hz refresh rates, you can use a workaround: Index of /s805/utils/disp_cap_hack/
- some boxes are able to wakeup over CEC, to change this setting login over SSH and enter:
- fw_setenv cecconfig cec0 to turn off CEC wakeup
- fw_setenv cecconfig cecf to enable CEC wakeup
- this setting affects Android CEC setting!
WARNING Unless you have Android installed in internal memory, you have to provide remote.conf for your box. It can either be picked from links below or you can extract it from Android firmware. The easiest way to "install" it is copying it to root folder of your SD card.
Here you can download remote.conf from MXQ build: remote.conf
Here you can download remote.conf from HD18Q build: remote.conf
Here you can download remote.conf from m201d build: remote.conf
8.2.3.1 (2018-01-22)
Downloads: Index of /s805/8.2.3.1/
Source code: 8.2.3.1
Changelog:
- LibreELEC 8.2.3
Known issues:
- SAMBA/SMB/Shared folder issues? Read this blog post first
- Built-in DVB tuners are not supported.
- CEC might not work when your box has incompatible u-boot or your TV is not that well supported by Amlogic low-level CEC driver.
- no support for built-in DVB tuners and front LCD/segment displays
- Supported internal WiFi chips: Broadcom (all), Realtek (all). Other chips, e.g. 9082xs are not supported because there is no driver source code available.
- some boxes cannot wake up from suspend/power off by pressing remote power button (u-boot bug
- you can now work this around by adding echo Y > /sys/power/wake_lock to autostart.sh - this would make your box not suspend and only turn off HDMI signal instead
- you should note that with wake_lock enabled, your device is working all the time - e.g. pressing a keyboard button results in key press in Kodi that you cannot see!
- power LED on not officially supported boxes may not work as intended (too many boards to support them with a single build)
- no HD-Audio passthrough and multichannel audio output (hardware limitation)
Older builds
8.2.2.3 (2018-01-06)
Downloads: Index of /s805/8.2.2.3/
Source code: 8.2.2.3
Changelog:
- cleaned up installtointernal script
- updated all Realtek WiFi drivers
- added fstrim service for all trimmable partitions
- fixed random MAC address for some Realtek WiFi chips - those without factory MAC will always use the same, default MAC address
- added loading SYSTEM to RAM also for boxes with 1GB RAM - LibreELEC will now boot a bit longer but be as snappy as on 2GB boxes
8.2.2.2 (2017-12-21)
Downloads: Index of /s805/8.2.2.2/
Source code: 8.2.2.2
Changelog:
- add live TV stuttering patch from afl1
- change Broadcom WiFi regrev to SG to hopefully make all 5GHz channels you need available
- fix stability by re-enabling DVFS
- fix performance by switching back to ondemand governor (except for m201d build)
8.2.2.1 (2017-12-21)
Downloads: Index of /s805/8.2.2.1/
Source code: 8.2.2.1
Changelog:
- merged LibreELEC 8.2.2
- update AP6212A firmware
- improve Broadcom WiFi stability
- change regulatory domain for Broadcom WiFi to EU to cover more 5GHz channels
8.2.1.1 (2017-11-20)
Downloads: Index of /s805/8.2.1.1/
Source code: 8.2.1.1
Changelog:
- based on LibreELEC 8.2.1 with Kodi 17.6
- added Realtek 8723DS WiFi driver (BT support missing for now)
- added automatic updates to future builds - manual updates in LibreELEC Settings do not work for now
8.2.0.1 (2017-10-28)
Downloads: Index of /s805/8.2.0.1/
Source code: 8.2.0.1
Changelog:
- based on LibreELEC 8.2.0
8.1.10 (2017-10-08)
Downloads: Index of /s805/8.1.10/
Source code: 8.1.10
Changelog:
- merged upstream LE 8.2 changes
- Kodi updated to 2c0a184 (latest pre-17.5 revision)
- added support for a few RTL8188EU WiFi USB dongles
- switched to hotplug CPU governor for all boards to prevent freezing - performance should be the same!
8.1.9 (2017-09-23)
Downloads: Index of /s805/8.1.9/
Source code: 8.1.9
Changelog:
- merged upstream LE 8.2 changes
- updated all Realtek drivers
- actually applied freezing fix for m201d
8.1.8 (2017-09-15)
Downloads: Index of /s805/8.1.8/
Source code: 8.1.8
Changelog:
- merged upstream LE 8.2 changes
- BlueBorne vulerability kernel fix
8.1.7 (2017-09-13)
Downloads: Index of /s805/8.1.7/
Source code: 8.1.7
Changelog:
-
Kodi:
- update to 07424d3 (latest Krypton code version available)
- disable autoscrolling while on screensaver and while opening streams (taken from RPi patchset)
- merge upstream LE 8.2 commits
- added SSV6051 driver (still a little bit experimental)
- improve exFat performance by using kernel module instead of fuse (thanks to escalade)
- added some button mappings for Xiaomi BT remote (thanks wrxtasy)
8.1.6 (2017-08-27)
Downloads: Index of /s805/8.1.6/
Source code: 8.1.6
Changelog:
- Kodi: update to 17.4 final
- merge upstream LE 8.2 commits
- m201d: disable DVFS driver and use hotplug governor for improved stability
8.1.5 (2017-08-13)
Downloads: Index of /s805/8.1.5/
Source code: 8.1.5
Changelog:
- Kodi: add non-linear stretch for HW-decoded videos
- Kodi: don't use slide animations in Estuary by default
- simplify Broadcom firmware config file
8.1.4 (2017-08-13)
Downloads: Index of /s805/8.1.4/
Source code: 8.1.4
Changelog:
- rebased on LibreELEC 8.2 branch
- optimized ffmpeg a bit (-O3 compile flag)
- make images smaller by trimming unneeded firmware blobs (backported from LE master and added PCI firmware trimming)
- libcec: bump to f2c4ca7
8.0.2e (2017-07-04)
Downloads: Index of /s805/8.0.2e/
Source code: 8.0.2e
Changelog:
- Kodi: updated to a261e06
- ffmpeg: updated to 3.1.9
- improved m201d stability by disabling DVFS (some boards require it to be disabled)
- media_build: reverted to 2017-04-17
- optimized kernel size - slightly more RAM for userspace
8.0.2d (2017-06-27)
Downloads: Index of /s805/8.0.2d/
Source code: 8.0.2d
Changelog:
- updated media_build to 20.06.2017 (thanks CvH)
- added XBox One controller support from Linux 4.12 (exeperimental)
- improved performance a little
- silenced CEC warnings
8.0.2c (2017-06-20)
Downloads: Index of /s805/8.0.2c/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.2c-s805
Changelog:
- Kodi:
- updated to 21c2dba
- added PR#12145 to improve SMB performance
- faster start when "wait on network" is not selected
- removed libamplayer.so error
- switched to OpenSSL:
- better performance
- fixes issue with certificates valid >20 years
- LibreSSL libraries are included for addon compatibility - thanks to escalade for the idea!
- enabled fq_codel in the Linux kernel to better deal with network congestion (thanks koenkooi)
- kernel performance improvements
- boot speed optimizations
- added support for CVBS output: if HDMI is not connected, Kodi will default to output mode provided by u-boot, i.e. CVBS on devices with that type of output
- added PR#11159 to enable overriding disp_cap (for details: [AML] read display modes optionally from file by peak3d · Pull Request #11159 · xbmc/xbmc · GitHub)
- added HDMI connection monitoring service: if disp_cap is empty, Kodi will restart as soon as you plug HDMI/turn on your device to provide all display modes.
- added CXD2820R tuner module thanks to a patch from codesnake
8.0.2a (2017-05-28)
Downloads: Index of /s805/8.0.2a/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.2a
Changelog:
- Kodi:
- updated to 17.3 final
- added PR#12074 to lower CPU/GPU load when idle
- added the latest lateframes and VSync patches from afl1 after positive reports from users
- reapplied: increase rendering thread priority - this has an effect only with sync playback to display turned on
- backported NFS chunk size patch from Kodi master
- added a workaround for stalls on FF/RW or chapter seek
- merged all changes from official LibreELEC 8.0.2
8.0.1b (2017-05-02)
Index of /s805/8.0.1b/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1b-s805
Changelog:
-
Kodi:
- updated to fc82741
- fixed video size after 720p -> 1080p/4K resolution switch
- added lateframe amendment to fix some stuttering (thanks to afl1 for an idea)
- implemented drain in AMLCodec to fix 2 seconds missing from the end of video
media_build drivers updated to 2017-04-17
- ported VC-1 playback fix from @peak3d to 3.10 kernel
- trimmed initramfs a little
- fixed GPU scaling (reverted to 8.0.0b behaviour)
8.0.1a (2017-03-23)
Index of /s805/8.0.1a/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1a
Changelog:
- Kodi updated to 17.1 final
- merged all updates from LE 8.0.1
- removed experimental Aml timing changes
8.0.0g (2017-03-17)
8.0.0g
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0g
Changelog:
- merged all updates from LE 8.0.0
- Kodi updated to 5814568
- minor improvement in copying user data in installtointernal script
- experimental: better scaling of Mali cores for smoother GUI
- experimental: backport Kodi PR11713: Search backwards for keyframe when resuming playback
- added a patch from RPi to bóost centre channel when downmixing
- kernel config cleaned up a bit
- added softvol to audio output to fix Spotify Web Connect addon
- updated AmlTiming patch
- fixed remapping 232 key code
- experimental: remove waiting for buffer prefill in Amlogic HW decoder - this may improve channel switching time and seek time
- improvement from LE 8.0 for Bluetooth Audio - the patch should improve audio-over-BT sync
- timeout to kill Kodi process increased to 15s to hopefully prevent settings reset on reboot
8.0.0b (2017-02-20)
8.0.0b
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0b
Changelog:
- merged all updates from LE 8.0.0
- Kodi updated to b0bc68b
- fixed AP6210 Bluetooth
- fixed WiFi module not loading when there's a Realtek USB device connected on boot
- fixed RTL2832U DVB-T tuners
- experimental: backport Kodi PR11646: fix edl skipping
- added support for remotesecond.conf (LibreELEC)
- speed and size improvements
7.95.beta6 (2017-02-11)
7.95.beta6
Source code: GitHub - kszaq/LibreELEC.tv at 7.95.beta6
Changelog:
- merged all updates from LE 7.95.3
- Kodi updated with latest post-final patches from Krypton branch
- experimental: allow audio passthrough for live TV (thanks afl1 for the patch!)
- speed and size improvements
7.95.beta5a (2017-02-02)
7.95.beta5a
Source code: GitHub - kszaq/LibreELEC.tv at 7.95.beta5a
Changelog:
- Kodi 17.0 final
- merged all upstream updates from official LE 7.95.2
- optimized kernel size
- minor boot speed improvement
7.90.beta4 (2017-01-28)
7.90.beta4
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta4
Changelog:
- Kodi 17.0rc4
- device-specific builds are back
- merged all upstream updates from LE 8.0 branch
- added support for more Broadcom BT chips
7.90.beta3 (2017-01-20)
7.90.beta3
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta3
Changelog:
- fixed "Cannot get MTD information for /dev/nand_env" error when setting/reading uenv variables
- TEST: bumped baud rate for RTL8723BS Bluetooth to 2000000
- added experimental MT7601U driver
- minor performance improvements
7.90.beta2 (2017-01-15)
7.90.beta2
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta2
Changelog:
- applied the latest updates from upstream LE, including Kodi 17.0rc3
- updated Amlogic patch for Kodi and kernel to fix VC-1 playback @Peak3D
- fixed non-working factory remote buttons by reverting an upstream patch
- disabled AML_I2C to possibly fix some external DVB tuners
7.90.beta1 (2017-01-12)
7.90.beta1
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta1
Changelog:
- applied the latest updates from upstream LE, including Kodi 17.0rc1
- added a/v sync improvements from @Peak3D
- fixed non-working sound on boot where it starts to work after replugging HDMI
- other small tweaks and improvements
2016-12-23:
2016-12-23
Source code: GitHub - kszaq/LibreELEC.tv at 2016-12-23-devel-krypton
Changelog:
- fixed CEC
- applied updates from LE 7.90.010
- applied all updates from my Jarvis builds
- added media_build drivers
- added Frame Rate Automation patch from Codesnake
Known issues:
- this is alpha version, issues are present!
- VC-1 videos are a stutter-fest
- 23.976Hz might not always work properly
- there are still some issues with a/v sync in Live TV
2016-12-01:
2016-12-01
Source code: GitHub - kszaq/LibreELEC.tv at 2016-12-01-krypton
Changelog:
- Kodi updated to 17.0beta6
- LE updated to latest master
- minor fixes and improvements
2016-11-09:
2016-11-09
Source code: GitHub - kszaq/LibreELEC.tv at 2016-11-09-krypton
Changelog:
- Kodi updated to latest Git (81dfeb6) - without Estuary which stays in line with current LE master
- LE updated to latest master
- updated AP6212 and added AP6212a firmware
2016-10-28:
2016-10-28
Source code: GitHub - kszaq/LibreELEC.tv at 2016-10-28-krypton