diff --git a/README.md b/README.md index b29adc2..0e54a66 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ | | | |--|--| |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/On-Upgrade%20to%20v01-green) | +|status| ![img3](https://img.shields.io/badge/settingup-green) | |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) | @@ -18,18 +18,19 @@ A tweaked ubuntu-21.04 with xfce4 runs on android with termux/proot-distro - codename -> `hippo`
- Note & Disclaimer + Note & Disclaimer (Must read !) 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 so performence clearly depends on CPU, ram and storage read-write speed! +- 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 improves time by time. -- the linux you trying to install from this repo is not fully functional in target space because of the selinux policies, increasing requirement in linux requirements and also because project is set to run with `ptrace()` +- 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 + - This project comes without warranties or data protection
@@ -60,7 +61,7 @@ hippo ## 🔊 Audio -for some reasons we imported this step to hippo that mean audio automatically enabled when you invoked any start commands of `hippo` +pulseaudio starts everytime you invoke start commands with `hippo` > You can also audio manually with this command ```bash @@ -75,17 +76,12 @@ pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth ## some Screenshots -![imaage](src/images/six.png) - -![imaage](src/images/five.png) - -![imaage](src/images/four.png) - -![imaage](src/images/three.png) - -![imaage](src/images/two.png) - -![imaage](src/images/one.png) +![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) 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) @@ -100,7 +96,6 @@ Dev #1 -> [Gxmersam](https://github.com/GxmerSam) - create an [issue](https://github.com/RandomCoderOrg/ubuntu-on-android/issues) if you want to make me create one! -

More Updates coming soon 💛

- feel free to contribute to this repo :) diff --git a/hippo.sh b/hippo.sh index 8b48e04..9869d0c 100644 --- a/hippo.sh +++ b/hippo.sh @@ -3,7 +3,7 @@ ## DISTRO_NAME="hippo" -DISTRO_COMMENT="[Testing] A ubuntu 21.04 port with some tweaks" +DISTRO_COMMENT="A ubuntu 21.04 port with some tweaks xfce4" # You can override a CPU architecture to let distribution # be executed by QEMU (user-mode). @@ -27,8 +27,12 @@ get_download_url() { case "$DISTRO_ARCH" in aarch64) - rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v01-xfce4/ubuntu-21.04-xfce4-rootfs-v01-arm64.tar.gz" - sha256="e3bbb6f88cff4839fe6a607929708aa84b7fb2e1dc58a2d101471c4150c4447f" + rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-arm64-v02-xfce4.tar.gz" + sha256="282a7498046ef0e4f0a57265725d739e67048bb2b64ba2f4441ca4ce1a67ea40" + armv7l|armv8l) + rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-armhf-v02-xfce4.tar.gz" + sha256="e797c8590644ffd968dc1727474b533f7bc32e22f69a5f91e519614315baf211" + : ;; esac diff --git a/install.sh b/install.sh index fc20b4b..8174f77 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash ############## -# Script V01 +# * Script V01 # @@ -17,6 +17,11 @@ FSM_URL="https://github.com/RandomCoderOrg/fs-manager-hippo" die () { echo -e "\e[1;32m Error ${*}\e[0m";exit 1 ;:;} shout () { echo -e "${*}\e[0m";:; } +# +# * die function exits program +# * shout just echo the messege out +# + function setup_and_clone() { shout "Trying to update apt indexes...." @@ -50,7 +55,7 @@ function setup_and_clone() function install() { #### - # Step 1 + # * Step 1 shout "setting up implant..." @@ -62,8 +67,10 @@ function install() # step 2 if [ -f "${CACHE_ROOT}"/fs-manager-hippo/install.sh ]; then + oldpwd="$(pwd)" cd "${CACHE_ROOT}"/fs-manager-hippo || die "failed to cd ..." bash install.sh || die "failed to install manager..." + cd "${oldpwd}" fi shout