Do you know of termux.com, for linux without rooting? It's basically a linux distribution, adjusted for android's slightly odd filesystem. The app itself is tiny, and you install from its repository. e.g. there's latex, youtube-dl, curl, vim, clang, ecj, python, ruby, perl, lua, erlang etc.
A bluetooth keyboard completes the DIY linux netbook... sadly, bluetooth keyboards are also almost gone, presumably as people adjust themselves to "touch" typing.