Skip to content

UDROID V3 upgrade #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7a0356c
Add files via upload
Oct 13, 2021
b7def53
Update README.md
Oct 13, 2021
cf3dffa
Create desclaimer.md
Oct 13, 2021
ae5e784
Update README.md
Oct 13, 2021
e6429da
Create installation.md
Oct 13, 2021
8b96e2c
Update README.md
Oct 13, 2021
bf15f96
Update installation.md
Oct 14, 2021
e25eb11
Add files via upload
Oct 14, 2021
0e6b126
Update desclaimer.md
Oct 14, 2021
eed6089
Update installation.md
Oct 14, 2021
40b53f5
Update README.md
Oct 14, 2021
a40d529
Create showcase.md
Oct 14, 2021
65bfdb1
Update README.md
Oct 14, 2021
a58ff42
Merge pull request #63 from GxmerSam/modified
SaicharanKandukuri Oct 14, 2021
b95af36
Fixed links
Oct 14, 2021
5b45622
Update README.md
Oct 14, 2021
0607e3c
updated discord link
Oct 14, 2021
1ea5d34
Update README.md
SaicharanKandukuri Oct 14, 2021
d65c170
fixed typo
Oct 14, 2021
d5009b2
move images and refactor code
SaicharanKandukuri Oct 16, 2021
1e1183f
make script clean
SaicharanKandukuri Oct 17, 2021
24fe0fe
move banner to `src/images`
SaicharanKandukuri Oct 17, 2021
f11b599
make badge local and shrik link to svg
SaicharanKandukuri Nov 14, 2021
5244264
restructure
SaicharanKandukuri Nov 14, 2021
e82705e
add logo
SaicharanKandukuri Nov 14, 2021
9f050f8
[ImgBot] Optimize images
ImgBotApp Nov 18, 2021
3226aec
Merge pull request #78 from RandomCoderOrg/imgbot
SaicharanKandukuri Nov 19, 2021
9dc1e4a
add hit counter
SaicharanKandukuri Nov 19, 2021
2cc81c0
fix url encoding
SaicharanKandukuri Nov 19, 2021
d298d51
rename plugin folder
SaicharanKandukuri Dec 18, 2021
5343795
contributors images
SaicharanKandukuri Dec 18, 2021
b36663e
change discord server link Discord Server #64
SaicharanKandukuri Dec 24, 2021
7e954fc
add new templates
SaicharanKandukuri Dec 24, 2021
7e15afc
move assets to ~
SaicharanKandukuri Dec 26, 2021
bc28b7e
test
SaicharanKandukuri Dec 26, 2021
68a421b
fix assets source links
SaicharanKandukuri Dec 27, 2021
37cb687
fix typo ✌️
kasinadhsarma Dec 27, 2021
f7759f6
lables for labler
SaicharanKandukuri Dec 27, 2021
297df57
Merge pull request #96 from kasinadh132/beta
SaicharanKandukuri Dec 27, 2021
856ca26
update mini functions
AnninoDr4 Jan 15, 2022
c2155ac
remove branch switch comptability
AnninoDr4 Jan 15, 2022
840e3d6
change everything to udroid
AnninoDr4 Jan 15, 2022
04805d7
remove credits.json more things = more writing
AnninoDr4 Jan 15, 2022
da05f5e
move pd-plugins
SaicharanKandukuri Jan 25, 2022
555f5cd
change cache dir
SaicharanKandukuri Jan 25, 2022
daa1c17
ubuntu jammy & some upgrades to satisfy fs-manager
SaicharanKandukuri Jan 25, 2022
1a908be
add mate v2
SaicharanKandukuri Jan 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
repo:
- '*'

readme_update:
- README.md

