Skip to content

Commit 4820f88

Browse files
Merge pull request #29 from RandomCoderOrg/v02-xfce4-patch
V02 xfce4 patch
2 parents e7001a4 + 02da417 commit 4820f88

13 files changed

+136
-113
lines changed

README.md

+50-51
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,39 @@
1-
![Screenshot_20210605-115657_VNC Viewer](https://user-images.githubusercontent.com/68287637/120882449-b4729680-c5f5-11eb-8a47-c452aefcc882.jpg "A Screenshot of ubuntu xfce showing some pre-installed apps")
2-
<p align="center">
3-
<img src="https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDID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2Bx6OMUMMNe%2Fgf7ocbw0v0acKg6J8Ql0q%2BT%2FAXR5PNi5dz9c71upuQqCKFAD%2BYhrZLEAmpodaHO3Qy6TI3NhBpbrshGtOWKOSMYwYGQM8nJzoFJNxP2HjyIQho4PewK6hBktoDcUwtIln4PjOWzflQ%2Be5yl0yCCYgYikTclGlxadio%2BBQCSiW1UXoVGrKYwH4RgMrjU1HAB4vR6LzWYfFUCKxfS8Ftk5qxHoCUQAUkRJaSEokkV6Y%2F%2BJUOC4hn6A39NVXVBYeNP8piH6HeA4fPbpdBQV5KOx0QaL1YppX3Jgk0TwH2Vg6S3u%2BdB91%2B%2FpuNYPYFl5uP5V7ZqvsrX7jxqMXR6ff3gCQSTzFI0a1TX3wIs8ul%2Bq4HuWAAiM39vhOuR1O1fQ2gT%2F26Z8Z5vrl2OHi9OXZn995nLV9aFfS6UC9JeJPfuK0NBohWpCHMSAAsFe74WWP%2BvT25wtP9Bpob6uGqqyDnOtaeumjRu%2ByFu36VntK%2FPA5umTJeUtPWZSU9BCgud661odVp3DZtkc7AnYR33RRC708PrVi1larW7XwZIjLnd7R6SgSqWSNjU1B3F72pz5TZbXmX5vV81Yb7Lg7XT%2FUXriu8XLVqw6c6XqWnBKiiYU%2BMt3wWF7u7i91XlSEITwSAZ%2FCzAAHsJVbwXYFFEAAAAASUVORK5CYII%3D">
4-
</p>
1+
![Screenshot_20210605-115657_VNC Viewer](src/images/edited_showcase.png "A Screenshot of ubuntu xfce showing some pre-installed apps")
52

6-
<p align="center">
7-
<img src="https://badges.frapsoft.com/os/v1/open-source.svg?v=103">
8-
</p>
3+
| | |
4+
|--|--|
5+
|This project is | ![img](https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bX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fS6UC9JeJPfuK0NBohWpCHMSAAsFe74WWP%2BvT25wtP9Bpob6uGqqyDnOtaeumjRu%2ByFu36VntK%2FPA5umTJeUtPWZSU9BCgud661odVp3DZtkc7AnYR33RRC708PrVi1larW7XwZIjLnd7R6SgSqWSNjU1B3F72pz5TZbXmX5vV81Yb7Lg7XT%2FUXriu8XLVqw6c6XqWnBKiiYU%2BMt3wWF7u7i91XlSEITwSAZ%2FCzAAHsJVbwXYFFEAAAAASUVORK5CYII%3D) ![img2](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)|
6+
|status| ![img3](https://img.shields.io/badge/settingup-green) |
7+
|Platform | **Android Termux App (proot `prtace()` )**|
8+
| Linux Distribution | ![badge3](https://img.shields.io/badge/Linux%20Distribution-UBUNTU%20Hippo%2021.04-brightgreen) |
9+
|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) |
910

10-
![stage](https://img.shields.io/badge/Status-Installable-green) ![badge2](https://img.shields.io/badge/App-Termux-green) ![badge3](https://img.shields.io/badge/Linux%20Distribution-UBUNTU-brightgreen) ![bagge4](https://img.shields.io/badge/Linux%20Distribution__version-21.04%20(hippo)-brightgreen)
11-
[![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)
1211

1312

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

1716
> This means now you can install ubuntu like above screenshot right in your smartphone without destroying your phone with rooting
18-
> (let android and google live)
1917
2018
- codename -> `hippo`
2119

22-
### A note before you try
20+
<details>
21+
<summary>Note & Disclaimer (Must read !)</summary>
22+
23+
A note before you try
2324
- As lot of it is preinstalled you can login and start right after you install
24-
- As this runs on termux so performence clearly depends on CPU, ram and storage read-write speed!
25+
- As this runs on termux and on software rendering so performence clearly depends on CPU, ram and storage read-write speed!
2526
- Don't try heavy apps unless you have a good device :)
26-
- And its in early stages of building so some things may look kind of bad or missing(make sure to notice me if you find any in issues)
2727
- If you have any issues or suggestions make sure i know at https://github.com/RandomCoderOrg/ubuntu-on-android/issue (create an issue)
2828

29+
> **Disclaimer** :
30+
- i dont work with any company or organization of ubuntu or any third party sources took in making fs(for now).
31+
- 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.
32+
- 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
33+
34+
- This project comes without warranties or data protection
35+
</details>
36+
2937
# Installation
3038
- First install termux from [termux.com](https://termux.com) or [F-Droid!](https://f-droid.org/en/packages/com.termux/)
3139

@@ -34,69 +42,60 @@ A tweaked ubuntu-21.04 with xfce4 runs on android with termux/proot-distro
3442
# remove ubuntu-on-android folder if exists
3543
rm -rf ubuntu-on-android
3644
# install dependencies
37-
apt update; apt upgrade -y ; apt install -y pulseaudio proot-distro git -y
45+
apt update; apt upgrade -y ; apt install git -y
3846
# clone the code
3947
git clone https://github.com/RandomCoderOrg/ubuntu-on-android
4048
# run the installer
4149
cd ubuntu-on-android
4250
bash install.sh
43-
# install
44-
proot-distro install hippo
45-
```
46-
### Logging into hippo
47-
```bash
48-
# run
49-
proot-distro login hippo
51+
# start the manager for first time (if it can't find any pre-installed fs it automatiaclly starts installing it)
52+
hippo
5053
```
51-
### starting vncserver
54+
### Basic Usage
55+
| **Command** | **Usage** |
56+
|--------------------|-----------|
57+
| `hippo` | To login to shell |
58+
| `hippo startvnc` | start vncserver at port `1` (Tou can change default port by exporting env varaible `` to a port number) |
59+
| `hippo stopvnc` | stop vncserver at given or default port `1`
60+
| `hippo upgrade` | to upgrade fs or to get new features if avalibe |
5261

53-
```bash
54-
vncserver-start
55-
```
56-
This step start GUI like screenshot above
57-
it requires an app to see, its up to yourchoice but here are some recommended apps
58-
- [RealVnc](https://play.google.com/store/apps/details?id=com.realvnc.viewer.android&hl=en_IN&gl=US)(recommended) avalible in playstore
59-
- [Nethunter KEX](https://store.nethunter.com/en/packages/com.offsec.nethunter.kex/)
60-
### stoping vncserver
61-
```bash
62-
vncserver --kill :1
63-
```
64-
> If you press `logout` button inside vnc no need to do this step
65-
### Logout from hippo :)
66-
```bash
67-
exit
68-
```
6962

7063
## 🔊 Audio
71-
Just execute `pulseserver-start` in termux and audio will get setup automatically.:)
72-
73-
Or.
64+
pulseaudio starts everytime you invoke start commands with `hippo`
7465

66+
> You can also audio manually with this command
7567
```bash
7668
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
7769
```
7870
## Default passwords
79-
`user` -> root
80-
81-
82-
83-
vnc password -> `ubuntu`
8471

72+
| |password|
73+
|--|--------|
74+
| hippo user | `secret` |
75+
|vncserver root | `secret` |
8576

86-
you can change it by command `vncpasswd`
77+
## some Screenshots
8778

88-
## Appeared on
89-
- Youtube (1x1 Tech channel): https://www.youtube.com/watch?v=aJhV7K80OvQ
90-
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/aJhV7K80OvQ/0.jpg)](https://www.youtube.com/watch?v=aJhV7K80OvQ)
79+
![image](src/images/six.png)
80+
![image](src/images/five.png)
81+
![image](src/images/four.png)
82+
![image](src/images/three.png)
83+
![image](src/images/two.png)
84+
![image](src/images/one.png)
9185

9286
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)
87+
9388
# Devolopers & credits
9489
Made with ❤️ from:
90+
9591
DEV #0 -> [Saicharankandukuri](https://github.com/SaicharanKandukuri)
9692

93+
Dev #1 -> [Gxmersam](https://github.com/GxmerSam)
94+
9795
# Links to community
9896
- create an [issue](https://github.com/RandomCoderOrg/ubuntu-on-android/issues) if you want to make me create one!
9997

100-
<h2 align="center"> More Updates coming soon 💛<h2>
98+
99+
<h2 align="center"> More Updates coming soon 💛</h2>
101100

102101
- feel free to contribute to this repo :)

hippo.sh

+7-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
##
44

55
DISTRO_NAME="hippo"
6-
DISTRO_COMMENT="[Testing] A ubuntu 21.04 port with some tweaks"
6+
DISTRO_COMMENT="A ubuntu 21.04 port with some tweaks xfce4"
77

88
# You can override a CPU architecture to let distribution
99
# be executed by QEMU (user-mode).
@@ -27,8 +27,12 @@ get_download_url() {
2727

2828
case "$DISTRO_ARCH" in
2929
aarch64)
30-
rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v01-xfce4/ubuntu-21.04-xfce4-rootfs-v01-arm64.tar.gz"
31-
sha256="e3bbb6f88cff4839fe6a607929708aa84b7fb2e1dc58a2d101471c4150c4447f"
30+
rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-arm64-v02-xfce4.tar.gz"
31+
sha256="282a7498046ef0e4f0a57265725d739e67048bb2b64ba2f4441ca4ce1a67ea40"
32+
armv7l|armv8l)
33+
rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-armhf-v02-xfce4.tar.gz"
34+
sha256="e797c8590644ffd968dc1727474b533f7bc32e22f69a5f91e519614315baf211"
35+
:
3236
;;
3337
esac
3438

install.sh

+79-38
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,86 @@
11
#!/usr/bin/env bash
22

3-
####################################
4-
# A Script to implant hippo inside
5-
# proot-distro(for now!)
3+
##############
4+
# * Script V01
65
#
7-
TERMUX_PREFIX="/data/data/com.termux/files"
8-
DISTRO_PLUGINS_DIR="${TERMUX_PREFIX}/usr/etc/proot-distro"
96

10-
function _implant_()
7+
8+
CACHE_ROOT="${HOME}/.uoa-cache-root"
9+
TPREFIX="/data/data/com.termux/files"
10+
BIN_DIR="${TPREFIX}/usr/bin"
11+
INSTALL_FOLDER="${TPREFIX}/usr/var/lib/proot-distro/installed-rootfs"
12+
HIPPO_DIR="${INSTALL_FOLDER}/hippo"
13+
SCRIPT_DIR="${TPREFIX}/usr/etc/proot-distro/"
14+
HIPPO_REPO_URL="https://github.com/RandomCoderOrg/ubuntu-on-android"
15+
FSM_URL="https://github.com/RandomCoderOrg/fs-manager-hippo"
16+
17+
die () { echo -e "\e[1;32m Error ${*}\e[0m";exit 1 ;:;}
18+
shout () { echo -e "${*}\e[0m";:; }
19+
20+
#
21+
# * die function exits program
22+
# * shout just echo the messege out
23+
#
24+
25+
function setup_and_clone()
1126
{
12-
if [ -f hippo.sh ]; then
13-
if ! [ -f "${DISTRO_PLUGINS_DIR}"/hippo.sh ]; then
14-
cp -v hippo.sh "${DISTRO_PLUGINS_DIR}"
15-
echo -e "Implant done......."
16-
echo -e "- Now you can install ubuntu by running \e[1;32mproot-distro install hippo\e[0m"
17-
else
18-
echo "Looks like \"hippo\" is already installed..."
19-
echo -e "you can install ubuntu by running \e[1;32mproot-distro install hippo\e[0m"
20-
echo -e "you can login to ubuntu by running \e[1;32mproot-distro login hippo\e[0m"
21-
22-
fi
23-
return 0
24-
else
25-
return 1
27+
shout "Trying to update apt indexes...."
28+
apt update; apt upgrade -y
29+
30+
if ! command -v git >> /dev/null; then
31+
shout "Installing git.."
32+
apt install git -y || {
33+
die "Git installation failed"
34+
}
2635
fi
36+
37+
if ! command -v pulseaudio >> /dev/null; then
38+
shout "Installing pulseaudio..."
39+
apt install pulseaudio -y || {
40+
die "pulseaudio installation failed"
41+
}
42+
fi
43+
44+
if ! command -v pv >> /dev/null; then
45+
shout "installing pv.."
46+
apt install pv -y
47+
fi
48+
49+
git clone ${HIPPO_REPO_URL} "${CACHE_ROOT}/ubuntu-on-android" || die "failed to clone repo"
50+
git clone ${FSM_URL} "${CACHE_ROOT}/fs-manager-hippo" || die "failed to clone repo"
51+
52+
install
2753
}
28-
############################
29-
#
30-
# REQUIREMENTS
31-
32-
apt update; apt upgrade -y
33-
34-
if ! command -v proot-distro; then
35-
apt install proot-distro -y
36-
fi
37-
if ! command -v pulseaudio; then
38-
apt install pulseaudio -y
39-
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
40-
fi
41-
42-
########################
43-
if ! _implant_; then # this wont happen (mostly)
44-
echo ":( \e[32m error...\e[0m Please create a issue at \e[1;32mhttps://github.com/SaicharanKandukuri/ubuntu-on-android/issues\e[0m to resolve "
45-
fi
54+
55+
function install()
56+
{
57+
####
58+
# * Step 1
59+
60+
shout "setting up implant..."
61+
62+
if [ -f "${CACHE_ROOT}"/ubuntu-on-android/hippo.sh ]; then
63+
cp "${CACHE_ROOT}"/ubuntu-on-android/hippo.sh ${SCRIPT_DIR}
64+
fi
65+
66+
####
67+
# step 2
68+
69+
if [ -f "${CACHE_ROOT}"/fs-manager-hippo/install.sh ]; then
70+
oldpwd="$(pwd)"
71+
cd "${CACHE_ROOT}"/fs-manager-hippo || die "failed to cd ..."
72+
bash install.sh || die "failed to install manager..."
73+
cd "${oldpwd}"
74+
fi
75+
76+
shout
77+
shout "setup complete..."
78+
shout "Now you can install and login with comand\e[1;32hippo"
79+
shout "for info use hippo --help"
80+
shout
81+
82+
exit 1
83+
84+
}
85+
86+
setup_and_clone

main.sh

-21
This file was deleted.

src/images/app_showcase.jpg

1.15 MB
Loading

src/images/desktop.jpg

667 KB
Loading

src/images/edited_showcase.png

694 KB
Loading

src/images/five.png

3.84 MB
Loading

src/images/four.png

2.52 MB
Loading

src/images/one.png

1.2 MB
Loading

src/images/six.png

1.23 MB
Loading

src/images/three.png

1.39 MB
Loading

src/images/two.png

1.25 MB
Loading

0 commit comments

Comments
 (0)