4 ms·
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 instal
by marcodiego 5y ago
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?
- Spivak 5y agoI feel like you're expecting a lot from a a container running LineageOS with some integrations into the window manager. It's a container so the arch matches the host kernel. In general on LineageOS it's possible to install gapps. You won't be able to watch DRM streaming services that require Widevine higher than L3 support.
- judge2020 5y ago> - Does it allows me to watch DRM streaming services on my linux box? It doesn't include a HSM, so if it does allow you to watch DRM content, it'll only be Widevine level 3 content, which most services restrict to 420p or sometimes 720p streaming. https://support.google.com/widevine/answer/6072714?hl=en https://support.google.com/widevine/answer/6072714?hl=en
- chrismorgan 5y agoWaydroid 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.
- bogwog 5y agoIf 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.
- oynqr 5y agoAren't x86 chromebooks real devices?
- CameronNemo 5y agoIf you mean x86_64 then yes certainly. They are about as common as ARM64 Chromebooks these days.
- bogwog 5y agoCan Chrome books run Android apps?
- lights0123 5y agoYes they can. It's been an advertised feature for a few years.
- bogwog 5y agoTIL! In that case, x86 builds are probably more common than I assumed.
- gizdan 5y ago> 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.
- westurner 5y ago> binfmt_misc https://en.wikipedia.org/wiki/Binfmt_misc https://en.wikipedia.org/wiki/Binfmt_misc > binfmt_misc can also be combined with QEMU to execute programs for other processor architectures as if they were native binaries.[9] QEMU supported [ARM guest] machines: https://wiki.qemu.org/Documentation/Platforms/ARM#Supported_Machines https://wiki.qemu.org/Documentation/Platforms/ARM#Supported_... Edit: from "Running and Building ARM Docker Containers on x86" (which also describes how to get CUDA working) https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/ https://www.stereolabs.com/docs/docker/building-arm-containe... : sudo apt-get install qemu binfmt-support qemu-user-static # Install the qemu packages docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # Execute the registering scripts docker run --rm -t arm64v8/ubuntu uname -m # Test the emulation environment https://github.com/multiarch/qemu-user-static https://github.com/multiarch/qemu-user-static : > multiarch/qemu-user-static is to enable an execution of different multi-architecture containers by QEMU [1] and binfmt_misc [2]. Here are examples with Docker [3].
- westurner 5y agoWhy the heck isn't there just an official Android container and/or a LineageOS container? It's not a certified device, so. There are a number of ways to build "multi-arch docker images" e.g. for both x86 and ARM: OCI, docker build, podman build, buildx, buildah. Containers are testable. Here's this re: whether the official OpenWRT container should run /sbin/init in order to run procd, ubusd,: https://github.com/docker-library/official-images/pull/7975#issuecomment-744874229 https://github.com/docker-library/official-images/pull/7975#... AFAIU, from a termux issue thread re: repackaging everything individually, latest Android requires binaries to be installed from APKs to get the SELinux context label necessary to run?
- kllrnohj 5y ago> but I imagine that ARM64 will have helped with architecture-neutrality. What would have helped a lot more here is the default emulator in Android Studio is currently, and has been for a while now, x86. Since of course x86 to x86 virtualization is a lot faster than ARM to x86 virtualization. ARM64 didn't do much to help with architecture-neutrality just like X86_64 didn't.
- rektide 5y ago> Is it better/faster/more compatible than anbox? From the Anbox website: > "We're reusing what Android implemented within the QEMU-based emulator for OpenGL ES accelerated rendering." I'm not certain but I believe WayDroid more directly attempts to provide Android drawing subsystems on top of Wayland. This should be better/faster. Cross fingers. Compatibility wise, I'm unsure. Anbox may be a more faithful Android platform perhaps. Waydroid feels like it's a closer integration to me, with less virtualized-machinery, which is a much wider support target since it's running directly atop a wide variety of hosts. But I for one am very glad we have a closer integrated option, one where Android apps are running more within the Linux desktop context. There's probably a bunch wrong with my understandings here. Hoping some even better informed people can correct/supplement.
- genewitch 5y agoWhat 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.
- CameronNemo 5y agoNone on ARM. Google never offered widevine to Firefox on ARM64.
- marcodiego 5y agoExactly, AFAIK you can't watch netflix on your ARM SBC.
- JanMa 5y agoYou can, all you need to do is to extract the widevine binary from a ChromeOS arm build and put them on your Pi/ARM board. Admittedly, it's a bit cumbersome to do this, but it works very well. I've been watching Netflix on my Raspberry Pi 4 for over a year using it. Also, according to this guy [0] you now seem to be able to just install libwidevine in Raspberry OS. I haven't tested this yet though. [0]: https://lemariva.com/blog/2021/04/raspberry-pi-amazon-prime-netflix-disney-spotify-drm-solution https://lemariva.com/blog/2021/04/raspberry-pi-amazon-prime-...
- CameronNemo 5y agoRight, as long as you are using Chrome (maybe chromium in a 32 bit chroot or container if you do not have an RPI), you can use widevine. But I'm not a big fan of the RPI devices, or chrome.
- supercheetah 5y ago4k Netflix doesn't work on Linux, and also downloading for offline viewing, but I think those only work on Windows with HDCP enabled.