A tweaked ubuntu-21.04 with xfce4 runs on android with termux/proot-distro Ubuntu 21.04 On android
This means now you can install ubuntu like above screenshot right in your smartphone without destroying your phone with rooting (let android and google live)
- codename ->
hippo
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!
- Don't try heavy apps unless you have a good device :)
- 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)
- If you have any issues or suggestions make sure i know at https://github.com/RandomCoderOrg/ubuntu-on-android/issue (create an issue)
installation
- first install termux from termux.com or playstore!
Getting Sources and install scripts
# remove ubuntu-on-android folder if exists
rm -rf ubuntu-on-android
# install dependencies
apt update; apt upgrade -y ; apt install -y pulseaudio proot-distro git -y
# clone the code
git clone https://github.com/RandomCoderOrg/ubuntu-on-android
# run the installer
cd ubuntu-on-android
bash install.sh
# install
proot-distro install hippo
logging into hippo
# run
proot-distro login hippo
starting vncserver
vncserver :1
This step start GUI like screenshot above it requires an app to see, its up to yourchoice but here are some recommended apps
- RealVnc avalible in playstore
- Nethunter KEX
stoping vncserver
vncserver --kill :1
if you press
logout
button inside vnc no need to do this step
Logout from hippo :)
exit
๐ Audio
If you cant hear audio from vnc then use this command by openning a new session in termux
Keep this in your .bashrc
file
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
Default passwords
user
-> root
vnc password -> ubuntu
you can change it by command vncpasswd
A small help from me if you want to build your own rootfs wiki_page
Devolopers & credits
Made with โค๏ธ from: DEV #0 -> Saicharankandukuri
Links to community
- create an issue if you want to make me create one!
More Updates coming soon ๐
- feel free to contribute to this repo :)
Working On
- Katoolin
- A script to manage
hippo
from termux session - vnc manager scripts
- libGL implementation (Testing locally)
- Xserver Xsdl Docs and scripts