Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TalalMash/38525af0d3b667819a68e9811a1bdd31 to your computer and use it in GitHub Desktop.
Save TalalMash/38525af0d3b667819a68e9811a1bdd31 to your computer and use it in GitHub Desktop.
SuperSlicer (3GB RAM) or Cura (5GB RAM) on Android (64 bit)
ETA setup: ~1 hour.
1. Install termux and follow https://ivonblog.com/en-us/posts/termux-compile-mesa-driver/
2. Add startx file in home directory with the following content:
#!/bin/sh
termux-x11 &
udroid -l xfce4
3. Add startx file inside Ubuntu home directory with the following content:
#!/bin/bash
export PULSE_SERVER=127.0.0.1
export XCURSOR_SIZE=48
export DISPLAY=:0
export GDK_SCALE=2
export XCURSOR_SIZE=48
export QT_SCALE_FACTOR=2
dbus-launch --exit-with-session startxfce4
4. Download and extract SuperSlicer(*) using: ./SuperSlicer_aarch64.AppImage --appimage-extract
5. Create a shortcut for AppRun on XFCE desktop
6. Done!
Runtime from start to SuperSlicer:
1. Open Termux app
2. type ./startx
3. Termux-X11 will open, return to termux app
4. type ./startx again (since you're in ubuntu now)
5. Return to Termux-X11 app and double click SuperSlicer
6. Done!
(*) https://drive.google.com/file/d/1CXzOfBUKOGmZfM4jflvahoXjdVLHPIaO/view?usp=sharing
Tips: use two fingers scroll to zoom in, enable touchpad mode in Termux-X11
Slicing is very fast on modern smtartphones (2020+) only.
SuperSlicer GUI may be easier to add remove supports, slicer and other tools with emulated touchpad compared to Cura.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment