CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.49k stars 386 forks source link

Feature Request - Wayland on Android #1153

Open robsmith11 opened 4 years ago

robsmith11 commented 4 years ago

Describe the problem your feature request solves.

A clear and concise description of what the problem is.

VNC has a lot of overhead.

Describe the solution you'd like

A member of XDA has written a Wayland app that has very good performance. It seems to be fully accelerated. For example, playing a YouTube video in Firefox is smooth.

https://forum.xda-developers.com/android/general/wayland-server-android-t3902720

Describe alternatives you've considered

N/A

carbonatedcaffeine commented 4 years ago
  1. Android 6 or newer required, busybox required, root required

It apparently needs root. And I'm not sure if root works on UserLAnd yet. I haven't been working on this project for a while.

robsmith11 commented 4 years ago

It apparently needs root. And I'm not sure if root works on UserLAnd yet. I haven't been working on this project for a while.

The XDA post is a little unclear, but if you read farther down:

If you don't trust me and don't want to give sparkle root permissions (I perfectly understand this) you don't have to. Also you can do without busybox.

I'm currently running it on my Samsung Tab S3 with a non-root user. (The chroot was created with root, but Xwayland and Sparkle are running as non-root users.)

carbonatedcaffeine commented 4 years ago

It would seem that the chroot could have been made externally and imported in. Or the tablet had root, and was built on there. I'm not entirely sure.

robsmith11 commented 4 years ago

It would seem that the chroot could have been made externally and imported in. Or the tablet had root, and was built on there. I'm not entirely sure.

Sorry, but I don't understand your reply. I created the chroot, so I obviously used root for that, but my point was that because I'm running both Xwayland and Sparkle as non-root users, this setup should also work with proot-based UserLAnd.

carbonatedcaffeine commented 4 years ago

That makes sense...

suhan-paradkar commented 3 years ago

Well.. currently.. I am working on a fork of Termux-x11 here which uses Wayland protocol in rootless mode... If someone is interested.. they may try it out

twaik commented 1 year ago

Actually it makes some sense. There is a source of sparkle-w-2. It is possible to pass Unix socket to wayland server running in your app using Binder API as I did in Termux:X11, it will require invoking app_process, but this solution will let you run it without root.

Reyhank45 commented 1 month ago

Well.. currently.. I am working on a fork of Termux-x11 here which uses Wayland protocol in rootless mode... If someone is interested.. they may try it out

The link does not work??