termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
34.5k stars 3.62k forks source link

[Bug]: termux-usb -l loads infinity #2907

Open thedoc013 opened 2 years ago

thedoc013 commented 2 years ago

Problem description

hello when i type termux-usb -l it loads infinity and show no devices , when i plugin a usb my phone recognize it so i know that the usb stick is supported

now i want to use a wifi adapter TP-Link Nano Wlan Adapter (that supports monitormode) but cant check if it recognize the adapter because the endless loading

(wanna only use wifite2)

please fix it thanks , and great work :)

Steps to reproduce the behavior.

termux-usb -l sudo termux-usb -l

What is the expected behavior?

should list devices

System information

zairullahdev commented 2 years ago

Did u install Termux-API app?

bjlockie commented 2 years ago

I have that problem. termux-api is installed.

Termux application version: 0.118.0
Android OS version: 11
Device model: LG G7 Onne
zairullahdev commented 2 years ago

I have that problem. termux-api is installed.

Termux application version: 0.118.0
Android OS version: 11
Device model: LG G7 Onne

Can you show full info?

Eminexpro commented 2 years ago

I have a problem in installation of termux vision 0.118.0

bjlockie commented 2 years ago

What is the error message?

Anonymous2716 commented 2 years ago

Don't install termux from nethunters repo in fdroid which is very old. Current termux version is 0.118

Eminexpro commented 2 years ago

How do I install termux

bjlockie commented 2 years ago

Termux (Terminal emulator with packages) https://f-droid.org/packages/com.termux/

That is 0. 118

Javanbe commented 1 year ago

I had same the issue , I type termux-usb -l , and enter and there is no message for long time , so any idea for this issue ?

sp5wwp commented 1 year ago

Same issue here.

WilsonBradley commented 1 year ago

I had the same issue... Just hanged w/ no result.

WilsonBradley commented 1 year ago

Don't install termux from nethunters repo in fdroid which is very old. Current termux version is 0.118

Can you elaborate on this? Both versions say 0.118.0 And just to verify were on the same page, is that the last version 1/10/22 meaning, January 10 ?

neires commented 1 year ago

@all I had the same problem. Solution was there. termux-api both app and package are needed https://github.com/termux/termux-app/issues/3113#issuecomment-1327181152

Remember that the signature keys must be the same. If you have installed Termux from FDROID then you take the APK https://f-droid.org/en/packages/com.termux.api/

If you have installed Termux from Github then take this APK https://github.com/termux/termux-api/releases

MikeTermux1 commented 6 months ago

sorry, i had the same issue before and i believe this how to solve it

2apk need to download and install first which termux.apk second was termux-api.apk from fdroid..

then only pkg in termux-api..

do try it and figure it out.

and of course pkg install termux-api libusb clang as mention in termux-usb