Anland: Termux 5.8.1
Based on Anland 5.8: https://github.com/superturtlee/anland/releases/tag/5.8
Installation
-
Android:
AnlandTermux-5.8.0.apk -
Termux:
pkg install ./anland_5.8.0_aarch64.deb
-
Ubuntu 26.04 PRoot / Chroot / LXC container:
Please install the patched Freedreno driver first: https://github.com/lfdevs/mesa-for-android-container/actions/runs/28445603884?pr=81#artifacts
sudo apt install ./xwayland_24.1.10-90_arm64.deb unzip kwin_anland-5.8-4_6.6.4-0ubuntu92.zip -d kwin-debs-install/ sudo apt install kwin-debs-install/*.deb rm -rf kwin-debs-install/ sudo apt-mark hold xwayland kwin-common kwin-data kwin-wayland libkwin6 libegl-mesa0 libgbm1 libgl1-mesa-dri libglx-mesa0 mesa-libgallium mesa-vulkan-drivers
Usage
- On Termux:
anland > /dev/null 2>&1 &- Inside containers (requires sharing
TMPDIR):
Note
Please note the comments in the following commands. Do not copy them directly, but choose according to your actual situation.
sudo chmod -R 777 /tmp/anland
killall plasmashell > /dev/null 2>&1; killall kwin_wayland > /dev/null 2>&1; killall startplasma > /dev/null 2>&1;
unset DISPLAY
export QT_QPA_PLATFORM=wayland XDG_CURRENT_DESKTOP=KDE XDG_SESSION_DESKTOP=KDE
export ANLAND_SOCKET=/tmp/anland/display_daemon.sock ANLAND=1
# For PRoot container:
export ANLAND_NO_DRM_DEVICE=1 EGL_PLATFORM=surfaceless
# For Chroot/LXC container:
export ANLAND_DRM_DEVICE=/dev/dri/renderD128
# Enable Freedreno (KGSL) driver for devices with Adreno GPU
export MESA_LOADER_DRIVER_OVERRIDE=kgsl TURNIP_KMD=kgsl GALLIUM_DRIVER=freedreno FD_FORCE_KGSL=1
rm -f $XDG_RUNTIME_DIR/wayland-* > /dev/null 2>&1
# Start the full KDE Plasma desktop
dbus-run-session startplasma-wayland
# If startplasma-wayland cannot enter the desktop normally, you can use plasmashell
dbus-run-session -- bash -lc '
printf "export DBUS_SESSION_BUS_ADDRESS=%q\n" "$DBUS_SESSION_BUS_ADDRESS" > /tmp/anland/dbus-session.env
kwin_wayland plasmashell > /dev/null 2>&1 &
sleep 2
konsole
wait
'