android 11 termux API hangs

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

Nobody has claimed this yet.

Assessment

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

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.

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.

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

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from termux/termux-api-package

All issues in termux/termux-api-package

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.