Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

/? termux USB webcam: https://www.google.com/search?q=termux+usb+webcam

Termux was F-droid only, but 4 years later is back on the Play Store: https://github.com/termux-play-store#current-status-for-user...

Termux has both glibc and musl libc. Android has bionic libc.

One time I got JupyterLab to run on Android in termux with `proot` and pip. And then the mobile UI needed work in a WebView app or just a browser tab t. Maybe things would port back from Colab to JupyterLab.

conda-forge and Linux arm64 packages don't work on arm64 Android devices, so the only option is to install the *-dev dependencies and wait for compilation to finish on the Android device.

Waydroid is one way to work with Android APKs in a guest container on a Linux host.

That Android Studio doesn't work on Android or ChromiumOS without containers (that students can't have either).



When you get x on turmux working you see what mobile development could have been and weep for the fallen world we live in.


containers/podman > [Feature]: Android support: https://github.com/containers/podman/discussions/17717 :

> There are docker and containerd in termux-packages. https://github.com/termux/termux-packages/tree/master/root-p...

But Android 13+ supports rootless pKVM VMs, which podman-machine should be able to run containers in; (but only APK-installed binaries are blessed with the necessary extended filesystem attributes to exec on Android 4.4+ with SELinux in enforcing mode.)

- Android pKVM: https://source.android.com/docs/core/virtualization/architec... :

> qemu + pKVM + podman-machine:

> The protected kernel-based virtual machine (pKVM) is built upon the Linux KVM hypervisor, which has been extended with the ability to restrict access to the payloads running in guest virtual machines marked ‘protected’ at the time of creation.

> KVM/arm64 supports different execution modes depending on the availability of certain CPU features, namely, the Virtualization Host Extensions (VHE) (ARMv8.1 and later).

- "Android 13 virtualization lets [Pixel >= 6] run Windows 11, Linux distributions" (2022) https://news.ycombinator.com/item?id=30328692

It's faster to keep a minimal container hosting VM updated.

So, podman-machine for Android in Termux might help solve for development UX on Android (and e.g. Android Studio on Android).

podman-machine: https://docs.podman.io/en/latest/markdown/podman-machine.1.h...


Wait so you're telling me I can run podman on android?


Looks like it's almost possible to run podman-machine on Android; and it's already possible to manually create your qcow for the qemu on Android and then run containers in that VM: https://github.com/cyberkernelofficial/docker-in-termux




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: