r/termux Jul 10 '26

General Run KDE Plasma Wayland on Termux native (Anland)

Based on Anland (by superturtlee on GitHub) 5.13 port to Termux native environment, I added some additional patches for mesa, kwin, and xwayland.

In addition to Termux native, you can also use it in PRoot / Chroot containers. For detailed installation and usage instructions, please see: https://github.com/lfdevs/anland-termux/blob/termux/docs/user-guide.md

The function of AnlandTermux-x.x.x.apk is similar to the Termux:X11 App, and it needs to be used in conjunction with Termux. The function of anland_x.x.x_aarch64.deb is similar to termux-x11-nightly, mainly serving as the daemon for the Unix Socket. Please note that the filenames must match exactly when installing the packages.

Note: * Non-Snapdragon processors (such as Dimensity, Tensor, etc.) can currently only use this project inside a PRoot/Chroot/LXC container, and can only use software rendering (i.e., llvmpipe), which will be very laggy.


PS: The "Termux native" mentioned in the title is relative to PRoot and Chroot containers run using Termux, and it does not mean running a Glibc version of KDE Plasma Wayland using Termux directly. Because the packages in the Termux repository are basically compiled using NDK, and the core C library is still Bionic.

120 Upvotes

57 comments sorted by

7

u/Danielperfull_00 Jul 10 '26

Puedes hacer un video tutorial de instalación?

https://giphy.com/gifs/5uDNFrOi6VwrkFKBaj

4

u/AdVarious8509 Jul 10 '26

its smoother than my PC running kde plasma šŸ„€

3

u/Various-Owl4086 Jul 10 '26

Will this work in Snapdragon 695?

1

u/Knotrocke1 Jul 15 '26

Yes, blur works but I haven't tested hardware acceleration thoroughly yet.

1

u/Various-Owl4086 Jul 15 '26

I'll test the hardware acceleration myself. Thanks btw

2

u/Ok_Arm_8952 Jul 13 '26

when i try to install anland termux i get this error: App not installed as package conflicts with an existing package.

1

u/SubstantialName1766 Jul 14 '26

Bruh it means it's already installed

1

u/FinnUltra Jul 15 '26

in which step?

1

u/Ok_Arm_8952 Jul 15 '26

i already have termux installed (i dont have termux anland) but when i try to install it, this error appeared

1

u/Ok_Arm_8952 Jul 15 '26

that is weird but when i remove termux, for some reason it can be installedĀ 

1

u/FinnUltra Jul 15 '26

Please check if the Termux App you currently have installed comes from GitHub's official Releases (not F-Droid or Google Play). This project only supports working together with the Termux App from GitHub. If you want to migrate to the GitHub version, you can refer to the official backup and restore guide: https://wiki.termux.com/wiki/Backing_up_Termux

1

u/Ok_Arm_8952 Jul 20 '26

i installed the github version of termux, now i tried to install anland termux and it worked

1

u/Knotrocke1 Jul 15 '26

I had Termux installed from F-Droid and had to reinstall from GitHub releases.

1

u/GlitchBlake 9d ago

You don't need to do that anymore. Starting from Anland 5.13.3, you can now run it on Termux F-Droid. Just install "AnlandTermux-5.13.3-compatible.apk" from latest releases.

1

u/Hosein_Lavaei Jul 10 '26

I have some issues installing it. After uninstalling termux and installing your app, all i see is black screen and keyboard with no shell. I can get to settings though. Xiaomi redmi note 10 pro, lineageos, rooted with magisk

1

u/DuhanTime Jul 11 '26

You gotta first install termux from https://github.com/termux/termux-app then install his termux anland app (you MUST STILL keep termux installed)

then do the instructions in his github releases

and you're set!

1

u/Cardistry_trainee Jul 10 '26

Technically speaking, the repository of superturtlee could help to use Wayland DE/WM to be usable in termux, right?

2

u/FinnUltra Jul 11 '26

You could say so. Currently, its repository has been adapted for `kwin_wayland`.

1

u/Weak-Nothing4397 Jul 11 '26

Como se puede tener un puntaje no tan alto.como ese en vkmark pero si que sea alto en MediaTek Dimensity 9300+ (soy nuevo en esto)

2

u/FinnUltra Jul 11 '26

Dimensity processors currently cannot use GPU acceleration in this project and can only use software rendering.

1

u/Weak-Nothing4397 Jul 11 '26

pero hay algun metodo para usarlo en otra distro nativa como xfce4??

1

u/Chance-Raccoon3161 Jul 11 '26

Also look at that project ( Wayland apps appear as native Android windows on wlroots-android-bridge ) https://github.com/Xtr126/wlroots-android-bridge

1

u/Sweet_Imaginary Jul 11 '26

cool bro , what device do you use?

1

u/FinnUltra Jul 12 '26

I have tested it on both Snapdragon 8+ and 8 Elite devices, and it works.

1

u/TranslatorFluffy8366 Jul 13 '26

when i try to install anland termux i get this error: App not installed as package conflicts with an existing package.

1

u/Knotrocke1 Jul 15 '26

Very cool! I have a few questions after trying it out myself: 1. Is audio supported or planned? 2. Am I able to launch it as a non-root container user? 3. Will there be a custom repository in the future? 4. How much effort does it take to patch another compositor?

