This is a thread for new build that comes after a few weeks of (slow) development. Since it contains a new kernel that requires a bit more work to be installed I decided to create a new thread. Please read the whole post before rushing to updating/installing and testing!
7.0.2.006 Work-in-progress build 006 (2016-08-20)
- updated Amlogic kernel to 2016-07-01 with Mali r6p1 driver thanks to Codesnake
- updated kernel = (unofficial) S905X support
- CEC driver updates from Raybuntu
- kernel modules updated to 2016-08-18 Amlogic release
- revised Kodi patches for improved playback experience:
- fixed 10-second delay bug (thanks to Koying)
- disabled Hardware decoding of Hi10P videos
- v17 backport: bumped software decoder threads number for better performance
- v17 backport: fixed TextureManager memory leak
- minor playback improvements from SPMC
- updated DVB drivers from media_build package
- different set of Kodi patches for resolution switching to fix 720p <=> 1080p transitions
- rewritten installation procedure for internal memory to avoid "Unknown filesystem" errors
- Realtek 8189FS driver is now included
- Realtek 8723BS Bluetooth firmware is now included
- added a possibility to boot from USB
- disabled power management for Broadcom WiFi for better responsiveness
- something I forgot?
- Suspend doesn't work and when it works, device doesn't wake up properly. Temporary solution: use poweroff. IR power button switches the box off due to this bug.
- Temperature reading not available.
- 4K output doesn't work properly due to patches that fix resolution switching. To troubleshoot this, I ask 4K TV owners to paste output of cat /sys/class/amhdmitx/amhdmitx0/disp_cap command. Please don't paste this for 1080p TVs.
- Jerky playback of some 29.97fps videos and some Live TV channels (Amlogic HW decoder bug).
- CEC might not work when your box has incomplatible u-boot or your TV is not that well supported by Amlogic low-level CEC driver.
- Multichannel PCM audio doesn't work.
- Lots of other things that I did not notice.
Source code: GitHub - kszaq/LibreELEC.tv at 7.0.2.006
Kernel source code: GitHub - kszaq/linux at e1b40e416504263eb53a0bad35b422a046d29b6e
How to install:
CAUTION: Read the instructions carefully. Installation procedure has changed since last release!
I strongly recommend trying running this release from SD card/USB drive before installing to internal memory!
If you have WeTek Hub, you don't need to use toothpick method: update to latest Android version and make use of dual-boot feature!
SD card/USB drive:
Note: only 1 USB port is able to boot the box. You have to try them all.
- Download img.gz file and burn it to SD card/USB drive: Installation - LibreELEC
- After this you will see that drive capacity is 512MB. This is OK as there is a second (hidden) partition on the drive for LE userdata!
S905: Download a device tree for your box from device_trees, rename it to dtb.img and copy it to main folder of SD card/USB drive - replace the one that's already there.
S905X: Delete dtb.img from main folder of the card/thumb drive. These devices should already have device tree compatible with the latest kernel.
- To boot the system for the first time you have to use one of the following:
- toothpick method: disconnect the power supply, insert card/drive, use a toothpick to push reset button and connect the power while holding the button. Wait until LibreELEC logo appears and release the button.
- recovery method: boot into Android, insert card/thumb drive and choose Reboot to recovery. Your box should boot into LibreELEC.
- You have to do step 4 only once. You should repeat step 4 if booting from SD fails after Android reconfiguration/update. Don't worry, it won't delete your data.
Internal memory (NAND/eMMC):
- (This step is not needed when you have Android on internal memory) Download Android firmware for your box - you should get it from manufacturer or seller - and extract 2 files: recovery.img and dtb.img to your SD card.
- Download zip file from LibreELEC release folder.
- Unpack downloaded file to SD card/USB drive - you should now have 5 files on your card: aml_autoscript, factory_update_param.aml, a zip file with an update, dtb.img and recovery.img.
S905: Download a device tree for your box from device_trees, rename it to ledtb.img and copy it to main folder of SD card/USB drive.
S905X: Extract dtb.img from factory Android update, rename it to ledtb.img and copy it to main folder of SD card.
- Insert SD card to your box and use "toothpick" method to install it. Alternatively you can boot into Android Recovery and install it manually.
CAUTION: To boot into recovery after installing LE to internal memory use this procedure:
- prepare a clean, FAT32-formatted SD card or USB drive
- copy recovery.img and dtb.img from your Android firmware to SD card (don't use dtb.img for LE!)
- use "toothpick" method to boot from SD card/USB drive
Updating SD card release:
- Update as usual: download img.gz, copy it to Update folder and reboot.
- Wait for reboot procedure to complete.
- After you device reboots and stops on first logo, connect the card to your computer, download aml_autoscript from release folder and replace the one that you already have on your card.
- Download device tree and copy it to card: follow step 3 from SD card installation procedure.
- Use toothpick method to boot the box.
Updating NAND release:
Follow procedure for new install. Your data won't be affected.