Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 11 termux API hangs #149

Open
pulketo opened this issue Mar 8, 2022 · 1 comment
Open

android 11 termux API hangs #149

pulketo opened this issue Mar 8, 2022 · 1 comment

Comments

@pulketo
Copy link

pulketo commented Mar 8, 2022

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.

@sumithemmadi
Copy link

Run logcat command over adb from pc (not as termux user) and see if an exception or error is being thrown since it may tell you exactly why it is hanging.

https://developer.android.com/studio/command-line/logcat

Also delete all app data of Termux:API and try enabling Auto Start for Termux:API and disable all battery optimizations.

https://dontkillmyapp.com/xiaomi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants