[Android General] HolyChickenGuy:
All credits go to:

Hentacler for making Sparkle

Meefik for making Linux Deploy

Now on to the tutorial!

Requirements:

Sparkle

Linux Deploy

Termux

Now you have all those apps installed lets continue

Open Termux then enter:

su

Once in root mode enter:

setenforce 0

Then exit:

exit

Open Linux Deploy and configure it to your likings

My configuration:

Distribution: Debian
Architecture: arm64
Distribution Suite: ubstable
-
Installation type: File
-
Image size: 32GB

Then set your username and password, for this tutorial I set my username to:

android

And im not gonna tell you my password :D

After you've set up your configuration scroll down and configure init, mounts and ssh

INIT:

Enable: On
Init system: run-parts

Init settings:
- Init path: /etc/rc.local
- Init user: android
- Async: Disabled

MOUNTS:

Enable: On

Mount points:
- /data/data/com.sion.sparkle/files - /sparkle

SSH:

Enable: On

SSH settings:
- Port: 22
- SSH options:

Now you've set this all up go back to the main overview screen of Linux Deploy, hit the tripple dot menu and install!

After the install is done, hit START

Now open Termux and install SSH:

pkg install openssh

then connect to linux via SSH: (username is the username set in Linux Deploy)

ssh username@localhost

Now you've connected you need to install some packages:

sudo apt install weston
sudo apt install xwayland
sudo apt install nano
sudo apt install dbus-x11

Also install your desktop environment of choice, for this tutorial im going with KDE:

sudo apt install kde-full

Once everything is done installing you need to configure some scripts:

nano sparkle.sh

Now paste this: (make sure to change "startplasma-x11" to your preferred DE, if you're also using KDE then you don't need to change anything)

#!/bin/bash
set -e
sudo chmod 777 /sparkle
sudo chmod 777 /sparkle/wayland-0
XDG_RUNTIME_DIR=/sparkle Xwayland &
sleep 1
export DISPLAY=:0
startplasma-x11

Now open Sparkle and click "edit user.sh" and delete everything then hit "save", Go back to the main screen of Sparkle and hit "Start", you should see a notification appear in your status bar

Now to start everything go back to Termux and assuming you're still SSH'ed into Linux type:

sh sparkle.sh

and enjoy!

Bonus step:

If you want everything to automatically start when pressing "START" in Linux Deploy than you can configure this

Open Termux and connect to Linux via SSH and change the permissions/edit the rc.local file: (edit username to the username set in Linux Deploy)

sudo chmod +x /etc/rc.local
sudo chmod +x /home/username/sparkle.sh
sudo nano /etc/rc.local

In nano paste: (once again change username to the username in Linux Deploy

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/home/username/sparkle.sh

exit 0

Now every time you want to use Linux just open Sparkle, hit "Start", then go to Linux Deploy and start linux and your DE will automatically load up on your screen without entering a single command!