AndroidPCtv
  • NEWS
    • Android TV
    • Mini PC
    • Smart TV
    • Laptop & Ultrabook
    • Projectors
    • Consoles
    • Wearables & Domotics
    • Electric Vehicle
    • Tablet & 2-in-1
    • Smartphone
    • Processors & SoC
    • Robots & Vacuums
    • Development Boards
    • Others
  • REVIEWS
    • Android TV
    • Mini PC
    • Laptop & Ultrabook
    • Tablet & 2-in-1
    • Smartphone
    • PC Components
    • Apps & Software
    • Others
  • TUTORIALS
    • Android TV
    • Mini PC
    • Tablet
    • Smartphone
  • DEALS
  • FIRMWARES
  • DEVICE SHOPPING GUIDE
    • BEST ANDROID TV-BOX
    • BEST MINI PC
    • BEST SMART TV
  • CONTACT
No Result
View All Result
  • NEWS
    • Android TV
    • Mini PC
    • Smart TV
    • Laptop & Ultrabook
    • Projectors
    • Consoles
    • Wearables & Domotics
    • Electric Vehicle
    • Tablet & 2-in-1
    • Smartphone
    • Processors & SoC
    • Robots & Vacuums
    • Development Boards
    • Others
  • REVIEWS
    • Android TV
    • Mini PC
    • Laptop & Ultrabook
    • Tablet & 2-in-1
    • Smartphone
    • PC Components
    • Apps & Software
    • Others
  • TUTORIALS
    • Android TV
    • Mini PC
    • Tablet
    • Smartphone
  • DEALS
  • FIRMWARES
  • DEVICE SHOPPING GUIDE
    • BEST ANDROID TV-BOX
    • BEST MINI PC
    • BEST SMART TV
  • CONTACT
No Result
View All Result
AndroidPCtv
No Result
View All Result

TUTORIAL: LibreELEC / CoreELEC, installation guide for the TV-Boxes with Android

Kim by Kim
01/16/2018
20

Today we present a Installation guide for LibreELEC or CoreELEC to test it quickly and easily. LibreELEC is a very interesting system for all KODI fans who want to get the most out of their TV-Box.

In this article we will see how to execute it for the first time from a USB memory, an SD card or how to install it permanently in our TV-Box. This emulator system is very similar to EmuELEC another option that you can try.

  • LibreELEC is compatible with many of the recommended on our selection of the Best Android TV Models

LibreELEC CoreELEC

Table of Contents

  • WHAT IS LIBREELEC?
  • INSTALLING LIBREELEC
  • CREATION OF THE LIBREELEC BOOT DRIVE
  • BOOT OR INSTALL LIBREELEC IN OUR ANDROID TV-BOX
  • INSTALL KODI ADD-ONS IN LIBREELEC
  • REMOTE CONTROL IN LIBREELEC
  • OTHER TUTORIALS

WHAT IS LIBREELEC?

As the motto of this distribution says, “Just enough OS for KODI” with this philosophy we have many advantages with regard to using KODI over Android, but also some inconvenience associated with this system. Lately some brands are publishing too a Dual OS system with LibreELEC and Android, with this feature when starting our TV-Box we are allowed to select which system to use. There are multiple versions of this system like CoreELEC that can be installed and tested with this same manual.

  • Pros :
    – The system only consumes 100 Mb of RAM
    – KODI fits perfectly to our device’s hardware
    – We have automatic refresh change to avoid the Judder effect
  • Cons :
    – We can not run Android apps

ANDROID TV-BOX MODELS COMPATIBLE WITH LIBREELEC

