11---
2- description : quick installation guide
2+ description : Installation
33---
44
55# 📖 Quick Installation and usage
66
7- ### Installation
7+ ### Before installing:-
88
9- * First, install termux from [ termux.com] ( https://termux.com ) or [ F-Droid! ] ( https://f-droid.org/en/packages/com.termux/ )
10- * For display, you can use [ Xwayland ] ( https://github .com/termux/termux-x11 ) too.
9+ * Get termux from [ termux.com] ( https://termux.com ) or [ F-Droid. ] ( https://f-droid.org/en/packages/com.termux/ )
10+ * [ Vnc Viewer ] ( https://play.google.com/store/apps/details?id=com.iiordanov.freebVNC ) , [ Xserver XSDL ] ( https://play.google.com/store/apps/details?id=x.org.server ) or [ Termux : X11 ] ( https://GitHub .com/termux/termux-x11 ) for Display
1111
1212#### Video tutorial
1313
@@ -24,59 +24,17 @@ bash install.sh
2424udroid --install
2525```
2626
27- #### Basic Usage
28-
29- | ** Command** | ** Usage** |
30- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
31- | ` udroid ` | To login to shell |
32- | ` udroid upgrade ` | to upgrade fs or to get new features if available |
33- | ` startvnc ` | start vncserver at port ` 1 ` (you can change default port by exporting env varaible ` DEFAULT_VNC_PORT ` to a port number) |
34- | ` udroid stopvnc ` | stop vncserver at given or default port ` 1 ` |
35- | ` udroid --enable-dbus ` | To start udroid with dbus hack enabled |
36- | ` udroid --enable-dbus-vnc ` | To start vnc session with dbus hack enabled |
37-
38- #### Env Variables
39-
40- * ` DEFAULT_VNC_PORT ` to set vnc port for scripts
41- * ` HIPPO_BRANCH ` to set custom branch for cloning code
42-
43- #### Audio
44-
45- Pulseaudio starts everytime you invoke start commands with ` udroid `
46-
47- > You can start audio manually with this command
48-
49- ``` bash
50- pulseaudio --start --load=" module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
51- ```
52-
53- #### Default passwds for XFCE4
54-
55- | | password |
56- | -------------- | -------- |
57- | udroid user | ` secret ` |
58- | vncserver root | ` secret ` |
59-
60- #### Setting up Xwayland manually
61-
62- First up of all install Termux-x11 from above link, in termux use
6327
28+ #### Alt way to login
6429``` bash
65- XDG_RUNTIME_DIR= $PREFIX /bin Xwayland -ac :1 > /dev/null &
30+ proot-distro login udroid --bind /dev/null:/proc/sys/kernel/cap_last_cap
6631```
6732
68- This time start udroid with ` --shared-tmp `
69-
33+ #### Uninstalling
34+ For uninstalling rootfs you can use
7035``` bash
71- proot-distro login udroid --shared-tmp
72- ```
73- ###### or
74- ``` bash
75- udroid --shared-tmp
36+ proot-distro remove udroid
7637```
38+ Downloaded Tarballs are stored in ` $PREFIX/var/lib/proot-distro/dlcache ` , you can remove it too.
7739
78- And then start Xfce4 on Xwayland via
7940
80- ```
81- DISPLAY=:1 xfce4-session
82- ```
0 commit comments