[Guide] 🖥️ Best Options for a Single Board Computer 🎮

Best Options - For a ‘Khadas’ Rockchip Single Board Experience


Download Options and Flavors

45545-4094699077 Fenix cac Edge2 weqwdqw ooWoW Android-Logo-2008 Android


9d73b89d82cb7a638328b136c0f2e89474b4964f Armbian / adada the best ARM framework bf88d38764b58f23abd875c218c3e531088c4c7e
92c6df804cf6be8fdc70d413810f0bc622ed9343 Ubuntu / Joshuas Page sdad
d9a10a96fe8b98a43bc593cb34fb19c318100c6b Arch Linux Installer / image BredOS / Guide
a6be6ee4ef3d0e14d8a70c368c80c02fbe222a1d FydeOS / 88576843 OpenFyde / c5e1bf189311c135195b4c357f70ce5570e69000 Guide / Alpha 1d121d
3d25406dd6c765cb7cc62c4ea966d15e095683c9 Debian Image Builder / 75c77472470359c38647d673c326e4062ffdea5f DietPi
681be8e3d053e72d94789c4e9d36752519574fb5 Alpine
35ccf3942ffbdade081eb434ca72df2228cb19dc FreeBSD
87dba621f93380cd470dc033b1fbf7ceca2bacbc Batocera / 63a6119cc43c5f09dfd2cd9588d9147270e85d57 RetroPie / 05e24149db39acafb3e861b79b3d85db37183459 LibreElec / 163176886 RockNix


1us 1usOS (One Day) by @kwankiu
d7og0t1swue81 EndeavourOS ARM (Maybe) by @Pudge
Twisteros-logo TwisterOS (Maybe) by @dangeruss26
image Manjaro (Maybe) by @Spikerguy


Linux Bios - UEFI :face_with_hand_over_mouth:

352eb5aa99d828e33b51a943470fa106d41762f3 EDK2 UEFI
68c0909583b49126a53e8b9d303ba84cada47c17 Windows 11 ARM
red-hat22 Fedora
50441add84d7ef99e94e6e2d70f91e467957c4db OpenSuse
svg Void Linux
6aac80d254d33569728a5a089109d046318c3dc6 NixOS
9d73b89d82cb7a638328b136c0f2e89474b4964f Armbian


:point_right:t3: More images to find here at the Khadas 8WoW - .images :page_facing_up:


Notes:

  • if downloading with wget use condition –no-check-certificate to avoid the download to fail or use an app like jdownloader or motrix.

  • After starting the system you most likely have to open your disk storage and perform a disk resize

  • Some systems start in x11 so you will notice that the system fails to deliver its brilliant performance at launch make sure you switch to wayland.

  • Very important grab a proper type C charger/cable for your device!



🪁 Fan options

:point_right: the actual kernel already has this shorted ages ago but I will leave it here for further notice.

Non-GPIO Fan Fix (Archlinux) (Not sure if it works on Khadas).

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

Manage the fan manually :wind_face:

Prevent the system to take over fan control - Automatically.

acu install i2c-tools -y
echo user_space | sudo tee /sys/class/thermal/thermal_zone0/policy
sudo i2cset -y -f 2 0x18 0x8A 0x20

(Fan speed 0x41 = 50%, 0x64 = 100%)


📱Bluetooth options

:point_right:t3: Some Wifi BT modules require an blacklist in order to work so here is the basics.

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

blacklist pgdrv
blacklist btusb
blacklist btrtl
blacklist btbcm
#blacklist btintel

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


🌐 Wifi options

:point_right: this is an example on how to install wifi bt modules firmware.

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

#wifi
sudo wget -P /lib/firmware https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-ty-a0-gf-a0-59.ucode
sudo mv /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.bak

#bt
sudo wget -P /lib/firmware/intel https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/ibt-0041-0041.sfi
sudo wget -P /lib/firmware/intel https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/ibt-0041-0041.ddc

📢 Audio options

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

:point_right: Some valid information on how to fix issues with audio be free to explore.

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
sudo nala install pipewire pipewire-audio-client-libraries 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}} -y

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

💽 Flashing Software

