Downgrade error from 12.2.0 to 11.0.6 - aarch64 back to arm

  • 12.2 playback (seeking causes crash) is not working for me in an old s912 box. I try to downgrade back to 11.0.6 but getting boot error that current system aarch64 not matching update (downgrade) system arm. I realise that when i upgraded to 12.2 it changed system to aarch and 11.0.6 is not compatable with aarch64 hardware. How can i change it back to arm system so i can downgrade without having to do fresh install and loosing my library.

    I see on boot it says option to add .nocompat folder to .upgrade folder, but this can possibly brick the box??

  • Code
    touch /storage/.update/.nocompat

    That ^ will allow the downgrade. It won't brick the box, but you need to remove all Kodi add-ons and the libwidevine cdm folder (if anything uses libwidevine) as they were updated to newer aarch64 versions too. Also note that the Library will revert to the state it was in before you updated, i.e. it will not show any content added since the bump (you will need to rescrape).

    NB: As there is no real-world difference in the state of the Amlogic hardware decoders in LE11 and LE12/LE12.2 there's probably no benefit to the downgrade. As you wish though..

  • Thanks. If downgrade will not make a difference is there any way to get video playback working on gt1 ultimate box? Seeking during playback only works if i turn off PRIME decoder, but then half of my videos will not play without unwatchable playback juddering, so at the moment Libreelec on this box is not functional. The only other issue i get during boot is warning Failed to start display.service. Would this cause playback issues?

  • Code
    systemctl stop display && systemctl disable display && systemctl mask display

    That ^ will stop the harmless error message about display service.

    The AMLGX image is not for everyone. The H265 decoder is not fully developed and 'is what it is' for now. The only real-world way to fix seeking is to re-rip or re-encode videos to H264 which works much better.

  • Ok, thanks. Is the h265 decoder still being actively developed and if so are there any updates pending? Realistically, I will probabaly have to find another solution if not.

  • Ok, thanks. Is the h265 decoder still being actively developed and if so are there any updates pending? Realistically, I will probabaly have to find another solution if not.

    I have used coreelec v9 for years and it plays everything I can throw at it without any problem but I wanted to start using docker with 64 bit space (which CE9 does not have) hence switching to back to libreelec. Can the decoder from CE9 be easily swapped in?

  • The current H265 decoder has seen no real-world development since 2020 and will be dropped from the kernel in the mid-term future. It is not possible to use the vendor kernel decoders because Amlogic implemented them around their own proprietary DRM (rendering, not media encryption) framework which aside from being poor quality code, would be a total nightmare to port to the upstream kernel, and also requires amcodec support in Kodi which was intentionally dropped back in 2018. I'm aware of two other Amlogic media codec efforts; one is also stalled with no current plan to resume. The other is being actively worked on, but I'm still waiting to see initial H264 code (with HEVC, VP9, MPEG2, AV1, etc. to follow) so this is not anything that will bring results soon.