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
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.
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.
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.
Thanks, that sorted it for me, it’ll be good when custom codes can be set via the interface as I’ve got friends who find using putty a bit too technical.
I’ve read that in last nighly build was added support to GXL/GXM into inject_bl301 project. This mean that, can it be installed on S912/S905 boards like Minix U9-H?
Here I’m having this exact issue with the X96 Air (S905X3). Rebooting to Android from within CE, then shutting down the box with the remote. The remote won’t turn it on again, it needs to be unplugged and plugged in again. CE on and off works fine without any Android.