198
submitted 7 months ago by mfat@lemdro.id to c/linux@lemmy.ml

I used to hate android emulators, since the ones I'd tested on Windows were ad-ridden, slow bloatware.

The other day I needed to run an android app on Fedora 40.

I tried Waydroid and it worked very well. The app ran supersmooth as if it was running natively.

Also the cli syntax was very sane an user friendly.

waydroid app install|run|list ...

So if you need an Android app on linux the experience might be better than what you think it would be.

you are viewing a single comment's thread
view the rest of the comments
[-] CCF_100@sh.itjust.works 44 points 7 months ago

The app ran super smooth as if it was running natively

That's because it is native! Waydroid runs an android container on top of your existing kernel. You will notice that you can even see the Android processes while running Waydroid in a top utility.

[-] kevincox@lemmy.ml 10 points 7 months ago

Although the Android kernel is slightly customized isn't it? I thought it exposed a few extra syscalls. How do these work on Waydroid?

[-] CCF_100@sh.itjust.works 13 points 7 months ago

https://wiki.archlinux.org/title/Waydroid#Kernel_Modules

You must use a kernel with the android-specific modules compiled in, or use the binder_linux-dkms module. I've noticed using a kernel with them built in is generally easier to get working.

[-] Quackdoc@lemmy.world 7 points 7 months ago

some android kernels are, but AOSP itself can run perfectly happy on a vanilla kernel, just make sure your kernel was compilled with BINDER enabled, which yes, is upstream

this post was submitted on 11 May 2024
198 points (100.0% liked)

Linux

48687 readers
282 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS