by 9t3h4r3o5w1a4w2 · 9y ago · 0 comments
Gambiting mentioned elsewhere in the comments that you can install GNURoot from the Play store and run Linux along side Android.
I imagine there is, or soon will be, specific projects to pare down AOSP to the minimum required to run a server without all the extra stuff (that is, the Android part on top of Linux).
1: http://plugable.com/2015/01/22/new-plugable-usb-fast-etherne...
Terminal IDE (on old phones) or termux on new ones should have enough packages to do whatever you want.
You can also grab any rootfs with the right arch and chroot into it if you have root. You can even static link busybox/dropbear and have most of the things you would use on a small server.