[Guide] 🖥️ Arch Linux Installer on Edge 2 ✨


image Arch Linux Installers for Khadas Edge 2

image BredOS by @Rippanda12
image Arch Linux Installer by @kwankiu
image Manjaro (soon) by @Spikerguy
image Kruescue Arch Linux by Khadas image

  • Move it to your usb drive plug it into edge 2 boot 8wow via (function key + rest) + function key > Install your file on ‘write to emmc’ inside 8wow.


🖱️Basic terminal troubleshoot:▼

Check your baseline repos: sudo nano /etc/pacman.conf

sudo pacman-key --refresh-keys
sudo pacman -S archlinux-keyring
sudo rm /var/lib/pacman/db.lck

pacman -Q | grep linux-firmware


:point_right:t3: Run Arch Configuraton Utility - Type - ‘ACU’

acu -y install chromium # -y will work as expected.


🎚️Manually install ACU on other Arch Linux Distros▼

Install it: bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/acu/main/acu) -u
Update It: acu update
Install Chromium from acu apps: acu -y install chromium


🎛️ Gnome Tweaks and Shell Extensions:▼

Open Gnome-Tweaks and enable the dam Titlebar buttons (Why is this even disabled -.-’ )
Sem título


Getting the Gnome Shell Extensions

sudo pacman -Syy gnome-tweaks gnome-shell-extensions fakeroot git dpkg --noconfirm
git clone https://aur.archlinux.org/gnome-browser-connector.git
cd gnome-browser-connector ; makepkg -si ; cd


You can now install ‘el’ gnome extensions:
Dash to Panel or Dash to Dock and Freon and Compiz for an wobble effect and Burn my Windows to keep your system lit :fire:


🧑🏻‍🔧 Run Mali Blobs to Boost Applications on Panfrost▼

libmali chromium

sudo nano /usr/bin/libmali 
#replace x11-gbm with x11-wayland-gbm on every appearance of that file

🧩 Get Flatpak to Install more apps▼
acu -y install flatpak gnome-software-plugin-flatpak
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak update -y

sudo flatpak install flathub org.chromium.Chromium -y
- flatpak run org.chromium.Chromium

sudo flatpak install flathub org.gnome.Boxes -y
- acu -y install libvirt 
- flatpak run org.gnome.Boxes

sudo flatpak install flathub io.github.ungoogled_software.ungoogled_chromium -y
- flatpak run io.github.ungoogled_software.ungoogled_chromium
sudo flatpak install flathub io.github.realmazharhussain.GdmSettings -y
- flatpak run io.github.realmazharhussain.GdmSettings
sudo flatpak install flathub tv.kodi.Kodi -y
- flatpak run tv.kodi.Kodi
sudo flatpak install flathub io.github.dosbox-staging -y
- flatpak run io.github.dosbox-staging
sudo flatpak install flathub com.dosbox_x.DOSBox-X -y
- flatpak run com.dosbox_x.DOSBox-X

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

Flathub


🎢 Package Managers Helpers - Builders and Other Interfaces ▼
🏔️ Arch Configuration Utility by @Kwankiu:▼

Arch (ARM) Configuration Utility - (ACU Still in development)

ACU is not just a basic configuration tool app it also manages packages and allow the user to have a much more easier approach to linux commands.
One big feature is the typing for ‘acu -y install package’ where -y works just like as in any debian distribution on arch making installations more straight foward and easy for non arch users.

Arch Configuration Utility by @Kwankiu

bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/acu/dev/acu) --update=dev

acu --update=dev ; acu -u


🐧 Universal Package Management:▼

Try Universal Package Management Tool - UPT

“One command to manage all the packages on all the distributions.”

sudo pacman -S gcc make rustup
#-- Install UPT
rustup default stable
cargo install upt
nano ~/.bash_profile #add:
export PATH="$PATH:$HOME/.cargo/bin"
sudo reboot
#It can also do sudo upt update / sudo upt upgrade etc etc etc

🥤YaY - Yet another Yogurt:▼

Yet another Yogurt - An AUR Helper written in Go
Pacman installs packages from only the repos. Yay installs packages from both the repos and the AUR

sudo pacman -Syu
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git
cd yay ; makepkg -si ; yay --version

🏝️ Paru:▼

Paru is your standard pacman wrapping AUR helper with lots of features and minimal interaction.

sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

👊🏼 AGR - boogie & hbiyik:▼

🧠 ARB - Package/Repo Builder - 7Ji:▼

ARB is a package builder - repo builder


Screen recorder any idea how? or just Ubuntu has support for it?


🏝️ Try ArchCraft for ARM as an Extra Openbox DE or CLI 🦅

Wiki page: Archcraft ARM | Archcraft

curl -LO https://github.com/archcraft-os/archcraft-arm/releases/download/1.0/archcraft-arm.tar.gz
tar -xzvf archcraft-arm.tar.gz
cd archcraft-arm
# nano customize.sh
# user/pass archcraft
sudo ./install.sh

