T-ui (Expert) Theme Manager a.k.a. ttm is a script created to manage T-ui Expert themes.
Its main functions are:
- Install a theme chosen from those available
- show the list of available themes
- show theme previews, via GitHub
- backup your current theme
- restore the previous backup
- update the script and the list of available themes
- T-UI Expert
- TEL / Termux or Busybox (the script needs to access curl or wget to execute some commands)
Option 1: automatic download
- Download install_ttm.zip and extract it into your internal storage ( /storage/emulated/0 ).
- On t-ui, change directory to the extracted folder if you are in a location other than the internal memory.
- Then type
sh install_ttm.shand wait for installation to finish. - When setup is done,
restartorrefresht-ui. - (Optional) If you can't install ttm via t-ui, you need to use Termux / TEL or another Terminal Emulator: remember to install curl or wget if they are not present.
NOTE: if you can't install ttm anyway, because you don't have root or because the script doesn't find curl or wget, install ttm manually
Option 2: manual download
- Download ttm script and extract it into your internal storage ( /storage/emulated/0 ).
- On t-ui Expert type:
alias -file- add these 2 aliases at the bottom of the list
ttm=sh /storage/emulated/0/ttm %ttm -p=search -u https://github.com/M4dGun/t-ui_themes- Save file and
restartorrefresht-ui.
[Work in Progress...]
- Through T-ui Expert if you have root
- Through T-ui Expert if you can use curl or wget without "termux curl" and/or "termux wget" commands
- Via Termux or TEL or another terminal emulator and with or without root (remembering to install curl or wget if not present)
- Case 1: if you are rooted then export Termux/TEL user bin folder into the PATH from T-UI:
export PATH=$PATH:/data/data/com.termux/files/usr/bin/:/data/data/com.termux/files/usr/bin/applets && su -c tsu
Now you can use all commands of Termux bin folder from T-UI.
Important: Do not restart t-ui after running this command.
This needs to be done for every session like if TUI Expert app re-launchs or the phone is rebooted etc.. so add an alias called init, type:
alias -file
Copy and paste this command at the end of file:
init=export PATH=$PATH:/data/data/com.termux/files/usr/bin/:/data/data/com.termux/files/usr/bin/applets && su -c tsu
Save and refresh t-ui Expert.
When you reboot your device or restart t-ui just type init.
TEST IT: type curl --help
WIP...
WiP......