This is one of the points where we can have doubts when testing the system, but as we have seen we run no risk because we can try it without deleting the installed Android system. Some of the devices compatible with LibreELEC are those that we indicate in the following list but given the infinity number of TV-Box many of them identical with different name it is best to try.

  • Official support: Raspberry Pi, Wetek, Odroid
  • Amlogic S905X2 / S905X3 / S922X: Already functional in the test phase in models such as the X96 Max and Beelink GT1 mini.
  • Amlogic S905X / W (p212), M8S Pro + / W, X96, X96 mini, Tanix TX5 / TX3 Pro, Nexbox A5 / A95X, Scishion V88
  • Amlogic S905D (p230, p231): KI Pro *
  • Amlogic S912 (q201): MINIX NEO U9-H, M8S Pro, KIII Pro *, H96 Pro +
  • Amlogic S905 (p200): MINIX NEO U1, KII Pro *, Zidoo X5, Beelink MiniMXIII / Mini / M18, Sunvell T95, Tanix TX3
  • Amlogic S805: MK808B Plus
  • Amlogic S812: MXIII Plus, MXIII-G, PROBOX2 EX PLUS, MINIX X8H Plus, M8S Plus
  • Rockchip RK3328: In the development phase and the compatibility is limited, info here version LibreELEC 9 Rockchip Alpha.
  • Allwinner: Not supported
  • * For models with tuners you have to activate Addons / Services> Tvheadend Server and PVR clients> Tvheadend HTSP Client

INSTALLING LIBREELEC

We have two ways to use LibreELEC in our TV-Box with Android:

  1. Executing it from a USB memory or SD card and respecting the Android system
  2. Installing it in the internal storage of our TV-Box and deleting the Android system (it is recovered reinstalling firmware from a PC)

As is logical, it is always advisable to test the system with the first option and then with some simple steps we can try to install it in the internal memory of the TV-Box where it will go faster than in an external memory.

Requirements for the installation

Every SoC type has a specific project branch where we can obtain the necessary files to use LiebreELEC or CoreELEC in our TV-Box.

  • Download RUFUS to create the USB memory or SD card of LibreELEC from PC
  • Download the LibreELEC or CoreELEC system file with extension * .img.gz
    LibreELEC v9 = Kodi 18 Leia / In testing phase
    LibreELEC v8 = Kodi 17 Krypton / The most popular LibreELEC versions for current SoCs
    LibreELEC v7 = Kodi 16 Jarvis / If we have old hardware maybe we are interested
  • Copy the device tree of our system with extension * .dtb

IMG – image system file

To download the IMG system file we have to enter the specific thread of the SoC of our device, if you have doubts you can ask us in this article. To start we are going to enter and then we explain how to obtain exactly the two needed files.

  • CoreELEC v9.2 for Amlogic S905/S912/S905X2/S922X (select your model to download DBT – device tree file)
  • LibreELEC v9.0 for Amlogic S905/S912/S905X2/S905X3/S922X
  • LibreELEC v9.0 for Amlogic S905/S912
  • LibreELEC v8.2 for Amlogic S905X/D/W
  • LibreELEC v8.2 for Amlogic S912
  • LibreELEC v8.0 for Amlogic S802/812
  • LibreELEC v9.0 for Amlogic S812
  • LibreELEC v8.0 for Amlogic S805
  • AlexELEC for Amlogic S805/812/905/912
  • LibreELEC for Rockchip
  • LibreELEC for Allwinner
  • LibreELEC for Amlogic / Allwinner / Rockchip versions nightly/dev

DTB – device tree file (if don’t come with IMG)

Within each of these post at the beginning we are guided about the different versions we have available and which is what we need for our device, the general rule is that we can use the generic version if we do not find some specific for our specific model, if we enter for example in the thread of S905 we can see the following:

libreElec ins n02

  • In red we have access to all the different LibreELEC system files for this SoC.
  • In green we have access to the file of the generic version of LibreELEC for our SoC without specific modifications.
  • In pink we have the device tree (sometimes don’t exist).

We enter the link where all the LibreELEC system files are (previous link in red) and check the structure. Within this list of downloads the files that interest us are the *.img.gz, there are several specific versions like C2 and LePotato, a version that deactivates the thermal sensor (which we will use if the generic version freezes us the TV-Box) and finally the version without modifications that we had in green in the previous list, we can download this if we do not have a specific version.

libreElec ins n03

Copy Device Tree DTB

Once we have downloaded the system file you have two possible options to find the device tree:

  1. Burn the system IMG  in your USB drive (see “Creation boot drive”) , inside you can have a device tree directory with the DBT files
  2. Download the DBT files from the same server of the IMG (pink link in  the previous image)