Extra openbox themes:

git clone https://github.com/addy-dclxvi/openbox-theme-collections 
sudo cp -r $HOME/openbox-theme-collections/* $HOME/.config/openbox/themes

Fix the top bar modules for each theme being on this example the “deafault” 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

If you want wobble windows acu -y install compiz



☄️ Customize your Crazy 🪵 Arch World 🌍 with SDDM▼

For SDDM Stuff

acu -y install sddm sddm-kcm qt5-quickcontrols2 qt5-svg qt6-5compat qt6-declarative qt6-svg qt5-graphicaleffects
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

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

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

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

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

Pixarch

git clone https://github.com/heisenburgh/pixarch.git
cd pixarch/installation_scripts
./install.sh
# Still in development and contains bugs. Run at your own risk.

JaKooLit - Arch-Hyprland

git clone --depth=1 https://github.com/JaKooLit/Arch-Hyprland.git ~/Arch-Hyprland
cd ~/Arch-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

Source KDE themes
Source KDE themes
Github for SDDM themes


:video_game: Cloud Gaming is Beautiful for this System :computer_mouse:


🤖 Android for Arm64 RockChip:▼ (Only on kernel 5.10 for now).

asdasada

Android Emulator to your ARM system (ReDroid with Scrcpy and Docker): acu install malior-droid - Currently only working on kernel 5.10 - soon to be updated for 6.10

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

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"

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 !


🧑🏻‍🔬 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

Kwankiu / Arch Linux Installer / Rippanda12 / BredOS / 7Ji / Joshuas-Riek / boogiepop


🤾🏽‍♂️ Tips and Tricks▼

Set SoC to Performance: acu soc performance

Get Edge 2 Fan to work:
sudo pacman -S i2c-tools
sudo i2cset -y -f 2 0x18 0x8a 0x18

Desktop Environments without Icons fix: sudo pacman -S librsvg


3 Likes

arch-rock-config install malior-droid

Then follow the 4 commands @DarkevilPT written on my screenshot to start malior-droid.
(Note: you need a kernel with binder support, but no worries, the “recommended” kernel option linux-rockchip-joshua supports it)

Unfortunately, Arch Linux ARM Aarch64 is a 64-bit only system, we probably need either steam officially support aarch64 or find an alternative steam client (if there’s any).

Well, or game on top of a KVM Virtual Machine (either with a Debian based Linux or Windows on R, but we likely only have a VirGL at best case. (Unless you use PCIe Passthough which unfortunately the Edge 2 does not have PCIe)

Meanwhile, @DarkevilPT any idea on Epic Games and other game clients?

The only thing that strikes me… must be wine or CrossOver… and no both epic or battle.net that I am aware wont work idk the current situation on those fronts. Amazing work Samuel ! Android working on Arch Maliiior Droid ! Im gonna bee dead this next 3 days after that I will clear the guide better and check more stuff.


Added for notice.

Probably nothing we can do.

PolyBar

git clone --depth=1 https://github.com/adi1090x/polybar-themes.git
cd polybar-themes
chmod +x setup.sh
./setup.sh
bash ~/.config/polybar/launch.sh

Add
https://github.com/kwankiu/PKGBUILDs
and
https://github.com/7Ji/archrepo

Install “mesa-panfork-git” and “libmali-valhall-g610”

You need to replace panfork with panthor

Just install the “mesa” package and remove “mesa-panfork-git


sudo systemctl reboot --firmware-setup


Install Wayfire

acu -y install freetype2 glm libdrm libevdev libgl libinput libjpeg libpng libxkbcommon libxml2 pixman wayland-protocols wlroots meson cmake doctest doxygen nlohmann-json libnotify base-devel pkg-config autoconf gobject-introspection gtk-layer-shell scour libdbusmenu-gtk3 gtkmm3 glib2-devel
git clone https://github.com/WayfireWM/wf-install.git
cd wf-install
bash ./install.sh --prefix /opt/wayfire --stream master


sudo git clone --depth=1  https://github.com/bluebyt/Wayfire-dots.git ~/$HOME/.config/wayfire/
sudo git clone --depth=1  https://github.com/bluebyt/Wayfire-dots.git
sudo cp -r $HOME/Downloads/Wayfire-dots/config/* $HOME/.config/
cd Downlods/Wayfire-dots/bin

/usr/share/themes
sudo cp -r $HOME/Downloads/Wayfire-dots/config/* /usr/share/themes/


sudo cp -r ./Wallpaper/.png $HOME/.config/wayfire/wallpapers/
sudo cp -r ./Wallpaper/
.jpg $HOME/.config/wayfire/wallpapers/

Archcraft wayfire wallpapers fix
sudo cp -r ./$Home/.config/wayfire/Wallpaper/*.png $HOME/Pictures/wallpapers



Support for AX900

acu -y install rtl8851bu