tx_launch is an command line tool for launching android apps. it uses cmd line tools like 'am'(activity manager) and 'pm'(package manager) for launching apps.
Installation:
apt install aapt -yDownload from either:
Steps:
- Install Rust:
apt install rust -y- Setup storage access:
termux-setup-storagethen restart Termux.
- Clone the repository:
git clone https://github.com/BayonetArch/tx_launch.git- Build the project:
cargo build --releaseThe resulting binary will be located at: target/release/tx_launch
Download directly from the Releases section
tx_launch --help for help.
By default, the tool uses termux's built-in am (/data/data/com.termux/files/usr/bin/am), which runs on JVM and is very slow.
| Option | Description | Requirements |
|---|---|---|
old |
default termux am (slowest) | None |
new |
termux-am from github action builds (faster) | github action build of termux + "Display over other apps" permission |
system |
system am (fastest) | android 10 only |
Change am:
tx_launch --am {new,old,system}By default, launching the tool opens a REPL where you can type app names:
tx_launchLaunch apps directly from the command line:
tx_launch --run {app_name}tx_launch --run playstore --am newLaunches play store using the new am
- when using
newam, ensure termux has "Display over other apps" permission enabled - system am only works on android 10