Flashing Images via Rockchip Dev Tools App:

Image Preparation

  • :point_right: Decompress Images: Use WinRAR to decompress .img.xz files to .img, not the Windows ‘Extract All’ option.

  • Tick ‘Write by Address

Rockchip Boot Loader SPL File

:point_right:t3: Follow Khadas Utils


Flash oowow back into the khadas

curl -LO https://dl.khadas.com/products/edge2/firmware/oowow/edge2-oowow-latest-spi.img.gz
gzip -d edge2-oowow-latest-spi.img.gz
sudo dd if=/dev/zero of=/dev/mtdblock0
sudo dd if=edge2-oowow-latest-spi.img of=/dev/mtdblock0

For more info on khadas

More info (Spi to NVME boot from SD Card)

Android Build on Khadas


🥛 App Manager Hubs 🧩

Raspberry Pi App Store for Open Source Projects.

wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash

FlatHub - Hundreds of apps and games for Linux.

sudo apt install flatpak -y ; sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; sudo flatpak update -y
More flathub apps

Chromium Browser & Extension Manager
sudo flatpak install flathub org.chromium.Chromium -y
sudo flatpak install flathub com.mattjakeman.ExtensionManager -y

Some random apps
sudo flatpak install flathub org.gnome.Boxes -y
sudo apt install libvirt -y
sudo flatpak install flathub io.github.ungoogled_software.ungoogled_chromium -y
sudo flatpak install flathub io.github.realmazharhussain.GdmSettings -y
sudo flatpak install flathub tv.kodi.Kodi -y
sudo flatpak install flathub io.github.dosbox-staging -y
sudo flatpak install flathub com.dosbox_x.DOSBox-X -y

Emulation stuff for old school games
sudo flatpak install flathub org.ryujinx.Ryujinx -y
sudo flatpak install flathub org.libretro.RetroArch -y
sudo flatpak install flathub net.kuribo64.melonDS -y
sudo flatpak install flathub org.ppsspp.PPSSPP -y
sudo flatpak install flathub org.duckstation.DuckStation -y
sudo flatpak install flathub org.DolphinEmu.dolphin-emu -y
sudo flatpak install flathub com.github.Rosalie241.RMG -y
sudo flatpak install flathub io.mgba.mGBA -y
sudo flatpak install flathub io.github.simple64.simple64 -y
sudo flatpak install flathub com.vba_m.visualboyadvance-m -y

Bauh – a Manager for Your Multi-Package Needs

sudo apt install python3 python3-pip python3-yaml python3-dateutil python3-pyqt5 python3-packaging python3-requests -y ; sudo pip3 install bauh ; sudo pip3 install bauh --upgrade

panel-themes

sudo nala install obs-studio obs-gstreamer obs-plugins xdg-desktop-portal pipewire qtwayland5 librga2 gstreamer1.0-rockchip1 -y
#RESTART here and then run OBS with:
MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 obs

💫 Graphics Acceleration / Performance 🏄🏼‍♂️

LiuJianFeng & PPA Graphics Panfrost/fork on Wayland
OpenCL runtime (libmali)

sudo add-apt-repository ppa:rockchip-linux/ppa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update ; sudo apt install mali-g610-firmware rockchip-multimedia-config glmark2 glmark2-es2 glmark2-es2-wayland mesa-utils malirun -y ; sudo apt upgrade -y
sudo add-apt-repository --remove ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository --remove ppa:liujianfeng1994/rockchip-multimedia

glxinfo|grep OpenGL -- check actual status of things
mkdir -p ~/tmp/libmali && cd ~/tmp/libmali
wget 'https://github.com/tsukumijima/libmali-rockchip/releases/download/v1.9-1-55611b0/libmali-valhall-g610-g13p0-gbm_1.9-1_arm64.deb'
sudo dpkg -i ./libmali-valhall-g610-g13p0-gbm_1.9-1_arm64.deb

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

sudo echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
sudo echo performance | sudo tee /sys/class/devfreq/fb000000.gpu/governor
sudo echo performance | sudo tee /sys/class/devfreq/dmc/governor
sudo echo performance | sudo tee /sys/class/devfreq/fdab0000.npu/governor

