Hi there,
Just in case this could help anyone, as I really prefer linuxdeploy to userland, allthough setup was more difficult.
My configuration, which works for me with Android 9:
Bootstrap
- distribution: Ubuntu
- architecture: arm64
- distribution package: bionic
- type of installation: file
- image size: 15 000MB
- installation path: (the location given by LD=internal memory
- filesystem: ext4
- username: root
- password: set a suitable value
- privileged users: root:aid_inet root:aid_sdcard_rw root:aid_graphics
- locale: set a suitable value
Mounts
- custom mount points: yes (without any special mountpoint, this allready mounts the ubuntu file system to /data/local/mnt in Android!)
- mount point list: /storage/345mysdcard /root/desktop/SD-card
SSH
- SSH: yes (dont use it)
PulseAudio
- enable: yes
GUI
- GUI: yes
- graphical subsystem: X11
- graphical environment: LXDE
This gives me a real ubuntu in my pocket with audio, internet, data transfert to android and without the need to reboot.
The only thing, which I still could not fix:
if I build the container with a ""normal"" user (=not root), which I would prefere, internet access is limited to the console. Browser/Mailclient dont get access ... weird. ..