Live data from Hacker News

Waydroid – Run Android containers on Ubuntu

waydro.id

181–190 of 214 posts

Re: Waydroid – Run Android containers on Ubuntu

#181

Earlier quoted context omitted.

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

Try this command (sudo is needed only for writing files):

  DISTRO="focal"

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

  echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" | sudo tee /etc/apt/sources.list.d/waydroid.list

  sudo apt update
  sudo apt install waydroid

Re: Waydroid – Run Android containers on Ubuntu

#182

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.

Thanks for clarifying, I haven’t seen it previously.

Re: Waydroid – Run Android containers on Ubuntu

#183
post #181

Earlier quoted context omitted.

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

Try this command (sudo is needed only for writing files): DISTRO="focal" sudo curl https://repo.waydro.id/waydroid.gpg -o /usr/share/keyrings/waydroid.gpg echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" | sudo tee /etc/apt/sources.list.d/waydroid.list sudo apt update sudo apt install waydroid

this worked for me, thank you very much potyl!

Re: Waydroid – Run Android containers on Ubuntu

#184
post #173

Earlier quoted context omitted.

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

Do you have a taobao link for Google trusted TPM chips in reel?

Re: Waydroid – Run Android containers on Ubuntu

#185

Earlier quoted context omitted.

If you think that Pinephone is slow, try a less cluttered OS ( https://sxmo.org ), or consider Librem 5 instead.

...or wait for the fxtec to ship. If I'm going to have a command line on my phone, I want a keyboard.

Looks a lot like the planet Astro Slide but with a worse keyboard?

Re: Waydroid – Run Android containers on Ubuntu

#187
post #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 . 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 pla…

I don't see where it creates the incentive to lock down firmware. Any examples? For example, in Librem 5, you can still upgrade the firmware for modem and WiFi: https://source.puri.sm/Librem5/community-wiki/-/wikis/Freque....

Documentation would be great of course anyway.

Re: Waydroid – Run Android containers on Ubuntu

#188
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.

Most phones don't have iPhone class CPUs.

Re: Waydroid – Run Android containers on Ubuntu

#189

Earlier quoted context omitted.

Unfortunately I'm still getting: "bash: /etc/apt/sources.list.d/waydroid.list: Permission denied"

Try "sudo" before the command that failed. I think it will become: "export DISTRO="bullseye" && 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"

That command won't work because the lrrmjddkkn problem stems from the redirection to a file. Running curl as root doesn't elevate the shell and therefore won't give you write access to /usr/share.

I don't understand why developers don't just use the output flag of curl instead of using file redirections like this. sudo curl -o [...] would've prevented all of that, instead of relying on someone being logged in as root (which is a terrible security practice I thought we as Linux users have been over already). I have to replace I/O redirections with sudo tee way too often, and it's impossible for any Linux beginner to understand what's going on here.

Re: Waydroid – Run Android containers on Ubuntu

#190
post #45
post #42

Earlier quoted context omitted.

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

Well it is a container rather than an emulator. Maybe some parts are emulated, like opengl, but I believe waydroid is a lot "closer to the metal" than anbox is.

so is there any virtualization or not? what kind of container technology is this?
Post reply on HN