Or add to startup script /etc/rc.local

Or if you want a shortcut for performance / ondemand and powersave do nano .bash_aliases and add these instructions - save it Ctrl X, Yes, restart and after just type the governor you desire Terminal: performance to trigger it.

alias performance="echo performance | sudo tee /sys/bus/cpu/devices/cpu[046]/cpufreq/scaling_governor /sys/class/devfreq/dmc/governor /sys/class/devfreq/fb000000.gpu/governor"
alias ondemand="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"
alias powersave="echo powersave | sudo tee /sys/bus/cpu/devices/cpu[046]/cpufreq/scaling_governor /sys/class/devfreq/dmc/governor /sys/class/devfreq/fb000000.gpu/governor"

🚧 OpenCL Libmali Malirun 'Hack'

OpenCL runtime (libmali) For Mali to Work on Armbian Panfrost
Do a performance boost on apps with malirun as trigger !

malirun chromium-browser #do this to other apps too

📄 External Guides

Switching Between Mali Blobs and Panfrost - for experts to run X11 like a Pro

Proxmox-Arm64

Setup Hardware Acceleration on RK3588


🕹️ NicoD gaming script

@nicod Has also a gaming script that works for all rockchip single boards:

git clone https://github.com/NicoD-SBC/armbian-gaming.git
cd armbian-gaming
bash ./armbian-gaming.sh

image


🤖 Redroid for Rockchip ARM64

Only works on Panfrost kernel 5.10

image

Android Emulator to your ARM system (ReDroid with Scrcpy and Docker):

sudo apt install docker.io scrcpy android-tools-adb -y
sudo docker run -d -p 5555:5555 -v ~/redroid-data:/data --restart unless-stopped --name redroid --privileged cnflysky/redroid-rk3588:13.0.0-latest androidboot.redroid_height=1920 androidboot.redroid_width=1080

Currently only working on Panfrost.

adb disconnect localhost:5555 ; adb connect localhost:5555 ; scrcpy -s localhost:5555

Just add this alias in nano .bash_aliases and run it as malior each time:

alias malior="malior-droid stop ; adb disconnect localhost:5555 ; malior-droid start ; adb connect localhost:5555 ; scrcpy -s localhost:5555 ; malior-droid resize 720x1280"

image

Change it to english this way. Just drag and drop your .apk file into the android window it will auto install it .

🧑🏻‍🔧 Fix the google play store by doing this

To become certified with access to the play store you have to:
1 - Install a device ID apk to get this Device ID and register it on your google account.
2 - Register it here: https://www.google.com/android/uncertified/
3 - Restart Malior-Droid again and add your google account manually on settings.
4 - Send apkpure the emulator window and start installing apps like a boss !

image


🧑🏻‍🔬 Kernel modules required
CONFIG_STAGING=y
CONFIG_ASHMEM=y
CONFIG_ANDROID_BINDER_IPC=y
# CONFIG_ANDROID_BINDERFS is not set
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set
CONFIG_ESD_FS=y

🪀 Waydroid for Panthor

Credits to @Willzen - The Armbian vendor kernel version now includes Panthor, and will soon be able to run it as well.

Works with the current Panthor Install it!

sudo apt install curl ca-certificates -y
curl https://repo.waydro.id | sudo bash
sudo apt install waydroid -y
sudo wget -P https://github.com/WillzenZou/armbian_fork_build/releases/download/willzen-armbian-24.5.0/2.waydroid-panthorv10-240416-v1.img.tar.gz
cd /usr/share ; sudo mkdir waydroid-extra ; cd waydroid-extra ; sudo mkdir images ; cd
sudo tar -xf 2.waydroid-panthorv10-240416-v1.img.tar.gz -C /usr/share/waydroid-extra/images
sudo waydroid init -f -i /usr/share/waydroid-extra/images

Apps will be re-sizable but never the show-full-gui

sudo waydroid container stop ; waydroid session stop ; sudo waydroid prop set persist.waydroid.multi_windows true ; sudo waydroid session start ; waydroid show-full-ui

Supposedly resizes the full-gui

