Don’t like ads on your smart TV? This tutorial is going to show you how to replace your TV OS with LibreELEC (Embedded Linux Entertainment Center) and a Raspberry Pi. LibreELEC is a free open-source Linux distribution for embedded devices used as home media centers. It is a fork of the now-discontinued OpenELEC project, which itself is based on Kodi. After installing LibreELEC on a Rasberry Pi, you can download Movies, TV shows on Usenet, or torrent.
- Super lightweight, as it includes only the necessary software to run a Kodi media center (Just enough OS for Kodi).
- Fast booting.
- Support all versions of Rasberry Pi (Versions 0 / 1 / 2 / 3 / 4, including B and B+ variants ).
- Optimized to be used with flash-based drives, like compact flash, USB drives, or SSD.
- Includes all features that Kodi has to offer.
What you need
- A Rasberry Pi starter kit, which includes SD card for installing LibreELEC, SD card reader, HDMI cable, system fan, power supply and Rasberry Pi case.
- Ethernet cable (optional if your Raspberry Pi has a built-in wireless card), so your Pi can connect to a router.
- A TV with HDMI port
- USB remote control. (You can use the Sybu Kodi app on your phone to control Kodi, but a remote control with USB receiver is more convenient.)
Don’t have a TV? You can choose to buy a smart TV or non-smart TV. For those who don’t want any proprietary software, you might want to choose non-smart TV. (My smart TV can still show ads at boot time, even if I configure the TV to boot directly into LibreELEC.) Smart TV has built-in OS that you can’t uninstall, unless you are a super geek and you don’t mind spending weeks troublshooting problems.
Note that the old Rasberry Pi 1 (single-core, 512MB RAM) isn’t powerful enough to provide a smooth TV-watching experience. When scanning media libraries, CPU usage goes up to 100% and videos can’t be played. It’s recommended to use the latest Raspberry Pi 4B if you don’t have one.
Once you have all the required items, let’s get started.
Step 1: Install LibreELEC on Rasberry Pi
Go to LibreELEC download page to download the LibreELEC USB-SD Creator app. I use Ubuntu, so I download the Linux 64-bit version.
Once it’s downloaded, open up a terminal window and go to the download destination folder. For example, the file is downloaded to the
Downloads folder under my home directory, so I use the following command.
Then make the file executable.
chmod +x LibreELEC.USB-SD.Creator.Linux-64bit.bin
And run it with
In the creator app, select the version of your Rasberrry Pi, download the image file. Insert your SD card to your computer, then select it in the app. All data on the SD card will be wiped out. Make sure you select the right device.
write button to write the LibreELEC image to your Rasberry Pi. Once its done, close the app and unplug your SD card from your computer.
Step 2: The Initial Run
Insert SD card to your Raspberry Pi and start it. Since Rasberry Pi uses an HDMI cable to connect to your TV, you need to configure your TV to use the HDMI signal source, in order to display LibreELEC on your screen.
To control your LibreELEC screen, you can connect a keyboard to your Rasberry Pi, or download the Sybu Kodi app on your phone. Tap Discover Hosts in the Sybu Kodi app to find the LibreELEC host (It needs to be in the same network). Then you can use the virtual controller to interact with LibreELEC. You can also buy a remote control with USB receiver, which is more convenient.
On first boot, a setup wizard will appear. First, choose your language. (If the setup wizard is stuck and you can’t go to the next step, reboot your Rasberry Pi.)
Then give it a hostname. I simply use the default hostname.
Next, configure networking. If your Rasberry Pi has a wireless card, you can connect it to your Wi-fi router.
On the next screen, you can enable SSH and Samba service. The default username for SSH is
root and the default password is
libreelec. You can change the password in this step.
After that’s done, simply click Next and you will be able to use Kodi.
Hint: If your smart TV still boots into the built-in OS first, you can configure the TV to boot directly into the screen of the HDMI signal source. You can usually find this setting in the built-in OS.
Step 3: Setting Up Media Library
On the left sidebar, there are various content types, such as Movies, TV shows, Music, etc. Select each content type and enter files section to add a media source.
You can add media from a local hard drive or from the local network like FTP server and Samba share. When browsing folders from a local hard drive, right-click the folder name and select
set content. If you use the Sybu Kodi app on the phone, then tap on the contxt menu button.
Then choose the content type and information providers. You can use the default scanning options.
Where to Download Movie and TV Shows
- Use a torrenting client like Deluge.
- Learn how to download from Usenet.
Advantages of Usenet
- It gives you better privacy because connections are encrypted with TLS, so others can’t see what you are downloading.
- Superfast download speed.
- Files on Usenet are usually kept much longer than torrent files. For example, Newsdemon stores files for 4430 days (more than 12 years), so you can download old content at very fast speed.
After adding media sources, you probably want to change three settings in Kodi.
- Go to Settings -> Media -> Library, then enable update library on startup for both video library and music library.
- Go to Settings -> Media -> Video, then enable extract thumbnails from video files and Show movie sets.
- Go to Settings -> System -> Power Saving, enable put display to sleep when idle.
Step 4: Install YouTube, Netflix, Hulu, and other Popular Add-on
Go to Settings -> Add-ons -> Install from repository -> All repositories. There are many add-ons in the repository, such as subtitle add-on, the movie database add-on, etc. You will find YouTube in the video add-on category.
Once YouTube add-on is installed, the setup wizard will appear. Select Yes to execute the setup wizard.
If you need to use another languge or region, select Yes to choose.
You also have the option to enable geolocation.
Then, go back to the Kodi home screen, select Add-ons from the left sidebar, and choose the YouTube add-on. Before using this add-on, you need to enter your YouTube API key. The process is a bit complicated, I will explain in another tutorial.
If YouTube is blocked in your country or area, you can set up proxy to unblock it. Go to Settings -> System -> Internet Access, you will be able configure proxy. There are several proxy types to choose from. I’m using SOCK5 proxy.
My TV in the Sitting Room
Can’t Mount Your External HDD?
When you connect an external HDD to your Rasberry Pi, LibreELEC automatically moutnts the HDD under
/var/media/ directory, and you can select folders on this hard drive in the Kodi interface.
Note that if your Rasberry Pi is very old, like the Rasberry Pi 1, then it might not be able to power an external HDD via the USB ports. How do you know there’s no power to your external HDD?
- The HDD light is blinking fast.
- You can’t hear any sound of disk spinning in your HDD.
You can also run the following command on your Rasberry Pi.
Normally you would see the name of the HDD manufacture such as Seagate or Western Digital in the output.
If there’s no power to the HDD, you won’t find the manufacture’s name. If that’s the case, I recommend buying the latest Rasberry Pi 4B as your media center. Also, Rasberrry Pi can power only one external HDD via the USB ports. If you have multiple HDDs, you should buy a powered USB hub.
You can also try adding the following lines at the end of the
Then reboot your Raspberry Pi.
sudo shutdown -r now
This will make Raspberry Pi allocate more voltage to the USB ports, so it might be able to power your external HDD.
Monitor CPU Temperature and RAM Usage
Raspberry Pi is designed to run at 0~50 Celsius. You can go to Kodi
System Info to check the CPU temperature.
Raspberry Pi doesn’t boot?
It might be that your SD card isn’t connected properly to your Pi.
I hope this tutorial helped you install LibreELEC on Raspberry Pi to replace your smart TV OS. As always, if you found this post useful, then subscribe to our free newsletter to get more tips and tricks. Take care 🙂
Rate this tutorial
[Total: 0 Average: 0]