查看: 89|回覆: 0

[Ubuntu] termux安装Ubuntu

[複製鏈接]

3

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2010-3-17
發表於 2021-12-29 22:18:00 | 顯示全部樓層 |閲讀模式

Screenshot_20210605-115657_VNC Viewer

Ubuntu 21.04 On android

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
img2
status
img3
Maintainence status
stale
Platform Android Termux App (proot prtace() )
Linux Distribution
badge3
Community
Support Server
Join the chat at https://gitter.im/ubuntu-on-android/community
Code quality & stats
CodeFactor
  • codename -> udroid
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 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

supported architectures status

arch status
arm64
stat
armv7l
stat
armv8l
stat
amd64
stat
Others not started

Installation

  • First install termux from termux.com or F-Droid!

Getting Sources and install scripts

# download 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

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

some Screenshots

image

image

image

image

image

image

FOSSA Status

A small help from me if you want to build your own rootfs wiki_page

Devolopers & credits

Made with ❤️ from:

DEV #0 -> Saicharankandukuri

Dev #1 -> Gxmersam

Licence

MIT
Copyright (c) 2021 Saicharan Kandukuri

More Updates coming soon 💛

  • feel free to contribute to this repo 😃

FOSSA Status

回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部