Hysen Labs
Open-source project
termux/termux-app avatar
termux

termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.

59,258 stars7,214 forksJavaNOASSERTION
01
DEEP OPEN-SOURCE ANALYSIS

termux-app: the Android terminal and where to get it

A terminal emulator for Android that can be extended with packages. This repository covers the app itself, its install sources, and the stability notes that come with running it on newer Android versions.

02
DEEP OPEN-SOURCE ANALYSIS

The app versus its packages

Termux is a terminal emulator application for Android, extendible by a variety of packages. The README is careful about scope: this repository is for the app itself, meaning the user interface and terminal emulation. Packages installable inside the app live in a separate repository. The primary language is Java, and the project is organized around a terminal emulator core plus plugins.

03
DEEP OPEN-SOURCE ANALYSIS

Android version support

Support depends heavily on the Android version. Termux can be obtained from various sources for Android 7 and later with full support for apps and packages. Support for Android 5 and 6 was dropped in 2020 at version 0.83, then re-added for the app alone in 2022, without package update support. One point gets repeated: APK files from different sources are signed with different keys and must not be mixed, or installation fails with signature errors.

04
DEEP OPEN-SOURCE ANALYSIS

Install sources: F-Droid and GitHub

The README documents two main sources. F-Droid releases are built and published by F-Droid once a new GitHub release is detected, and the maintainers do not control that process. Only a universal APK is released there, working on all supported architectures, with an installation size around 180MB. GitHub releases also exist for recent versions. A security warning notes that GitHub APKs are signed with a test key shared with the community, so unofficial builds distributed elsewhere should be treated with caution.

05
DEEP OPEN-SOURCE ANALYSIS

Stability on Android 12 and later

A notice warns that Termux may be unstable on Android 12 and later. The Android OS may kill phantom processes beyond a limit, or processes using excessive CPU, which can end a shell session unexpectedly. The README links issues and documentation about phantom cached and empty processes, and notes an option to disable the killing should be available in Android 12L or 13.

06
DEEP OPEN-SOURCE ANALYSIS

Package management and updates

A package management guide covers fixing repository maintenance or down errors when running apt or pkg commands. The README strongly recommends updating to v0.118.0 or higher for various bug fixes, including a critical world-readable vulnerability. The term bootstrap is used for the minimal packages shipped with the app itself, which set up a working shell environment on first run.

08
DEEP OPEN-SOURCE ANALYSIS

Official sources

09
Community notes

Community notes