Openelec for Orange Pi

From Orange Pi Wiki
Jump to: navigation, search

OpenELEC is an embedded operating system built specifically to run Kodi (formerly known as XBMC), the open source entertainment media hub. OpenELEC for OrangePI is OpenELEC forked by jernej and ported to H3.

Features[edit]

FAQ[edit]

  • 0. What it is OpenELEC for OrangePI ?

OpenELEC is an embedded operating system built specifically to run Kodi (formerly known as XBMC), the open source entertainment media hub. OpenELEC for OrangePI it is OpenELEC forked by jernej (more info about this fork https://github.com/jernejsk/OpenELEC-OPi2/blob/master/README.md)

  • 1. Where I can find more information about jernej fork ?

In main thread http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=648&extra=page%3D1

  • 2. Where I can find OpenELEC for OrangePI source ?

Forked jernej source is here: https://github.com/jernejsk/OpenELEC-OPi2/

  • 3. Where I can find Openelec for OrangePI images ?

Latest prebuilt images provided by jernej or community can be found here: http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1075&extra=page%3D1

  • 4. How to install transmisssion, mc, strace, etc. ?

First of all download "opi unofficial repository" from official repository (maintained by jernej, please do not report issues to official OpenELEC team)

Then install for example "transmission" addon (from "opi unofficial repository") http://kodi.wiki/view/HOW-TO:Install_add-ons

  • 5. What it is "opi unofficial repository"

It has almost all plugins which are present in "Unofficial Openelec Addons repository" ( https://github.com/OpenELEC/unofficial-addons/) and are compiled for Orange Pi.

  • 6. How to configure IR remote?

Run following command, follow the instructions, reboot and that's it:

irrecord /storage/.config/lircd.conf

If you forgot to add any key, then just re-run setup command. NOTE: If you decided to change the remote, you must first delete configuration file with:

rm /storage/.config/lircd.conf
  • 7. Is HDMI-CEC working ?

Generally, no. If you are not afraid of cutting traces on board and soldering, drop a message on a forum and experimental method will be explained (no guarantees and untested).

  • 8. How can I install OpenELEC on eMMC?

Just burn the image on a SD card, setup up SSH or serial connection and enter following command:

emmc_install.sh

Confirm that you are ok with erasing all data on eMMC and wait a few minutes. That's it. NOTE: You will get fresh installation with no settings transfered. It will automatically reboot after the first boot.

  • 9. Where can I find PVR addons? PVR addons from other repositories don't work.

Images from [2016/04/28] onwards should have enabled repositories which are specifically compiled for OPi.

  • 10. How can I build my own image ?

NOTE: You must have dtc (device tree compiler) preinstalled. Every other tool needed will be installed by build system.

git clone -b openelec-7.0 --depth 1 https://github.com/jernejsk/OpenELEC-OPi2
Supported devices:
SYSTEM=opi2
SYSTEM=opione
SYSTEM=opipc
SYSTEM=opiplus

Build with:

PROJECT=H3 SYSTEM=xxx ARCH=arm make image

NOTE: If you omit SYSTEM variable, then you will get OPi2 image. Check ./target folder for .img.gz file. Extract it and write it to SD card.

  • 11. How can I build addons?

NOTE: If you didn't build image or another addon before, this can take a lot of time. Next builds will be much faster. You can build wanted addon with:

PROJECT=H3 ARCH=arm scripts/create_addon pvr.iptvsimple

Copy the Code where pvr.iptvsimple is the addon you want to build. Check target/ folder for a zip package which can be installed with Kodi.

  • 12. How can I update OpenELEC without losing my settings?

First download tar file instead of an image. Then follow this: http://wiki.openelec.tv/index.php/Updating_OpenELEC#Manually_Updating_OpenELEC NOTE: This update methon is recommended only if you have full [2016/04/28] image or newer. Don't bother to report troubles otherwise

  • 13. Does my USB WIFI dongle works?

Check this post: http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect&goto=findpost&ptid=648&pid=9295&fromuid=198504

  • 14. How to create backup?

Please check this post: http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect&goto=findpost&ptid=1283&pid=11048&fromuid=198504

  • 15. Power button doesn't work.

It works now unless you have USB hub connected with additional device. That sadly rules out OPi2 and OPiPlus if they have anything attached to USB port (you can setup IR remote). Another thing that might prevent power button from working is lircd. There is no need anymore to run lircd in autostart.sh (old method). It is started automatically and now it only interfere with power button and possibly others input devices.

  • 16. How to enable TV out?

First, you need cable like that: http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect&goto=findpost&ptid=1349&pid=12309&fromuid=198504 Then you need image with fixed TV out support. That means any image compiled from sources [2016/5/5] onwards. At last, you need to edit fex file for your board:

[disp_init]
disp_mode = 1
screen1_output_mode = 11
Copy the Code
11 means PAL and 14 means NTSC

See also[edit]

External Links[edit]