sudo waydroid container stop ; waydroid session stop ; sudo waydroid prop set persist.waydroid.multi_windows true ; sudo waydroid prop set persist.waydroid.width 720 ; sudo waydroid prop set persist.waydroid.height 1280 ; systemctl restart waydroid-container ;  waydroid session start

Install Google Store

image

Select gapps and microG from Android 13 off the Script - For your Waydroid Android 11

sudo apt install lzip -y
git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
python3 -m venv venv
venv/bin/pip install -r requirements.txt
sudo venv/bin/python3 main.py

Other commands

waydroid app install com.app.apk
waydroid app launch com.app
waydroid app list

🎮 Steam Installation Tutorial

Steam Installation Tutorial

image

Easier method: Just install steam via Pi-Apps

wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash ; pi-apps

FEX-EMU or NicoD Armbian-Gaming Script

image


:desktop_computer: Desktop Ricing #Unixporn


🎛️ Tweaks and Shell Extensions🎚️

Getting the Gnome Shell Extensions

sudo apt install gnome-tweaks gnome-shell-extension-manager chrome-gnome-shell -y

Open Tweaks and enable the dam Titlebar buttons (Why is this even disabled -.-’ )

image


You can now install ‘el’ gnome extensions:

3731e67f7e3a49066e7e1a31494b39648263908a
image

  1. Enable User Themes
  2. Dash to Panel or Dash to Dock
  3. Freon or Vitals
  4. Compiz for an wobble effect.
  5. Burn my Windows to keep your system lit. :fire:
  6. Screenshot Tool

Rice your Desktop

Themes / Icons - Shell - The Rice

Download this .themes
Download these .icons
Download this Wallpaper

sudo tar -xf Graphite-teal-nord-rimless.tar.xz -C /usr/share/themes
sudo tar -xf Zafiro-Nord-Black.tar.xz -C /usr/share/icons

/home/$USER/.themes & /home/$USER/.icons (if they dont exist just mkdir them).
Giving /home/.themes & .icons writting permissions can work.

You can also use /usr/share/themes by sudo tar -xf Cold-Metal-No-Logo-GTK.tar.xz -C /usr/share/themes

Then user themes extension from gnome shell extensions has to be enabled by sudo apt install chrome-gnome-shell -y and when user themes is enabled we can then apply shell themes on Tweaks.

Open Tweaks application and select these themes.

image
image


☄️ Rice your Login Manager 🌍 ▼

Not all SDDM themes found on github works on non archlinux systems. If you find a way let me know

Install these requirements

sudo apt install -y sddm qtdeclarative5-dev qml-module-qtgraphicaleffects qml-module-qtquick-controls qml-module-qtquick-controls2 libqt5svg5 qt6-wayland qt6-5compat-dev qtcreator ; QT_QPA_PLATFORM=xcb
#systemctl disable gdm
#systemctl disable lightdm
#systemctl enable sddm

For theme setting:

sudo nano /etc/sddm.conf.d/theme.conf.user
or
sudo nano /etc/sddm.conf

Theme folders for installing and ls:

cd /usr/share/sddm/themes/

Test your themes before applying:

sddm-greeter --test-mode --theme /usr/share/sddm/themes/maya
sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/sddm-astronaut-theme

sudo git clone https://github.com/Keyitdev/sddm-astronaut-theme.git /usr/share/sddm/themes/sddm-astronaut-theme
sudo cp /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/
echo "[Theme]
Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf
sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/sddm-astronaut-theme

sudo git clone https://github.com/JaKooLit/simple-sddm-2.git /usr/share/sddm/themes/simple-sddm-2
echo "[Theme]
Current=simple-sddm-2" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/simple-sddm-2

sudo git clone https://github.com/RadRussianRus/sddm-slice.git /usr/share/sddm/themes/sddm-slice
echo "[Theme]
Current=sddm-slice" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/sddm-slice

SteamOS Theme

sudo git clone https://github.com/JiayuanWen/sddm-sugar-steamOS.git /usr/share/sddm/themes/sddm-sugar-steamOS
echo "[Theme]
Current=sddm-sugar-steamOS" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/sddm-sugar-steamOS

