Comment by pjmlp

6 years ago

So how does it work around the missing APIs not described here?

https://developer.android.com/ndk/guides/stable_apis

Given the changes started with Android 7 to block access to everything else?

In fact, https://wiki.termux.com/wiki/Differences_from_Linux

It runs stuff in a container (PRoot) with standard Linux libraries and FHS layout, then you ssh or VNC in locally. The emulation isn't perfect due to Android's security policies, but close enough.

  • Standard Android does not support chroot, nor standard Linux libraries, hence why termux needs to patch them.