Bl301 injection, problems, help,

For example, with one of my TVs, the box cannot wake up when the TV is turned on without injection…

Can’t use the injection tool on my Am6 plus.

This is the error:

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: 290b4000010a2000000731384e535650
Using CPU type G12B (29): S922X, A311D
Using binary type because of CoreELEC DT-ID: Generic
Using /dev/bootloader as bootloader partition
Did not find Amlogic image header magic! Error - exit!

And when I try to see options the tool seems to crash (it says core dumped) and none of the options like “-c” work.

[options]
 -b     define local bootloader blob BL301.bin
 -l     define local bootloader binary dump
 -d     upload the debug output to http://ix.io
 -s     define a system root path (needed for update.sh)
 -Y     auto confirm user interaction request
 -c     check if current system is compatible to run injection
 -i     check if BL301 is injected on current system
 -h     print this help
Aborted (core dumped)

It seems this user has got it working in 2020: Bl301 injection, problems, help, - #232 by Huit

So far I’ve tried using an older build of coreelec from 2020, same issue. And I tried downgrading Android to a build from 2020 but the lowest version I can flash was from 2021 (0.3.9.1), older images failed to flash.

Bootloader is encrypted, it will not work!

1 Like

Just found that out. It doesn’t seem like there is a solution.

I didn’t think to search for encryption since I didn’t know that was a thing. This is not mentioned on the wiki, or the top post. I only searched for my device.

The solution is to disable sleep on your box and disable cec power off functionality. These boxes use such a small amount of power when not doing anything that they can safely be left on permanently.

I made a patch for the bl301 to support RTC Wakeup for Boxes without a RTC.
Please find attached the patch and I hope this could find its way upstream.

Upps I can not upload files. Someone needs to enable it for me.

1 Like

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests

I have searched in the forums extensively but have not been able to find if devices with S905X4 (like Vontar X4 and clones) can be booted using an HDMI-CEC command.
I asked the same thing a long time ago with the Minix S912. Finally with the help of @Portisch and @bumerc i could install particular uboot and get this function.

Does anyone know if this option exists?