bash <(curl -fsSL https://raw.githubusercontent.com/AlainLam/termux-toy/main/start.sh)
-
Modify max_phantom_processes to max value or rollback to default
-
Install X11 environment
- Download and install Termux:X11
- Donwload and install Termux:API
- Download and install Termux:Widget
-
Connect to localhost using ADB or disconnect
-
Debian Helper
- Create a new Debian with desktop environment
- Install Code Server to your Debian
- Install Android Studio to your Debian
- Create a shortcuts for your Debian
Termux-Toy
│
├─.cache
│ termux-toy.conf
├─.tmp
│ termux-toy.log
├─${distro_name}
│ inlet.sh
├─debian
│ inlet.sh
│ xxx.sh
├─host
│ xxx.sh
├─share
│ xxx.sh
└─util
title.sh
util.sh
-
If the scripts in the
host
andshare
directories have atitle()
function and callsource title.sh
, they will generate a title. -
If a directory (except
host
,share
,util
) has aninlet.sh
script with atitle()
function and callssource title.sh
, it will generate a title. -
In any case, it is recommended to include this code:
source "$SCRIPT_PATH/../util/util.sh"
. -
The
termux-toy.conf
file in the.cache
directory is used to store some record information. You can access it using$CONFIGURATION_FILE
. -
The
termux-toy.log
file in the.tmp
directory stores operation records for debugging purposes. You can access it using$LOG_FILE
.