LibreELEC 8 for Intel Atom Bay Trail and Cherry Trail Devices with 32-bit UEFI Binary

LibreELEC, a fork of OpenELEC, was announced several months ago, and images for various hardware platform were released in that time period. However, support for Intel Bay Trail and Cherry Trail platforms using a 32-it UEFI binary might not have always work, or was more difficult to install. piotrasd has now created a LibreELEC 8 + Kodi 17 beta 3 build especially for this type of devices, and tested it on Tronsmart Ara IZ37 Bay Trail mini PC.

libreelec-8-intel-atom-z3735fHowever, it should work on other Intel Atom Z3735F or Intel Atom x5/z7 mini PC or sticks with a 32-bit UEFI bootloader. If you have such device, you can try it the following instructions using a USB flash drive:

  1. Download and install Rufus or LibreELEC SD USB creator
  2. Download and unpack LibreELEC 8 32-bit UEFI image file
  3. Launch your USB creator program, select the firmware file, and make a bootable USB flash drive
  4. Connect the USB flash drive to your mini PC
  5. Power it on, and press the ESC key on your keyboard to enter the boot menu
  6. Select your USB drive, and follow the Installer procedure on the TV
  7. Installation is complete

I understand that the procedure will wipe out your current operating system since it will install on the internal storage. Make sure that the bootable USB drive is the only USB device connected to the mini PC or TV stick during installation. If the display is too bright, you can go to System settings->Display, and disable “Use Limited colour range (16-235)” option.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus

