termux / termux/termux-api-package

android 11 termux API hangs

Open
#149 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.7k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

I have already installed both termux-api AND android app.
It's a fresh termux installation from f-droid.
I have issued termux-setup-storage AND granted android full permissions to termux API on android settings.
Then every intent to execute any termux API command, It justo hangs.

Steps to reproduce
0. Using Android 11 with termux AND termux API installed from f-droid

  1. Grant permissions to both android apps
  2. Install termux-api package
  3. Issued any command like: termux-torch on
  4. It hangs

Expected behavior
Light on

Additional information

Application version:
0.118.0
Packages CPU architecture:
arm
Subscribed repositories:

sources.list

deb https://packages-cf.termux.org/apt/termux-main/ stable main
Updatable packages:
All packages up to date
Android version:
11
Kernel build information:
Linux localhost 4.14.193+ #1 SMP PREEMPT Mon Oct 25 11:40:37 CST 2021 armv7l Android
Device manufacturer:
ZTE
Device model:
ZTE Blade A5 2020

I Will do any further testing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the hang with the documented Android 11 setup and the termux-torch on command, then inspect the Termux:API package entry point used by that command. Done means the command returns normally and the Android device's light turns on, with the result checked against the reported Termux and package versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, shell
Domain
cli, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.