You can found the device tree file of our specific model of TV-Box or the one that comes closest to the configuration of our devic. First we select our concrete SoC and enter the list of files, inside we have different versions the key point is the RAM of our model, they are divided into 1g / 2g / 3g, then there are specific versions, if we do not have one or we do not know our hardware we download the generic without modifications.

libreElec ins n04

CREATION OF THE LIBREELEC BOOT DRIVE

Once we have the installation program, the LibreELEC system file and the device tree of our device we can create the SD memory or USB drive to boot this system, we run the installation program. If it does not work by USB drive it is recommended to use an SD card, in any case you have to have the fastest unit possible if we are going to use it with this method.

  1. We start RUFUS, select the USB drive or microSD card
    libreelec ins eng n01
  2. We select the option DD Image
  3. Clicking on the disk icon we select the LibreELEC * .img.gz system file that we have downloaded
  4. Press Start and wait for the process to finish
  5. Now rename the device tree file that we have selected to “dtb.img” (see previous text)
  6. Copy “dtb.img” in the root of the LibreELEC unit that we have created and overwrite if necessary
  7. We connect the LibreELEC unit to our TV-Box

BOOT OR INSTALL LIBREELEC IN OUR ANDROID TV-BOX

To boot LibreELEC we have several methods available, basically the two options are by means of the update button of the TV-Box or using Android to launch the Update mode by software.

  • Mode 1: Start the TV-Box with the update button pressed.
  • Mode 2: Use the LibreELEC app for Android that restarts the TV-Box in update mode
  • Mode 3: If we are root from an Android terminal we do “su” and then “reboot update”

When you boot LibreELEC for the first time, we will see a configuration wizard that will activate the network systems and we recommend activating the SSH and SAMBA services because then we will use them.

libreElec ins n12

Installing LibreELEC in the internal TV-Box storage

With this process we will completely eliminate Android from our TV-Box and we will have LibreELEC as the only system, this allows us to improve the overall speed of KODI since everything loads much faster in the internal memory. In case we do not like the result we can reinstall Android without problems.

To install and do advanced processes with LibreELEC we need to connect to our TV-Box from a PC using SSH through our local network, once we learn the basic steps the process is simple.

  1. In LibreELEC we enter in System> System Info> IP address and check it, for example “192.168.0.XX”
  2. We activate SSH and Samba within: System> LibreELEC> ServiceslibreElec ins n11
  3. Install and execute Putty on our PC and introduce the IP in the “Host Name” section, click on “Open”
  4. In the Putty window enter the user “root” and the password “libreelec“. We will arrive at the command line
    libreElec ins n08
  5. To start the installation in the internal memory of the TV-Box we will execute the command “installtointernal“
  6. The process may take a few minutes, then the TV-Box will always boot in LibreELEC.
  7. If we want to restore Android we just have to download a firmware for our TV-Box (use search box on our website) and follow the manual to reinstall it.

Update LibreELEC

  1. Download the LibreELEC system file *.img.gz again, we also download the device tree file (no need to rename it)
  2. In the LibreELEC system we have to have activated the SAMBA system as we have said before: System> LibreELEC> Services
  3. Before updating we recommend making a backup of the system at: System> LibreELEC> System> Backup
  4. We enter our file explorer and access the local network, connect with the “Update” folder within LibreELEC
    – Taking advantage of it, we can copy the backup file inside the “Backup” folder
  5. Copy the two files in this folder
  6. Restart the TV-Box and start the system update

INSTALL KODI ADD-ONS IN LIBREELEC

The process of installing add-ons is exactly the same as in any other system with KODI, through the public repositories or by downloading the add-on in particular and installing it manually.

  • ATTENTION: Whenever you download an add-on for LibreELEC you have to download the Linux version, never the Android version
    Normally the right version for our SoC is the ARM v7, few TV-Box have 64bit SoC today and equally v7 is compatible
  • Remember that to install add-on manually you have to change: Settings> System> Add-ons = Activate “Unknown sources”

libreElec ins n13

REMOTE CONTROL IN LIBREELEC

The distributions of LibreElec that we install are generic for all TV-Box and there are thousands of different remote controls, it is possible that our serial remote control does not work with this system so we have some alternatives.

  • Configure your remote by modifying files on the system, we can see several examples of remote control setups in this thread.
  • Use the Kodi remote control app in your smartphone with Android or iOS
  • Using a mouse or other USB adapter, like Logitech combo or any all in one remote.

