Native shell access
Execute Android shell commands while keeping process state and output under the application workflow.
An Android terminal with native shell execution and an embedded Python runtime.

DTerminal is an Android terminal for developers and power users who need shell access and Python without moving to a separate environment. It combines command execution, history, script storage, and an embedded Python runtime in a single application.
Execute Android shell commands while keeping process state and output under the application workflow.
Bundle Python 3.13 through Chaquopy for running scripts directly on the device.
Provide a pip-style workflow for installing pure-Python packages from PyPI at runtime.
Store scripts and command history with Room so the working state survives app restarts.
Run multiple shell or Python statements together as one execution block.
Save, organize, and quickly access frequently used shell and Python scripts.
Keep previously executed commands available through a persistent history.
Use built-in utilities for system information, text processing, encoding, and developer tasks.
Adjust font size and terminal text colors from the application.
Standard shell commands run through the Android shell. When root access is needed, the terminal can be switched to Root mode from the three-dot menu, after which commands are executed with root privileges.
Python runs through the embedded Python 3.13 runtime. The py trigger switches an execution block to Python, while saved scripts can be executed with command-line arguments. Pure-Python packages can also be installed from PyPI at runtime.
The project uses Clean Architecture with an MVI and Unidirectional Data Flow approach. Hilt handles dependency injection, while Coroutines and Flow coordinate asynchronous shell, database, and runtime operations.
DTerminal sits close to the Android shell rather than treating command execution as an ordinary application API. Process handling, threading, lifecycle, and privileged access are therefore part of the design.