sudo git clone https://github.com/Match-Yang/sddm-deepin.git
cd sddm-deepin
bash ./install.sh
sddm-greeter --test-mode --theme /usr/share/sddm/themes/deepin

sudo git clone https://github.com/Michal-Szczepaniak/sddm-theme-amadeus.git /usr/share/sddm/themes/sddm-theme-amadeus
echo "[Theme]
Current=sddm-theme-amadeus" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/sddm-theme-amadeus

sudo git clone https://github.com/m-wynn/sddm_wynn-theme.git /usr/share/sddm/themes/sddm_wynn-theme
echo "[Theme]
Current=sddm_wynn-theme" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/sddm_wynn-theme

sudo git clone https://github.com/3ximus/abstractdark-sddm-theme.git /usr/share/sddm/themes/abstractdark-sddm-theme
echo "[Theme]
Current=abstractdark-sddm-theme" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/abstractdark-sddm-theme

sudo git clone https://github.com/AlfredoRamos/urbanlifestyle-sddm-theme.git /usr/share/sddm/themes/urbanlifestyle
echo "[Theme]
Current=urbanlifestyle" | sudo tee /etc/sddm.conf
sddm-greeter --test-mode --theme /usr/share/sddm/themes/urbanlifestyle

Source KDE themes
Source KDE themes
Github for SDDM themes


🏝️ Try Other Desktop Environments for ARM 🦅

UbuntuCraft

main

#ubuntucraft for arm isnt there yet..
#curl -LO https://github.com/archcraft-os/archcraft-arm/releases/download/1.0/archcraft-arm.tar.gz
tar -xzvf ubuntucraft.tar.gz
cd ubuntucraft
# nano customize.sh (optional)
# user/pass archcraft
sudo bash ./install.sh
#choose sddm not gdm3

Fix the top bar modules for each theme being on this example the “default” one:

1 - nano ~/.config/openbox/themes/default/polybar/config.ini
2 - Find the line modules-right =. This should be line 147.
3 - Remove the “battery” module, replacing it with “temperature”

Paste this instead:
modules-right = temperature dot volume dot network dot LD sysmenu RD


JaKooLit - Ubuntu-Hyprland

git clone --depth=1 -b Ubuntu-24.04-LTS https://github.com/JaKooLit/Debian-Hyprland.git ~/Ubuntu-Hyprland
cd ~/Ubuntu-Hyprland
chmod +x install.sh
./install.sh

SUPER Environments often needs changed from SUPER to FN+SUPER

# Look for $mainMod = SUPER
nano ~/.config/hypr/hyprland.conf
nano ~/.config/hypr/configs/Keybinds.conf
# Change it to $mainMod = FN+SUPER


:video_game: Try Cloud Gaming its perfect!:computer_mouse:


Discord for a more direct approach: Khadas Discord


6 Likes

Hello,

I downloaded the following image:
Armbian for Khadas Edge 2 with AmazingFate Drivers RPardini Kernel by MonkaBlyat

I copied it on an exFAT formatted USB Stick, and booted OOWOW trying to install it but it doesn’t even see the files.
I also unpacked it and got an .img file, copied that one also but doesn’t see it either.
Here’s the steps I did:

  1. Downloaded and copied the .img.xz file to a USB Stick (tries different sticks as well thinking it may be faulty but it’s not the case).
    2, I inserted the USB stick containing the image and I booted the Kedge2 into OOWOW
  2. In the OOWOW menu I went to “Write image to eMMC” > “…/” > “USB-sda1-MyUSB” , and the directory/stick is empty, nothing to select.

Am I missing something? Could you please let me know how to properly flash this Armbian image to my Kedge2 ?

Thanks in advance!

What you explained is entirely correct and worked for me:
Wiped the USB to exfat.
Copy Pasted the image as downloaded.
Booted up into OoWoW “write image to emmc” back to USB and my file was there.

Since it didn’t worked for you I suggest you to try the RkDevTools method.

Its just a matter of selecting files plugging cable and Run the program.

1 Like

Thank you! I was about to give up then tried a 32GB KINGSTON usb and was somehow able to see the image.
This version is a bit slow and buggy but it works.
One more thing I wanted to ask, do you know how to make use of the entire 64GB eMMC ?
Seems that It’s only using half of it:

