An interesting development:
@amarok, this is cool. Can you try installing MS Word or MS Excel on your Librem 5 and report the performance. I tried it on Anbox on PureOS on VirtualBox, had enough CPU and Memory to the VM but it wasnât very smooth.
Um⌠No.
They are not going to spy on you
Maybe, but there is open source alternatives, people who buy L14âs and/or L5âs are most likely be in the camp of âif it isnât open source I donât want it.â
Did you check their source code?
Also, even if they donât spy (which we donât know. Windows 10 definitely spies), they are fundamentally unfair to the user: https://www.gnu.org/philosophy/free-sw.html.
In any case, I donât have (or want) access to Windows software.
I was referring to more of getting the freely available packages from Android store and trying it out with WayDroid on your Librem 5
Just for information, I think that @buzzLightyear is referring to the Android apps of MS Word and Excel which are not Windows software. Having said that, I might have doubts about installing them myself if I had received my L5.
I would be interested in a technically-knowledgeable analysis of the privacy implications of using these kinds of apps under WayDroid though. Does the use of the underlying kernel in a container environment create new opportunities for extracting information from the host environment, as compared to Anbox, for example?
Ah, OK, but I donât use G gleâs store, even on my Android devices.
I know I could install Aurora store, but I still wouldnât want to do that on my L5.
I could not find a good high-level technical overview of the differences between Anbox and WayDroid. None of the articles about it seem to be written from a position of deep understanding. From what I can gather it seems as though Anbox has the advantage of isolating the Android apps from the host system, whereas WayDroid sacrifices that in favour of increased performance and tighter integration.
So, Iâm thinking are use cases where WayDroid would be better, and other use cases where Anbox continues to be the best option. Is this correct?
Some of the writing on the topic seems to imply that they are loading the host systemâs UI within some kind of container within WayDroid? That sounds pretty drastic.
Hi, that sounds good. Did someone try to install âSignalâ (for Android) with WayDroid on the L5?
This App is important for me.
Regards
I had a quick look at WayDroid and it looks like both are running in pretty much the same way - launching Android inside a LXC container. The difference comes from how it communicates with the external world.
It seems like Anbox mostly re-uses code used to support GPU acceleration on Android emulator, piping GL context back to the host, which is then used by Anbox to display it using SDL. Most Anbox specific stuff seems to be related to multi-window support (which I havenât seen anywhere in WayDroid).
WayDroid however goes a different way - the host part is very minimal (you just launch the container and are pretty much done with it), however, a Wayland (and PulseAudio) client is implemented inside the container in the Android part, so it just connects to hostâs display server and shows the image.
It doesnât seem like there are any advantages when it comes to isolation in either of them. Both utilize the exact same technology to put Android into a container. Sounds like Anboxâs approach could theoretically be used in a more hardened solution, but at this point itâs purely theoretical as neither of these projects really focus on security and isolation.
Canât this be hardened for each application ? what about multitasking (whatever it means) is container context shared among apps ?
Thatâs up to the user. You should be able to run multiple containers with both Anbox and WayDroid. The way people usually use them is with a single shared container though.
(and by a âuserâ I mean a âuser whoâs willing to patch it up a littleâ :D)
Iâm guessing you figured this out by reading the sources. In which case: Thank you for putting in the work to summarise it for us. Itâs pretty interesting. WayDroid makes a lot more sense now that youâve explained it.
For some reason, I had reached the conclusion they were running a Wayland server inside the container, rather than a client, so that apps on the host would have to connect into the container to display a GUI! Which is why I said âThat sounds pretty drasticâ!
Armed with the knowledge that both use LXC, I realise I also misunderstood the following statement from the Linux Smartphones article:
Unlike a typical emulator, WayDroid uses the same kernel as the host operating system, allowing the Android apps to interact with a deviceâs hardware almost as if they were native apps
On first reading I took it to be a comparison of WayDroid against Anbox, with Anbox being considered a âtypical emulatorâ for the purposes of the comparison. But clearly this statement actually applies to both WayDroid and Anbox, compared against unspecified other âtypical emulatorsâ, which would include virtual machines running Android.
This is what I get for skim-reading.
Only for the record: