WayDroid on SFOS?

The May Image is working on sailfish os but the Image updated in July dont work at all. Logcat is showing some error in opening launcher , as there is no update to chum repo package will downloading waydroid from git to /opt/waydroid work?

1 Like

i think it should be possible to define which image to load in waydroid init, only i did not find the proper channel etc.

1 Like

You can download an older image, unzip it and use it

how do you do it?

I tried to go to sourceforce, download the imatge vendor & system, and replace it on my sailfish here: “/var/lib/waydroid/images” But still is not working.

Thanks!

you have to unzip the images and follow Using custom Waydroid images - Waydroid

That way, I have been able to use May '22 images.

THANKS!

I redownload the images, and now seems working, only that I saw one problem, I’ve got a popup saying trebuchet keeps stopping, and I cannot do anything to leave, force close or app info ends with the same popup again

Try to rm -rf /home/defaultuser/.local/share/waydroid . See also discussion at Waydroid quirks · Issue #1 · sailfish-on-fxtecpro1/droid-config-halium-qx1050 · GitHub

Yes, now it works! I was looking, because I saw it was permission… Now I’ve got an android inside sailfish!

1 Like

One question, is there some way to share a folder between waydroid and sailfish? maybe some config in lxc?

Thanks!

2 Likes

Latets waydroid arm64 images work again with Sailfish. Work was recently added to support our old compositor, and that is now in the released december images. (halium 11)

8 Likes

I’m new to sailfish. Installed it on an XZ2 compact as per XDA thread. Added CHUM repo as per github readme. Unable to install waydroid however. Error message (in dutch)

Blockquote

Fatale fout: niets levert ‘/usr/bib/make’ nodig voor het te installeren waydroid-1.3.3+git3-1.8.1.jolla.noarch

What am I doing wrong?

I installed waydroid in the terminal with the following commands on gemini:

devel-su pkcon refresh
devel-su pkcon install waydroid-runner

however, since my device doesnt have the missing kernel modules I got an error after running:

devel-su waydroid init

I got error messages I could search online.

did you get chum from here: https://chumrpm.netlify.app/ ?

Hi jbj, yes I did get chum from that link

I think I also got errors when installing from chum the first time, but honestly cant remember what made the difference :frowning: did you try both waydroid and waydroid runner?

maybe give it a try from the commandline as well in the hope for more precise error message.

good luck!

1 Like

and

seemed to have worked all of a sudden? Waydroid is installed. Now for some android apps

Big thanks jbj!!

2 Likes

failed to get service waydroidplatform, trying again…

well at least you got further than me. Did you have to set up ashmem and binder by yourself?

No I didn’t. I found this But that didn’t help.

I’m maybe gonna try to install wayland as explained in that post, but I’m not hopeful.

FYI, here’s what I get so far:

[defaultuser@xperiaXZ2Compact ~]$ waydroid-runner
[D] unknown:0 - Using Wayland-EGL
library “libGLESv2_adreno.so” not found
library “eglSubDriverAndroid.so” not found
Wayland socket: …/…/display/wayland-1
[D] onCompleted:580 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[D] expression for onStatusChanged:110 - Status: 1 Starting Android session
[Session] [19:20:26] XDG Session is not “wayland”
[Session] [19:20:28] Failed to start Clipboard manager service, check logs
[D] unknown:0 - Current Wayland socket: “…/…/display/wayland-1”
[D] expression for onStatusChanged:110 - Status: 2 Waiting for Android UI
[FullUI] [19:20:29] Failed to get service waydroidplatform, trying again…

The last line keeps on repeating itself, until I close waydroid-runner
I’ll keep you informed

1 Like

You have to install packages from Chum - waydroid and waydroid-runner. Then install from terminal -
devel-su
zypper in waydroid-gbinder-config-hybris
cd /etc/gbinder.d
vi anbox-hybris.conf
Change aidl2 to aidl3
Save file.
waydroid init
Than reboot and start waydroid

3 Likes