Skip to content

Commit e612cda

Browse files
committed
Release 2.2.0
1 parent 577b2f0 commit e612cda

18 files changed

Lines changed: 757 additions & 992 deletions

File tree

CHANGELOG

Lines changed: 0 additions & 825 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 633 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
Linux Deploy
2-
============
1+
# Linux Deploy
32

4-
Copyright (C) 2012-2018 Anton Skshidlevsky, [GPLv3](http://opensource.org/licenses/gpl-3.0.html)
3+
Copyright (C) 2012-2018 Anton Skshidlevsky, [GPLv3](https://github.com/meefik/linuxdeploy/blob/master/LICENSE)
54

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

87
The application creates a disk image on a flash card, 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 requires superuser rights (ROOT).
98

109
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.
1110

12-
Installing a new operating system takes about 30 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).
11+
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).
1312

14-
#### Features:
13+
The app is available for download in Google Play and GitHub.
1514

16-
* Supported distributions: Debian, Ubuntu, Kali Linux, Arch Linux, Fedora, CentOS, Gentoo, Slackware, RootFS (tgz, tbz2, txz)
17-
* Installation type: image file, directory, disk partition, RAM
18-
* Supported file systems: ext2, ext3, ext4
19-
* Supported architectures: ARM, ARM64, x86, x86_64, emulation mode (ARM ~ x86)
20-
* Control interface: CLI, SSH, VNC, X11, Framebuffer
21-
* Desktop environment: XTerm, LXDE, Xfce, MATE, other (manual configuration)
22-
* Supported languages: multilingual interface
15+
<a href="https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy"><img src="https://gist.githubusercontent.com/meefik/54a54afa7cc1dc600bdb855cb7895a4a/raw/ad617c006a1ac28d067c9a87cec60199ca8fef7c/get-it-on-google-play.png" alt="Get it on Google Play"></a>
16+
<a href="https://github.com/meefik/linuxdeploy/releases/latest"><img src="https://gist.githubusercontent.com/meefik/54a54afa7cc1dc600bdb855cb7895a4a/raw/ad617c006a1ac28d067c9a87cec60199ca8fef7c/get-apk-from-github.png" alt="Get it on Github"></a>
2317

24-
#### Install
18+
## Features
2519

26-
You can install the app from:
27-
* GitHub: <https://github.com/meefik/linuxdeploy/releases>
28-
* Google Play: <https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy>
20+
- Supported distributions: Debian, Ubuntu, Kali Linux, Arch Linux, Fedora, CentOS, Gentoo, Slackware, RootFS (tgz, tbz2, txz)
21+
- Installation type: image file, directory, disk partition, RAM
22+
- Supported file systems: ext2, ext3, ext4
23+
- Supported architectures: ARM, ARM64, x86, x86_64, emulation mode (ARM ~ x86)
24+
- Control interface: CLI, SSH, VNC, X11, Framebuffer
25+
- Desktop environment: XTerm, LXDE, Xfce, MATE, other (manual configuration)
26+
- Supported languages: multilingual interface
2927

30-
#### FAQ
28+
## FAQ
3129

3230
> Do not work update operating environment or errors appear in debug mode: "Permission denied", "Socket operation on non-socket" or other.
3331
@@ -41,31 +39,31 @@ If you are using SuperSU utility you need to uncheck "mount namespace separation
4139
4240
You need to remove the application directory: /data/data/ru.meefik.linuxdeploy
4341

44-
#### Performance
42+
## Performance
4543

4644
SD card read / write speed (10 class) on Android (Samsung Galaxy S II) for file systems vfat, ext2, ext4:
47-
* **vfat**: read speed 14.1 MB/s; write speed 12.0 MB/s
48-
* **ext2**: read speed 14.9 MB/s; write speed 3.9 MB/s
49-
* **ext4**: read speed 14.9 MB/s; write speed 16.6 MB/s
50-
* **ext2 (loop)**: read speed 17.0 MB/s; write speed 7.4 MB/s
51-
* **ext4 (loop)**: read speed 17.2 MB/s; write speed 8.8 MB/s
45+
- **vfat**: read speed 14.1 MB/s; write speed 12.0 MB/s
46+
- **ext2**: read speed 14.9 MB/s; write speed 3.9 MB/s
47+
- **ext4**: read speed 14.9 MB/s; write speed 16.6 MB/s
48+
- **ext2 (loop)**: read speed 17.0 MB/s; write speed 7.4 MB/s
49+
- **ext4 (loop)**: read speed 17.2 MB/s; write speed 8.8 MB/s
5250

