You might want to install chrooted-linux on your Android device, as described here .
In short, do the following:
- prepare linux image
- do it on any gnu + linux device.
- create a large file (> 1 GB)
- format it as a file system (e.g. ext2)
- mount it.
- copy the distribution inside it (for example, using debootstrap)
- copy loopdevice in android
- install it (root required)
- maybe install busybox
- attach some directories from the root device to the host (usually
dev , dev/pts , proc and sys )
- root
- install nodejs inside chroot
note: I did something similar to my tf301 and it works like a charm. But when I start to use too much memory inside the chroot (for example, when compiling an android application), the host fails. I have not encountered these accidents with node yet, and I do not know if this will affect other devices.
wotanii Dec 16 '15 at 10:15 2015-12-16 10:15
source share