Live data from Hacker News

Waydroid – Run Android containers on Ubuntu

waydro.id

51–60 of 214 posts

Re: Waydroid – Run Android containers on Ubuntu

#51

Earlier quoted context omitted.

BBB requires non-free drivers for the GPU, which are a huge PITA even if you don't mind them being non-free. You would end up with more-or-less a Nokia N9 clone. It's better to use something like i.MX 8M Quad - you may want to take a look at the Librem 5; or if you want something lower-end than that then there's also the PinePhone which is based on A64.

i.MX still needs binary blobs. I think the only ARM SBC today that can run blob-free today is Radxa's Rock pi 4.

Why only that particular rk3399 board? My rock64 runs blob free, as I would imagine most rk3328 boards do. The rk3399 type c port does require a blob, but I guess that is optional and boards without the USB3 type c port do not need it. Other than that the only blob I need for my PBP is for the broadcom WiFi modem. Are there any ac WiFi modems that work without blobs? I have only seen the ath9k chipsets which top out at 802.11n

With that said, I worry an rk3399 would run hot in a phone. Hopefully the thermals on the rk3588 are better. But rockchip is dedicating die space to a poorly supported "neural processing unit" now, so we will have to see.

Re: Waydroid – Run Android containers on Ubuntu

#52

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.

None on ARM. Google never offered widevine to Firefox on ARM64.

Re: Waydroid – Run Android containers on Ubuntu

#53
I wish I could setup waydroid on Raspberry Pi so that I can finally use hotstar/primevideo and netflix on my dumb tv.

I had bought firestick in past that is now stuck on boot loop for over a year. I have decided not buy these sticks or smart TV where I have little to no control over Software.

Re: Waydroid – Run Android containers on Ubuntu

#54

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?

Waydroid has Android use your actual Linux kernel, so on an x86-64 host you’ll run x86-64 Android, and on an ARM host, ARM Android. This means that there will be some apps that won’t run on your Intel/AMD computer. I have no idea at all how common it is for Android apps to be tied to ARM, but I imagine that ARM64 will have helped with architecture-neutrality.

> This means that there will be some apps that won’t run on your Intel/AMD computer.

Should be able to still run them if you use binfmt_misc. Of course it will be slower but it's possible.

Re: Waydroid – Run Android containers on Ubuntu

#55

Followed instructions for 21.04 (distro = "hirsute"), greeted with complaint about binder missing. Found some bug report on the web suggesting I must rebuild my kernel to enable binder. Noped out of there. Looks like a nice effort though. Is this some problem specific to 21.04 kernel config?

I have seen an error like that with anbox before, but it was not on Ubuntu. I just had to mount the binderfs and it stopped complaining. Might be worth a try:

    mount -t binder binder /dev/binderfs
https://brauner.github.io/2019/01/09/android-binderfs.html

Re: Waydroid – Run Android containers on Ubuntu

#56
post #30
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…

FWIW/out of curiosity, I just tried poking the emulator that comes with Android Studio, and found an option (under "advanced settings") to route the emulated front or back camera to "Webcam0". This is out of the box on Debian. While definitely a heavyweight approach (yay, installing all of Android Studio - but you also install an update tool), I can confirm it works. (And you can fish out and save the qemu invocation…

The emulator is part of the android SDK so you don't need to install the full IDE if all you need is the emulator. You can just install the Android SDK standalone and use that to install additional images and start/stop devices.

Re: Waydroid – Run Android containers on Ubuntu

#57
post #43
post #35

Earlier quoted context omitted.

If the app doesn't use any native libraries, it should be able to run on any architecture. Otherwise, I don't think you'll find many developers shipping x86/x86_64 binaries nowadays considering there are no real devices that use it. I think Intel has (or had?) a tool/library for translating ARM to x86 called Houdini. Can't seem to find it though, and it might require a license anyways.

Aren't x86 chromebooks real devices?

If you mean x86_64 then yes certainly. They are about as common as ARM64 Chromebooks these days.

Re: Waydroid – Run Android containers on Ubuntu

#58
post #38

Earlier quoted context omitted.

Wait - you can run waydroid, and thus presumably Android apps, on Pinephone? This is huge! How well does it work?

The PinePhone runs mainline Linux on a regular Arm64 SOC. Why shouldn’t it work? ;)

The SoC is pretty slow. speaking as a PinePhone owner.

Re: Waydroid – Run Android containers on Ubuntu

#59
post #49

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

Why do they need to? Sure it'll be nice, but depending on your market, maybe that's an unnecessary implementation detail.

[deleted]

Re: Waydroid – Run Android containers on Ubuntu

#60

I wish I could setup waydroid on Raspberry Pi so that I can finally use hotstar/primevideo and netflix on my dumb tv. I had bought firestick in past that is now stuck on boot loop for over a year. I have decided not buy these sticks or smart TV where I have little to no control over Software.

There is always the Plex / seedbox / NAS route...
Post reply on HN