In case nobody noticed, Krypton test builds available here: LibreELEC
Posts by kszaq
-
-
Jefken For now you have to use 7.0.x builds to have DVB drivers. I also think that Kodi Jarvis is much better with video playback than Krypton on Amlogic.
-
hy kazaq i've got tty error updating from jarvis 008, wether from update folder or replace file manually, anyway did you change any label scheme again?Not again, I changed them for the first time. Last time I made them mandatory.
Now boot partition label is LIBREELEC and data is LIBREELEC_DATA. This is to be compatible with LE master branch: scripts/mkimage: add label to "disk" partition as well · kszaq/LibreELEC.tv@0973b49 · GitHub
LibreELEC master introduced partition label after I added them to my Jarvis build, that's why it's been changed for Krypton.
-
Latest dev build update needs that config to be done again.
I'll probably try with the krypton build later today.
The fix will make it to a next build, both Jarvis and Krypton. I lowered the margin some time ago from 16 to 8 as it still fixed the video I had and I thought it was needed to fix memory usage. As it turned out the reason for high memory usage is different, we can bump the margin back to 16. -
Have you considered use the mainline kernel from GitHub - LibreELEC/linux-amlogic: the Linux kernel for Amlogic SoC devices for this new branch?Will be the development more easy with mainline kernel + patch vs own fork?
At this point I forked the LE kernel repo as I use more WiFi drivers and older Mali for better performance. I plan to gradually separate the drivers from kernel tree (like it's done in LE) and eventually I will switch to LE kernel + patches approach. You may have also heard that at some point S805 and S905 support will be merged into main LE repo. It will still be considered a "community build" (i.e. not fully supported) but much easier to find and contribute to. -
New development build uploaded: LibreELEC-S905.aarch64-7.0-devel-20161028232312-r23412-g028df0e.img.gz
GitHub: 2016-10-28-develChanges from previous dev build:
- 4K scaling patches from LE master
- audio passthrough patches from LE master (slightly adjusted)
- a bit lower memory leak (unfortunately it's still there!)
- analog output on S905X should work now (untested)
- ability to update device tree by simply throwing it with update image into Update folder (untested)
I consider this build a release candidate for 7.0.2.009. After .009 my development efforts will be focused on Krypton, although all important fixes will be backported to Jarvis builds if possible.In the meantime there's also a Krypton build to play with.
-
LibreELEC 8.0 builds for Amlogic S905/S905D/S905X devices.
Read this first: [HOWTO + FAQ] Install community builds on S905/S905X/S912 device
Important notes:
- These are unofficial, community supported builds so please post all bugs/issues in this forum area only.
- I work on these builds 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: [READ FIRST] Reporting bugs
- You can update from 7.0 to these builds but you can't downgrade. I recommend a clean install.
- Older builds are available at Index of /s905
- if you choose a device tree with LIRC support, you have to configure your remote control from the scratch (amremote cannot work toghether with LIRC)!
Note on downloads:
- for Odroid-C2 download image with -C2 suffix
- for every other device use image without suffix...
- ..unless you are experiencing freezing: then use -temp_sensor_disabled version
8.0.2e (2017-07-04)
Downloads: Index of /s905/8.0/8.0.2e/
Device trees: Index of /s905/8.0/device_trees/Source code: 8.0.2e
Changelog:
- added Odroid-C2 build (a bit experimental for now)
- Kodi: updated to a261e06
- ffmpeg: updated to 3.1.9
- media_build: reverted to 2017-04-17
- fixed LIRC with meson-ir (for built-in IR receiver)
- improved DVB-T scanning for built-in "K" series tuners
- updated QCA9377 firmware
- re-added ge2d patch to hopefully fix Hyperion
Known issues and important notes:
- If you use S905X device the screen will be darker than normal on boot. It goes back to normal after you start/stop a video.
- Built-in DVB tuners are supported only for "K" series devices and WeTek Play 2. For "K" series I use driver from afl1 with some modifications, please do not report issues with the driver to him! If you want support, please use builds from afl1.
- Supported internal WiFi chips: Broadcom (all), Realtek (all) and Qualcomm QCA9377. Other chips, e.g. 9082xs and SSV6051 are not supported because manufacturers show middle finger on every driver request.
- 4K support is experimental.
- 3D and HDR are not supported, i.e. they might work but I don't provide support. For automatic 3D switching you may want to try installing "ODroid C2 - 3D autoswitch" addon from LE repo
- 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.
- External DVB tuner support is experimental via media_build drivers from CrazyCat69.
If you like my work, you can buy me a coffee(or without PayPal account: link)
Older builds
8.0.2d (2017-06-27)
Downloads: Index of /s905/8.0/8.0.2d/
Device trees: Index of /s905/8.0/device_trees/Source code: 8.0.2d
Changelog:
- Kodi: added automatic 3D mode switch patch (see Fix 3d mode switching for Wetek HUB on Libreelec by Memphiz · Pull Request #12326 · xbmc/xbmc · GitHub)
- added support for WP2 internal tuners (thanks to codesnake)
- added support for using LIRC with built-in IR reciever (requires a modified device tree)
- improved installtointernal and update script to hopefully better deal with writing device trees
- updated media_build to 20.06.2017 (thanks CvH)
- added XBox One controller support from Linux 4.12 (exeperimental)
- improved performance a little
8.0.2c (2017-06-20)
Downloads: Index of /s905/8.0/8.0.2c/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.2cChangelog:
- 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 internal DVB tuner from afl1 PLEASE NOTE: This is experimental and I cannot provide support. If you want support, please use builds from afl1. Please don't report issues to the driver, it has been modified slightly and not everything may work!
- added RTC (Real Time Clock) support for Minix U1 and Khadas VIM - for Minix U1 please remember to update device tree
- improved Khadas VIM compatibility
- added CXD2820R tuner module thanks to a patch from codesnake
- fixed non-important upgrade script regression introduced in 8.0.2b
8.0.2b (2017-06-12)
Downloads: 8.0.2b
Device trees: Index of /s905/8.0/device_trees/
Source code: 8.0.2bChangelog:
- 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, especially AES on S905X
- fixes issue with certificates valid >20 years
- LibreSSL libraries are included for addon compatibility - thanks to escalade for the idea!
- re-applied H.264 decoder flag to fix live TV stuttering
- enabled fq_codel in the Linux kernel to better deal with network congestion (thanks koenkooi)
- kernel performance improvements
- boot speed optimizations
8.0.2a (2017-05-28)
Downloads: Index of /s905/8.0/8.0.2a/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.2aChangelog:
- Kodi:
- updated to 17.3 final
- merged all changes from official LibreELEC 8.0.2
- reverted kernel to Marshmallow version which means:
- no more issues with 4K output
- fractional frame rates can no longer be chosen in Kodi display settings - they turn on automatically during video playback
- HDR handling is different - better or worse? I cannot decide, no equipment here
- "full Nougat" kernel is in the works, no ETA!
8.0.1l (2017-05-19)
Downloads: Index of /s905/8.0/8.0.1l/
Device trees: Index of /s905/8.0/device_trees
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1l
Changelog:
- Kodi:
- reverted some experimental kernel audio patches
- reverted a CEC patch that caused it not to work sometimes
- merged all upstream LE 8.0 changes
8.0.1k (2017-05-14)
Downloads: Index of /s905/8.0/8.0.1k/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1kChangelog:
- Kodi:
- re-added demux buffering up to 2 seconds that I removed in drain patch
- reapplied: increase rendering thread priority - this has an effect only with sync playback to display turned on
- amended lateframes patch to fix some stuttering it introduced
- backported NFS chunk size patch from Kodi master
- added a workaround for stalls on FF/RW or chapter seek
- dropped chapter seek patch from afl1
- bumped minimum CPU speed to 500MHz to improve system reaction speed in some cases
8.0.1j (2017-05-02)
Downloads: Index of /s905/8.0/8.0.1j/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1jChangelog:
- Kodi:
- remove all SDIO WiFI modules on suspend to limit crashing - suspend is still experimental!
8.0.1i (2017-04-30)
Downloads: Index of /s905/8.0/8.0.1i/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1iChangelog:
- Kodi:
- chapter skip/channel switch improvements from afl1
- fixed a regression regarding high bitrate videos playback
- CEC improvement from GDPR-1
- THD/Atmos fix
- backported Ethernet driver from Nougat kernel
- re-enabled suspend (experimental!)
8.0.1h (2017-04-23)
Downloads: Index of /s905/8.0/8.0.1h/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1hChangelog:
- media_build drivers updated to 2017-04-17
- Kodi:
- fixed channel switching
- reverted patch that added parsing of extended disp_cap formats - let's see if this fixes 4K for you
8.0.1g (2017-04-18)
Downloads: Index of /s905/8.0/8.0.1g/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1gChangelog:
- Kodi:
- fixed hardware decoding stuck at the end of video
- reverted thread priority patch
- updated framerate automation patch to switch resolution only when needed
8.0.1f (2017-04-16)
Downloads: Index of /s905/8.0/8.0.1f/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1fChangelog:
- audio-related changes:
- re-applied LE kernel audio patches to fix 44.1kHz output
- added WIP patches from Kwiboo to further improve kernel driver
- fixed Dolby Atmos with patches from LE kernel
- 176.4kHz and 192kHz might be working now on S905X
- framerate automation changes:
- improved Amlogic-Nougat style fractional frame rate handling in Kodi
- reverted some kernel changes that may have caused blackouts
- Kodi:
- implemented drain in AMLCodec to fix 2 seconds missing from the end of video
- increased renderer thread priority to fix some stutters
8.0.1e (2017-04-08)
Downloads: Index of /s905/8.0/8.0.1e/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1eChangelog:
- new approach to fractional frame rates (a bit experimental but working OK here)
- fixed choppy playback of some H.264 videos (e.g. UK DVB-T)
- smoother playback menu
- added a proper VC-1 fix from @peak3d
- trimmed initramfs a little
8.0.1d (2017-04-06)
Downloads: Index of /s905/8.0/8.0.1d/
Device trees: Index of /s905/8.0/device_trees/Changelog:
- Kodi updated to fc82741 (latest Krypton branch update)
- fixed video size after 720p -> 1080p/4K resolution switch
- added parsing of extended 2160p formats to Kodi (see LibreELEC for explanation)
- fixed ES8323 analog audio noise on boot (for Minix U1)
8.0.1c (2017-04-04)
Downloads: Index of /s905/8.0/8.0.1c/
Device trees: Index of /s905/8.0/device_trees/Changelog:
- fixed some regressions after Nougat kernel changes import:
- re-enabled output_rgb
- re-enabled Frame Rate Automation
- fixed picture freeze on H.264 stream error
- fixed green screen in VC-1 videos
- adjusted H.264 decoder parameters for videos up to 1920x1080 to fix playback of streams with high reference frame count
- added a fix for VC-1 decoder from @peak3d to minimize stuttering on B-frames
- adjusted audio parameters to improve analog audio output
8.0.1b (2017-03-27)
Downloads: Index of /s905/8.0/8.0.1b/
Device trees: Index of /s905/8.0/device_trees/Changelog:
- TEST: import video decoder and display changes from Amlogic Nougat kernel
8.0.1a (2017-03-23)
Downloads: Index of /s905/8.0/8.0.1a/
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.1aChangelog:
- 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)
Downloads: 8.0.0g
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0gChangelog:
- TEST: the patch that removes wait on prefill adjusted to not dequeue buffer when buffered size is 0 (might help those with issues on 8.0.0f)
- Kodi updated to 5814568
- timeout to kill Kodi process increased to 15s to hopefully prevent settings reset on reboot
- reverted a patch that disabled setting blackout_policy - no more black screen on seek/channel change
- suspend is so unreliable that it's now disabled
- very minor improvement in Kodi process memory management
8.0.0f (2017-03-15)
Downloads: 8.0.0f
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0fChangelog:
- TEST: remove waiting for buffer prefill in Amlogic HW decoder - this may improve channel switching time and seek time
- improved CPU performance for S905X
- improvement from LE 8.0 for Bluetooth Audio - the patch should improve audio-over-BT sync
8.0.0e (2017-03-08)
Downloads: 8.0.0e
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0eChangelog:
- Kodi updated to 9637da6 (latest commit in Krypton branch)
- reverted some of the audio patches from 8.0.0d build to hopefully fix RetroArch/Lakka
- updated AmlTiming patch
- fixed remapping 232 key code
8.0.0d (2017-03-03)
Downloads: 8.0.0d
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0dChangelog:
- Kodi updated to e3c872f (latest commit in Krypton branch)
- added a patch from RPi to bst centre channel when downmixing
- fixed a bug in CMA release
- kernel config cleaned up a bit
- added softvol to audio output to fix Spotify Web Connect addon
- added support for Minix U1 analog audio - remember to use a dedicated device tree WARNING: when using headphones remember to lower output volume first and turn off "quiet noise generation" in Kodi audio settings!
8.0.0c (2017-02-23)
Downloads: 8.0.0c
Device trees: Index of /s905/8.0/device_trees/
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0cChangelog:
- Kodi updated to 82eaae9
- fixed reading ethernet MAC address from eFuse and added reading from nand_env
- 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
8.0.0b (2017-02-20)
Downloads: 8.0.0b
Source code: GitHub - kszaq/LibreELEC.tv at 8.0.0bChangelog:
- merged all updates from LE 8.0.0
- Kodi updated to b0bc68b
- fixed AP6210 Bluetooth
- reverted NAND module deferred loading
- small optimization for update process on SD card/USB drive
- experimental: backport Kodi PR11646: fix edl skipping
- added support for remotesecond.conf (LibreELEC)
- disabled forced deinterlacer for all progressive videos to improve PQ
- speed and size improvements
7.95.beta6 (2017-02-11)
7.95.beta6
Source code: GitHub - kszaq/LibreELEC.tv at 7.95.beta6Changelog:
- merged all updates from LE 7.95.3
- Kodi updated with latest post-final patches from Krypton branch
- fractional frame rates are (hopefully) fixed now
- experimental: allow audio passthrough for live TV (thanks afl1 for the patch!)
- speed and size improvements
7.95.beta5b (2017-02-05)
7.95.beta5b
Source code: GitHub - kszaq/LibreELEC.tv at 7.95.beta5bChangelog:
- Kodi 17.0 final
- merged all upstream updates from official LE 7.95.2
- optimized kernel size
- minor boot speed improvements
- added BCM4335A0/B0 Bluetooth firmware
- bumped NFS chunk size for possibly improved libnfs performance
- removed waiting for a key frame in Amlogic decoder to fix some unplayable samples
7.90.beta4a (2017-01-29)
7.90.beta4
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta4aChangelog:
- Kodi 17.0rc4
- merged all upstream updates from LE 8.0 branch
- WiFi and BT improvements
- minor performance improvements
- beta4a: attempt to solve non-working ioctls for DVB tuners
7.90.beta3 (2017-01-20)
7.90.beta3
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta3Changelog:
- fixed "Cannot get MTD information for /dev/nand_env" error when setting/reading uenv variables
- fixed baudrate bump for QCA9377 Bluetooth
- TEST: bumped baud rate for RTL8723BS Bluetooth to 2000000
- added experimental MT7601U and MT7603U drivers
- fixed keyctl syscalls for Docker
- minor performance improvements
7.90.beta2 (2017-01-15)
7.90.beta2
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta2Changelog:
- 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
- TEST: bumped QCA9377 Bluetooth baud rate to hopefully fix BT Audio issues
7.90.beta1 (2017-01-12)
7.90.beta1
Source code: GitHub - kszaq/LibreELEC.tv at 7.90.beta1Changelog:
- applied the latest updates from upstream LE, including Kodi 17.0rc1
- added a/v sync improvements from @Peak3D
- fixed freezing when trying to play some MP4 videos (LibreELEC)
- added a Python hack to improve 32-bit userspace detection in addons using platform.machine() (e.g. Spotify)
- fixed Bluetooth using hciattach (e.g. Realtek 8723BS)
- new QCA9377 WiFi driver
- new QCA9377 Bluetooth driver
- added an udev rule in hope to fix non-working WiFi on boot (you no longer have to toggle it in settings)
- fixed Docker support
- lots of other little tweaks and fixes
2016-12-23:
2016-12-23
Source code: GitHub - kszaq/LibreELEC.tv at 2016-12-23-devel-kryptonChangelog:
- 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
2016-12-04:
2016-12-04
Use device trees from 7.0.2.009 builds: device_trees
Source code: GitHub - kszaq/LibreELEC.tv at 9f57b1844af452875a5627fca12cdeb16fa030b8Changelog:
- reverted AP6212 firmware
- added a few fixes to DVB support (3.14 drivers)
- updated addons
- kernel size optimization
- Mali drivers reverted to r5p1 for smoother GUI
- small kernel improvements
2016-12-01:
2016-12-01
Use device trees from 7.0.2.009 builds: device_trees
Source code: GitHub - kszaq/LibreELEC.tv at 2016-12-01-kryptonChangelog:
- 32-bit userspace allowing to run ARM addons, including Spotify and libwidevine (thanks to GDPR-1 for bringing the idea into life!)
- Kodi updated to 17.0beta6
- LE updated to latest master
- added temporary fix for audio clicks and pops
- and many other improvements from my 7.0 builds
2016-11-09:
2016-11-09 (use device tree from 7.0.2.009 builds: device_trees)
Source code: GitHub - kszaq/LibreELEC.tv at 2016-11-09-krypton
Changelog:- fixed LibreELEC addons
- Kodi updated to latest Git (81dfeb6) - without Estuary which stays in line with current LE master
- LE updated to latest master
2016-11-07:
2016-11-07 (use device trees from 7.0.2.009 builds: device_trees)
Source code: GitHub - kszaq/LibreELEC.tv at 2016-11-07-krypton
Changelog:- Kodi updated to latest Git (908061e) - without Estuary which stays in line with current LE master
- kernel updated to be in line with 7.0.2.009
- updated AP6212 and added AP6212a firmware
- added experimental Aigalie WiFi drivers
- bumped dynamic_buf_margin for HEVC
- LE updated to latest master
2016-10-28 (deprecated):
2016-10-28 (use device trees from 7.0.2.008 builds: device_trees)
Source code: GitHub - kszaq/LibreELEC.tv at 2016-10-28-krypton -
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 - LibreELECFAQ
FAQ
LibreELEC FAQ - LibreELEC
LibreELECQ: 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.1Changelog:
- 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.3Changelog:
- 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.2Changelog:
- 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.1Changelog:
- 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.1Changelog:
- 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.1Changelog:
- based on LibreELEC 8.2.0
8.1.10 (2017-10-08)
Downloads: Index of /s805/8.1.10/
Source code: 8.1.10Changelog:
- 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.9Changelog:
- 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.8Changelog:
- 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.7Changelog:
-
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.6Changelog:
- 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.5Changelog:
- 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.4Changelog:
- 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.2eChangelog:
- 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.2dChangelog:
- 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-s805Changelog:
- 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.2aChangelog:
- 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-s805Changelog:
-
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.1aChangelog:
- 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.0gChangelog:
- 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.0bChangelog:
- 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.beta6Changelog:
- 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.beta5aChangelog:
- 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.beta4Changelog:
- 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.beta3Changelog:
- 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.beta2Changelog:
- 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-kryptonChangelog:
- 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 -
Tested it again. If 280-350MB is too much, you can tell me.
Upload should be finished the next 20 minutes. I will put a log in the folder too (MEGA-Folder,check PMcan't send you PMs)
Here is the folder, tell me if I can delete it.
MEGAit is freezing after 4sec everytime.
Edit:
Just tested another movie ... Same thing. But I think I was able to watch HVEC already. At least I tested to play it, somewhere before .008.Thank for the sample, downloaded. I will post an update when I have something to test.
First suggestion: try using echo 16 > /sys/module/amvdec_h265/parameters/dynamic_buf_num_margin
-
mergleb Perhaps. Try running it from a different stick or SD card.
Stimmenhotel It can be very short but has to reproduce your issue. Last time I got a sample it was only 20MB but perfect to test.
-
tabs If you can wait a bit, a build from me is coming soon.
-
Stimmenhotel I need a sample for any video that doesn't work.
-
logicheart You don't have to post the same things in two threads. I have told you before that this is a memory leak issue that all S905 devices are facing and work is in progress to address it.
-
1. Is it OK if I manually replace device tree on SD card (should be the surest way)? Should I do it before updating to the latest build or after?
Yes, you can. There is no difference when you do this, it's not "loaded" in any way to your data partition, it is always loaded from SD card (or internal DTB partition if you run from internal memory). You can replace it any time you want. For example if you replace it to a non-working tree, simply put the card into your computer and replace the device tree to a working one.
[hr]
It seems that putting the update files in the update folder did not update the device tree - maybe I was wrong to put the device tree in the Update folder visible over SMB? Although the device did update to the latest build and erased the update files in the folder.You have to rename the device tree to dtb.img before putting it to Update folder. I might change that to pick any device tree with dtb extension to be flashed...
-
jesusodin You need to use the MXQ version.
-
tabs There seems to be no nvram for your chip in Afl1's image.
-
mattepiu Thank you. I am a bit out of time recently and I won't be able to check the memory leak soon. The good-ish news is that the leak is also present in official Kodi Krypton builds for aarach64 and hopefully someone more skilled than me would be able to find the reason sooner. Also, for debugging you would need a debug build, with debug symbols not stripped.
-
Have you seen / hear about this dirty cow bug in the Linux kernel? Does it affect le?No worries: LibreELEC