Bl301 injection, problems, help,

hi ! good morning! You mean with ‘try the IR wake up again’ to repeat with this?

systemctl stop kodi

systemctl stop eventlircd

ir-keytable -u

mount -o rw,remount /flash

nano /flash/config.ini

Or you mean to push the wake up button on de IR??

I have done the first, the process to map the wake up button to the IR, and the result after reboot → fw_printenv bootfromsd is:

CoreELEC (official): nightly_20190815 (Amlogic-ng.arm)
CoreELEC:~ # fw_printenv bootfromsd
bootfromsd=mmcinfo; run cfgloadmmc; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi

Thanks a lot, I hope we will be near to get success

Regards,
David

PD: Yeeeeeeessss!!! We have achieved it!!! well, you guide me on the success way, Thank you very much @Portisch !!! Hope This trial have been good for all to get working right more tvbox!!

It should work already :wink:
By the command fw_setenv upgrade_step 3 the bootloader got forced to reload the aml_autoscript.
And the ouput of fw_printenv bootfromsd shows the update: ...cfgloadmmc...
So since now you config.ini get loaded and IR wakeup should work now…

The forced update of the aml_autoscript will be tomorrow in the next nightly, thank you for testing it!

1 Like

Yes I tried it and it works ok, thanks a lot!!! I had PD my previous message… jeje… really fun this challenge… thanks again

1 Like

Hello, I injected the script and configured the config.ini but I can’t wake up my X96 MAX with IR, any other ideas of what can I be missing? Thanks.

Run ce-debug in SSH connection and post the resulting http link.

Hi
I have a problem with BL301 injection tool:

CoreELEC (official): nightly_20190815 (Amlogic-ng.arm)
CoreELEC:~ # inject_bl301
Starting bootloader blob BL301 injection tool v0.1…

Device serial number: 290a400001201200000c303254524d50
Using CPU type G12B (29): S922X, A311D
System is not supported by BL301.bin injection: g12b_s922x_odroid_n2
CoreELEC:~ #

What am I doing wrong? Thank you

Do you have a N2? The injection is not for those devices as the features added already work on those SBC.

@Portisch Here is my http link:
http://ix.io/1SCq
Thanks a lot!

And what is the issue? You are using GT King as I see on the IR wake up code.
If you have issues please post tomorrow again a debug ix.io link and describe your problem.

There where some changes today for the ce-debug script.
The ix.io link of the debug information will be show then in CoreELEC settings in “Kodi”. So you don’t have to run it manually on a SSH connection.

@Portisch, the problem is that I have X96 Max 4/64 with the codes I sent and I can’t turn it on with the IR remote. Everything else is working fine now.
Thanks.

Please make a new log tomorrow as it will include some more information, thx!

did the injection tool also come for the old S905(?) models?

in future somewhere, yes

Hello!
X2 Cube (s905x2)
IR remote
Power OFF - ok
Power ON - ok (after injecting BL301)
Goto SUSPEND - ok
but
wake up from SUSPEND - NO
power led turns to red but TV has no picture (just black screen)

I will try to describe the behavior of the box: (sorry for my bad english)

1: Power OFF
Pressed the power button on remote and the box is shutdowning - OK
power led and lan led are ON (lan sometimes blinking)
Then pressed the power button again - the box is starting and everething is OK

2: SUSPEND
Pressed SUSPEND and the box is suspending - OK
Pressed the power button on remote and power led turns to VERY BRIGHT RED and lan led turns off - TV screen is still black. (looks like the box is frozen)
Press power button again and box starting like it was power off (full system loading)

Where? In CoreELEC power options?

Yes, in CE power options

ok, you have a ssh connection after resume when the TV is black?
If yes type: ce-debug and post the link.
Also dmesg | paste please

no ssh connection