Any support for H96pro+ 912?
Libreelec forums has a process/tool for 912 posted up there but it seems overly complicated compared to this.
Any support for H96pro+ 912?
Libreelec forums has a process/tool for 912 posted up there but it seems overly complicated compared to this.
CoreELEC (official): 9.2.0 (Amlogic-ng.arm)
CoreELEC:~ # inject_bl301
Starting bootloader blob BL301 injection tool v0.1…This tool can be used to update the bootloader
blob BL301 of the vendor bootloader on the internal
eMMC. This bootloader blob BL301 is customized by
Team CoreELEC to support all wake-up features like
CEC, Wake-On-LAN, IR, and GPIO wake-up from
suspend or power off state!Device serial number: 280b4000011a1400000f383052534b50
Using CPU type G12A (28): S905D2, S905X2
Using binary type because of CoreELEC DT-ID: Generic
Using /dev/bootloader as bootloader partition
Can’t not find TOC_HEADER!
what am I doing wrong?
What box do you have?
A95x f2 s905x2 4gb ram
On A95x boxes bl301 doesn’t work. If I remember correctly due to some vendor locks.
@boot2k3 he’s talking about inject_bl301
, not ceemmc.
If TOC_HEADER
is not found it’s not a Amlogic or a encrypted bootloader.
Like here: Device off - Wifi adapter led always on
does this mean that due to bl301 I can’t turn on the device with the remote control?
cannot be configured without using bl301?
I am referring to these commands
IRMP code received: remotewakeup = ‘0xbf40fe01’,
decode_type = ‘0’.
remotewakeupmask = “0xffffffff”
No, you have to use vendor bootloader blob.
If he didn’t hardcode a IR remote code in the bootloader you cannot wake up the box by any code.
Thank you for your time and work trying to solve this issue!
I’m having the same issue with my Beelink GT1 mini (S905X2, 4GB).
The injection seemed to be successful:
blgtmini:~ # inject_bl301
Starting bootloader blob BL301 injection tool...
This tool can be used to update the bootloader
blob BL301 of the vendor bootloader on the internal
eMMC. This bootloader blob BL301 is customized by
Team CoreELEC to support all wake-up features like
CEC, Wake-On-LAN, IR, and GPIO wake-up from
suspend or power off state!
Device serial number: 280b40000xx71800000xx4354b48xxxx
Using CPU type G12A (28): S905D2, S905X2
Using binary type because of CoreELEC DT-ID: Generic
Using /dev/bootloader as bootloader partition
Found TOC_HEADER at: 0x00010210
Name: AA640001
Serial Number: 12345678
Flags: 0
TOC ENTRY #0
UUID: 9766FxxD89BEExx9AE5D78Axx0608xxx
Offset Address: 0x5C000 (absolute: 0x6C210)
Size: 0xE570
Flags: 0x0
Found BL30 blob image at: 0x0006C210
Amlogic magic: @AML
Old signature: EDCBF47E5F527D8AD93AE5962D8F01B615B7C02AE1498774
B41CA45056BE9A69
Using BL301.bin: Generic_28_29_bl301.bin
New signature: EDCBF47E5F527D8AD93AE5962D8F01B615B7C02AE1498774
B41CA45056BE9A69
Update of BL301.bin on eMMC is not needed, exit now...
But after a reboot and then shutting down using the Kodi GUI the box still won’t start by pressing the power button on the remote.
I’ve not read the whole thread, yet, but I also tried:
fw_setenv upgrade_step 3
reboot, shutdown, still no reaction.
Some more info (happy to provide more!):
blgtmini:~ # fw_printenv bootfromsd
bootfromsd=if mmcinfo; then run cfgloadsd; if fatload mmc 0 ${loadaddr} kernel.i
mg; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi
You need to remove # in this line # remotewakeup='0x31ce4db2'
of config.ini
I think 0x31ce4db2
is your ir power code, if not then change it too
Correct, it needs to be enabled in config.ini.
Use this guide:
Thank you, it works fine now!
The IR code for my box (Beelink GT1 mini, S905X2) was: 0xa659ff00
Hi, I have an X96 Air P2 (S905x3, 4gb/32gb, dual band wifi, gigabit ethernet). If I shutdown the box from Android the remote can turn it back on fine, if I shutdown from coreelec the remote can’t turn it back on and I have to toggle the power, any ideas as it’s super inconvenient.
Can this sort it? I’ve noticed on the nightlies it’s built into the coreelec menu now although the “IR Remote Power Code” has limited options and not matched mine so I’ve not tried it. Assistance appreciated.
Thanks.
Have you tried to run inject_bl301
?
And you need to setup your IR waje up code in config.ini:
In last nigthly there is a new hardware
section in CoreELEC settings. There you easily can run the BL301 injection and setup a common IR wake up code.
Did you try inject_bl301
?
I haven’t run it yet as it doesn’t list it as the S905X3 as compatible so I was asking if it was safe, I’ve seen it in the coreelec menu but it only had limited options and you can’t see the code to check it matches mine, does it use the config.ini if I don’t select one of those? Also should the config.ini be totally empty other than just the wake up code?
Thanks
The inject_bl301
is compatible with SM1 CPU since a few nightlies.
There right now only “standard” IR wake up codes in the Kodi addon. But the manual method is still working.
I confirm the BI301 injection works on X96air but I’ve one doubt
do I need to remove # from the lines?
#------------------------------------------------------------------------------------------------------
IR setup
Setup a custom keycode to wake the N2 from suspend or poweroff
You can stop kodi and eventlircd and use “ir-keytable -u” to obtain a compatible u-boot
IR keycode
remotewakeup=‘0xbf40fe01’
decode_type can be one of the following:
NEC=‘0x0’, DUOKAN=‘0x1’, TOSHIBA=‘0x2’, RCA=‘0x3’, RC5=‘0x4’, RC6A=‘0x5’, NEC_TOSHIBA_2IN1=‘0x6’,
NEC_RCA_2IN1=‘0x7’, RCMM=‘0x8’, NEC_RC5_2IN1=‘0x9’, NEC_RC5_2IN1=‘0xa’, RC6=‘0xb’
decode_type=‘0x0’ # NEC
remote power key mask:
Some IR protocols implement a toggle bit, this can be ignored by the “and” mask:
RC5=‘0x37ff’, RC6=‘0x1effff’, RC6A=‘0xffff7fff’
remotewakeupmask=‘0xffffffff’
#------------------------------------------------------------------------------------------------------
You only need to remove the # from the remotewakeup
, decode_type
, and remotewakeupmask
lines when setting the remote wakeup code.
As @Portisch pointed out you can select a remote from the gui by going to Settings > CoreELEC > Hardware >IR Remote Power Code
There is currently the option of setting the code for remote, Beelink, Minix, Hardkernel, Khadas, and MCE(microsoft media centre, or remotes set to emulate this) remotes from the gui. Other remotes can still be added by editing the config.ini the same way as before.
I will be adding a custom remote option to the settings gui that will allow you to set any remote you want from the gui. However doing so will take a little longer to implement.
About | FAQ | Terms of Service | Privacy Policy | Legal Notice