termux / termux/termux-api

Termux-api No Work On Android 10 (BV9900 Pro)

Open
#447 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Problem description

Termux version 0.117 Termux-api: v0.48 by F-droid
Hello, I can't get the result of the commands
termux-api example:
termux-torch on # waiting forever CTRL-C to exit
And this is the same for all api commands.

  • While: termux and termux-api come from : F-droid,

  • The battery optimizations of these apps are disabled,

  • Termux-api has: all permissions: -Phone -
    Camera -Body sensors -Contacts -
    Call logs -Location - Microphone - SMS -
    No Authorization Denied
    Modify system settings: Authorized

  • The problem seems to be related to this post:

https://github.com/termux/termux-api/issues/168

Additional information

termux-info;

0.117
Packages CPU architecture:
aarch64
Subscribed repositories:

sources.list

deb https://packages.termux.org/apt/termux-main/ stable main

science-repo (sources.list.d/science.list)

deb https://packages.termux.org/apt/termux-science science stable # unstable-repo (sources.list.d/unstable.list)
deb https://packages.termux.org/apt/termux-unstable unstable main

x11-repo (sources.list.d/x11.list)

deb https://packages.termux.org/apt/termux-x11 x11 main

game-repo (sources.list.d/game.list)

deb https://packages.termux.org/apt/termux-games games stable

sources.list.d/pointless.list

deb https://its-pointless.github.io/files/24 termux extras

root-repo (sources.list.d/root.list)

deb https://packages.termux.org/apt/termux-root root stable
Updatable packages:
fribidi/stable 1.0.11 aarch64 [upgradable from: 1.0.10]
libdav1d/stable 0.9.2-1 aarch64 [upgradable from: 0.9.2]
libnghttp2/stable 1.45.1 aarch64 [upgradable from: 1.45.0]

Android version:
10
Kernel build information:
Linux localhost 4.9.190+ #1 SMP PREEMPT Sat Aug 29 21:07:18 CST 2020 armv8l Android
Device manufacturer:
Blackview
Device model:
BV9900Pro

apt list term*;

Listing... Done
termimage/stable 1.1.0 aarch64
termshark/root 2.3.0-1 aarch64
termux-am/stable,now 0.4 all [installed]
termux-api/stable,now 0.56 aarch64 [installed]
termux-apt-repo/stable,now 0.4 all [installed]
termux-auth/stable,now 1.4 aarch64 [installed,automatic]
termux-create-package/stable 0.10-1 all
termux-elf-cleaner/stable 1.7 aarch64
termux-exec/stable,now 1:0.9 aarch64 [installed]
termux-keyring/stable,now 2.3 all [installed]
termux-licenses/stable,now 2.0-1 all [installed]
termux-services/stable 0.13 all
termux-tools/stable,now 0.138 all [installed]
termux-x11/x11 1.0-3 aarch64

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 hanging termux-torch on command on Android 10 with the reported Termux and termux-api versions, then compare the behavior with the linked issue #168. Done means the API commands return normally instead of waiting indefinitely across the affected commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.