Tanix TX3 Max review n02

OTHER TUTORIALS

  • We also have available a Guide of LibreELEC for PC

Related Posts

wifi android tv
Article Android TV

Problems and solutions to fix the Wifi of Android TV-Boxes

05/13/2022
Android TV
Article Android TV

Change launcher on Android TV devices in a simple way

03/03/2022
Amazon Fire TV
Article Android TV

Change launcher on the Amazon Fire TV Stick in a simple way

02/10/2022
Subscribe
Notify of
guest
guest
20 Comments
Inline Feedbacks
View all comments
Sacha
Sacha

Hello,
which should I try for a A95x max 2 with an S905x3?

In the link for the S905x3 there are many images… not sure which to use.

THKS!

Reply
Kim
Kim
Author
Reply to  Sacha

Hi. Forgot those files, just follow this tutorial and try.

Reply
Hans Penhas
Hans Penhas

Hi, which one should work on a Tronsmart Vegal S89-H?

Reply
Kim
Kim
Author
Reply to  Hans Penhas

You can try is not dangerous, follow the indications.

Reply
hendisap
hendisap

Hi, I have x96 max plus 4GB Ram, what dtb should I use?

Reply
Kim
Kim
Author
Reply to  hendisap

Hi. You can test, is not dangerous.

Reply
MICHAEL FREAKE
MICHAEL FREAKE

Hey, I know this tread is old, but i am hoping someone can help? I have an older Tronsmart mxiii 2/8 GB without the rock chip, ( i think 6330 chip). I wan to flash the latest stable Librelec to it. I have check the Libreelec site and am unsure which build to dl. Any help is appreciated.

Reply
Kim
Kim
Author
Reply to  MICHAEL FREAKE

If you use the SD you don’t have any risk, try yourself.

Reply
Chris Kantazas
Chris Kantazas

Hi i am trying to boot from sd card and cant find the device tree for my M8S S812 2/8G Can anyone send me the exact link?

Reply
Kim
Kim
Author
Reply to  Chris Kantazas

Sometimes all the DTBs are in a visible directory when creating the USB drive with the IMG.
Burn the IMG and look inside the USB.

Reply
Nilesh
Nilesh

I have bought a A95X F2 Android 9 Smart TV Box . It runs on the Quad Core Processor Amlogic S905X2 chipset. However I have no idea what file i need to download on the LibreELEC USB-SD creator. I dont even know what version to select. Any advice would be great.

Reply
Kim
Kim
Author
Reply to  Nilesh

Follow the link inside: LibreELEC v9.0 for Amlogic S905/S912/S905X2/S922X (test)
Download a img and try following the tutorial, with a sd is not dangerous.

Reply
Thomas Fernandez
Thomas Fernandez

cant i use my phone as an sd card or or computer to install firmware,rom etc?

Reply
Kim
Kim
Author
Reply to  Thomas Fernandez

No.

Reply
amikkwe
amikkwe

What files do I need for the Tanix TX92? I am so worried I will get the wrong files and mess up my box. If someone can point me in the right direction I would be most appreciative. I have the 3 GB ram and 32 GB Rom model if that helps.

Reply
Kim
Kim
Author
Reply to  amikkwe

You can’t mess up your TV-Box, all the first run process only works in the external SD card.
Use generic S912 image and follow the steps.
Good luck!

Reply
s. hippy
s. hippy

Kim,

Greetings from Toronto…

Congrats ! Best LibreElec tutorial and very comprehensive.

Questions:

1. How can I add Linux packages like OpenWrt on LE on Android NAND?

Objective is to be able to control the AP WiFi function and do port filter/firewall directly on Android Box.

2. Is there a way to backup the Android firmware from a particular unit for later reinstall?

3. Can you email me at siliconhippy [at] gmail so I can ask you some more questions?

Cheers buddy,

Reply
Kim
Kim
Author
Reply to  s. hippy

Hi.

Thanks for your comment.

1.- If those addons packages have ARM version is possible.
2.- You can reinstall the full Android image using a *.IMG file, check our firmware database.
3.- Please this comment system, your questions and my answers can help other people.

