Live data from Hacker News

Waydroid – Run Android containers on Ubuntu

waydro.id

151–160 of 214 posts

Re: Waydroid – Run Android containers on Ubuntu

#151
post #123
post #90

Earlier quoted context omitted.

I can understand how he ended up with that kind of accusatory tone. Existing solutions either come with severe compatibility issues(official Emulator, QEMU, etc.), or vaporwares with great demos(Project Astoria) or are really sketchy borderline malwares(rest of it - my presumptions) that does wonders.

Not just borderline. Most of the ones that can feasibly run a game for example are basically real malware.

I can run most games on the Android Studio emulator without much of an issue, though it takes a higher mid-tier system to do it.

Re: Waydroid – Run Android containers on Ubuntu

#152
post #96
post #17

Has anyone had success getting any of these containers to work with a camera? Recently, my bank discontinued their website based deposit system for checks in favor of their app. I'm reluctant to keep an app with full access to my account on my phone, so a container system like Waydroid or Anbox would be great if I could just emulate the app when I need it. Has anyone else run into this issue and, if so, how have you…

I have been trying to get my banking software to work with both Anbox and Waydroid for the last couple of days. So far I've had no success with either. I've gotten other apps to run just fine but not any related to banking. These apps are extremely picky about the environment you run them in. At least the ones I'm working with require Google Play Services, which is proprietary and have to be ripped from an Android im…

Most banking apps will require Google Play Services in order to work right. Currently, Waydroid does not offer that.

Re: Waydroid – Run Android containers on Ubuntu

#153
post #24

What's different between this and anbox (other than support, focus, etc)? How good is the 3d support, ie: Does it support a modern version of OpenGL ES? Can it process that via host hardware support (a la angle or similar)? Can it do that headlessly without an window server running on the host? Can the video output of the app be easily captured by nvenc or intel/amd equivalent? Is arm translation supported natively o…

- 3D support is using Mesa, so full GL accelleration on supported hardware (sorry nVidia, your Open-Source game sucks)

- Arm translation is on the radar, and we have solutions in the works. Just nothing ready for the masses yet.

- No Google Play Services as of yet. Some of our builds do use MicroG, Aurora Store, and other FOSS apps & open-source GMS options.

- It uses LXC, so yes, you can mount whatever is needed, we just don't have an exemplary (easy) way to do it yet.

- We are using hardware passthroughs via binder, so eventually Waydroid (Android side) will be able to access the system details available to it. Same with sensor inputs.

- We would all love to get paid, doing what we enjoy. But for this project, we are not even collecting donations yet. Money isn't what is driving this project. That's not saying that collecting donations and sponsorships aren't on our radar, just that it's not a primary focus. Open-Innovation is.

Re: Waydroid – Run Android containers on Ubuntu

#154
post #42

Earlier quoted context omitted.

Because you're running an emulator on a damnd phone!! A PHONE! Wild!

Phones have more processing power than laptops from just a few years ago. People aren't exaggerating when they call them pocket supercomputers.

The PinePhone processor and GPU are pathetic. It's not the phone people mean when they say phones are comparable in power to laptops.

Re: Waydroid – Run Android containers on Ubuntu

#155
post #96
post #17

Has anyone had success getting any of these containers to work with a camera? Recently, my bank discontinued their website based deposit system for checks in favor of their app. I'm reluctant to keep an app with full access to my account on my phone, so a container system like Waydroid or Anbox would be great if I could just emulate the app when I need it. Has anyone else run into this issue and, if so, how have you…

I have been trying to get my banking software to work with both Anbox and Waydroid for the last couple of days. So far I've had no success with either. I've gotten other apps to run just fine but not any related to banking. These apps are extremely picky about the environment you run them in. At least the ones I'm working with require Google Play Services, which is proprietary and have to be ripped from an Android im…

Perhaps banking apps refuse to run on devices which don't pass SafetyNet (which generally expects a TPM to be present, which I find appalling)?

Re: Waydroid – Run Android containers on Ubuntu

#156

Earlier quoted context omitted.

Phones have more processing power than laptops from just a few years ago. People aren't exaggerating when they call them pocket supercomputers.

The PinePhone processor and GPU are pathetic. It's not the phone people mean when they say phones are comparable in power to laptops.

