darqoq post at 2016-2-3 15:40:50

[FAQ] Openelec OPi for beginners

Edited by jernej at 2017-1-9 20:54

This FAQ is related to Openelec for OrangePI by jernej. Any post that is not Q/A will not be tolerated!

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/orangepi ... =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/orangepi ... 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.

Second step is to configure script.bin to allow IR remote to wake up the board from sleep. This will work only with IR remote which uses NEC protocol. Follow this guide in OP:
http://www.orangepi.org/orangepi ... 2048&fromuid=198504

WARNING: There is no need anymore to run lircd in autostart.sh (old method). It is started automatically and now it only interfere with system. Remove this command if you still have it.
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 ?
First version is included in prebuilt image . Thanks jodamm (https://github.com/jodamm/linux/tree/sun8i) for his work on that.

NOTE: There are many reports that it doesn't work on PC Plus while it works on others boards using same TV. There is no explanation yet for that. Kernel is the same while HW seems also to be the same. More research is needed.

NOTE2: It seems that for some it works perfectly and for other it doesn't work at all. Please do not report any issues about CEC, because it is small miracle that it even works (for some). If you want better support, help convince Allwinner to release full documentation about HDMI.

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 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
[*]SYSTEM=opilite
[*]SYSTEM=opipcplus
[*]SYSTEM=opiplus2e
[*]SYSTEM=bpim2p
[*]SYSTEM=bx2

Build with:
PROJECT=H3 SYSTEM=xxx ARCH=arm make imageNOTE: 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.iptvsimplewhere 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.ph ... y_Updating_OpenELEC

NOTE: This update methon is recommended only if you have full image or newer. Don't bother to report troubles otherwise

13. Does my USB WIFI dongle works?
Check this post: http://www.orangepi.org/orangepi ... 9295&fromuid=198504

14. How to create backup?
Please check this post: http://www.orangepi.org/orangepi ... 1048&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/orangepi ... 2309&fromuid=198504
Then you need image with fixed TV out support. That means any image compiled from sources onwards. At last, you need to edit fex file for your board:

disp_mode = 1
screen1_output_type = 2
screen1_output_mode = 11


tv_used = 1
11 means PAL and 14 means NTSC

NOTE: Be aware that system update will overwrite fex file and you will have to set it up again.

17. How to edit script.bin in-place (without using another computer)?

From image 2016/10/26 onward you can do this:
mount -o remount,rw /flash
cd /flash
bin2fex script.bin script.fex
mv script.bin script.bin.bak
nano script.fex
fex2bin script.fex script.binThen you have to reboot the board.

emmaorabelle post at 2023-7-13 11:00:17

What is OpenELEC for OrangePI?
OpenELEC for OrangePI is a fork of OpenELEC, an embedded operating system specifically designed to run Kodi (formerly XBMC), the open-source entertainment media hub. This particular version has been adapted by jernej for Orange Pi boards. Rainbow Friends: Chapter 2

civaget post at 2023-12-13 04:31:14

I'm impressed with 백링크업체's content marketing. Their content attracts backlinks and boosts authority.

civaget post at 2023-12-16 21:24:11

I've heard great things about 수원출장마사지! Can't wait to try it for myself and experience the relaxation it offers.

civaget post at 2023-12-19 21:30:15

천안오피: A serene haven for those seeking relaxation and relief.

civaget post at 2023-12-21 19:22:16

The variety of businesses on 오피뷰 ensures I always find the perfect escape.

civaget post at 2023-12-23 21:18:46

Dive into 해외스포츠중계 and celebrate the essence of sports worldwide.

civaget post at 2023-12-24 21:47:02

The future of adult entertainment is here, and it's called 오피쓰.

civaget post at 2024-1-4 18:31:30

Thanks to 부산비비기, I'm a Busan expert!

civaget post at 2024-1-6 18:54:08

Your officetel companion: 오피가이드 is your trusted companion in the world of officetels.
page: [1] 2
View full version: [FAQ] Openelec OPi for beginners