Skip to content

RandomCoderOrg/fs-manager-udroid

Repository files navigation

fs-manager-udroid

A tool manage common things with ubuntu-on-android & some scripts and linux apps

Manual installation

git clone https://github.com/RandomCoderOrg/fs-manager-udroid.git
cd fs-manager-udroid
bash install.sh

Usage

udroid <option> [<options>] [<suite>]:[<varient>]

options:
  install, -i [<options>] <suite>:<varient>  install a distro
  remove, --remove <suite>:<varient>    remove a distro
  reset, --reset <suite>:<varient>      reinstalls a distro
  list, --list [options]                list distros
  login, --login <suite>:<varient>      login to a distro
  upgrade, --upgrade                    upgrade udroid scripts
  help, --help                          show this help message and exit
  --update-cache                        update cache from remote  
  --clear-cache                         clear downloaded cache      

three main arguments install, login, remove

install ( -i )

udroid -i jammy:raw

install argument takes a strings of two words seperated by : left side is suite name and right is varient name

More Avalible examples

udroid -i impish:raw
udroid -i impish:xfce
udroid -i impish:mate
udroid -i focal:xfce4
help
udroid [ install| -i ] [<options>] [<suite>]:[<varient>]
installs udroid distros
options:
  -h, --help    show this help message and exit
  --no-verify-integrity  do not verify integrity of filesystem

example:
  udroid install jammy:raw
  udroid install --install jammy:raw

--install with no extra options install best picked distro ( deprecated )

login (login)

udroid --login jammy:raw
# or
udroid login jammy:raw # same as above
help
udroid [ login| --login ] [<options>] <suite>:<varient> <cmd>
login to a suite

options:
  -h, --help:         show this help message and exit
  --user:               Allows the user to specify the login user for the filesystem.
  --name: Allows        the user to specify a custom name for the filesystem to install
  --bind or -b:         Allows the user to specify extra mount points for the filesystem.
  --isolated:           Creates an isolated environment for the filesystem.
  --ashmem-memfd | --memfd     enable support for memfd emulation through ashmem ( experimental )
  --fix-low-ports:      Fixes low ports for the filesystem.
  --no-shared-tmp:      Disables shared tmp for the filesystem.
  --no-link2symlink:    Disables link2symlink for the filesystem.
  --no-sysvipc:         Disables sysvipc for the filesystem.
  --no-fake-root-id:    Disables fake root id for the filesystem.
  --no-cap-last-cap:    Disables cap last cap fix mount for the filesystem.(only per session)
  --no-kill-on-exit:    Disables kill on exit for the filesystem.

<cmd>:
  command to run in the filesystem and exit

remove (remove)

udroid remove jammy:raw
help
udroid [ remove| --remove ] <distro>
removes udroid distros
example:
  udroid remove jammy:raw
  udroid remove --remove jammy:raw

Download cache is ignored

Contributing

for now there is no guide for contributing. try to look at code and make a pull request if you have any corrections or improvements ( 💟 )