How to install CoreELEC on Chinese android boxes (a95x r2)

why we need it?
Basically Android has limited capability of using this very powerful and cheap hw. After installing CoreELEC (Linux OS), you have more option, what you can do with that.
In this article I will describe two very well supported android boxes by CoreELEC. Primary usage of using CoreELEC is using Kodi, which is SW for home theater cinema.

you can buy it eg. from amazon (https://amzn.to/37cCfPC)

What we need to do

  • find out what chinese kodi box we have
  • download correct file
  • installation on SD card

first of all we need to check what kind of cheesiness box we have.
So I need know CPU and amount of RAM.
In my case I have CPU Armlogic S905W with 1 GB of ram.

So lets check if my box is support by following this page

so I can find, that I need to use file “gxl_p281_1g_a95xr2

So I will go to download page

and choose stable version

now we need to download portable version of rufus program from here.

After that we insert empty SD Card and run rufus program and writes image into SD card like this.

Rufus – COREELEC installation

After we have written image on the SD card, we should copy file from “device_tree\ gxl_p281_1g_a95xr2” into root with name “dtb.img

download and Install Terminal emulator and type

reboot update

and press enter.

Now box going to reboot and install coreelec from sd card

Remote controller

for working original remote conroller copy remote.conf into root on sd card.

http://www.peterknowseverything.com/wp-content/uploads/2020/04/remote.conf_.txt

Working display

for working display you can do following, afer we have running Coreelec system on our cheensese box, we need to enable ssh and connect into box.

$wget -cO - 'https://raw.githubusercontent.com/arthur-liberman/vfd-configurations/master/a95x-r2-aml-vfd.conf' > /storage/.config/vfd.conf

In kodibox go to the addons/CoreElec repository/services and Install OpenVFD .

Open configuration and enable display

android boxe (H96 Max X3)

you can buy it eg. from amazon https://a.co/7LSRnwa

Firs of all download correct version of imge from here acording this pictures.

https://coreelec.org/#download

After we have written image on the SD card, we should copy file from “device_tree\ sm1_s905x3_4g_1gbit.dtb” into root with name “dtb.img

Install kodi into internal memory

login over ssh into kodi box and type

$ceemmc -x

Working display

for working display you can do following.
After we have running Coreelec system on our Chinese box, we need to enable ssh and connect into box.

Kodi setting – enable ssh
$wget -cO - 'https://raw.githubusercontent.com/arthur-liberman/vfd-configurations/master/hk1-x3-vfd.conf' > /storage/.config/vfd.conf

In kodibox go to the addons/CoreElec repository/services and Install OpenVFD .

Open configuration and enable display

Working remote controller

Remote controlller H96 MAX X3
$mv  ~/.config/rc_maps.cfg.sample ~/.config/rc_maps.cfg
$nano ~/.config/rc_maps.cfg
~/.config/rc_maps.cfg
meson-ir        *               H96max_X3
$nano ~/.config/rc_keymaps/H96max_X3
# table H96max_X3, type: NEC

0x8081 KEY_POWER
0x8038 KEY_UP
0x8040 KEY_DOWN
0x8039 KEY_RIGHT
0x8037 KEY_LEFT
0x8027 KEY_BACK
0x8013 KEY_ENTER
0x8073 KEY_HOME
0x8083 KEY_MENU
0x8087 KEY_VOLUMEUP
0x8089 KEY_VOLUMEDOWN

correct permission

chmod 664 /storage/.config/rc_maps.cfg

Starting kodi box over TV remote controller
(https://discourse.coreelec.org/t/coreelec-bl301-wake-up-feature-inject-bl301/6321)

enable Inject BL301 Blob in kodi box

Kodi settings – Inject BL301 Blob

restart the kodi box and connect into box with ssh.

$inject_bl301

check if  bl301 is already injected. If not confirm by {y} and restart again.

insert the IR wakeup code

$mount -o remount,rw /flash
$nano /flash/config.ini
/flash/config.ini – IR setup

add this line in file /flash/config.ini

remotewakeup='0x7e817f80', decode_type='0x0', remotewakeupmask='0xffffffff'

and last restart of kodi box

$reboot

Enable HDMI-CEC on your tv.

Example for panasonic TV

Panasonic TV -VIera link Settings

Power on Link =ON

Leave a Reply

Close Menu