Skip to content

Commit a58ff42

Browse files
Merge pull request #63 from GxmerSam/modified
Updated Readme
2 parents 322d2ea + 65bfdb1 commit a58ff42

File tree

8 files changed

+137
-90
lines changed

8 files changed

+137
-90
lines changed

IMG_20211014_084106.jpg

857 KB
Loading

IMG_20211014_084124.jpg

509 KB
Loading

IMG_20211014_084143.jpg

532 KB
Loading

README.md

Lines changed: 31 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,50 @@
1-
![Screenshot_20210605-115657_VNC Viewer](src/images/edited_showcase.png "A Screenshot of ubuntu xfce showing some pre-installed apps")
2-
3-
<h1 align="Center">Ubuntu 21.04 On android</h1>
4-
A tweaked ubuntu-21.04 with xfce4 runs on android with termux/proot-distro
5-
6-
> This means now you can install ubuntu like above screenshot right in your smartphone without destroying your phone with rooting
7-
8-
| | |
9-
|--|--|
10-
|This project is | ![img](https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4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FEyTvSIEmTVbrysp%2BWr8wfQHGK6WChVa3bKUmdWou%2BjpArdGkzZ41c1zG%2Fu5uGH4swzd561F%2BuhIT4%2BLnSuPsv9%2BJKIpjNr9dXYOyk7%2FBZrcjIT4eCnoKgedJP4BEqhG77E3NKP31FO7cfQA5K0dSYuLgz2TwCWJSOBzG6crzKK%2BohNfni%2Bx6OMUMMNe%2Fgf7ocbw0v0acKg6J8Ql0q%2BT%2FAXR5PNi5dz9c71upuQqCKFAD%2BYhrZLEAmpodaHO3Qy6TI3NhBpbrshGtOWKOSMYwYGQM8nJzoFJNxP2HjyIQho4PewK6hBktoDcUwtIln4PjOWzflQ%2Be5yl0yCCYgYikTclGlxadio%2BBQCSiW1UXoVGrKYwH4RgMrjU1HAB4vR6LzWYfFUCKxfS8Ftk5qxHoCUQAUkRJaSEokkV6Y%2F%2BJUOC4hn6A39NVXVBYeNP8piH6HeA4fPbpdBQV5KOx0QaL1YppX3Jgk0TwH2Vg6S3u%2BdB91%2B%2FpuNYPYFl5uP5V7ZqvsrX7jxqMXR6ff3gCQSTzFI0a1TX3wIs8ul%2Bq4HuWAAiM39vhOuR1O1fQ2gT%2F26Z8Z5vrl2OHi9OXZn995nLV9aFfS6UC9JeJPfuK0NBohWpCHMSAAsFe74WWP%2BvT25wtP9Bpob6uGqqyDnOtaeumjRu%2ByFu36VntK%2FPA5umTJeUtPWZSU9BCgud661odVp3DZtkc7AnYR33RRC708PrVi1larW7XwZIjLnd7R6SgSqWSNjU1B3F72pz5TZbXmX5vV81Yb7Lg7XT%2FUXriu8XLVqw6c6XqWnBKiiYU%2BMt3wWF7u7i91XlSEITwSAZ%2FCzAAHsJVbwXYFFEAAAAASUVORK5CYII%3D) ![img2](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)|
11-
|status| ![img3](https://img.shields.io/badge/Installable-green) |
12-
|Maintainence status | ![stale](https://img.shields.io/badge/-Active-orange) |
13-
|Platform | **Android Termux App (proot `prtace()` )**|
14-
| Linux Distribution | ![badge3](https://img.shields.io/badge/Linux%20Distribution-UBUNTU%20Hippo%2021.04-brightgreen) |
15-
|Community | [![Support Server](https://img.shields.io/discord/851345998831157288.svg?label=Discord&logo=Discord&colorB=7289da&style=for-the-badge)](https://discord.gg/y432PhPYCS) [![Join the chat at https://gitter.im/ubuntu-on-android/community](https://badges.gitter.im/ubuntu-on-android/community.svg)](https://gitter.im/ubuntu-on-android/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
16-
| Code quality & stats | [![CodeFactor](https://www.codefactor.io/repository/github/randomcoderorg/ubuntu-on-android/badge)](https://www.codefactor.io/repository/github/randomcoderorg/ubuntu-on-android) |
17-
- codename -> `udroid`
18-
19-
<details>
20-
<summary>Note & Disclaimer (Must read !)</summary>
21-
22-
A note before you try
23-
- As lot of it is preinstalled you can login and start right after you install
24-
- As this runs on termux and on software rendering so performence clearly depends on CPU, ram and storage read-write speed!
25-
- Don't try heavy apps unless you have a good device :)
26-
- If you have any issues or suggestions make sure i know at https://github.com/RandomCoderOrg/ubuntu-on-android/issue (create an issue)
27-
28-
> **Disclaimer** :
29-
- i dont work with any company or organization of ubuntu or any third party sources took in making fs(for now).
30-
- This project works by compliying to selinux android. and all aim of the project is just run linux on android without direct root with a twist and this project improves time by time with your support and motivation.
31-
- the linux you trying to install from this repo is not fully functional in target space because of the selinux policies, and increasing requirement in linux requirements and also because project is set to run with `ptrace()` a low level access in android kernel
32-
- Graphics performence is really bad cause proot and usage on VNC, we dont support any adoptation on improving it **for now** cause insufficient data on android (ping me in discord if you have any ideas or any codes on this)
33-
- - **(Update)** see https://github.com/RandomCoderOrg/ubuntu-on-android/wiki/XWayland-in-proot to run smooth and fast session
34-
- This project comes without warranties or data protection
35-
</details>
36-
37-
## supported architectures status
1+
![Banner Image](https://raw.githubusercontent.com/GxmerSam/ubuntu-on-android/modified/banner.jpg "A Image on Ubuntu-on-android running mate desktop on smartphone")
2+
3+
<h2 align="Center">Ubuntu-21.04 on android</h2>
4+
Ubuntu-on-android aims to run ubuntu with pre-installed Desktop Environment, development tools, and software on top of android without root with the help of proot in termux application. This project just like any other linux on android projects but with aim of making it easy for end user on setting up linux.
5+
6+
7+
8+
![img](https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3MDg2QTAyQUZCMzExRTVBMkQxRDMzMkJDMUQ4RDk3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3MDg2QTAzQUZCMzExRTVBMkQxRDMz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gYikTclGlxadio%2BBQCSiW1UXoVGrKYwH4RgMrjU1HAB4vR6LzWYfFUCKxfS8Ftk5qxHoCUQAUkRJaSEokkV6Y%2F%2BJUOC4hn6A39NVXVBYeNP8piH6HeA4fPbpdBQV5KOx0QaL1YppX3Jgk0TwH2Vg6S3u%2BdB91%2B%2FpuNYPYFl5uP5V7ZqvsrX7jxqMXR6ff3gCQSTzFI0a1TX3wIs8ul%2Bq4HuWAAiM39vhOuR1O1fQ2gT%2F26Z8Z5vrl2OHi9OXZn995nLV9aFfS6UC9JeJPfuK0NBohWpCHMSAAsFe74WWP%2BvT25wtP9Bpob6uGqqyDnOtaeumjRu%2ByFu36VntK%2FPA5umTJeUtPWZSU9BCgud661odVp3DZtkc7AnYR33RRC708PrVi1larW7XwZIjLnd7R6SgSqWSNjU1B3F72pz5TZbXmX5vV81Yb7Lg7XT%2FUXriu8XLVqw6c6XqWnBKiiYU%2BMt3wWF7u7i91XlSEITwSAZ%2FCzAAHsJVbwXYFFEAAAAASUVORK5CYII%3D) ![img2](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)
9+
[![Support Server](https://img.shields.io/discord/851345998831157288.svg?label=Discord&logo=Discord&colorB=7289da&style=for-the-badge)](https://discord.gg/y432PhPYCS) [![Join the chat at https://gitter.im/ubuntu-on-android/community](https://badges.gitter.im/ubuntu-on-android/community.svg)](https://gitter.im/ubuntu-on-android/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![CodeFactor](https://www.codefactor.io/repository/github/randomcoderorg/ubuntu-on-android/badge)](https://www.codefactor.io/repository/github/randomcoderorg/ubuntu-on-android)
10+
11+
codename = `udroid`
12+
13+
14+
15+
## Supported arch status
3816
| arch | status |
3917
|------ |--------|
4018
| arm64 | ![stat](https://img.shields.io/badge/-installable-brightgreen) |
4119
| armv7l | ![stat](https://img.shields.io/badge/-installable-brightgreen) |
4220
| armv8l | ![stat](https://img.shields.io/badge/-partially%20supported-orange) |
4321
| Others | `not started` |
4422

45-
# Installation
46-
- First install termux from [termux.com](https://termux.com) or [F-Droid!](https://f-droid.org/en/packages/com.termux/)
47-
48-
## Getting Sources and install scripts
49-
```bash
50-
# download installer
51-
curl -L -o install.sh https://git.io/hippo-installer
52-
# run the installer
53-
bash install.sh
54-
# Install ubuntu with this command
55-
udroid --install
56-
```
57-
### Basic Usage
58-
| **Command** | **Usage** |
59-
|--------------------|-----------|
60-
| `udroid` | To login to shell |
61-
| `udroid upgrade` | to upgrade fs or to get new features if available |
62-
| `startvnc` | start vncserver at port `1` (you can change default port by exporting env varaible `DEFAULT_VNC_PORT` to a port number) |
63-
| `udroid stopvnc` | stop vncserver at given or default port `1`
64-
| `udroid --enable-dbus` | To start udroid with dbus hack enabled |
65-
| `udroid --enable-dbus-vnc` | To start vnc session with dbus hack enabled |
66-
67-
## Environment Variables
68-
- `DEFAULT_VNC_PORT` to set vnc port for scripts
69-
- `HIPPO_BRANCH` to set custom branch for cloning code
70-
71-
## 🔊 Audio
72-
pulseaudio starts everytime you invoke start commands with `udroid`
73-
74-
> You can start audio manually with this command
75-
```bash
76-
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
77-
```
78-
## Default passwords
79-
80-
| |password|
81-
|--|--------|
82-
| udroid user | `secret` |
83-
|vncserver root | `secret` |
84-
85-
## some Screenshots
23+
## Desclaimer
24+
Just before starting the installation, you can check [this.](https://github.com/GxmerSam/ubuntu-on-android/blob/modified/desclaimer.md)
25+
26+
## Installation
27+
Installation, variables, sound and other things can be found [here.](https://github.com/GxmerSam/ubuntu-on-android/blob/modified/installation.md)
28+
29+
## Some Screenshots
8630

31+
![image](IMG_20211014_084106.jpg)
8732
![image](src/images/six.png)
88-
![image](src/images/five.png)
89-
![image](src/images/four.png)
90-
![image](src/images/three.png)
91-
![image](src/images/two.png)
92-
![image](src/images/one.png)
33+
![image](src/images/three.png)
34+
More can be found [here.](https://github.com/GxmerSam/ubuntu-on-android/blob/modified/showcase.md)
9335

9436
A small help from me if you want to build your own rootfs [wiki_page](https://github.com/RandomCoderOrg/ubuntu-on-android/wiki/commands-took-to-make-a-custom-rootfs)
9537

96-
# Devolopers & credits
97-
Made with ❤️ from:
38+
## Devolopers & credits
9839

99-
DEV #0 -> [Saicharankandukuri](https://github.com/SaicharanKandukuri)
40+
DEV #0 = [Saicharankandukuri](https://github.com/SaicharanKandukuri)
10041

101-
Dev #1 -> [Gxmersam](https://github.com/GxmerSam)
42+
Dev #1 = [Gxmersam](https://github.com/GxmerSam)
10243

103-
# Licence
44+
## Licence
10445
MIT
10546
Copyright (c) 2021 Saicharan Kandukuri
10647

107-
<h2 align="center"> More Updates coming soon 💛</h2>
48+
<h2 align="center"> More Updates coming soon...</h2>
10849

109-
- feel free to contribute to this repo :)
50+
feel free to contribute to this repo.

banner.jpg

178 KB
Loading

desclaimer.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## Note & Disclaimer!
2+
3+
**A note before you try**
4+
- As lot of it is preinstalled you can login and start right after you install.
5+
- Before installation, be sure that you're on stable internet and your device have 5-6gb free space for neat installation.
6+
- As this runs on termux and on software rendering so performence clearly depends on CPU, ram and storage read-write speed!
7+
- Consider not to try heavy apps unless you got a good device.
8+
- If you have any issues or suggestions make sure i know at https://github.com/RandomCoderOrg/ubuntu-on-android/issue (create an issue)
9+
10+
**Disclaimer**
11+
- I dont work with any company or organization of ubuntu or any third party sources took in making fs(for now).
12+
- This project works by compliying to selinux android. and all aim of the project is just run linux on android without direct root with a twist and this project improves time by time with your support and motivation.
13+
- the linux you trying to install from this repo is not fully functional in target space because of the selinux policies, and increasing requirement in linux requirements and also because project is set to run with `ptrace()` a low level access in android kernel
14+
- Graphics performence is really bad cause proot and usage on VNC, we dont support any adoptation on improving it **for now** cause insufficient data on android (ping me in discord if you have any ideas or any codes on this)
15+
- **(Update)** see https://github.com/RandomCoderOrg/ubuntu-on-android/wiki/XWayland-in-proot to run smooth and fast session
16+
- This project comes without warranties or data protection
17+
- The Linux you're trying to install from this repo is not fully functional in the target space because of the SELinux policies, and increasing requirement in Linux requirements, and also because the project is set to run with ptrace() low-level access in android kernel
18+
- That lead to:
19+
- No direct access to hardware, fluctuations in services, performance overheads, sudo issues etc.
20+
21+
**Display**
22+
- Access to display/control Desktop environment can be accomplished by various methods like
23+
- Termux:Wayland **Recommended**
24+
- xRDP
25+
- Vncserver ( RealVnc Viewer, Bvnc, Nethunter Vnc etc )
26+
- Xserver XSDL
27+
28+
**Audio**
29+
- Audio works by enabling pulseserver with a tcp reciver module at `127.0.0.1` and `udroid` manager takes care on starting audio service ( additional setup mamy require for some apps ).
30+
31+
**HID interfaces**
32+
- Keyboard and mouse emulation depends on apps you use to access desktop environment. Bvnc/nethunter KEX app provides better interface with hardware and mouse
33+
34+
**Graphics**
35+
- For this time being there is no standardized way of accessing or using device GPU at it's full potential so llvm pipes are used! (OpenGl version may depend on device OS). Most of the solutions are tricks to get more performence or vendor specific implementaions (like kernel graphics support layer/DRI ).
36+
- Best way to experience native linux like performence is using Termux:Wayland app which is wayland port to android
37+
38+
**Others**
39+
- PRoot for android is still in devoloping stage and not ready for using daily life linux. all the linux codes and apps are not devoloped for PRot. popular apps like snap flatpack which depends on Systemd (which is not possible without root and Hallium project in android) wont work. proot on android platform is devoloping mostly by the efforts of termux and many random devolopers and big part of linux/android user community. this projects is also result of so many experiments and mixture of hacks and tricks to start things in android.

installation.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Installation
2+
3+
- First install termux from [termux.com](https://termux.com) or [F-Droid!](https://f-droid.org/en/packages/com.termux/)
4+
- For display, you can use [Xwayland](https://github.com/termux/termux-x11) too.
5+
6+
### Video tutorial
7+
https://youtu.be/iVF0swfqsKo
8+
9+
### Getting Sources and install scripts
10+
```bash
11+
# download installer
12+
curl -L -o install.sh https://git.io/hippo-installer
13+
# run the installer
14+
bash install.sh
15+
# Install ubuntu with this command
16+
udroid --install
17+
```
18+
### Basic Usage
19+
| **Command** | **Usage** |
20+
|--------------------|-----------|
21+
| `udroid` | To login to shell |
22+
| `udroid upgrade` | to upgrade fs or to get new features if available |
23+
| `startvnc` | start vncserver at port `1` (you can change default port by exporting env varaible `DEFAULT_VNC_PORT` to a port number) |
24+
| `udroid stopvnc` | stop vncserver at given or default port `1`
25+
| `udroid --enable-dbus` | To start udroid with dbus hack enabled |
26+
| `udroid --enable-dbus-vnc` | To start vnc session with dbus hack enabled |
27+
28+
### Env Variables
29+
- `DEFAULT_VNC_PORT` to set vnc port for scripts
30+
- `HIPPO_BRANCH` to set custom branch for cloning code
31+
32+
### Audio
33+
Pulseaudio starts everytime you invoke start commands with `udroid`
34+
35+
> You can start audio manually with this command
36+
```bash
37+
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
38+
```
39+
### Default passwds for XFCE4
40+
41+
| |password|
42+
|--|--------|
43+
| udroid user | `secret` |
44+
|vncserver root | `secret` |
45+
46+
### Setting up Xwayland manually
47+
48+
First up of all install Termux-x11 from above link, in termux use
49+
```
50+
XDG_RUNTIME_DIR=$PREFIX/bin Xwayland -ac :1 > /dev/null &
51+
```
52+
This time start udroid with
53+
```
54+
proot-distro login udroid --shared-tmp
55+
```
56+
And then start Xfce4 on Xwayland via
57+
```
58+
DISPLAY=:1 xfce4-session
59+
```
60+

showcase.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
![image](IMG_20211014_084124.jpg)
2+
![image](IMG_20211014_084143.jpg)
3+
![image](src/images/five.png)
4+
![image](src/images/four.png)
5+
![image](src/images/three.png)
6+
![image](src/images/two.png)
7+
![image](src/images/one.png)

0 commit comments

Comments
 (0)