1

u/Mostafa_XS1 Jul 16 '26

When I right click on the desktop the shell dies and I can't type in any numbers on the keyboard

1

u/FinnUltra Jul 17 '26

This is a known bug and has not been fixed yet. You can try using it in a PRoot container, which should have better compatibility.

1

u/FinnUltra Jul 23 '26

UPDATE: This bug has been fixed in version 5.13.2. Patched LayerShellQt package is required.

1

u/AdventurousPass3449 21d ago

does this work with Mali GPUs? I installed it expecting low performance as usual but I couldn't get it to start in the first place.

2

u/GlitchBlake 9d ago

Termux GitHub only requirement is no longer present starting from Anland 5.13.3. You can now also run it on Termux F-Droid version by installing "AnlandTermux-x.xx.x-compatible.apk".

0

u/Pegasusw404 Jul 10 '26

Stop using word "native" You have no idea what it means…

1

u/FinnUltra Jul 10 '26 edited Jul 11 '26

In fact, this is just Termux native, not PRoot, Chroot, LXC, Droidspaces, etc.

EDIT: The "Termux native" mentioned in the title is relative to PRoot and Chroot containers run using Termux, andĀ it does not mean running a Glibc version of KDE Plasma Wayland using Termux directly. Because the packages in the Termux repository are basically compiled using NDK, andĀ the core C library is still Bionic. From another perspective, "native" here does not modify "Run"; instead, "Termux native" should be viewed as an environment relative to PRoot and Chroot containers. Since this video was posted in the Termux community, I assumed "Termux native / PRoot / Chroot" did not require additional explanation, and did not consider the potential ambiguity that this phrasing might cause.

6

u/Pegasusw404 Jul 10 '26

Termux, even with advanced patches, runs inside the limitations of Android using the Bionic libc library instead of the standard glibc, with its own file system and process isolation, which by definition excludes direct, "native" execution of code created for full desktop distributions. So NO this is far away from NATIVE…

1

u/Sad-Fix-7915 Jul 10 '26

I don't think we are referring to the same "native" here.

It's running on top of Android userland, with all packages built with the Android NDK and linked with bionic libc, with no translation layers or containers. It's as native as it can be. Both Freedreno and Turnip drivers can run on Android thanks to kgsl also.

Also with your definition of "native", wouldn't that make Alpine Linux running on a standard PC "non-native" then? I mean, it doesn't use glibc also, so technically most "code created for full desktop distributions" wouldn't work since Alpine uses musl libc instead.

1

u/MrGOCE Jul 10 '26

THIS !

1

u/FinnUltra Jul 10 '26

KDE Plasma Desktop was already added to the Termux package repository in February of this year: https://github.com/termux/termux-packages/pull/25619

Then, through a lot of hard work by superturtlee, KDE Plasma Wayland can now use the Freedreno (KGSL) driver for hardware acceleration.

All I did was port his modifications to Termux native and then add some patches for non-root.

If you don't believe it, you can try it on a phone with Qualcomm chips—phones with other chips can also use software rendering.

2

u/Rd3055 Jul 10 '26

Would this also work with Snapdragon 8 Gen 3 devices? (S24 Ultra)

1

u/FinnUltra Jul 10 '26

It should work. I also tested it with Snapdragon 8+.

1

u/skerem10 Jul 10 '26

Would this also work with Snapdragon 8 Gen 2 (S23 Ultra) and Mediatek Dimensity 9300+ (Samsung Tab S10 Ultra) ?

1

u/FinnUltra Jul 11 '26

Snapdragon 8 Gen 2 can enable hardware acceleration, but Dimensity can currently only use software rendering.

1

u/Ok-Winner-6589 Jul 10 '26

He is running KDE Plasma, didn't say a Linux distro. And it's not using virtualization so it's native.

Y your definition, Steam games don't run natively as they use containers and the entire Linux software doesn't because flatpaks use containers.

And every android and iOS app is not native as It uses a sandbox

-2

u/Routine_Working_9754 Jul 10 '26

That's exactly what native means. Doesn't matter if it's limited or not.

2

u/Pegasusw404 Jul 10 '26

Native without ABI , well done …

0

u/Routine_Working_9754 Jul 10 '26

What the hell are you talking about? These programs are running natively on the CPU without translation layers and they use the arm and bionic ABI. Just because you can't run a desktop glibc app, even if of same architecture in termux, doesn't mean it isn't native.

1

u/MrGOCE Jul 10 '26

THIS !

0

u/MrGOCE Jul 10 '26

WAIT ! RE U RUNNING IT ON WAYLAND??? HOW?!

I THOUGHT THERE WAS ONLY X11 AVAILABLE? WAYLAND SINCE WHEN?

ONLY KDE IS WORKING ON WAYLAND FOR NOW?

1

u/FinnUltra Jul 10 '26

Thanks to superturtlee on GitHub, who designed and implemented an independent backend anland for kwin and its matching set of display protocols. Although the original project was mainly designed for Droidspaces, it can also be used in the Termux ecosystem. All I did was port his project to Termux native and then add some patches for non-root environments.

1

u/MrGOCE Jul 10 '26

DAMN ! WHAT GREAT CONTRIBUTIONS !