Just a little bit curious, maybe someone has more in depth knowledge about that:
Is it correct that the Waydroid approach was just prioritized over Anbox because it worked better for now?
I mean that Waydroid ships a whole Android and starts that before opening any app whereas Anbox works with containerization (which should consume much less resources, save battery, etc.)
Doesn’t drain Waydroid much more battery? Is Anbox still some option for the future or is there no plan to use that someday?
Anbox and Waydroid work in essentially the same way. Where they differ is how they get the graphics out onto the screen - Anbox uses APIs used by Android’s virtual machine (goldfish), while Waydroid implements a Wayland client inside the Android image. Both run an LXC container with a full Android system (Anbox’s default images seem to be quite stripped out compared to Waydroid’s ones though).
A big shout of thanks to everyone on this thread. thanks to @weirdnerd for starting it, and especially @dos for the backend work and instructions.
the instructions worked great for me. I"ve got waydroid installed and running. I’m impressed by the performance, very responsive. In particular, @dos thanks for the tips on freezing and resuming! that really makes it easy to manage the power consumption!
I’m testing use of waydroid for email clients like protonmail and tutanota, as well as signal. At this point, I got them all running and their responsiveness is nice. I’ll have to see how notifications work. With signal, it won’t be for audio/video calls obviously since there is no access to those devices. But, my family uses signal, so chatting is helpful. I was able to do a backup/restore, from my android phone and that worked well.
@dos, one question about file exchange. Is there an easy and secure way to share a file between L5 and waydroid? I saw what you mentioned for installing privileged apps with /var/lib/waydroid/overlay but, can that work for file exchange? can I access that location from within waydroid? I’m asking because if I get an email attachment using a protonmail app, in WD, I’d like to use the L5 tools to work with the file. and vice versa. To get my Signal backup file into WD, I had to put the file in a cloud location, then access it from the browser. wondering if there is an easier way to do this?
Overlays are meant for modifying system images. While they can be used for data sharing, it’s a massive overkill
Use adb connect as described in the guide and simply move files around via adb like you would with a regular Android phone with adb push / adb pull. You can also access the data partition directly in ~/.local/share/waydroid/data/, but you’ll have to be careful about file permissions there.
Hi All, today there were new images (system and vendor) available and i updated then unfortunately. waydroid stopped working had to delete the images and redownload images it gave some glitches
(resolution changed and spacebar was missing from android keyboard) was fixed after reboot.
First of all, I switched from PureOS to postmarketOS (phosh). PureOS regularly crashed (bootloop) and with postmarketOS I have no problems with that. For me, pmOS is therefore more stable than PureOS. By the way, I put pmOS on the Librem 5 using pmbootstrap (1). The pmOS website contains a description of how you can install Waydroid (using the terminal) (2).
Gamechanger. No longer use my Android phone and solely using my Librem 5 now. Thanks for everyone involved who contributed to this. This takes a huge burden off of carrying two phones around. I noticed this thread a few months ago but I had tried Anbox back when I first received my Librem5 in summer. Waydroid is definitely a plus and if there’s no internet connection in android I just restart the container.