suuhm/raspi_mpeg_license_patch.sh

LibreELEC 11.0.1 checking - empty state HEX location with hexdump

dvdesolve opened this issue · 11 comments

Hello, when trying to check the state of my system (stock LibreELEC 11.0.1) hexdump says nothing about state HEX. Should we wait for further tweaks for the new LibreELEC or it works already as planned?

suuhm commented

Hi, I ain't checked it yet with version 11 of le but can you post your command and output please?

libreelec:~ # ./raspi_mpeg_license_patch.sh --check-only --os=libreelec
     _________________________________________________________ 
    |><><><><><><><><><><><><><><><><><><><><><><><><><><><><>|
    |                                                         |
    |  raspi_mpeg_license_patch v0.4.2b - (c) 2023 suuhm      |
    |                                                         |
    |  !!! IMPORTANT NOTE !!!                                 |
    |  PLEASE BUY THE LICENSES!                               |
    |  THIS SCRIPT IS JUST FOR RECOVER CASES!                 |
    |_________________________________________________________|
                                                               
[*] Checking for necessary tools, maybe this take some time...

[*] Found tools, continue.

[*] First check mpeg2/vc activated?
MPG2=disabled
WVC1=disabled

[+] Getting Hexstring... May take some time...

[*] Using hexdump (beta)
[!] Not patched! (0x18)

[~] Check state HEX location +/- 1 line:


[?] Want you show some GPU temperature stats? (y/n) : n
suuhm commented

It looks just fine, you can try it for urself to patch, but I dont know why there isn't any output below "[~] Check state HEX location +/- 1 line:" , did you delte these lines?

did you have a time to check it by yourself?

suuhm commented

Hi sorry for the late response, at the moment hexdump did not prive these lines, but no worry, you can test it also with xxd

xxd is not accessible on libreelec even when addon with vim is installed

suuhm commented

hi, i've added some bugfixes here, can you try please the updated version?

3a8be8f

Now the output is the following:

     _________________________________________________________ 
    |><><><><><><><><><><><><><><><><><><><><><><><><><><><><>|
    |                                                         |
    |  raspi_mpeg_license_patch v0.4.2b - (c) 2023 suuhm      |
    |                                                         |
    |  !!! IMPORTANT NOTE !!!                                 |
    |  PLEASE BUY THE LICENSES!                               |
    |  THIS SCRIPT IS JUST FOR RECOVER CASES!                 |
    |_________________________________________________________|
                                                               
[*] Checking for necessary tools, maybe this take some time...

[*] Found tools, continue.

[*] First check mpeg2/vc activated?
MPG2=disabled
WVC1=disabled

[+] Getting Hexstring... May take some time...

[*] Using hexdump (beta)
[!] Not patched! (0x18)

[~] Check state HEX location +/- 1 line:

Hexdump Patchline => 0x47 0xe9 0x34 0x36 0x32 0x48 0x1d 0x18


[?] Want you show some GPU temperature stats? (y/n) : n

Is it ok?

suuhm commented

Yes, this is the updated output , this seems to be correct.
You can now patch your start.elf and check the output again

works fine, thank you!