Waydroid port?

The WayDroid project is an open-source container-based solution which allows users to run the full Android operating system inside Linux.

From their faq:

“Waydroid uses Linux namespaces (user, pid, uts, net, mount, ipc) to run a full Android system in a container and provide Android applications on any GNU/Linux-based platform.”

It depends on way too many linux-only features, so don’t hold your breath.

That being said, would it be possible to have some form of Android compatibility in Haiku? Android userspace is mostly a mix of legally-not-Java, Kotlin, Dart, and some native code, It also shares some technologies with BeOS/Haiku, most notably Binder.

You can run android-x86 on Haiku using QEMU for example.


Sure, but that’s emulation. Was thinking of something closer to a compatibility layer.

Possible, yes. But not easy. modern android isnt that much just vm code anymore but compiled for the platform, shipping as ART code to be compiled. we would need a compiler for ut aswell as implement a huge kiad of features.

qemu ir qemu user is easier certainly

I see. I was thinking Haiku had many of those Linux/posix features already.

Binder is not shared with Haiku. It was developped by BeOS developers but never made it into a BeOS release. So, it’s related, but not shared.

1 Like

After a quick look at the WayDroid web site, it seems to talk to kernel devices almost directly which seems logical since Android kernel is still very close to linux. So, WayDroid would need way more than simple posix compatibility.