Anyone Successfully Run WayDroid on Librem 5?

Did it work? It sounds like a good idea but it does not seem to actually uninstall Trebuchet on my L5… I still get the error even after a restart…

1 Like

Last time I checked the mesa in the container was too old (missing some etnaviv fixes), that was a couple of months ago - didn’t get to recheck til then.

3 Likes

OK, thanks for the feedback, I’ll test it on mobian, I guess (it seemed difficult to build it on pureos due to old packages)

1 Like

For the record, I’ve updated my configuration to stock PureOS libdrm and mesa packages, and waydroid still works. Hence my settings can be summarized with:

4 Likes

It works with Waydroid 1.3.0 as well.

2 Likes

Indeed it does, but my god is it slow. I’m guessing this is due to software rendering.
Anyone have any luck in inproving performance? Largely for me it just keeps poping up and saying that $app keeps stopping should it get closed? (It’s a bit of a strange message to parse, but I think it means the app keeps becoming unresponsive)

1 Like

Dos recently tooted this on Mastodon:

Seems to work to me.

4 Likes

I already fixed some issues seen on this video:)

Here are early and experimental instructions on how to replicate my setup: https://source.puri.sm/-/snippets/1195

When I say early and experimental, I really do mean it. You need patches in kernel, Mesa and Android image - but there’s nothing in those patches that’s inherently hacky or dirty, so I’m hopeful that it will all work out-of-box in a not so distant future:)

10 Likes

That’s pretty awesome, thanks for your work on this dos!

Are there any plans to package waydroid with PureOS in the future?

2 Likes

I don’t know whether Waydroid itself will be packaged in PureOS (it allows you to easily download images with proprietary code included), but I’m certainly interested in at least making installing it just a matter of a single deb package.

4 Likes

I not interested on Waydroid, either with .deb. I just saying…

1 Like

It offers an option to download an image with Google Apps included. I’m not interested in that one either and that would clearly be against the policies in PureOS, so this feature would sure have to go out. By default, however, it does download a FLOSS image (at least as far as I’m aware - I haven’t made a full audit of what’s included in this particular blend of LineageOS). I would still be careful with it downloading it automatically from 3rd party servers outside of our control - which is why I’m generally not interested in packaging Waydroid into PureOS at this time. Maybe once there are Replicant-based images available :wink:

5 Likes

Is something supposed to happen on the screen when tapping the “Waydroid” icon on the screen? I tried following @pini’s instructions and things appear to work, I get that icon, but then … nothing. (I waited about twenty forty minutes so far).

% journalctl -fu waydroid-container.service
-- Journal begins at Tue 2021-07-13 19:29:25 CEST. --
aoû 30 21:00:58 librem waydroid[651]: [21:00:58] Failed to add service waydroidhardware: -1
aoû 30 21:00:58 librem waydroid[651]: [21:00:58] Failed to add service waydroidhardware: -1
aoû 30 21:00:59 librem dnsmasq[17456]: Lecture de /etc/resolv.conf
aoû 30 21:00:59 librem dnsmasq[17456]: utilise le serveur de nom 10.0.0.1#53
aoû 30 21:00:59 librem dnsmasq[17456]: Lecture de /etc/resolv.conf
aoû 30 21:00:59 librem dnsmasq[17456]: utilise le serveur de nom 10.0.0.1#53
aoû 30 21:01:28 librem dnsmasq-dhcp[17456]: DHCPDISCOVER(waydroid0) 00:16:3e:f9:d3:03
aoû 30 21:01:28 librem dnsmasq-dhcp[17456]: DHCPOFFER(waydroid0) 192.168.240.112 00:16:3e:f9:d3:03
aoû 30 21:01:28 librem dnsmasq-dhcp[17456]: DHCPREQUEST(waydroid0) 192.168.240.112 00:16:3e:f9:d3:03
aoû 30 21:01:28 librem dnsmasq-dhcp[17456]: DHCPACK(waydroid0) 192.168.240.112 00:16:3e:f9:d3:03

and

% waydroid status                           
Session:        RUNNING
Container:      RUNNING
Vendor type:    MAINLINE
Session user:   purism(1000)
Wayland display:        wayland-0

That’s with waydroid 1.3.0…

2 Likes

Thanks for your work. Any tips on getting the GPS to work?

1 Like

Installation too complicated for me.
However WayDroid will become essential for me because although I use “PassCyberplus” https://file.ordi49.fr/static/pdf/Banque%20Populaire%20-%20Notice%20Pass%20Cyberplus.pdf
for my banking transactions, this one is abandoned for the Android application.

1 Like

@dos did you already submit the waydroid patches?
If so, could you link these so we can follow the progress and have an idea when it will become broadly available on the L5?

2 Likes

@dos created two merge requests, one for mesa drivers and another for linux kernel. These two merge request are already merged but not released yet.

About waydroid, @dos only modified the source of waydroid related to build the debian packages. So we can use the packages released by waydroid.

2 Likes

ok, thanks for this information!

1 Like

pureOS released @dos’s changes related to linux (v6.0.2pureos1) and mesa (v21.2.6-1pureos4) described in previous comment (Anyone Successfully Run WayDroid on Librem 5?). Do you know if waydroid was added the changes to android image (https://source.puri.sm/-/snippets/1194)?

2 Likes

@sim6 Does that mean we can sudo apt update and we can use waydroid? Not sure how to get that working…

2 Likes