Hi. I've burned the .gz to the SD and used toothpic method, but got some console errors.
As I mentioned, I had no luck installing from SD card. Can you try with a USB to see if it works?
How do I install img.gz?
If you have not run LibreElec on your M8S before, then you need to first activate multi-boot from an image written to USB (you only do this once)
I noticed you also posted in this thread... [S812] MIII Plus 2Gb\16Gb eMMC
If you read page #1 you will find a lot of tips...especially post #11 about multi-boot and installing img.gz (I think "Download img.xz" was meant to be "Download img.gz)
Also, I used a USB stick to write img.gz because I kept getting corrupt errors when using SD card.
Even though I tried LibreElec 9 (Kodi 18 Leia) and it worked, I'm not using it because (1) whitelist does not contain all the required framrates (2) cannot get Dolby Digital 5.1 passthrough (3) no remote control support
I reverted back to Kodi 17.6 Krypton which has all those things working. (LibreELEC-S812.arm-17.6_20180106-MXIII_Plus.img.gz as in post #1)
Hi there! So you say this firmware also works for M8S? I have exactly the same box, currently on android 4.4.2.
Yes, mine is KK 4.4.2 as well.
Remote control does not work, you need to use any usb wireless remote.
I used my remote.conf file, it work fine on 8.2.3 but does not work on 9.0.
Is there a solution to this?
I also tried LE9 on an S812 and the remote did not work.
I got a response from balbes150 as follows..
"In the current version of the kernel S812 no support for the remote control."
@White...thank you so much, it worked.
Take button 1 on the remote as an example. The code for button 1 is "0x52" and you can assign the function KEY_POWER to the remote button with
OK, thanks for the explanation.
I took your example above and assigned KEY_POWER to button 1 as 0x52 KEY_POWER
After restarting Kodi, it worked, button 1 switched off the box.
However, I would actually like to assign (for example) the letter "O" to button 1, so I re-wrote it as...
After restarting Kodi, button 1 does nothing. Any ideas why its not working?
(the letter "O" brings up codec info on screen during video playback.)
senzalice, you can assign any function you want to a key on the remote. In my example, I've assigned several handy functions to the mouse key, the number keys etc on my remote. There are more information at Kodi's forum regarding the different key functions I've listed below.
Thanks for the codes list @CI6N0Z, very handy, but unfortunately I could not get any to work.
The three keys mentioned previously, the mouse, the DEL and search, would be nice if I could assign the letters "O" , "Z" and "I"
During any video playback, "O" gives codec info of source video, "Z" gives playback info like fps, aspect ratio, resolution...and "I" gives info about the video.
I even tried assigning the letters "O" , "Z" and "I" to numbers 1, 2, and 3 but no luck.
You mentioned "In my example, I've assigned several handy functions to the mouse key"....sorry, but where is the example?
Here is my remote table:
# table M8SPRO, type: NEC
0x0d KEY_HOME # home
0x12 KEY_O # mouse
0x51 KEY_Z # DEL
0x22 KEY_I # Search
I just assume it will work, normally I'll test first but I'm away so... please let me know the result
(1) Menu button works - pops up context-menu
(2) Mouse button does nothing (tried F5 and FN)
(3) Search does nothing
(4) Del <--- works but only acts like a back key (goes back to previous menu)...even when used while typing text.
I think I'm happy with the remote and the few non-working keys are no big deal.
Thanks for your help.
Thanks for that...got it all working ok, but I need to find out how to define the keys I have circled.
eg: just guessing, would the mouse key be KEY_MOUSE ? and the others?
I have an M8S PRO+ and the remote is identical to the one in post #243
I have successfully found all the key scan codes as explained in post #1 and need to make a map
However, the link in post #1 ...
"Now with the keycodes you need to create your map you can look at
...is not working.
Has anyone got the correct link to the example?
It sounds that you don't use the right dtb.img file. Inside the external installation media (usb-stick or sd-card) is a folder called device_trees. You have to copy the file xxx.dtb (the one that fits your hardware) to the root of the instllation media. Then rename the file to dtb.img.
As mentioned in my first post above, I used balbes150 Kodi 18 (Leia) image for S812 (see link in post #1 of this thread)
The image I selected was LibreELEC-S812.arm-9.0-devel-20180718-130923-f2dced1-MXIII_Plus.img.gz
And after installing to USB stick, there is just one dtb.img (there is no folder called device_trees)
I have googled Amlogic device trees for S812 but have had no luck finding any.
Thanks for helping.
I know asking this would be silly but have you put the battery in the remote? Is the remote working in Android?
Yes...remote works fine in Android.
When I start SSH and issue these commands...
systemctl stop kodi
systemctl stop eventlircd
...kodi stops and screen goes blank.
If I then issue ...
systemctl start eventlircd
systemctl start kodi
Kodi comes back on screen as normal....therefore I must be doing it right.
Except that I get NO response when issuing ir-keytable -t
For Kodi Laila the remote.conf method works nevermore. Now it works with rc_maps.cfg.
Read post no. one carefully.
After re-reading post #1 (LE9.0 remote configs ir-keytable Amlogic devices) , I had a go at scanning for IR codes for my remote.
I used SSH to stop Kodi and Lirc with systemctl stop kodi and systemctl stop eventlircd
I know this worked because Kodi was frozen on screen.
Then I used ir-keytable -t and got the message to start pressing keys on my remote.
However, at this point nothing happened. I did not get any scan codes.
I also tried ir-keytable -c -p nec -t and ir-keytable -c -p rc-6 -t and ir-keytable -c -p all -t with no luck.
Is there something i'm missing...or doing wrong?
I have successfully installed and run your Kodi 18 (Leia) images for S812 - on an M8S OTT box (AP6330) on a USB stick.
I have tried both the MXIII_Plus and LAN_100 images and they work fine...except for the remote control.
I'm using the original remote control that came with the M8S.
I have tried a couple of "remote.conf" with no luck (from an M8 and an M8S)
Do you know of any "remote.conf" file that might work?
I've just finished reading 58 pages. I have cut and pasted numerous posts on how to install and run this build on an SD card so that I can try to make sense of it and I have to say its very confusing.
I've done the reading a few times and its not clear how to install to me either.
I have a Minix X8H-Plus and it's currently running Krypton from a balbes150 build on USB.
But sadly.....after a few seconds, the green robot disappeared and the screen went black...and that's where it stayed.