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:

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

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
79 Comments
oldest
newest
GunterO
GunterO
8 years ago

Nice! Is audio over HDMI supported?

piotrasd
piotrasd
8 years ago

Yes audio fixed and latest kernel 4.7.4 with latest intel drivers etc.

RK
RK
8 years ago

How did they solve the baytrail kernel bug? (https://bugzilla.kernel.org/show_bug.cgi?id=109051)

*Asking while downloading… I can code on the framebuffer if needs be…

piotrasd
piotrasd
8 years ago

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.

piotrasd
piotrasd
8 years ago

@RK leave me feedback if works

Morka
Morka
8 years ago

Working great on MeLE PCG02U.

piotrasd
piotrasd
8 years ago

here Emby server for LE8 Kodi 17.0 if someone use
https://www.sendspace.com/file/31t5vh

RK
RK
8 years ago

@piotrasd I’ll be sure to try it out in the next couple of days or at the weekend at the very latest.

Envagyok75
Envagyok75
8 years ago

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 🙂

joe6915
joe6915
8 years ago

Working on Wintel W8 Intel Z3735F

RPM
RPM
8 years ago

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

piotrasd
piotrasd
8 years ago

@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

piotrasd
piotrasd
8 years ago

Output refresh rate switch work? –> yes without problem

piotrasd
piotrasd
8 years ago

– 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

piotrasd
piotrasd
8 years ago

@RPM please check this build
https://www.sendspace.com/file/r8jl9d (image)
or for update copy only this
https://www.sendspace.com/file/pfbtt4
tar archive to update folder and reboot

In this build im enabled all touchscreen drivers, more WIFI, sensors, etc.
also updated Kodi to latest.

RPM
RPM
8 years ago

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 !

piotrasd
piotrasd
8 years ago

@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

RPM
RPM
8 years ago

@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

RPM
RPM
8 years ago

@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 😉

RPM
RPM
8 years ago

@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!

Peter
Peter
8 years ago

@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.

RPM
RPM
8 years ago

@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

piotrasd
piotrasd
8 years ago

password “le”

RPM
RPM
8 years ago

@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”

Peter
Peter
8 years ago

@RPM
Can you try to install System-tools addon and run evtest program. There should be mentioned touchscreen.

RPM
RPM
8 years ago

@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… Read more »

piotrasd
piotrasd
8 years ago

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

RPM
RPM
8 years ago

@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?

Peter
Peter
8 years ago

@RPM
You need to enable “Unknown sources” settings under addons section like shown here:comment image

RPM
RPM
8 years ago

@Peter

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

RPM
RPM
8 years ago

@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)

piotrasd
piotrasd
8 years ago

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

RPM
RPM
8 years ago

@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?

piotrasd
piotrasd
8 years ago

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.

RPM
RPM
8 years ago

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.

piotrasd
piotrasd
8 years ago

https://forum.libreelec.tv/thread-8-post-13179.html#pid13179 here addon to calibrate/configure TouchScreen
by @Peter work !! great Work !! just download generic version and please test.

RPM
RPM
8 years ago

@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.

Peter
Peter
8 years ago

@RPM
It doesn’t work of the box (as mentioned in post) – you need to configure 2 files and then reboot.

RPM
RPM
8 years ago

@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

Peter
Peter
8 years ago

@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).

RPM
RPM
8 years ago

@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?

RPM
RPM
8 years ago

@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

Peter
Peter
8 years ago

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 “

RPM
RPM
8 years ago
Peter
Peter
8 years ago

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

RPM
RPM
8 years ago

@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,….

Peter
Peter
8 years ago

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).

RPM
RPM
8 years ago

@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?

RPM
RPM
8 years ago

@Peter and cnxsoft

http://pastebin.com/4YQxAp2x

Peter
Peter
8 years ago

@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… Read more »

RPM
RPM
8 years ago

@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.

Peter
Peter
8 years ago

@RPM
Why do you even need to use this addon if you can setup everything in xorg?

Seems this will not work. Sorry.

RPM
RPM
8 years ago

@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… Read more »

Peter
Peter
8 years ago

@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… Read more »

RK
RK
8 years ago

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.

RPM
RPM
8 years ago

@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

jk
jk
8 years ago

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

RPM
RPM
8 years ago

@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.

Peter
Peter
8 years ago

@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.

RPM
RPM
8 years ago

@Peter

I understand. You are absolutely right. Any idea from your side, we could continue? Maybe in another forum?

Peter
Peter
8 years ago

@RPM
Come to IRC and maybe we can do something.
Section 4.1: https://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ

jk
jk
8 years ago

@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… Read more »

RPM
RPM
8 years ago

@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!

Peter
Peter
8 years ago

@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… Read more »

piotrasd
piotrasd
8 years ago

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… Read more »

RPM
RPM
8 years ago

@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 🙂

Mat
Mat
8 years ago

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… Read more »

joe6915
joe6915
8 years ago

Hi
Any Updates for this?

Backit
Backit
8 years ago

@GunterO
No it isn’t. I tested on a z3735f baytrail (like the minix neo z64) and audio doesn’t work, while wifi does. I’m looking for a solution….

Superman
Superman
8 years ago

I have a voyo v3 with the x7-z8700 and the audio does not work nor does the wifi. Andy updates on this?

Luca
Luca
7 years ago

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?

DocDuck
DocDuck
7 years ago

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!

ORLANDO GORDON
ORLANDO GORDON
7 years ago

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

kallair
kallair
7 years ago

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)

COMPUSTICK
COMPUSTICK
7 years ago

Hi Sir would like to know this supports compute stick like “Pendo Stick Mini PC”

Stunad
Stunad
7 years ago

Has anyone figured out how to upgrade to latest LibreELEC without having boot issues after the update?

Marcelo
Marcelo
4 years ago

My installation dont boot… just stays at grub terminal

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...