<Archived>Images Depot Rock 5B

Some troubleshooting I have found usefull to help new members (like myself who came from Windows and ChromeOS).

For the fan heatsink to work:
(Armbian)

git clone https://github.com/pymumu/fan-control-rock5b
cd fan-control-rock5b
make package
sudo dpkg -i fan-control*.deb
sudo systemctl enable fan-control
systemctl start fan-control
https://github.com/pymumu/fan-control-rock5b 

Or Non-GPIO 4012 Fan Fix (Archlinux) (not for armbian).

git clone https://github.com/XZhouQD/Rock5B_Naive_Pwm_Fan
cd Rock5B_Naive_Pwm_Fan/
cp fan_pwm /usr/local/bin/. 
chmod +x /usr/local/bin/fan_pwm
cp fan_pwm.service /etc/systemd/system/.
systemctl daemon-reload 
systemctl start fan_pwm
systemctl enable fan_pwm

A8 Module Bluetooth:
sudo su
nano /etc/modprobe.d/blacklist.conf
then add these lines somewhere (at the bottom of the file is fine):

blacklist btusb
blacklist btrtl
blacklist btbcm
#blacklist btintel

Then press Ctrl+X, then Y.
sudo apt install bluez or bluetooth – not needed to install since latest armbian version
systemctl status bluetooth CTRL+ C
systemctl start bluetooth
Then reboot .

For AX210 Wifi/BT to Work - Not sure if we can activate this without internet at all.

cd /usr/lib/firmware/
sudo remove iwlwifi-ty-a0-gf-a0.pnvm

Audio Tutorial for Bluetooth devices: – (not required since armbian latest versions)


sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
sudo apt install pipewire pipewire-audio-client-libraries
sudo apt install gstreamer1.0-pipewire libpipewire-0.3-{0,dev,modules} libspa-0.2-{bluetooth,dev,jack,modules} pipewire{,-{audio-client-libraries,pulse,media-session,bin,locales,tests}} 

systemctl --user daemon-reload
systemctl --user --now disable pulseaudio.service pulseaudio.socket
systemctl --user --now enable pipewire pipewire-pulse
pactl info
reboot


(Short guide) SPI flashing on the board itself would be:

wget https://dl.radxa.com/rock5/sw/images/others/zero.img.gz
gzip -d zero.img.gz
sudo dd if=zero.img of=/dev/mtdblock0

Wait ~5 minutes for the command to complete, check that sudo md5sum /dev/mtdblock0 returns 2c7ab85a893283e98c931e9511add182. Then:

wget https://dl.radxa.com/rock5/sw/images/loader/rock-5b/release/rock-5b-spi-image-g49da44e116d.img
sudo dd if=rock-5b-spi-image-g49da44e116d.img of=/dev/mtdblock0

Wait ~5 minutes for the command to complete, check that this time sudo md5sum /dev/mtdblock0 returns 46de85de37b8e670883e6f6a8bb95776. Then:

sync
reboot

For more info: https://wiki.radxa.com/Rock5/install/spi


More info (Spi to NVME boot from SD Card):
http://www.fieldday.io/armbian-rock5b/


Issues with Google Apps Device Isn’t Play Protect Certified? (On Android OS)
Install an android id apk and register the id on this website https://www.google.com/android/uncertified/
Wait 5 minutes,reboot and google playstore will work.

Use this apk ,install it and open it then use the number in the top left corner to register
Also: https://forum.radxa.com/t/solve-google-play-device-is-not-play-protect-certified-issue/229


Apps:

sudo apt install fonts-emojione -- Emojis to work
sudo apt install btop -- Control temperatures etc.

Rock 5B Graphics Panfrost/fork on Wayland

sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update
sudo apt dist-upgrade
sudo apt install glmark2 glmark2-es2 glmark2-es2-wayland
sudo apt install mesa-utils
sudo apt install mali-g610-firmware
sudo apt install malirun
---
reboot (better shutdown and start again manually for safety)
glxinfo|grep OpenGL -- check actual status of things
--sudo apt install libegl-mesa0 libegl1-mesa-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libglx-mesa0 mesa-common-dev mesa-vulkan-drivers

Try some benchmarks - Ubuntu Wayland

PAN_MESA_DEBUG=gofaster glmark2 
Expected results: 1st Line - 1669fps - Score: 1249fps - you are good.

PAN_MESA_DEBUG=gofaster glmark2-es2-wayland 
Expected results: 1st Line - 3527fps - Score: 4067fps - you are sorted.

LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu/mali glmark2-es2-wayland 
Expected results: 1st Line - 4229fps - Score: 3933fps - what a legend.

For Mali to Work on Armbian on X11
Do GPU acceleration works in X11 with malirun !

malirun chromium-browser

Switching Between Mali Blobs and Panfrost - for experts to run X11 like a Pro
https://gist.github.com/stvhay/5654368e73f93349c3ffae395eccd892#switch-between-mali-and-panfrost

Max out the 5B performance (Optional) - That’s if you want some real performance at the cost of being hot and power-hungry.


echo performance | sudo tee /sys/bus/cpu/devices/cpu[046]/cpufreq/scaling_governor /sys/class/devfreq/dmc/governor /sys/class/devfreq/fb000000.gpu/governor

Once you’re done with your benchmarks, you may want to go back:

echo ondemand | sudo tee /sys/bus/cpu/devices/cpu[046]/cpufreq/scaling_governor
echo dmc_ondemand | sudo tee /sys/class/devfreq/dmc/governor
echo simple_ondemand | sudo tee /sys/class/devfreq/fb000000.gpu/governor