md_docs:
- md/*

assets:
- assets/*

plugins:
- pd-plugins/*

installer:
- install.sh

credits:
- credits.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*test*
134 changes: 51 additions & 83 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,109 +1,77 @@
![Screenshot_20210605-115657_VNC Viewer](src/images/edited_showcase.png "A Screenshot of ubuntu xfce showing some pre-installed apps")

<h1 align="Center">Ubuntu 21.04 On android</h1>
A tweaked ubuntu-21.04 with xfce4 runs on android with termux/proot-distro

> This means now you can install ubuntu like above screenshot right in your smartphone without destroying your phone with rooting

| | |
|--|--|
|This project is | ![img](https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3MDg2QTAyQUZCMzExRTVBMkQxRDMzMkJDMUQ4RDk3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3MDg2QTAzQUZCMzExRTVBMkQxRDMzMkJDMUQ4RDk3Ij4gPHhtcE1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rKYwH4RgMrjU1HAB4vR6LzWYfFUCKxfS8Ftk5qxHoCUQAUkRJaSEokkV6Y%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)|
|status| ![img3](https://img.shields.io/badge/Installable-green) |
|Maintainence status | ![stale](https://img.shields.io/badge/-Active-orange) |
|Platform | **Android Termux App (proot `prtace()` )**|
| Linux Distribution | ![badge3](https://img.shields.io/badge/Linux%20Distribution-UBUNTU%20Hippo%2021.04-brightgreen) |
|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) |
| 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) |
- codename -> `udroid`

<details>
<summary>Note & Disclaimer (Must read !)</summary>

A note before you try
- As lot of it is preinstalled you can login and start right after you install
- As this runs on termux and on software rendering so performence clearly depends on CPU, ram and storage read-write speed!
- Don't try heavy apps unless you have a good device :)
- If you have any issues or suggestions make sure i know at https://github.com/RandomCoderOrg/ubuntu-on-android/issue (create an issue)

> **Disclaimer** :
- i dont work with any company or organization of ubuntu or any third party sources took in making fs(for now).
- 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.
- 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
- 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)
- - **(Update)** see https://github.com/RandomCoderOrg/ubuntu-on-android/wiki/XWayland-in-proot to run smooth and fast session
- This project comes without warranties or data protection
</details>

## supported architectures status
<p align="Center">
<img src="assets/udroid_logo.png" height="300" >
</p>
<p align="Center">
<img src="assets/badge-bash.svg">
<img src="https://badges.frapsoft.com/os/v1/open-source.svg?v=103">
</p>

<p align="Center">
<img src="https://www.codefactor.io/repository/github/randomcoderorg/ubuntu-on-android/badge">
</p>

<p href="https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2FRandomCoderOrg%2Fubuntu-on-android" align=center><img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FRandomCoderOrg%2Fubuntu-on-android&label=%F0%9F%A5%B3VISITORS&labelColor=%23ffff00&countColor=%23263759" /><p>


<!-- ![Banner Image](assets/banner.jpg "A Image on Ubuntu-on-android running mate desktop on smartphone") -->

<h2 align="Center">Ubuntu-21.04 on android</h2>
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.

[![Support Server](https://img.shields.io/discord/892727774828199976?color=blue&label=join%20%23udroid&logo=discord&logoColor=white&style=for-the-badge)](https://discord.gg/h7wZ9BfbU9)



codename = `udroid`



## Supported arch status
| arch | status |
|------ |--------|
| arm64 | ![stat](https://img.shields.io/badge/-installable-brightgreen) |
| armv7l | ![stat](https://img.shields.io/badge/-installable-brightgreen) |
| armv8l | ![stat](https://img.shields.io/badge/-partially%20supported-orange) |
| amd64 | ![stat](https://img.shields.io/badge/-installable-brightgreen) |
| Others | `not started` |

# Installation
- First install termux from [termux.com](https://termux.com) or [F-Droid!](https://f-droid.org/en/packages/com.termux/)
## Desclaimer
Just before starting the installation, you can check [this.](md/desclaimer.md)

## Installation

## Getting Sources and install scripts
```bash
# download installer
curl -L -o install.sh https://git.io/hippo-installer
curl -L -o install.sh https://bit.ly/udroid-installer
# run the installer
bash install.sh
# Install ubuntu with this command
udroid --install
```
### Basic Usage
| **Command** | **Usage** |
|--------------------|-----------|
| `udroid` | To login to shell |
| `udroid upgrade` | to upgrade fs or to get new features if available |
| `startvnc` | start vncserver at port `1` (you can change default port by exporting env varaible `DEFAULT_VNC_PORT` to a port number) |
| `udroid stopvnc` | stop vncserver at given or default port `1`
| `udroid --enable-dbus` | To start udroid with dbus hack enabled |
| `udroid --enable-dbus-vnc` | To start vnc session with dbus hack enabled |

## Environment Variables
- `DEFAULT_VNC_PORT` to set vnc port for scripts
- `HIPPO_BRANCH` to set custom branch for cloning code

## 🔊 Audio
pulseaudio starts everytime you invoke start commands with `udroid`

> You can start audio manually with this command
```bash
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
```
## Default passwords

| |password|
|--|--------|
| udroid user | `secret` |
|vncserver root | `secret` |
for more see [here.](md/installation.md)

## some Screenshots
## Some Screenshots

![image](src/images/six.png)
![image](src/images/five.png)
![image](src/images/four.png)
![image](src/images/three.png)
![image](src/images/two.png)
![image](src/images/one.png)
![udroid mate screenshot](assets/IMG_20211014_084106.jpg)
![udroid xfce4 running glxgers & vscode](assets/four.png)
![udroid xfce4 running libre draw](assets/three.png)
More can be found [here.](md/showcase.md)

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)
> for building custom linux tarballs go [here](https://github.com/RandomCoderOrg/fs-cook)

# Devolopers & credits
Made with ❤️ from:
## Devolopers

DEV #0 -> [Saicharankandukuri](https://github.com/SaicharanKandukuri)
<a href="https://github.com/RandomCoderOrg/ubuntu-on-android/graphs/contributors">
<img src="https://contrib.rocks/image?repo=RandomCoderOrg/ubuntu-on-android" />
</a>

Dev #1 -> [Gxmersam](https://github.com/GxmerSam)
> DEV #0 = [Saicharankandukuri](https://github.com/SaicharanKandukuri)
>
> Dev #1 = [Gxmersam](https://github.com/GxmerSam)

# Licence
## Licence
MIT
Copyright (c) 2021 Saicharan Kandukuri

<h2 align="center"> More Updates coming soon 💛</h2>

- feel free to contribute to this repo :)
###### feel free to contribute to this repo🤍.
Binary file added assets/IMG_20211014_084106.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_20211014_084124.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_20211014_084143.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/app_showcase.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/badge-bash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/desktop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/edited_showcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/five.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/four.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/one.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/six.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/three.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/two.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/udroid_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 0 additions & 89 deletions credits.json

This file was deleted.

Empty file removed gitignore
Empty file.
Loading