Running postmarketOS on any Andrid devices without rooting or flashing ROM.
- Termux X11
- Hacker’s keyboard if you don’t have keyboard and mouses.
2. Install Proot Alpine Linux
The defaut installation of Proot Apline in Termux-poort is using edge repositories. However Edge branch is very unstable, therefore I choose 3.17 (postmarketOS v22.12)
- Install Proot Alpine
- Change repositories to v3.17
- Add a user and setup timezone.
- Enable sshd in Termux proot.
3. Convert Alpine installation to postmarketOS
- Add postmarketOS v22.12 (Aplpine v3.17) repositories
- Add postmarketos-keys
/etc/os-release. Add following lines
4. Install Deskop Environment
To launch a desktop Environment in Termux proot, execute the following commands:
proot-distro login --user user --shared-tmp: Log into Proot
termux-x11 &: Start X server
dbus-launch --exit-with-session <desktop nvironment> &: Start desktop environment
The packae name is
The packae name is
Can be launched by executing
dbus-launch --exit-with-session startplasma-x11 &
Login screen works. But it turns black after login.
In 2022, I tried to start Plasma Mobile in Proot Arch Linux and it worked (
plasma-mobile is available on AUR). It was much unstable than Plasma desktop.
The package name is
postmarketos-ui-sxmo but Termux X11 only support X applications so I choose
- Install SXMO packages
export XDG_RUNTIME_DIR=/tmpbefore launching SXMO.
SXMO can be launched by executing
dbus-launch --exit-with-session /usr/bin/sxmo_xinit.sh &
The configuration files of SXMO is located at
~/.config/sxmo/. Hooks are at
Gestures are not working.
You may modify dwm source code to change default keybindings.
sxmo-dwm package before installing your cutsom dwm.
Or you can just install vanilla
dwm package and use default dwm keybindings.
Wake up hacker’s keyboard in Termux, then click Termux X11 at notification bar to keep keyboard displaying in Termux X11.