5351
Installation time and use space on disk (Debian wheezy/armhf on Samsung Galaxy S II):
54-
* **Without GUI** ~ 0:12 / 260 MB
55-
* **XTerm** ~ 0:14 / 290 MB
56-
* **LXDE** ~ 0:19 / 450 MB
57-
* **XFCE** ~ 0:20 / 495 MB
58-
* **GNOME** ~ 0:55 / 1.3 GB
59-
* **KDE** ~ 1:20 / 1.3 GB
52+
- **Without GUI** ~ 0:12 / 260 MB
53+
- **XTerm** ~ 0:14 / 290 MB
54+
- **LXDE** ~ 0:19 / 450 MB
55+
- **XFCE** ~ 0:20 / 495 MB
56+
- **GNOME** ~ 0:55 / 1.3 GB
57+
- **KDE** ~ 1:20 / 1.3 GB
6058

61-
#### Source code
59+
## Links
6260

63-
Linux Deploy App: <https://github.com/meefik/linuxdeploy>
61+
Source code:
6462

65-
Linux Deploy CLI: <https://github.com/meefik/linuxdeploy-cli>
63+
- Linux Deploy App: <https://github.com/meefik/linuxdeploy>
64+
- Linux Deploy CLI: <https://github.com/meefik/linuxdeploy-cli>
6665

67-
#### Donations
66+
Donations:
6867

69-
E-Money: <http://meefik.github.io/donate>
70-
71-
Google Play: <https://play.google.com/store/apps/details?id=ru.meefik.donate>
68+
- E-Money: <http://meefik.github.io/donate>
69+
- Google Play: <https://play.google.com/store/apps/details?id=ru.meefik.donate>

README.ru.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

app/build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 28
4+
compileSdkVersion 27
55
buildToolsVersion '28.0.2'
66

77
defaultConfig {
88
applicationId 'ru.meefik.linuxdeploy'
99
minSdkVersion 14
10-
targetSdkVersion 28
10+
targetSdkVersion 27
1111
versionCode 241
12-
versionName "2.1.1"
12+
versionName "2.2.0"
1313
}
1414
buildTypes {
1515
release {
@@ -24,6 +24,5 @@ android {
2424
}
2525

2626
dependencies {
27-
implementation 'com.android.support:support-v4:28.0.0-rc01'
28-
implementation 'com.android.support:design:28.0.0-rc01'
27+
implementation 'com.android.support:design:27.1.1'
2928
}

app/src/main/assets/bin/all/websocket.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/data/data/ru.meefik.linuxdeploy/env/bin/sh
1+
#!/system/bin/sh
22
# websocket.sh
33
# (C) 2016-2018 Anton Skshidlevsky <meefik@gmail.com>, MIT
44
# The cross platform WebSocket implementation for SH.
@@ -49,7 +49,7 @@ ws_send()
4949
# Binary frame: 0x82 [length] [data]
5050
# Max length: 00-7D -> 125; 0000-FFFF -> 65535
5151
data=$(dd bs=65535 count=1 2>/dev/null)
52-
length=${#data}
52+
length=$(echo -n "$data" | wc -c)
5353
# exit if received 0 bytes
5454
[ "$length" -gt 0 ] || break
5555
if [ "$length" -gt 125 ]
32 KB
Binary file not shown.
44 KB
Binary file not shown.

app/src/main/assets/web/cgi-bin/resize

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/data/data/ru.meefik.linuxdeploy/env/bin/sh
1+
#!/system/bin/sh
22

33
echo "Content-type: text/html"
44
echo ""

0 commit comments

Comments
 (0)