LibreELEC installation and configuration

LibreELEC is one of a range of media playback solutions that supports HiFiBerry boards. Follow these instructions to install and configure LibreELEC.

  1. Go to the downloads section at and download the installer app specific for you operating system.
  2. Launch the installer.
  3. Select your RPi model and the LibreELEC version you want to install.
  4. Click Download and specify the download location.
  5. Once the download is complete, select the target device and click Write.
  6. Confirm writing the image onto the selected SD card.
  7. Once the image is written onto the card, disconnect it from your computer and plug it into the RPi.
  8. Connect all the cables and power it.
  9. Once the system boots up, make sure that the SSH service is enabled and connect to the device over SSH using a SSH client of your choice.
  10. Log in using the default logon credentials: root/libreelec.
  11. Run the following command to gain write privileges: mount -o remount,rw /flash
  12. Edit the config.txt file using nano: nano /flash/config.txt
  13. Add one of the following lines depending on the HiFiBerry board you have connected:
    - dtoverlay=hifiberry-amp
    - dtoverlay=hifiberry-dac
    - dtoverlay=hifiberry-dacplus
    - dtoverlay=hifiberry-digi

  14. Press Ctrl+O to save changes, and Ctrl+X to exit nano.
  15. Reboot the system.
  16. Go to System and enter Settings.
  17. Select System and navigate to Audio output device.
  18. Select ALSA:Default(snd_rpi_hifiberry_dacplus Analog) as the output device.
  19. Add content to your library and enjoy it.
  20. In same cases the volumer mixer level is set to 100% by default. This can result in distortions of the music output. Therefore you should set this to around 80%. Login via SSH and use the following command:
    amixer -c 0 set Digital 80%
    You may want to experiment with the percentage volume in order to tune it to your desired preference.