• Stars
    star
    4,756
  • Rank 8,874 (Top 0.2 %)
  • Language
    Java
  • License
    GNU General Publi...
  • Created about 12 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Install and run GNU/Linux on Android

Linux Deploy

Copyright (C) 2012-2019 Anton Skshidlevsky, GPLv3

This application is open source software for quick and easy installation of the operating system (OS) GNU/Linux on your Android device.

The application creates a disk image or a directory on a flash card or uses a partition or RAM, mounts it and installs an OS distribution. Applications of the new system are run in a chroot environment and working together with the Android platform. All changes made on the device are reversible, i.e. the application and components can be removed completely. Installation of a distribution is done by downloading files from official mirrors online over the internet. The application can run better with superuser rights (root).

The program supports multi language interface. You can manage the process of installing the OS, and after installation, you can start and stop services of the new system (there is support for running your scripts) through the UI. The installation process is reported as text in the main application window. During the installation, the program will adjust the environment, which includes the base system, SSH server, VNC server and desktop environment. The program interface can also manage SSH and VNC settings.

Installing a new operating system takes about 15 minutes. The recommended minimum size of a disk image is 1024 MB (with LXDE), and without a GUI - 512 MB. When you install Linux on the flash card with the FAT32 file system, the image size should not exceed 4095 MB! After the initial setup the password for SSH and VNC generated automatically. The password can be changed through "Properties -> User password" or standard OS tools (passwd, vncpasswd).

The app is available for download in Google Play and GitHub.

Get it on Google Play Get it on Github

Features

  • Bootstrap: Alpine, Arch, CentOS, Debian, Fedora, Kali, Slackware, Ubuntu, Docker or from rootfs.tar
  • Installation type: image file, directory, disk partition, RAM
  • Supported file systems: ext2, ext3, ext4
  • Supported architectures: arm, arm64, x86, x86_64, emulation mode (ARM ~ x86)
  • Control interface: CLI, SSH, VNC, X11, Framebuffer
  • Desktop environment: XTerm, LXDE, Xfce, MATE, other (manual configuration)
  • Supported languages: multilingual interface

FAQ

Do not work update operating environment or errors appear in debug mode: "Permission denied", "Socket operation on non-socket" or other.

Install compatible BusyBox in /system/xbin, add path /system/xbin in "Settings -> PATH variable", update the operating environment "Settings -> Update ENV". Before upgrading the environment, it is desirable restart the device. After that, the container options must be selected "Properties -> File system -> Auto" and "Propetries -> Image size (MB) -> 2000", because "busybox mke2fs" is not supperted an option "-t" to specify type of file system and not supperted image greater 2 GB. Now you can start a new installation "Menu -> Install".

Making an image on sdcard return an error "Read-only file system".

If you are using SuperSU utility you need to uncheck "mount namespace separation" in SuperSU settings. See documentation.

Installing an application on Google Play fails with the message "Unknown error code during application installation: -24".

You need to remove the application directory: /data/data/ru.meefik.linuxdeploy

Performance

SD card read / write speed (10 class) on Android (Samsung Galaxy S II) for file systems vfat, ext2, ext4:

  • vfat: read speed 14.1 MB/s; write speed 12.0 MB/s
  • ext2: read speed 14.9 MB/s; write speed 3.9 MB/s
  • ext4: read speed 14.9 MB/s; write speed 16.6 MB/s
  • ext2 (loop): read speed 17.0 MB/s; write speed 7.4 MB/s
  • ext4 (loop): read speed 17.2 MB/s; write speed 8.8 MB/s

Installation time and use space on disk (Debian wheezy/armhf on Samsung Galaxy S II):

  • Without GUI ~ 0:12 / 260 MB
  • XTerm ~ 0:14 / 290 MB
  • LXDE ~ 0:19 / 450 MB
  • XFCE ~ 0:20 / 495 MB
  • GNOME ~ 0:55 / 1.3 GB
  • KDE ~ 1:20 / 1.3 GB

Links

Source code:

Donations:

More Repositories

1

busybox

BusyBox for Android
Java
1,202
star
2

linuxdeploy-cli

Linux Deploy CLI
Shell
218
star
3

avd-root

Root permissions for Android Virtual Devices
Shell
119
star
4

wshell

Web-based terminal emulator for Android
Java
59
star
5

websocket.sh

The cross platform WebSocket implementation for UNIX shell
Shell
55
star
6

keystorebreaker

Password guessing to Java keystore
Java
38
star
7

ITMOproctor

System of distant supervision | Система дистанционного надзора
JavaScript
35
star
8

aspng

A library for encoding/decoding data in PNG with compression
JavaScript
19
star
9

tzupdater

Automatic update of time zones on Android
Java
18
star
10

meefik.github.io

Meefik's Blog
HTML
15
star
11

face-alignment

Face detection and alignment
JavaScript
14
star
12

dtmf.js

DTMF Tone Generator and Receiver
JavaScript
11
star
13

picojs

A library for detecting faces using the PICO algorithm
C
10
star
14

piggy

Piggy .js & .sh
JavaScript
9
star
15

libux

A minimalistic UX framework for JavaScript libraries
JavaScript
9
star
16

jquery-easyui

jQuery EasyUI library from www.jeasyui.com
CSS
9
star
17

microscope

The software for Android to access the microscope Expert produced by "LOMO" | Программа под Android для доступа к функциям микроскопа Эксперт производства АО "ЛОМО"
C
8
star
18

semanticNT

Сетевой проект разработки системы открытого онлайн-обучения НИУ ИТМО
JavaScript
7
star
19

xorg-input-mtev

Touch Screen Driver Hardware Adaptation
C
6
star
20

nop-virus

Computer virus research
Assembly
6
star
21

spyjs

Сбор и анализ статистики работы пользователей с веб-приложением
JavaScript
6
star
22

opencv_facemark

Training 5 points model for OpenCV Facemark API
C++
6
star
23

neux

A frontend micro-library with reactivity states and views
JavaScript
5
star
24

java-examples

Code examples in Java
Java
4
star
25

passport-ifmosso

Passport strategy for authenticating using ITMO University account
JavaScript
3
star
26

classman

San Ray terminal management software
Java
3
star
27

keychain

Forever blinking keychain | Вечно мигающий брелок
3
star
28

jcut

Track changes in a directory
Java
2
star
29

fastfinder

Auto parts search engine
JavaScript
2
star
30

varikard

Heart rate variability
JavaScript
2
star
31

invest-openapi-bot

Tinkoff.Invest trading bot
JavaScript
1
star
32

neux-todo-app

To-Do app with NEUX and Tailwind CSS
JavaScript
1
star
33

anyend

Platform to speed up backend creation
JavaScript
1
star
34

neux-demo

Development demo with Neux
JavaScript
1
star
35

blehr

Collecting data from heart monitors via Bluetooth
JavaScript
1
star
36

invest-openapi-sandbox

Tinkoff.Invest sandbox server
JavaScript
1
star
37

medinfo

Workplace for an operator of a call center | Рабочее место оператора колл-центра
JavaScript
1
star