There is very easy way to have success!
According to Infrared Remotes [LibreELEC.wiki] and my experience
Delete the file: \storage\.config\lircd.conf if exists.
Find your remote in \usr\lib\udev\rc_keymaps\
If You want to change something in found file; copy it to folder \storage\.config\rc_keymaps\ and there you can do it.
Run command: ir-keytable
You should see something like:
Found /sys/class/rc/rc0/ (/dev/input/event1) with:
Name: sunxi-ir
Driver: sunxi-ir, table: rc-empty
lirc device: /dev/lirc0
Supported protocols: other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd
Create file \storage\.config\rc_maps.cfg with this content:
sunxi-ir * tevii_nec