Termux:API crashes on certain commands (Samsung Galaxy S5 mini with Android 6.0.1)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
When using certain commands, the Termux:API app crashes and any further termux-api command calls will do nothing, not returning to shell input until I press CTRL-C. I tried force stopping Termux and Termux:API, cleared cache, and even rebooted phone. Nothing worked. This happened to me on the following occasions:
termux-brightness 25- Error message saying that Termux:API needs permission to write phone settings, which I can't provide as my device is not rooted. Maybe making it request device administrator permissions can help here?termux-dialogwith no apparent error messagetermux-fingerprintalso with no error message
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing termux-brightness 25, termux-dialog, and termux-fingerprint on a Samsung Galaxy S5 mini running Android 6.0.1, checking the permission behavior and the crash or hang after each command. Done means these commands no longer crash Termux:API or leave later termux-api calls blocked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100