ThoriumOS icon indicating copy to clipboard operation
ThoriumOS copied to clipboard

android support

Open crocer211 opened this issue 4 years ago • 6 comments

now i know this probably will never happen but i know its possible as fydeos has it and its not licensed by google i know fydeos is commercial but its probably impossible for one person to do

crocer211 avatar Mar 29 '22 13:03 crocer211

@crocer211 They actually have it open source it's called archero. I also used some things from their raspberry pi and vmware chromiumos overlays to enable widevine and to disable cros-pd (updates chromebook specific firmware)

Alex313031 avatar Mar 29 '22 22:03 Alex313031

ah well would it even be possible to add it

crocer211 avatar Mar 30 '22 00:03 crocer211

@Alex313031 There is an open source project called Waydroid which is a compatibility layer for Android apps, but only works on Wayland (as the name suggests) and Chromium OS doesn't use Wayland as far i known. Waydroid is a Anbox fork that improves a lot of things from the original project. Archeros should rebase their Anbox implementation to Waydroid. I would recommend you check it out, i don't know how difficult it would be to implement it on Chromium OS.

Renkoto avatar Apr 09 '22 05:04 Renkoto

@Renkoto Quite difficult. Because chromiumos doesn't use wayland anywhere, packages actually specifically disable it. And there are alot of dbus restrictions. And anbox/waydroid use ashmem and binder kernel modules, which are out of tree, and the kernel config for chromiumos disallows out of tree modules, so they would have to be compiled into the kernel.

Alex313031 avatar Apr 09 '22 08:04 Alex313031

@Alex313031 Waydroid latest builds no longer requires ashmen module, it still requires binderfs to satisfy binder needs tho. So there seem to be efforts to get Waydroid run on a mainline kernel. Waydroid is still in active development, the biggest hurdle now is ARM emulation, because the existing translation layers are proprietary and there are no alternatives.

Renkoto avatar Apr 09 '22 16:04 Renkoto

@Renkoto Quite difficult. Because chromiumos doesn't use wayland anywhere, packages actually specifically disable it. And there are alot of dbus restrictions. And anbox/waydroid use ashmem and binder kernel modules, which are out of tree, and the kernel config for chromiumos disallows out of tree modules, so they would have to be compiled into the kernel.

Isn't wayland used now that lacros is used by default? https://chromium.googlesource.com/chromium/src/+/main/docs/lacros.md

yavko avatar Oct 23 '23 20:10 yavko