4.- I see your mail about multi-seat option. I think is not poosible, but you need a developer to make something like that, this is for sure… maybe is more easy buy some cheap boxes with S905W SOC.

Thanks!

Reply
s. hippy
s. hippy
Reply to  Kim

Thanks Kim ! 1. Is there a way to use SSH remote login to directly flash LE on an Android Box with stock Android, but without loading LE in SD/USB? 2. If ARM addons can be added to LE on Android Box, is there any benefit to using OSMC instead? 3. Reading armbian.com site it seems that Linux builds (e.g., from balbe150) are not as good as Android 6/7 on Armlogic boxes. E.g., for Kodi desktop old Linux 3.14 kernel is used, while 4.* can be used for server version. Is there a problem with Kodi support for Armbian builds… Read more »

Reply
Kim
Kim
Author
Reply to  s. hippy

I think is more easy to buy a fanless mini PC to do all you want.
https://androidpctv.com/comparison-best-android-tv-mini-pc-buy-tv-box-android/
If you have a lot of time to spend to do testing go to ARM/Android, but don’t expect you can do all you want without reverse engineering, ARM is not x86.
x86 is more open and flexible than ARM.

Reply
wpdiscuz   wpDiscuz
MySuperBoxTV
fiypo fy16 plus
Beelink

TOP REVIEWS (last 6 months)

  • G20S Pro BT
    G20S Pro BT, review: full-featured Bluetooth remote control
    8.4
  • Beelink SER4 4800U, review: a powerful mini PC with AMD Ryzen 7 4800U
    7.9
  • Baseus Encok W11
    Baseus Encok W11, review: IPX8 TWS Earphones with Bluetooth 5.0
    7.8
  • Beelink Expand M
    REVIEW: Beelink Expand M, new HUB with internal M.2 disk
    7.6
  • Beelink GTR5 5900HX
    REVIEW: Beelink GTR5 5900HX, a powerful mini PC with AMD Ryzen 9 5900HX
    7.6
  • Newsmay AC-8
    Newsmay AC8, review: new fanless mini PC with Intel Celeron N5105
    7.6
  • Beelink SEi8 i3-8109U
    REVIEW: Beelink SEi8 i3-8109U, a new compact mini PC with Intel Core i3-8109U
    7.5

LASTEST FIRMWARES

  • RKM DS03Firmware for Box RKM DS03 with SoC RK3399 and Android 11 (04-09-2022)
  • X88 PRO SFirmware for TV-Box X88 PRO S with Allwinner H616 SoC (04-06-2021)
  • nvidia shield tv androidNVIDIA Shield Experience 9.0.1, update with fixes for PLEX
  • X88 PRO TFirmware for TV-Box X88 PRO T with Allwinner H313 SoC (04-06-2021)
  • VONTAR X3 boxFirmware for Box VONTAR X3 with S905X3 SoC (07-19-2020)
  • A95X F4 firmware updateFirmware for A95X F4 Android 11 Box with AMLOGIC S905X4 (07-13-2021)
  • TOX1 updateFIRMWARE: TOX1 Smart Box with Amlogic S905X3 processor (07-12-2021) 
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
AndroidpcTV.com / Privacy Policy and Affiliation Agreement  / Cookie Policy (US) / User Data Policy (EU GDPR)
No Result
View All Result
  • NEWS
    • Android TV
    • Mini PC
    • Smart TV
    • Laptop & Ultrabook
    • Projectors
    • Consoles
    • Wearables & Domotics
    • Electric Vehicle
    • Tablet & 2-in-1
    • Smartphone
    • Processors & SoC
    • Robots & Vacuums
    • Development Boards
    • Others
  • REVIEWS
    • Android TV
    • Mini PC
    • Laptop & Ultrabook
    • Tablet & 2-in-1
    • Smartphone
    • PC Components
    • Apps & Software
    • Others
  • TUTORIALS
    • Android TV
    • Mini PC
    • Tablet
    • Smartphone
  • DEALS
  • FIRMWARES
  • DEVICE SHOPPING GUIDE
    • BEST ANDROID TV-BOX
    • BEST MINI PC
    • BEST SMART TV
  • CONTACT
wpDiscuz