Live data from Hacker News

Waydroid – Run Android containers on Ubuntu

waydro.id

171–180 of 214 posts

Re: Waydroid – Run Android containers on Ubuntu

#171

Earlier quoted context omitted.

You are not pasting the command I typed. Look with attention.

sorry, I'm just not getting it. After typing: export DISTRO="bullseye" I do the sudo curl....waydroing.gpg and it gives me the permission denied thing. I also tried with "focal" and yielded the same result. Maybe I'll leave the project for now until I get a better grasp of the terminal.

Try one command at a time:

export DISTRO="focal"

sudo curl https://repo.waydro.id/waydroid.gpg > /usr/share/keyrings/waydroid.gpg

sudo 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

Re: Waydroid – Run Android containers on Ubuntu

#172

Earlier quoted context omitted.

You are not pasting the command I typed. Look with attention.

sorry, I'm just not getting it. After typing: export DISTRO="bullseye" I do the sudo curl....waydroing.gpg and it gives me the permission denied thing. I also tried with "focal" and yielded the same result. Maybe I'll leave the project for now until I get a better grasp of the terminal.

When invoking `sudo`, you're escalating privileges on the command followed but that doesn't apply to the redirection of output (`>`). So it's saying permission denied to write to the files. You'll need to do something like `curl | sudo tee /path/to/file`. Same with `echo`.

Re: Waydroid – Run Android containers on Ubuntu

#173
post #96

Earlier quoted context omitted.

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)?

Possibly very stupid question ahead: Can't the TPM be emulated?

Re: Waydroid – Run Android containers on Ubuntu

#174

I do not know why they do not give credits, nor mention that they use LXC behind the scenes [1]. [1] https://github.com/waydroid/waydroid/blob/bullseye/tools/hel...

We figured mentioning it in the docs under dependencies was enough ( https://docs.waydro.id/usage/install-on-desktops ). We will add it to the website instructions as well then to make things more clear.

Have you considered adding support for other container systems like systemd-nspawn or Kata Containers?

Re: Waydroid – Run Android containers on Ubuntu

#175

Doubts: - Is it better/faster/more compatible than anbox? - Runs on ARM? - Does it allows me to watch DRM streaming services on my linux box? - Can I install google play on it?

What streaming service doesn't work on FF ESR on Linux? Netflix and prime and Pluto do, at least. That's all I use, so I am curious. I don't stream anything else, no Roku or Android-tv or whatever.

4k Netflix doesn't work on Linux, and also downloading for offline viewing, but I think those only work on Windows with HDCP enabled.

Re: Waydroid – Run Android containers on Ubuntu

#176

Earlier quoted context omitted.

> I couldn't find "FSF did not certify the phone, because they did not receive the units yet" in the links you posted. Just below the picture of the phone, first sentence: While we're still waiting to get our hands on one, this device looks promising : https://www.fsf.org/givingguide/v11 . > These maneuvers around memory and hdmi look more like cheating to me. Why does it matter to you that a secondary CPU which has…

> > I couldn't find "FSF did not certify the phone, because they did not receive the units yet" in the links you posted. > Just below the picture of the phone, first sentence: While we're still waiting to get our hands on one, this device looks promising: https://www.fsf.org/givingguide/v11 . I'd still argue that it is a bit different from "FSF did not certify the phone, because they did not receive the units yet". >…

The "secondary processor exception" is abhorrent, it creates a perverse incentive for vendors who seek RYF to lock down firmware instead of leaving it open to reverse engineering and reimplementation by the community.

A better approach would be to require public documentation of which components are proprietary (for all processor ISAs, processors, other hardware, all firmware and all software) and what roles they play.

Re: Waydroid – Run Android containers on Ubuntu

#177
post #156

Earlier quoted context omitted.

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)

> Performance is quite comparable to Anbox on the same device.

I had a PinePhone. The performance of Anbox on it was slow, and apps were rendered at a low resolution and scaled up using bilinear scaling. And I had to configure zram/zswap (which was a good idea regardless of using Anbox or not), because otherwise the 1 gigabyte of RAM wasn't enough to fit Linux and Anbox, and Anbox would terminate from merely poking around in the settings app and trying to login to MicroG or something.

I hope that the scaling (and performance?) is fixed in Anbox, and that Waydroid performs faster than Anbox and uses less RAM. But I no longer have a functioning PinePhone to test further on.

I watched https://www.youtube.com/watch?v=bG0uAQqeqW4. Scrolling through the recent apps list has both a high latency and low frame rate (and PinePhone-native UIs like GTK Phosh and Plasma Mobile are not really better). And the gameplay had 150 or more milliseconds of latency between touch input and the screen responding, which is awful.

> It's more powerful than my first laptop

This speaks to how unoptimized and GPU-dependent today's software is (Xfce on a dual-core ULV Intel-based laptop from 2016 is more responsive than KDE Plasma on that laptop or a Zen 3 desktop PC, admittedly with a crappy GPU), and perhaps how today's screens are higher-resolution than old laptops.

> I think the comparison there is phones-now to laptops-back-then

The comparison is with "laptops from just a few years ago". My old laptop runs circles around my PinePhone, though I won't say it's better than good phones of today.

Re: Waydroid – Run Android containers on Ubuntu

#179
post #173

Earlier quoted context omitted.

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)?

Possibly very stupid question ahead: Can't the TPM be emulated?

I think TPMs are designed such that Google only trusts TPMs with private keys inaccessible to users (and bank account stealers, and Netflix downloaders), and which follow the instructions of your bank or Netflix (not the instructions of the user).

Re: Waydroid – Run Android containers on Ubuntu

#180

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/s…

instead of export DISTRO=.... use: export DISTRO=`grep DISTRIB_CODENAME /etc/lsb-release |awk -F= '{print $2}'`
Post reply on HN