rock@khadas-edge2:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 58.2G 0 disk
└─mmcblk0p1 179:1 0 58.2G 0 part /var/log.hdd
/
mmcblk0boot0 179:32 0 4M 1 disk
mmcblk0boot1 179:64 0 4M 1 disk
zram0 254:0 0 7.7G 0 disk [SWAP]
zram1 254:1 0 50M 0 disk /var/log
rock@khadas-edge2:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.6G 13M 1.6G 1% /run
/dev/mmcblk0p1 15G 14G 917M 94% /
tmpfs 7.7G 305M 7.4G 4% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.7G 19M 7.7G 1% /tmp
/dev/zram1 47M 3.6M 40M 9% /var/log
tmpfs 1.6G 136K 1.6G 1% /run/user/1000
rock@khadas-edge2:~$

Thanks in advance!

Screencast from 08-07-2023 05_52_56 PM

Nevermind, I managed to resize the filesystem and make it utilize the whole disk by performing the following steps:

  1. Open terminal.
  2. Switch to the root user.
  3. Run the following command : sudo resize2fs /dev/mmcblk0p1
    Output would look like this:

root@khadas-edge2:~# /etc/init.d/resize2fs start
-bash: /etc/init.d/resize2fs: No such file or directory
root@khadas-edge2:~# sudo resize2fs start
resize2fs 1.46.5 (30-Dec-2021)
open: No such file or directory while opening start
root@khadas-edge2:~# sudo resize2fs /dev/mmcblk0p1
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/mmcblk0p1 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 4
The filesystem on /dev/mmcblk0p1 is now 15263739 (4k) blocks long.

  1. Check the space afterwards using the following command: df -h
    Output would look like this:

root@khadas-edge2:~# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.6G 13M 1.6G 1% /run
/dev/mmcblk0p1 58G 13G 44G 23% /
tmpfs 7.7G 223M 7.5G 3% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.7G 11M 7.7G 1% /tmp
/dev/zram1 47M 3.7M 40M 9% /var/log
tmpfs 1.6G 152K 1.6G 1% /run/user/1000
root@khadas-edge2:~# sudo resize2fs /dev/mmcblk0p1

That version is not slow and buggish you have to switch gnome to wayland. X11 on any rk3588 is always poor.
Wayland on that image is fire. Try it log out and switch and login.

For some reason monkablyet is obsessed with x11 using blobs to have hw acceleration but I personally dont fancy that.

Edit: yeah he often forgets to fix the storage size resize having us to do it manually. But its an easy trick.

Also: The image to go is the first one I posted with the legacy 5.10. The others are not yet ‘really’ mainline.

1 Like

Just did a sudo apt update && sudo apt get upgrade and it broke Chromium Browser on this image :slight_smile: : https://monka.systemonachip.net/edge2/Armbian_23.09.420-rkr5.1_Khadas-edge2_jammy_legacy_5.10.160-rk3588-multimedia-gaming.img.xz

Yeah… issues of the ‘community’ images… and the modified chromium browser… he will eventually fix that.

Debian Image Builder by c0rnelius and Tenkawa
Added.

Adjust the fan with:

Minimum: i2cset -y -f 2 0x18 0x8a 0x1F
Play with: i2cset -y -f 2 0x18 0x8a <0x10 to 0x64>

Hello, where is this image? Maybe you can recommend more stable and modern image? i have tried many images and everytime problems like no wifi & bluetooth, and so on

Hello! How to use this debian image builder? I`m not noob but can not find any instructions. What is the best image for android emulation?

Best image you can use right is arch from my other guide. Not now and I am aware the lazy stone ass monka isnt fixing anything so… we will have to wait. The best alternative will be joshuas ubuntu image which will be put here soon.

I dont use Android OS so u can try openfyde… or malior droid on that arch linux OS I told you.

You mean BredOS? Is it correct?

1 Like

BredOS isnt updated on oowow so use the kwankiu script.

Thank you! I see there is ready image with gnome! What you think - use them or better to use script?

Massive thread refurbishment to be neat and easy to learn.