Up thread some person is running and emulator/container with some not-lightweight software in it! On the Pine! Maybe "pathetic" is not the right word. It's more powerful than my first laptop (I think the comparison there is phones-now to laptops-back-then)

Re: Waydroid – Run Android containers on Ubuntu

#157
post #69

Earlier quoted context omitted.

> What's different between this and anbox I believe Waydroid was originally "anbox-halium"—a rewrite with LXC to get closer to the metal.

Why would anbox need lxc? For Ndk support? How good is it on waydroid?

LXC is needed to run the services that Android provides, for Android applications (Surfaceflinger, Audioflinger etc..)

Android ships with it's own init system that does a lot more than just starting/stopping services. And integrating those services manually into regular Linux desktop's init system would have been painful to say the least.

That's the reason Anbox runs the whole Android subsystem in it's own LXC container - to avoid having to patch the Android init system and various system libraries to load Android libraries from non AOSP paths. (Like /system/ , /vendor etc..)

From what i remember, The original Anbox used patched version of Android frameworks, that sent the application render data to the Anbox session manager running outside the container [1] , which then created the application windows and rendered it there. This was okay on desktop systems, but on mobile phones (Sailfish OS, Ubports devices) that were trying to use Anbox to provide app compatibility, this had a significant amount of overhead, that made it unusable.

Back then there was the sfdroid project, that tried to patch the Android frameworks running inside Anbox Container to directly create Wayland windows and render the applications directly (kind of like how Chrome OS used to do), instead of having the Anbox session manager do it [2,3], bringing back most of the lost performance.

From the looks of it, Waydroid seems to be doing something similar [4]

1. https://github.com/anbox/anbox/blob/master/docs/architecture... 2. https://github.com/sfdroid/anbox/ 3. https://www.youtube.com/watch?v=78N1C2-6t3I 4. https://github.com/waydroid/android_hardware_waydroid/blob/l...

Re: Waydroid – Run Android containers on Ubuntu

#158
post #24

What's different between this and anbox (other than support, focus, etc)? How good is the 3d support, ie: Does it support a modern version of OpenGL ES? Can it process that via host hardware support (a la angle or similar)? Can it do that headlessly without an window server running on the host? Can the video output of the app be easily captured by nvenc or intel/amd equivalent? Is arm translation supported natively o…

- 3D support is using Mesa, so full GL accelleration on supported hardware (sorry nVidia, your Open-Source game sucks) - Arm translation is on the radar, and we have solutions in the works. Just nothing ready for the masses yet. - No Google Play Services as of yet. Some of our builds do use MicroG, Aurora Store, and other FOSS apps & open-source GMS options. - It uses LXC, so yes, you can mount whatever is needed, we…

Awesome, very excited and will be following the project. Let me know when you have a donate button - or if you need testbeds.

Re: Waydroid – Run Android containers on Ubuntu

#159

Earlier quoted context omitted.

- 3D support is using Mesa, so full GL accelleration on supported hardware (sorry nVidia, your Open-Source game sucks) - Arm translation is on the radar, and we have solutions in the works. Just nothing ready for the masses yet. - No Google Play Services as of yet. Some of our builds do use MicroG, Aurora Store, and other FOSS apps & open-source GMS options. - It uses LXC, so yes, you can mount whatever is needed, we…

Awesome, very excited and will be following the project. Let me know when you have a donate button - or if you need testbeds.

We are working on growing our testers from just us, to a few capable users out there currently. Hit us up on Telegram or Matrix and I will try to get that group started soon.

Re: Waydroid – Run Android containers on Ubuntu

#160
Can anyone post a list of terminal commands to install Waydroid in Ubuntu 21? I'm a total Linux noob who just migrated from Windows. I got as far as: Sudo apt install python3 && curl && lxc

I don't know how to word the install for wayland session manager.

And copy pasting the.... "export DISTRO="bullseye" && \ curl https://repo.waydro.id/waydroid.gpg > /usr/share/keyrings/waydroid.gpg && \ echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" > /etc/apt/sources.list.d/waydroid.list && \ sudo apt update"

...told me permission denied to modify some files, even if I did it as "sudo".

I think once I get past that point I'll be able to type in the rest of the commands to start running it.

I think it would be lots of fun to run Android apps on a FOSS Android module. I was running LineageOS in VMWare within Windows, and it was ok.

Thanks!

Post reply on HN