zlacker

[parent] [thread] 5 comments
1. pjmlp+(OP)[view] [source] 2019-11-28 17:57:50
If one roots the device.

Modern Android has been locking down access to everything that isn't an NDK public API.

replies(1): >>icebra+u1
2. icebra+u1[view] [source] 2019-11-28 18:12:58
>>pjmlp+(OP)
Nope, no root required.
replies(2): >>pjmlp+kb >>imtrin+oc1
◧◩
3. pjmlp+kb[view] [source] [discussion] 2019-11-28 19:57:02
>>icebra+u1
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

replies(1): >>Mathne+cm
◧◩◪
4. Mathne+cm[view] [source] [discussion] 2019-11-28 22:02:27
>>pjmlp+kb
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.
replies(1): >>pjmlp+zm
◧◩◪◨
5. pjmlp+zm[view] [source] [discussion] 2019-11-28 22:08:59
>>Mathne+cm
Standard Android does not support chroot, nor standard Linux libraries, hence why termux needs to patch them.
◧◩
6. imtrin+oc1[view] [source] [discussion] 2019-11-29 11:35:37
>>icebra+u1
Try installing OpenJDK without root.
[go to top]