Short story.

Installed termux, installed Ubuntu 20.04 using Andronix,

curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/repo-fix.sh > repo.sh && chmod +x repo.sh && bash repo.sh && pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu20/ubuntu20-lxde.sh -O ubuntu20-lxde.sh && chmod +x ubuntu20-lxde.sh && bash ubuntu20-lxde.sh

, installed all the modules I needed to work. It took several hours to install and configure. I even screwed in the latest version of Nodejs, which was not very difficult to do but took a lot of time.

Then I disabled VNC Viewer, exited termux. When I decided to try to start my OS, I launched Termux, made ./start-ubuntu20.sh and instead of starting it, it started reinstalling the OS for me.

I just don't understand this point because I'm already tired of trying to install. I need a mobile linux solution on a smartphone.

Termux used the latest version on Android 7. Before installing the OS, I did apt update AND apt upgrade

What did I do wrong? Or what did I forget to do? Or what did I accidentally do that was not necessary? Or maybe Termux just doesn't save the configured OS somewhere to a file and needs to be worked with on the fly (until the next shutdown?) Or maybe the problem is in my Android 7?

Also, is there an easier and more reliable way to deploy an OS that will keep all my settings? Don't know.

  • See the contents of the shell scripts you execute or set -x to see where they save data and why they start re-downloading. Aug 4 at 15:08


You must log in to answer this question.

Browse other questions tagged .