Legacy v9.2 builds for Amlogic S805, S8X2, S905x and WP1 devices

  • Latest version: LibreELEC 9.2.8.6 (Release date: 2022-09-04)


    IMPORTANT NOTICE FOR MY IMAGES:

    Please note that I am still maintaining these images, because there is no official stable support for the current version of LibreELEC (v10). The reason for the lack of official support is that the old v3.10 (Meson6/8/8b/8m2) and v3.14 (GXBB/GXL/GXM) kernels are already obsolated and are supported by less and less software, and the support of the hardware in them is also limited. Meanwhile, support for the legacy implementation of Amlogic video decoder drivers (amcodec) was dropped by the Kodi development team since version 19.


    The official LibreELEC support for Amlogic devices is being prepared using the mainline kernel (v5.x), but since the quality of the original Amlogic kernel code (it was made for Android) is very poor and also quite outdated, so the migration to the mainline kernel is a very slow process. The implementation of hardware-accelerated video decoder drivers is already in a pretty good state, but support for most of the built-in dvb drivers is not yet implemented.


    The use of legacy kernels (v3.x) has security risks, keep this in mind when using my legacy LE 9.2 images. At the same time, the version of Kodi v18 (Leia) is no longer developed, so it may happen at any time that an external add-on stops working (especially online add-ons) and no longer receive updates for this version of Kodi.


    If you are interested in the current mainline kernel-based version, please visit this topic:
    Official LE Test Images for Amlogic (Kodi-20)


    Some working examples for my images:

    • Mecool KI Pro (S905D) @ LG OLED55CX3LA (4K):
    • OTT M8S+ (S812) @ LG 22MT45D-PZ (Full HD):


    Currently supported Amlogic SoC families and devices:

    1. Amlogic Meson GXBB (S905) and GXL (S905x) SoC on Linux kernel v3.14.29 (LTS):

    • Mecool KI-Pro with S905D SoC (2G/16G) and a modular integrated DVB-T2/S2 tuner (AVL6862 with Rafael Micro R848/R912):
      Working services: Power status LED (Blue=ON, Red=OFF), CPU temperature sensor, Analog+S/PDIF+HDMI sound output, Gigabit LAN (factory MAC address detection works), Wireless (2.4+5 GHz, Bluetooth), IR remote control (amremote), HDMI-CEC, NAND boot (installtointernal), Availink AVL6862 multi-standard internal tuner (native kernel support).
      NOTICE: WLAN and bluetooth tested and works with both wireless modules: AP6255 and BCM4335B0 also work.
    • Mecool KI-Plus with S905 SoC (1G/8G) and a modular integrated DVB-T2/S2 tuner (AVL6862 with Rafael Micro R848/R912):
      Working services: Power status LED (Blue=ON, Red=OFF), CPU temperature sensor, Analog+S/PDIF+HDMI sound output, 10/100 LAN (factory MAC address detection works), Wireless (2.4 GHz only), IR remote control (amremote), HDMI-CEC, NAND boot (installtointernal), Availink AVL6862 multi-standard internal tuner (native kernel support).
      NOTICE: WLAN tested and works with wireless module: RTL8189ES.
    • [NEW] WeTek Play 2 with S905-H SoC (2G/8G) and a modular removable tuner (AVL6211 DVB-S/S2, Sony CXD2841ER DVB-C/T/T2 / Panasonic MN88436 ATSC):
      Working services: Power status LED (Blue=ON, Red=OFF), CPU temperature sensor, Analog+S/PDIF+HDMI sound output, Gigabit LAN (factory MAC address detection works), Wireless (2.4+5 GHz, Bluetooth), IR remote control (amremote), HDMI-CEC, NAND boot*, modular removable tuner (native kernel support).
      NOTICE: WLAN and bluetooth tested and works with wireless module: AP6330.
    • MXQ 4K Pro+ with S905X SoC (2G/16G):
      Working services: Power status LED (Blue=ON, Red=OFF), CPU temperature sensor, Analog+S/PDIF+HDMI sound output, 10/100 LAN (factory MAC address detection works), Wireless (2.4+5 GHz, Bluetooth), IR remote control (amremote), HDMI-CEC, NAND boot (installtointernal).
      NOTICE: WLAN and bluetooth tested and works with wireless module: BCM4334B1.

    Driver addons**: dvb-latest (media_tree: 2019-07-11), crazycat_aml (media_tree_cc_aml: 2018-09-23).

    Maximum supported resolution: 2160p @ 60Hz.


    Amlogic S905 images: Index of /images/S905/.

    * Please read the description beginning with "WeTek NAND Installation Guide" in the IMPORTANT NOTES section below.

    ** Wetek Play 2 does not support dvb driver add-ons.


    2. Amlogic Meson8m2 (S812) SoC on Linux kernel v3.10.108 (LTS):

    • OTT M8S+ with Amlogic S812 SoC (2G/8G):
      Working services: Power status LED (Blue=ON, Red=OFF), CPU temperature sensor, Analog+S/PDIF+HDMI sound output, Gigabit LAN (factory MAC address detection works), Wireless (2.4+5 GHz, Bluetooth), IR remote control (amremote), HDMI-CEC, NAND boot (installtointernal).
      NOTICE: WLAN and bluetooth tested and works with both wireless modules: AP6330 and BCM4335B0 also work.

      M8S+ image: Index of /images/S8X2/.
    • WeTek Core with Amlogic S812-H SoC (2G/8G):
      Working services: Power status LED (Blue=ON, Red=OFF), CPU temperature sensor, Analog+S/PDIF+HDMI sound output, Gigabit LAN (factory MAC address detection works), Wireless (2.4+5 GHz, Bluetooth), RF+IR combo remote control (HID+amremote), HDMI-CEC, NAND boot*.

      WeTek Core image:
      Index of /images/WeTek_Core/.

    Driver addons: dvb-latest (media_tree: 2019-07-11).
    Maximum supported resolution: 2160p @ 30Hz.


    * Please read the description beginning with "WeTek NAND Installation Guide" in the IMPORTANT NOTES section below.


    3. Amlogic Meson8b (S805) SoC on Linux kernel v3.10.108 (LTS):

    • MXQ HD18Q (1G/8G) a.k.a. "all black" versions:
      Working services: 10/100 Mbps LAN, Realtek WiFi 2.4 GHz, CPU temperature sensor, IR remote control (amremote), HDMI-CEC, NAND boot (installtointernal).
    • MXQ m201d (512M/8G) a.k.a. "all black" versions with 512 MB RAM only:
      Working services: 10/100 Mbps LAN, Realtek WiFi 2.4 GHz, CPU temperature sensor, IR remote control (amremote), HDMI-CEC, NAND boot (installtointernal).

    Driver addons: dvb-latest (media_tree: 2019-07-11).

    Maximum supported resolution: 1080p @ 60Hz.

    Amlogic S805 images:
    Index of /images/S805/.


    4. Amlogic Meson6 (AML8726-MX) SoC on Linux kernel v3.10.108 (LTS):

    • WeTek Play (1G/4G) a.k.a. WP1:
      The device image is based on the officially supported version 9.0.2.

    Driver addons: not available.
    Maximum supported resolution:
    1080p @ 60Hz.

    WeTek Play image: Index of /images/WeTek_Play/.


    For NAND installation please read the description beginning with "WeTek NAND Installation Guide" in the IMPORTANT NOTES section below.


    +1 Bonus - Experimental images for 3rdParty devices:

    Note: I don’t have these devices, so although I try to support, but I can’t test them directly.


    Universal images for multiple S8X2 devices:

    • Universal k200 (S802, 2GB RAM, 10/100 Mbps LAN, AP6330 or Realtek WiFi):
      This build is not especially device-specific, it is a general image that can be used for most M8 clones, as well as a bunch of further Chinese noname boxes with S802 (Meson8) SoC and 2 GB of RAM.
    • Universal n200 (S812, 2GB RAM, 10/100 Mbps or Gigabit LAN, AP6330 or Realtek WiFi):
      T
      his build is not especially device-specific, it is a general image that can be used for most M8S and MXIII clones, as well as a bunch of further Chinese noname boxes with S812 (Meson8m2) SoC and 2 GB of RAM.

    MXIII series S8X2 images (based on Demetris work):

    • MXIII (S802, 1GB RAM, 10/100 Mbps LAN, AP6330 WiFi),
    • MXIII-G / MXIII Plus (S812, 2GB RAM, Gigabit LAN, AP6234 WiFi),

    Minix series S8X2 images (based on datrh work):

    • MINIX Neo X8 / X8-H (S802/S802-H, 2GB RAM, 10/100 Mbps LAN, AP6330 WiFi),
    • MINIX Neo X8-H Plus (S812-H, 2GB RAM, Gigabit LAN, AP6335e WiFi).

    [NEW] Ocroid C1/C1+ board (S805, 1GB RAM, Gigabit LAN, without WiFi),

    [NEW] WeTek Hub (S905-H, 1GB RAM, Gigabit LAN, AP6335 or AP6255 WiFi).


    3rdParty images: Index of /images/3rdParty/.


    How to create bootable media, start, install and update the firmware:

    • Create bootable SD card:
      To create bootable SD card media you need to download the LibreELEC-AML USB-SD Creator tool from the LibreELEC website. Then click on the 'Select file' button and browse the previously downloaded 'img.gz' disk image.
    • Start LibreELEC from SD card:
      If you want to boot the device from an SD Card, you need to perform the 'toothpick method':
      Disconnect the power plug, insert the prepared SD Card on, which the image file is written (img.gz), and then press and hold the reset button. Reconnect the power jack while holding down the reset button, then release it after about 3-5 seconds.
      NOTICE: If the Android recovery menu appeared, you pressed the button for too long.
    • Install image from SD Card to internal eMMC or NAND Flash (for non-WeTek devices only):
      If you want to install the firmware into the internal memory, you need to log in to the device via SSH and run the installtointernal command. The default password for the root user is 'libreelec'.
      IMPORTANT NOTICE:
      The command will completely overwrite the installed firmware (e.g. Android), so it will no longer be possible to boot the previously installed system!
    • WeTek NAND Installation Guide: Download the NAND installation zip file, extract it, and copy the contents of the file to the root folder of an FAT32-formatted SD card. Disconnect the power cord from the WeTek device, insert the prepared SD card, and plug in the power jack while pressing the reset button through the toothpick-sized hole in the bottom panel. You need to hold the button about 8-10 seconds until the LibreELEC installation begins.
      IMPORTANT NOTICE: This method will completely overwrite the stock WeTek firmware, so it will no longer be possible to boot the previously installed system!
    • Install an update package:
      To install the update, you must copy the update file (tar) to the Update folder via SMB, and then restart the device. The update process will start automatically after the restart.


    IMPORTANT NOTES - Please read them carefully before asking:

    • If you have any questions, please determine the type of your device first. During troubleshooting, you may need to SSH into the device and run some commands. I would be happy if I didn't have to explain these operations to you, because it is very time-consuming.
    • The built-in LibreELEC packages for these devices are not installed from the official repo, because they are located on an external server.
      If the LE add-on server is not available, please let me know only if it has been unavailable for more than 24 hours!
    • The remote control configurations are integrated into the image for all devices, so those can be used immediately after the first boot.
      To install a remote control for an unsupported device, follow the instructions here: Index of /remote.conf/.
    • Keep in mind that only "amremote" is supported, the "meson-ir" configurations for these images are not supported!
    • Using an external DTB only works with the S905/S905X/S905D! If you have a device with one of these SoCs, but the rest of the specification is different, you can try one of these: Index of /device_trees/.
    • External DTB cannot be used with Meson8* (S802/S805/S812), because there it only takes into consideration those that are integrated into the kernel!
    • Support for tuners has been expanded in the release '2021-04-02' with the dvb-latest package.
      It is also the last updated and most recommended driver package for external USB tuners!
    • Docker only works under 64-bit SoCs (S905/S905X/S905D), it is not available on 32-bit systems (S802/S805/S812)!
    • There is no support and no plans to support the S912 SoC, mainly because I don't have such a device!
    • I can't do miracles with the wifi drivers built into the kernel, so I can't do anything about "the signal is weak" or "wifi is slow" errors either, so please don't expect a solution from me.


    Fix the "power-on bug" in uboot for some boxes (S8X2 only):

    This new power management option has been added since version 9.2.8, and it is only visible from the advanced level.


    NOTICE:

    Enable this option only in case of detailed condition, otherwise it may cause a system error or data loss during shutdown.

    This option has been tested and works on an M8S box with M8S+ image (labeled: "AM8228 2G+8G 2016-03-19", PCB: "S812_M8_REV1.1 15/05/21").


    Known issues (latest on top):


    The source files are available here:

    GitHub - dtechsrv/LibreELEC-AML: 'Just enough OS' for Kodi for some Amlogic TV boxes


    Acknowledgments:

    Thanks to those who have worked on Amlogic devices before as I have used a lot of resources from their work:

    kszaq, codesnake, drieschel, wrxtasy, Demetris, datrh, afl1 and many others.


    Requests:

    • If you find an error in the image, please report it in this thread.
    • If you tested an image on a device other than the devices I support and it worked, please indicate it here in the thread as well.
    • If you have a device that belongs to the supported SoC family, still feel free to write and I will try to find a working solution for it.
    • If you have usable information for how to troubleshoot known issues, please post in this thread, or start a conversation with me, or send a pull request through GitHub.


    Finally, you can invite me for a beer if you think my work is worthwhile.

    Thank you. ;)

  • Hi, I was just looking for an updated image for a M8S+.

    I installed it and it boots up and works (network/wifi/bluetooth all is present), but when I try to play a video from whatever video addon I only get a spinner.

    Looks very promising, hope you can fix the video playback !

  • Hi, I was just looking for an updated image for a M8S+.

    I installed it and it boots up and works (network/wifi/bluetooth all is present), but when I try to play a video from whatever video addon I only get a spinner.

    Looks very promising, hope you can fix the video playback !

    It was a clean install or an update?

    And which image did you use before?

  • I reinstalled the 9.2 version. Installed the Dumpert addon and played 2 video's. The first one worked, the second one froze kodi.

    It seems to have problems stopping video's and starting a new one.

    Maybe problems are Youtube related, I experience similar problems on a S805 device and your latest image. When I stop a video the box hangs itself.

  • I reinstalled the 9.2 version. Installed the Dumpert addon and played 2 video's. The first one worked, the second one froze kodi.

    It seems to have problems stopping video's and starting a new one.

    Okay, I guess what the problem might be. After startup, try changing the resolution to 1080p to 720p, and try playing the video and then rewinding or stopping.


    If the problem still exists, it will be different than what I'm thinking.

  • Okay, I guess what the problem might be. After startup, try changing the resolution to 1080p to 720p, and try playing the video and then rewinding or stopping.


    If the problem still exists, it will be different than what I'm thinking.

    Yes, resolution set to 720p fixes it !

  • Thanks, looks like it's fine now !

    One more issue, when using the Retrospect add-on no video shows until I pause and play. Any ideas about this ?

    Normal video playback from a smb share also works fine.

    I'm missing the hdmi audio outputs, only spdif and analog is listed at the audio settings. So can't do audio pass through.

    Edited 3 times, last by gjstroom ().

  • Thanks, looks like it's fine now !

    One more issue, when using the Retrospect add-on no video shows until I pause and play. Any ideas about this ?

    Normal video playback from a smb share also works fine.

    I'm missing the hdmi audio outputs, only spdif and analog is listed at the audio settings. So can't do audio pass through.

    I'm trying to find a solution for online video stream problems (like pvr.iptvsimple), because in Kodi 18.5+ the extraction of stream info has been pretty reworked, and amcodec doesn't really like that. (It reports 0 fps, 0x0 resolution, and it cause other anomalies when starting a live stream.)


    The "Default (analog)" seems to be equal to HDMI output, but I don't why. (The analog output has not worked since OpenELEC v6.)

    I also use it with this settings and it works properly without passthrough, but I will check the passthrough mode with my TV.

  • Hi dtech,

    I have an OTT M8S box with Ap6330 wifi module. I download your Libreelec v9.2.6 for M8S+ and install it on my box. It boots normally but wifi is disable ( no option for wifi). Do you have any idea to have the wifi turn ON. Thanks.

  • akican

    If I remember correctly, we’ve already talked about this in another thread.

    Then you wrote that there was a version that worked with wifi, just the power on did not work.

    You should copy dtb.img from that version to the SD card and try it out.


    gjstroom

    I added a couple of fixes, the new version has been uploaded to GitHub, it is available on the releases page. (9.2.6-20210209)

    I tried a few previous M8 audio configurations, but none of them changed the situation, only Analog and S/PDIF options are displayed in the ALSA list.

    I tried passthrough on M8S+ with basic settings, and my TV recognized Dolby AC3 correctly, but I couldn't try DTS because unfortunately it is not supported on the LG OLED TV.


    Another question: What kind of S805 device do you have? Maybe an MXQ-HD18Q (a.k.a. "all black" with 1GB of RAM) or an MXQ-m201d (512MB)?

  • You're right it does pass through ac3 and dts, I can't select anything for pass through, only the spdif lists (which makes sense). But hence I can't select the newer ACC and DTS-HD formats. No worries, this M8S+ is from a friend and he only has an DTS capable receiver, not the newer formats.

    My S805 is a M8S. About your 9.02 builds for both M8S and M8S+, they do freeze quite often. Not sure yet when, looks also stopping/starting video related. For the M8S+ the 9.2 build does a better job.

  • My S805 is a M8S. About your 9.02 builds for both M8S and M8S+, they do freeze quite often. Not sure yet when, looks also stopping/starting video related. For the M8S+ the 9.2 build does a better job.

    For M8S-S805 (M8Q) devices, I will also be trying to make an image soon, because there is the same problem with the initramfs script.

  • Hi dtech,


    your image is working great on my Mecool KII Pro - thank you very much for your work!

    Would it be possible for you to compile the makemkv addon to this release.

    I connected my external BDROM to the box for use it as BD Player also, but many of my original BDs

    are protected.

  • Thank you for the feedback. I'm glad it works under KII Pro as well.


    I tried to find something meaningful for makemkv, but what I found so far only included PKG_ARCH="x86_64".

    Does it work on Amlogic device at all? If you had such an earlier version, I would like a link.