UserLAnd

Home >> Environment Monitoring Programs >> UserLAnd

This page strives to demonstrate an easy way to compile and run Linux console programs on (newer) ARM Android devices (the older gnuroot page works on Android 5.0 or earlier).

New! New web page for self-hosted development environments explores other possibilities!

There are now lots of inexpensive Android tablets available.  I really want to load Debian on (some of) them and completely get rid of Android, but right now this isn't very easy.  LinuxOnAndroid is also interesting.  All of those options require rooting the device which I want to avoid as long as possible.  So UserLAnd and GNURoot (which don't require rooting) are interesting first steps to try.

My main (first) goal in this is to be able to run a single program (for machine control) on an inexpensive tablet (with USB OTG).  A GUI is not required (to adjust a simple setting like temperature once a week) , so Free Vision may be good enough for the first programs.  First Choice is a good example of older software that is usable without a GUI.  I have a powered 4 port USB hub plugged into my tablet's OTG port, with a keyboard and mouse working now (I hope to add USB Ethernet and serial adapters later).

Install the UserLAnd app on your ARM Android device. See steps 2-6 (use Debian instead of Ubuntu) here

Optional below for 3.2 Beta:
Enter the commands below (to determine your CPU type):
sudo apt install neofetch
neofetch (see CPU specs, I have AArch64)
Next we'll download the appropriate zip file (lots of examples of using fpcup here):
sudo apt install wget (slow to update certificates at end)
(need to get appropriate CPU type below)
sudo wget https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/download/1.6.2v/fpcup-aarch64-linux
sudo chmod 755 fpcup-aarch64-linux
sudo apt install subversion zip unzip build-essential libx11-dev
sudo ./fpcup-aarch64-linux --fpcurl=https://svn.freepascal.org/svn/fpc/branches/fixes_3_2 --verbose (very slow)
Can run "./fpc" or "./fp" when done if go to: root/development/fpc/bin/aarch64-linux

Optional below for easy 3.0.0:
sudo apt install fpc (very slow)
Works to install 3.0.0 and can run "fpc" when done.
Can also run "fp" for the textmode IDE and (use Alt F and arrow keys) see Help | About


Please share your ideas, comments and suggestions. Thanks!
-- Paul Breneman

TurboControl.com Contact information on home page