This https://github.com/jiangcuo/Proxmox-Arm64
Allows you to Run Windows 7 on Rock 5B Virtualized


The soup is served :smiley: and credits are not mine this soup was given by the most talented members of this community.

4 Likes

Anyone want to buy a 16gb Rock5 ? I got a second thinking it was going to be fun.

I have a build script that builds an Arch-Linux image for rk3588 now too:

Build script for building an SD card for Rockchip devices running ArchLinux (RK3288/RK3588 for now) (github.com)

It can also help building an image on nvme and writing u-boot to spi.

Read the Readme.md

1 Like

I’ve had a metric shit ton of bad luck so far with this board. I’ve tried android, Armbian, and quite a few other linux distros with little to no luck. I’m not a linux person as I’ve used windows exclusively so command line stuff really isn’t my forte. I guess I’ll just have to wait until Libreelec releases a version for this board as all I want to do is use it for a media player and nothing else.

2 Likes

My troubleshooting for that is:
Power Unit? - I use samsung 45W and hear that Pi PSU works fine too.
https://thepihut.com/collections/raspberry-pi-psus (5.1V 3A)
Grab one to try maybe? if not Pi PSU I suggest a thunderbolt type c cable for the power to be fine.

Also Flashing the SPI seems to do magic but I cant confirm when yous do it for the nvme do a clean spi flash for the emmc follow radxa tutorial.
Or follow mine here: openFyde (Chromium OS fork) for ROCK 5B
It’s a bit dense and made for the OpenFyde Overlay… which I was able to flash but not to maintain (openfyde would just reboot on me… and I didnt knew why so I did a clean to zero spi flash and works like magic now).

Where to find more info about this? I don’t find this link anywhere else

You dont. The owner only uses Radxa Discord. My suggestion join Radxa Discord and speak to @monkablyat at #rock5-series-images

" After getting a lot of feedback on my popular Ubuntu 22.04 LTS port for the Orange Pi 5, I now have support for the Rock 5B! Additional support for the Rock 5A will be available soon, I’m waiting on hardware to be delivered.

Highlights:
• Kernel, firmware, and bootloader updates through apt
• Desktop first-run wizard for user setup and configuration
• 3D video hardware acceleration support via panfork
• Smooth 4k video playback with MPV, Gstreamer, and Chromium YouTube
• Familiar Ubuntu Desktop and Server image experience

**Known Issues: **
• Cursor flickering only during the first-run wizard, see GitHub issues for more details

Download:
https://github.com/Joshua-Riek/ubuntu-rockchip/releases " by @Spooky

3 Likes

Bro, this is awesome. I have the feeling that because the amount of different boards Radxa has, the focus on Rock 5B has become less of a priority as they have given the users just the basics to start with.

I have also two boards both 16 GB and i really wanted to have Ubuntu 22.04 server jammy running on them, but no real good images to be found out there. As you have a Rock 5B yourself i have more hope like you said you want it to thrive.

I was reading anoher topic and there it was said that basic ethernet support in u-boot is now supported. Is this a possibility that we can maybe get it to work? I am not sure if it is done through firmware updates or so?

The reason i am asking this, is that both of my boards i still have not put them in the metal case because if i want to put a different OS on it, i have to disassemble the whole board to get to the M.2 Nvme SSD so i get put the new image on.

1 Like

I havent tried anything related to that at all u-boot uefi or even Windows on Arm. I havent had the need to find about it and thats the reason so all I can say is keep an eye on radxa discord most folks who do know are there and most likely Mario from the Windows On R knows that better than me.

The issue imo with the 5B is the boot hangings that will be ‘somewhat’ fixed on the next versions radxa will be making apparently Radxa Yuntian found a way to reduce them and hopefully that will be the overall fix for those issues I want also to suggest you to keep an eye on the Rock 5A in particular to this one I find it perfect. No boot issues at all perfect for everything and literally a step ahead into the future with the micro hdmi and all options on deck.

With this said… yes there a whole world of options its just a matter of trying and finding the best way and imo sticking with it.

1 Like

This has been implemented for a long time and Libreelec works fine on Rock 5b (the images are in folders with the rk3588 extension).
The latest version of LE 20250427-rk3588 already uses the latest version of KODI 22

1 Like

Here @balbes-150
[Guide] 🖥️ Best Options for a Single Board Computer!

This thread will be updated :point_up_2:t3:.

‘All images depot’ is “dead”. Most of it links are down or developers left already yatta yatta yatta

1 Like

I’m also just going to say this, @balbes-150 for what it’s worth you should consider hosting your images on GitHub. Yandex has slow transfer speeds, and the constant link verification is a pain. Plus, GitHub would let you organize everything better. I know you have deep roots in all the boards, and your images are spread pretty widely.

The point your missing is Github suspended Russian developers accounts 2-3 years ago.

I would say to vpn that thang and do it… but… sure… Yandex it is …

As far as I know, uploading files over 100MB is blocked there.

Yeah I have that same restriction but ive seen others uploading larger files idk if they pay premium or it gets unlocked over time.

Git is not supposed to host files like this. Please look up what it’s for

I wonder if you looked at those armbian and other dev repositories at all to be telling me to look it up … maybe u should be telling them that… def not me.

These are not git-hosted files but “artifacts” created from the code. I don’t think you can just upload these.