79 Replies to “LibreELEC 8 for Intel Atom Bay Trail and Cherry Trail Devices with 32-bit UEFI Binary”

  1. yes i added this flag for kernel (intel_idle.max_cstate=1) 😉 but im not test long this latest kernel so maybe without will also fine.

  2. Dts-hd and dolby TrueHD can passtrough?
    Output refresh rate switch work?
    Linux dvb drivers implemented?
    Can I install to z3735f tablet too?
    Thanks for answers, and thanks your awesome work 🙂

  3. Working on PIPO X8

    – disabled the internal memory, installed on USB Stick, set the BIOS to boot from USB
    – internal sound chip, wifi and touchscreen not working
    – screen orientation on internal display wrong – 90 degrees shifted

    – would be absolutely perfect, if screen rotation, touchscreen, internal audio chip and wifi also would work out of the box

  4. @Envagyok75
    Output refresh rate switch work? –> only stereo or multichannel PCM
    Linux dvb drivers implemented? –> from kernel but is possible add more example TBS or Crazycat etc.
    Can I install to z3735f tablet too? –> yes but im not sure about touchscreen working and other devices like WIFI
    Thanks for answers, and thanks your awesome work

  5. – would be absolutely perfect, if screen rotation, touchscreen, internal audio chip and wifi also would work out of the box.

    some touch screen driver i can enable in Kernel, about screen roation try using own xorg.conf with this
    http://pastebin.com/6qjrAdzx
    and put xorg.conf to config folder on device (over SMB you can do that) and reboot PC

    for get working Wifi i need to know chipset
    and for audio i belive some special alsa config

  6. Dear piotrasd,

    here the hardware devices i was able to get from the Win8 system of the PIPO X8:

    Sound chip(s): Realtek I2S Audio Codec (6.2.9600.41461)
    Intel SST Audio Device (WDM) (603.9600.2801.46690)

    WiFi: Realtek RTL8723BS Wireless LAN 802.1
    Network (wired): DM9621A USB to Fast Ethernet Adapter

    Bluetooth 4.0 module

    Goodix Touch HID

    The Xorg.conf you did release, is working fine – screen rotation is also working now !

  7. @RPM on last build ?

    About wifi – driver are in my build for RTL8723BS
    (but sometime you must change bios setting example SCCP from ACPI to PCI change, or select boot from Android or windows to SteamOS, or Ubuntu … (if exist in bios) usual this help

  8. @piotrasd

    Meanwhile i already tried to boot Win8 first, then made a reboot into LibreELEC – no success
    Also switched from ACPI to PCI and also choosed ISP Device Selection to Linux boot – neither any success
    for getting wifi to work

  9. @piotrasd

    i made a mistake. i didn´t realize your post with the new image.
    i will download, install and test it later today and give you a feedback then 😉

  10. @piotrasd

    Meanwhile i tested the update with following results:

    WiFi and Bluetooth now working out of the box, without any necessary BIOS adjust or reboot!

    Touchscreen – basic function, but not calibrated – means cursor move to opposite side, where the finger is moved to.
    (is there a calibration utility available or some other workaround?)

    Internal audio still not working

    Thank you very much for this already big step ahead to the perfect system!

  11. @RPM
    Can you show me the result of command
    ls -l /dev/input/by-id

    I’m currently working on touchscreen addon for LibreELEC. Currently it needs to be configured manually but in the future I would like to make some auto detection.

  12. @Peter

    i would very like to pass the necessary information to you, but unfortunately the SSH-login with root / libreelec
    is not working. Even after i deleted my SSH-folders 2 times already and imported the RSA keys 2 times again into my Putty.

    @piotrasd
    is the password inside this built really “libreelec”?

    Many thanks in advance for your support

  13. @piotrasd

    thank you very much for the password

    @Peter
    the ls command “ls -l /dev/input/by-id” showed the USB mouse and keyboard only – after disconnected this 2 devices
    i just got the message “No such file or directory”

  14. @Peter

    After installed the system-tools i got this informations:

    LibreELEC:~ # evtest
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0: Video Bus
    /dev/input/event1: Logitech USB Optical Mouse
    /dev/input/event2: HID 04f3:0103
    /dev/input/event3: HID 04f3:0103
    /dev/input/event4: Goodix Capacitive TouchScreen
    Select the device event number [0-4]: 4
    Input driver version is 1.0.1
    Input device ID: bus 0x18 vendor 0x416 product 0x38f version 0x1060
    Input device name: “Goodix Capacitive TouchScreen”
    Supported events:
    Event type 0 (EV_SYN)
    Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
    Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
    Value 0
    Min 0
    Max 800
    Event code 1 (ABS_Y)
    Value 0
    Min 0
    Max 1280
    Event code 47 (ABS_MT_SLOT)
    Value 0
    Min 0
    Max 9
    Event code 48 (ABS_MT_TOUCH_MAJOR)
    Value 0
    Min 0
    Max 255
    Event code 50 (ABS_MT_WIDTH_MAJOR)
    Value 0
    Min 0
    Max 255
    Event code 53 (ABS_MT_POSITION_X)
    Value 0
    Min 0
    Max 800
    Event code 54 (ABS_MT_POSITION_Y)
    Value 0
    Min 0
    Max 1280
    Event code 57 (ABS_MT_TRACKING_ID)
    Value 0
    Min 0
    Max 65535
    Properties:
    Property type 1 (INPUT_PROP_DIRECT)
    Testing … (interrupt to exit)

  15. @piotrasd

    later today i will install your new built again for testing – thank you very much for your great support!

    There is one more thing i would like to mention. When i tested the builts, i found, that it is no longer
    possible to install addons from repos, which are not directly supported by kodi team in this Krypton
    built anymore. Just nothing happen, after started to install. Is this a general new policy or an issue with
    this development builts?

  16. @Peter

    That was my first action after the installations – but without any success – until now in both builts @piotrasd
    supported us with

  17. @Peter and piotrasd

    Meanwhile i downloaded and made a complete clean and fresh install of the newest release from piotrasd.

    Definitely it isnt possible anymore to install components from other repositories than Kodi ones (!)

    Sound output is shown now (greyed out) as “Default, Bluetooth Audio (PULSEAUDIO)” ,
    but bluetooth component cannot be switched on (testet with bluetooth speakers and mobile)

  18. yes there is some issue with BT, its very complicated because WIFI/BT module are on SDIO/GPIO.
    Most of problem with hardware like sound, bt i saw resolved in kernel 4.8. But i will switch after release
    HDMI sound patch. This repos i will check

  19. @piotrasd

    Thank you very much again.
    I have one more question. Would it be
    possible to make a built with all these final patches on Kodi Jarvis based, about the repo addon limitations?

  20. Yes but 16.x dont support EGL so expirance from GUI speed and encoding will worse. Last version was 15.2 special patched. Latest kodi 17 beta is pretty stable.

    I belive with Kernel 4.8 will even better, this version of kernel more support Atoms cpu because of added Surface 3 based on z8300

    (repo addons) I will check, but if i good remeber i added some repo yesterday for skin downloads and works, but i will confirm that.

  21. Were this repos Libreelec or Kodi ones?
    From this repos i also were able to install skins and / or e.g Yahoo Weather.

    Other repos e.g. Superrepo i can add and search for the addons submitted in this repo also, but after tried to install several of these addons, just no any kind of installation process will start.

  22. @Peter and piotrasd

    Downloaded and installed the generic touchscreen plugin.

    Itś showing up with the icon in addons. After executing i just can see “loading Rings”
    and the background is getting darker. After 5 mins of this loading and not continuing
    process i went back to the normal skin with ESC.

    I dont think i made something wrong – after this i made a reboot but situation still same.
    Also tried not only in the Estuary skin. With Confluence skin itś the same.

  23. @Peter

    Meanwhile i followed the procedure 7.1 several times and also changed the necessary paths
    to the matching ones of your plugin:

    “/storage/.kodi/userdata/addon_data/service.system.touchscreen”

    The fb*-device (in my case fb0) and the event-id (in my case event3)
    i added like described in your instructions, too.

    One thing inside the autostart.sh is still not clear to me :
    Will the ts_env.sh be copied to the /usr/bin directory? Or is this path wrong maybe?

    In fact until now the situation is still the same like before

  24. @RPM
    The only thing you need to do is to fix ts_env.sh and ts.conf files. No autostart.sh or anything else.
    If you set TSLIB_TSDEVICE with event number then you also need to set TOUCHSCREEN_NAME=””.

    Because I don’t have any USB screen it is not yet confirmed this addon works as I though it should (still waiting some confirmation from a guys who used this setup integrated in image itself).

  25. @Peter

    there is one other thing i would like to mention.
    I had to modify the xorg.conf, because my display originally
    was rotated 90 degrees to the left side.

    Could this be a reason for an issue, too?

  26. @Peter

    “TOUCHSCREEN_NAME=”Goodix Capacitive TouchScreen”
    if [ -z “$TOUCHSCREEN_NAME” ]; then
    export TSLIB_TSDEVICE=/dev/input/event3
    export TSLIB_FBDEVICE=/dev/fb0

    should be fine – i checked several times. Also deleted the autostart.sh script now.

    What to change in the ts.conf?

    module_raw input grab_events=1
    module pthres pmin=1
    module variance delta=30
    module dejitter delta=100

  27. I doubt the name is correct (spaces)? Did you got it with command
    ls -al /dev/input/by-id
    Can you run this and post url
    ls -al /dev/input/by-id | pastebinit

    Also TSLIB_CONFFILE has only one “

  28. There is no your screen mentioned.
    Just set TOUCHSCREEN_NAME=”” and correct event path under TSLIB_TSDEVICE. After reboot calibration should work from Kodi.

  29. @Peter

    Hooray! GREAT JOB!

    But now i have the problem with the 90 degrees
    means if try to touch the top left cross, the cursor is top right
    if i touch top right, the curser is lower right,….

  30. I think you just need to swap xy coordinates? In ts.conf file use like this
    #module linear
    # or use swap_xy parameter to swap axes
    module linear swap_xy=1

    If this doesn’t work stop kodi and ts_uinput_touch, run evtest, select touschscreen, touch shortly top/left, top/right, bootm/right, bottom/left and post data from evtest to pastebinit service or somewhere else (not to spam here to much).
    systemctl stop kodi
    systemctl stop ts_uinput_touch
    evtest

    This 90 degrees rotation is not covered in tslib (meaning I would need to add this functionality in).

  31. @Peter

    module linear swap_xy=1 –> not working

    About not to spam here so much, i copied the putty results into a txt file,
    but cannot attach here.
    Unfortunately i do not know, how to use Pastebinit command
    for terminal screen and evtest result.
    Is there another way, for send you this txt-file?

  32. @RPM
    Download addon again (it was rebuild) and install manually as before. Then open config file ts.conf and use
    module linear rotation=90
    other module line you can remove or comment out.
    Also in ts_env.sh uncomment TSLIB_RES_X/Y and set correct value (800×1280) – just in case.
    Reboot and run again calibration addon. It should work. If not …. then we are out of luck – I don’t have any such display and it is impossible to fix such issues here. If you can come to LibreELEC IRC then we can continue there. I did add support for some cheap touchscreens from Waveshare in such way.

  33. @Peter

    Uninstalled (and even deleted the old Touch Plugin Folder completely)

    Installed the new plugin and tried every possibility (including without
    xorg.conf for the 90° rotation) – in original condition (90° turned),
    X-Axxis move to the opposite side and Y-Axxis also.
    I tried also every change in the Ts.conf file (direction, rotation)
    but also in ts_env.sh with 1280×800 (also tested to set x/y 1280 and 800 – for both cases)

    No any success.

  34. @Peter

    Sorry i do not catch your point.
    If you follow up the message history, you will see, why i needed to change the rotation of the display screen itself with help from the xorg.conf.
    The standard display is in Libreelec in my Pipo X8 not like it should be normaly. It is rotated 90 degrees. Of course in this orientation not usable.
    So i added a xorg.conf for get a normal screen. I just tried to explain now, why i went back to the 90 degrees orientation, just for check, if the touchscreen plugin even there could work like it should. But it doesnt neither.
    For both cases, the touch orientation is different to the screen orientation.

  35. @RPM
    I do understand why you have this setup. But calibration and other things can be done in xorg (at least I think – newer tried because my systems doesn’t use X server).

    But under the shower 🙂 I was thinking that I gave you wrong instructions. The rotation parameter for linear module should not be 90 degrees but 270 degrees. Because if I understand you correctly you already have pointer 90 degrees clockwise and you need to move it back 🙂
    If you want try this setting. Maybe also swap_xy could help.

    The other option is that I don’t understand problem correctly. Maybe some image would help…

  36. Sorry for keeping quiet but I had nothing to say since everything mostly worked. I’m not too familiar with Kodi and mostly use the box as a desktop so it’s a bit tricky doing any more detailed testing.

  37. @Peter

    Unfortunately none of your suggestions were succesful until now
    Attached some images for better understanding the problem.
    Maybe finally this will be helpfull – sorry for the bad picture quality

    http://www.pic-upload.de/view-31765099/X8_with_modified_Xorg_conf_2.jpg.html
    http://www.pic-upload.de/view-31765098/X8_with_modified_Xorg_conf_1.jpg.html
    http://www.pic-upload.de/view-31765100/X8_without_Xorg_conf_1.jpg.html
    http://www.pic-upload.de/view-31765102/X8_without_Xorg_conf_2.jpg.html

  38. Any chance of a build that can boot and run on USB? I wanted to test on a PIPO x7s (Atom Z3735F) before wiping the internal storage.

    Disabled the internal storage to install however its referenced as “/KERNEL boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet boot” in grub.cfg

    Tried modifying to sda1 (Hopefully that’s right) but its not working :-S

    Great effort though, keep it up

  39. @jk

    if you followed up the message history, you will see that my device is a Pipo X8.

    I only made an USB installation. Itś very simple. Disable your internal flash completely,
    then start the installation. After you are on the install screen, plugin your second USB stick.

    Choose install on this stick. After finished, edit the grub.cfg in the boot directory and change it to sda1 and sda2.
    Then boot from your fresh USB installation.

  40. @RPM
    Seems we can’t get further. All the test I did locally on my system indicates it should also work for you with proper config. And it is hard to fix such issue in such a way we are doing here.

  41. @RPM
    Thanks for the tip looks like I just needed to edit the Grub.cfg to sda1 & sda2 and that did the trick 🙂

    Note to other PIPO x7s users that I had previously disabled the internal flash and now if I re enable it the BIOS it removed the boot options & will not add them back so just boots into the uEFI…. raised an issue with PIPO with no helpful response……

    So far great to see this working, tempted to install to local flash and dual boot with windows, before I go down that path what is the view for future specific builds or adding bay trial into the main builds?

  42. @piotrasd
    Update @Peter’s touchscreen plugin for the Pipo X8 is working. Will there be another Update with e.g. option for internal sound maybe somewhen released?

    @Peter
    Thank you very much for this amazing and very good job!

  43. @RPM
    I’m glad that we fix the issue yesterday. I’m already working on improved addon – you will only have to use one line TOUCHSCREEN_NAME=”Goodix Capacitive TouchScreen” and it will be automatically picked correct input device number. And then you will be able to boot with or without keyboard.
    Also addon can be integrated in image itself. When tested by me I will give to piotrasd to include.

    And I was thinking: if your screen is already calibrated (because you wrote it is working on Windows) then you can use only one line in ts.conf
    module_raw input grab_events=1

    And in this case you don’t even need to calibrate it (actually you even can’t).

  44. RPM :
    @piotrasd
    Update @Peter’s touchscreen plugin for the Pipo X8 is working. Will there be another Update with e.g. option for internal sound maybe somewhen released?
    @Peter
    Thank you very much for this amazing and very good job!

    Yes, i will try build but this is hard because each device have some customized settings for audio. I can use some smillar with patches what they use, but i cannot guarantee that will work. But i will try.

    and for kernel im already add patches, about bootloader is more dificult case and other changes, like for you device need much more modules in kernel example for sensors and touchscreen, i dont realy know if they will want this all support

  45. @piotrasd and @Peter

    Again thank you both very much for that you made this together possible!

    I will stay tuned and have a look everyday 🙂

  46. piotrasd :
    Latest build (few more patches for BayTrail) but please do not expect yet working sound (only over HDMI for now)
    https://www.sendspace.com/file/yufav2 – tar update
    https://www.sendspace.com/file/wkm5eq img file
    When @Peter finish addon for calibration TS i will add to build

    Hi Piotrasd, thanks for your hard work! I have a Pipo X7S like you and wanted to try latest “stable” version by you. Is this quoted link the latest “stable”? Also, how do I disable internal memory so I can install it on a second pendrive? Thanks!
    Do you have a blog so I can test latest releases by you?

  47. Hello piotrasd,
    your build works beautiful with my meegopad t02 stick,
    i’m compiling lakka (retroarch distort based on openelec) for it, but i’m facing different problems, do you have a branch i can view with your build?

  48. Looking for a way to install LibreELEC on a ZBOX PI330.
    The given link leads to the LibreELEC-Generic.x86_64-8.0-devel.img.gz. My prepared USB drive doesnt start any bootloader and i cant find any *.efi file on it, which looks 32bit-like. Did I get the wrong .img?
    Happy for any acvice!

  49. I thanks for the 32uefi compatible iso , i installed in a intel pc stick and works excellent , how can i do to use the last version of libreelec compatible with 32bituefi thanks

  50. any updated version of this rom?

    i have pipo x1s and it worked very well the hdmi audio (but not the wifi). it would be wonderful if there was a guide how we update it to the latest version without losing the booting capability (it stops working after rebooting)

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC