[UNOFFICIAL][Le12][RK3228/RK3229][box]Libreelec builds

  • Hi,

    thanks to the experience gained with my builds of libreelec 9.2.x and the work of the community (rockchip and more), I'm sharing my unofficial build of libreelec for boxes with soc rockchip 322x.

    ** BIG FAT WARNING **
    ** I won't waste too much time on the subject of pirate streaming. Know that it's not tolerated by me. **
    ** I will try to help with legal addons (which I don't develop directly anyway). But if you have problems **
    ** with other kinds of addons, nothing personal, I will ignore you. **

    Libreelec 12

    FEATURES
    - Kodi Omega 21.1
    - mainline kernel 6.6.46
    - mainline opensource GPU driver
    - legacy u-boot
    - boot from SD
    - ir receiver (it works, but if your remote is not recognized, follow this guide https://wiki.libreelec.tv/configuration/ir-remotes and share results)
    - support for wifi chip SSV6051p, ESP8089, AP6255, and others if supported by mainline kernel.
    - hardware accelerated video decoding (mpeg2/h264/hvec/vp9). only FullHD tested because I don't own a 4k tv.
    - analog audio
    - DDR3 frequency scaling

    DOWNLOADS
    - builds: https://ilmich.libreelec.tv/libreelec-12/
    - source: https://github.com/rockchip-with-…le12-rk322x-wip

    INSTALLATION
    - for boot from SD see https://wiki.libreelec.tv/installation/create-media

    MANUAL UPDATE

    WARNING: The upgrade from libreelec 11 is tested, but a backup is recommended and in case of problems a clean install is suggested.


    Copy (via ssh,samba, etc etc) the desired build into the folder
    Code

    Code
    /storage/.update

    and reboot the device.

    INITIAL SETUP
    To allow booting in most cases, the image uses a generic device tree. This device tree doesn't have support for ddr3 ram, doesn't turn on any LEDs, etc etc.
    However, it's possible to change the device tree by choosing from the supported devices list with rk322x-dtb-switch.sh command.

    Code
    rkelec:~ # rk322x-dtb-switch.sh
    usage: /usr/bin/rk322x-dtb-switch.sh [list|switch|help]
    
    
    show                      show current device tree
    list                      show available device trees
    switch [device tree]      switch to a device tree
    help                      show this help

    sample session

    Code
    rkelec:~ # rk322x-dtb-switch.sh switch rk3229-box-v88mars
    Device tree rk3229-box-v88mars founded
    Are you sure(y/n)?y
    Mounting flash rw
    Switching dtb
    Mounting flash ro
    Switching is ok, now you need to reboot!!

    SUPPORTED DEVICES

    DeviceDtbWifiBoardFreq DDR3Cpu ClockGpu Clock
    genericrk322x-boxssv6051p and others N/A1,0 Ghz400 Mhz
    V88marsrk322x-box-v88marsssv6051p and others N/A1,4 Ghz400 Mhz
    V884krk322x-box-v884kssv6051p and others 666 Mhz1,2 Ghz400 Mhz
    Onetv Literk322x-box-onetv-lite 666 Mhz1,2 Ghz400 Mhz
    MXQ 4k Prork322x-box-mxq4kprossv6051p and others 666 Mhz1,2 Ghz400 Mhz
    MXQ 4k Pro (r329q varian)rk322x-box-mxq4kpro_r329qssv6051p and others 666 Mhz1,2 Ghz400 Mhz
    MXQ 4krk322x-box-mxq4kssv6051 and others 666 Mhz1,2 ghz400 Mhz
    MXQ 4k (R29 variant)rk322x-box-mxq4k_r29ssv6051 and others 666 Mhz1,2 Ghz400 Mhz
    T95drk322x-box-t95dAP6255 400 Mhz1,0 Ghz400 Mhz

    KNOWN ISSUES
    - some strange wifi chip
    - some strange USB Wi-Fi chip (I can add it if you help me)
    - NAND (this is the hard part and the only legacy piece that remains)

    SUGGESTIONS
    - without your logs, I can't try to fix anything :)

    CHANGELOG
    2024/09/14: Initial release

    THANKS TO
    knaerzche , jock2, fabiobassa, oneillb, Habitual6824, ochentay4 and the libreelec community.

    DONATE
    If you like this project help:
    - by first donating to Libreelec main project https://opencollective.com/libreelec/donate
    - and secondly by helping me to buy/repair rk322x hardware https://www.paypal.com/paypalme/ilmich6502 or https://revolut.me/ilmich

  • ilmich
    Thanks for continuing to update this box, great job! I've been testing and these are the things I saw:
    1) It plays some videos but it freezes every few seconds, I tried to make the cache bigger but it didn't work.
    2) Some videos don't play and I've attached a picture of the screen and logs
    3) I couldn't find the AC3 and EAC3 passthrough option that was previously in AUDIO. I saw it in the player but it didn't work, I couldn't get 5.1 sound like I had in LE11.

    I hope it helps to keep improving. Greetings and thank you very much!

    ]

    log-2024-09-16-20.52.15.zip

  • Hi, I'm having trouble installing the ROM and now i want to install it onto the box instead of using an sd card, i tried using sd card i mounted the .img.gz onto the sdcard using the recommended way it seemed the box's sd card slot doesnt work i tried using flash drive before booting the device i hold the toothpick on the reset button and then booted it but it only formatted the box and gave an error "unknow volume /frp" and booted back to stock rom. now i want to install it onto the rom but i cant find a proper guide for this.

  • hi spigui

    Thanks for continuing to update this box, great job!

    thank you very much.

    1) It plays some videos but it freezes every few seconds, I tried to make the cache bigger but it didn't work.
    2) Some videos don't play and I've attached a picture of the screen and logs

    from the log you sent, I saw there are errors with your multimedia UPNP server (ums?). I used minidlna for a while but never had any problems. I'll try to install it and do some testing even if it could be a kodi bug.

    3) I couldn't find the AC3 and EAC3 passthrough option that was previously in AUDIO. I saw it in the player but it didn't work, I couldn't get 5.1 sound like I had in LE11.

    I know.. the porting of libreelec 11 is not completed yet.

    Cheers
    Michele

  • hi hamafever,

    please I need to know

    - model of your box
    - version of the android operating system
    - possibly a photo of the motherboard
    - are you sure it's an rk3228 box? my builds support only booting from an SD card and maybe only some particular models have problems

    cheers
    Michele