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.
- Download and install Rufus or LibreELEC SD USB creator
- Download and unpack LibreELEC 8 32-bit UEFI image file
- Launch your USB creator program, select the firmware file, and make a bootable USB flash drive
- Connect the USB flash drive to your mini PC
- Power it on, and press the ESC key on your keyboard to enter the boot menu
- Select your USB drive, and follow the Installer procedure on the TV
- 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.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
79 Replies to “LibreELEC 8 for Intel Atom Bay Trail and Cherry Trail Devices with 32-bit UEFI Binary”
Nice! Is audio over HDMI supported?
I have not checked, but considering the HDMI audio fix is well documented, it would be really odd to release a media center OS without audio support.
Yes audio fixed and latest kernel 4.7.4 with latest intel drivers etc.
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…
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.
@RK leave me feedback if works
Working great on MeLE PCG02U.
here Emby server for LE8 Kodi 17.0 if someone use
@piotrasd I’ll be sure to try it out in the next couple of days or at the weekend at the very latest.
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 🙂
Working on Wintel W8 Intel Z3735F
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
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
Output refresh rate switch work? –> yes without problem
– 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
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
@RPM please check this build
or for update copy only this
tar archive to update folder and reboot
In this build im enabled all touchscreen drivers, more WIFI, sensors, etc.
also updated Kodi to latest.
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 !
@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
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
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 😉
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!
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.
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.
is the password inside this built really “libreelec”?
Many thanks in advance for your support
thank you very much for the password
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”
Can you try to install System-tools addon and run evtest program. There should be mentioned touchscreen.
After installed the system-tools i got this informations:
LibreELEC:~ # evtest
No device specified, trying to scan all of /dev/input/event*
/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”
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)
Event code 1 (ABS_Y)
Event code 47 (ABS_MT_SLOT)
Event code 48 (ABS_MT_TOUCH_MAJOR)
Event code 50 (ABS_MT_WIDTH_MAJOR)
Event code 53 (ABS_MT_POSITION_X)
Event code 54 (ABS_MT_POSITION_Y)
Event code 57 (ABS_MT_TRACKING_ID)
Property type 1 (INPUT_PROP_DIRECT)
Testing … (interrupt to exit)
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
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?
You need to enable “Unknown sources” settings under addons section like shown here: https://howtomediacenter.com/wp-content/uploads/2016/03/kodi-estuary-addons-settings-unknown-sources-768×432.jpg
That was my first action after the installations – but without any success – until now in both builts @piotrasd
supported us with
@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)
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
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?
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.
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.
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.
@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.
It doesn’t work of the box (as mentioned in post) – you need to configure 2 files and then reboot.
Meanwhile i followed the procedure 7.1 several times and also changed the necessary paths
to the matching ones of your plugin:
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
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).
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?
“TOUCHSCREEN_NAME=”Goodix Capacitive TouchScreen”
if [ -z “$TOUCHSCREEN_NAME” ]; then
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
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 “
There is no your screen mentioned.
Just set TOUCHSCREEN_NAME=”” and correct event path under TSLIB_TSDEVICE. After reboot calibration should work from Kodi.
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,….
I think you just need to swap xy coordinates? In ts.conf file use like this
# 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
This 90 degrees rotation is not covered in tslib (meaning I would need to add this functionality in).
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?
If the results are in a text file, you could copy/paste it @ http://pastebin.com/, then copy the link here.
@Peter and cnxsoft
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.
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.
Why do you even need to use this addon if you can setup everything in xorg?
Seems this will not work. Sorry.
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.
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…
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.
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
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
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.
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.
I understand. You are absolutely right. Any idea from your side, we could continue? Maybe in another forum?
Come to IRC and maybe we can do something.
Section 4.1: https://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ
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?
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?
Thank you very much for this amazing and very good job!
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).
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
@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 🙂
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?
Any Updates for this?
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….
I have a voyo v3 with the x7-z8700 and the audio does not work nor does the wifi. Andy updates on this?
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?
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!
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
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)
Hi Sir would like to know this supports compute stick like “Pendo Stick Mini PC”
Has anyone figured out how to upgrade to latest LibreELEC without having boot issues after the update?
My installation dont boot… just stays at grub terminal