Skip to content

djmanri3/LOA-Linux-On-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux on Android

Screenshot

Index

  1. Requirements
  2. Tree directories
  3. Packages to install
  4. NO PROOT
  5. PROOT
  6. TOOLS
  7. Links of interest
  8. Acknowledgements

Requirements:

  • Termux terminal app

  • [Optional] termux api app (SSH server) [Script install]

  • Server X11

    • termux:x11 [Script install]
  • Fix error 9 or auto close termux: need pc and adb install, enable adb debug in your phone and execute this command in pc ./adb shell "settings put global settings_enable_monitor_phantom_procs false"

  • Update, upgrade and download repo on Termux:

    pkg update -y && pkg upgrade -y && pkg install -y git && git clone https://github.com/djmanri3/LOA-Linux-On-Android.git && cd LOA-Linux-On-Android/

Tree directories

├── install_environment.sh
└── lib
    ├── proot_scripts
    │   ├── arch
    │   │   ├── install_cutefish_vnc_and_x11.sh
    │   │   ├── install_kde_vnc_and_x11.sh
    │   │   ├── install_lxqt_vnc_and_x11.sh
    │   │   └── install_xfce_vnc_and_x11.sh
    │   ├── debian
    │   │   ├── install_kde_vnc_and_x11.sh
    │   │   └── install_xfce_vnc_and_x11.sh
    │   ├── install_kde_vnc_and_x11.sh
    │   ├── install_proot.sh
    │   ├── proot_ui.sh
    │   ├── proot_ui_low.sh
    │   ├── raspberry_os
    │   │   └── install_lxde_vnc_and_x11.sh
    │   └── ubuntu
    │       ├── install_kde_vnc_and_x11.sh
    │       └── install_xfce_vnc_and_x11.sh
    ├── termux-x11
    │   ├── termux-x11-nightly-1.02.07-0-all.deb
    │   ├── termux-x11-nightly-1.03.00-0-all.deb
    │   └── termux-x11-universal.apk
    └── tools
        ├── connect_x11.sh
        ├── install_ssh_server.sh
        └── termux-api.apk

Packages to install

  • X11-repo
  • Pulseaudio
  • Openssl
  • xfce4*
  • Firefox
  • Chromium
  • Termux-x11.deb (stable)

NO PROOT

- Scripts:

  • install_environment.sh: Install all packages of DE (Desktop Environment) and x11 utils

- Advantages:

  • Lighter: Only install Desktop Environment
  • More optimal: Only run Desktop Environment

- Disadvantages:

  • Less package support: Limited to packages found in termux repos
  • Less privileges: If our device is not rooted, we will not be able to perform commands with root

- Install:

./install_environment.sh vanila

- Start environment:

PROOT

- Scripts:

  • install_environment.sh: Install all packages of DE (Desktop Environment) and x11 utils
  • lib/proot_scripts/: Install script with Desktop environments
  • lib/termux-x11/: Packages of termux and apps
  • lib/tools/: Tools for use

- Advantages:

  • Greater freedom: We have access to the sudo command (root)
  • More packages: all packages for Ubuntu, Debian, Raspbian and Arch

- Disadvantages:

  • Heavier system: More background processes are needed to start the environment
  • Takes up more space: This is because our device will contain all the necessary files of the chosen distro.

- Install:

./install_environment.sh proot
  • Enter the number of the distro we want with which desktop environment

- Start environment:

Tools

Server ssh

- Install:

./install_environment.sh ssh_server

- Start SSH server:

  • Execute command sshd

Connect X11

- Install:

./install_environment.sh  connect_x11 -s

- Connect to X11 session:

  • Execute command ./install_environment.sh connect_x11 and follow the setup.

Links of interest:

Acknowledgements:

  • Team Udroid
  • YouTube chanel Tecnicalbot
  • Team termux

About

Linux On Android install

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages