Linux IMG - aarch64 with exagear desktop and pre-compiled aarch64 and x86 MESA VirGL libs
This is a simple tutorial in how to start, I will not be editing the video I'll describe the steps here if you didn't get it, download links will be on description.
I'm assuming you already have pulseaudio installed on Termux I've created a sh file for me, I'll link the tutorial for installing pulseaudio on termux also..
Tutorial:
- Install: Termux, Linux Deploy, VirGL Overlay, Input Bridge, Sparkle Wayland
you first need to configure the downloaded IMG on Linux deploy, create a new profile and got proprieties, then set:
- Dist: Debian
- Release: Stable
- Type: file
- Path: path to donwloaded Linux.img
- Image size: 16384
- Filesystem: ext4
- User: root
- Password: 123 (you may change this)
Go to mounts and activate mountpoints, then you will need to create some mount points,
One for your main storage to /mnt/main, source paths may vary depending on phone, check first:
- Source: /mnt/runtime/full/emulated/0
- Target: /mnt/main/
save
One for your SDCARD if you have one:
- Source: /mnt/runtime/full/F89A-179E
- Target: /mnt/sdcard/
save
And one for sparkle app, it will be the Wayland server we'll be using
- Source: /data/data/com.sion.sparkle/files
- Target: /sparkle/
Now you're pretty much done, go back to proprieties and activate ssh and pulse audio, go to pulseaudio settings and check if port is set to 4713, do not activate GUI check, now we start:
- Open termux and start pulseaudio
- Open linux deploy and start (it may give an error first try, try again)
- On termux enter: ssh root@localhost
- password 123
When logged in first command is
- export DISPLAY=:0 (you may include this at the end of the file /etc/profile so that you won't need to type this again)
Then you start tmux
- tmux
Now you need to open sparkle app and press start, you can start virgl services and open input bridge as well, then go back to termux and type:
- sh /home/android/sparkle.sh
Sparkle will start and boot lxde, press back when finished to dismiss overlay
on termux you'll need to create a new screen on tmux, for this press CTRL + B then press C, you can check at the green bar that now we have screen 0 and screen 1, 0 being the one you started sparkle, to navigate between them you need to press CTRL + B then it's number...
Anyways, on this new screen start exgagear and boot wine:
- exgagear debian-9
you'll see starting exgagear...
- sh wine.sh
you may activate the sparkle overlay in notifications to check wether worked or not,
then create another screen on tmux (CTRL + B then c) and start exgagear and input bridge:
- exgagear debian-9
you'll see starting exgagear...
- sh in.sh
Now you're ready to go, open sparkle app, chose blank button, then press show on sparkle notification
PS: this sparkle mod although it's good for it's fixed resolution have a bug in touch you'll need input bridge to navigate menus. but mouse in games shows and works well