termux-usb command takes long time to list connected devices on Android 14
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
- termux-api package version: 0.58.0-1
- termux-api application version: 0.50.1
- Android OS version: 14
- Device model: SM-S908E (Galaxy S22 ultra)
I am seeing that a command of termux-usb -l takes quite long time (around 30 seconds) before outputing the result. I also tested on other phone (Redmi 6 Pro - Android 8.1), this command showed the output very fast.
Could you please take a look on this?
Thanks,
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 running termux-usb -l on Android 14 and compare its roughly 30-second delay with the fast result reported on Android 8.1. Trace the implementation behind the termux-usb command in the termux-api project. Done means identifying and resolving the Android 14-specific delay while preserving device listing behavior.
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
- Mostly clear
- Newbie friendliness
- 45/100