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
36.49k stars 3.84k forks source link

[Bug]: termux-usb api and other not working #3113

Closed WilsonBradley closed 1 year ago

WilsonBradley commented 1 year ago

Problem description

On Android 12 - Note 20 (non rooted)- USB WIFI devices not detect. I have Termux running Nethunter container , however can not get a usb (rtl chipset) to detect when plugging in directly to phone.. Considering all the videos' , assumed this would work without needing kernel replacement on phone..

I did find this, but just sits there and never returns results; https://wiki.termux.com/wiki/Termux-usb termux-usb -l

Steps to reproduce the behavior.

on Android 64 termux-app install termux-api

many do not work, except screen brightness..

What is the expected behavior?

No response

System information

Grimler91 commented 1 year ago

You need to instsll the termux-api app as well.

You still need kernel drivers for the device, and root. Termux-usb is not a way around those requirements

WilsonBradley commented 1 year ago

You need to instsll the termux-api app as well.

You still need kernel drivers for the device, and root. Termux-usb is not a way around those requirements

Thanks.. Yes, termux-api first thing I installed.

Ok, thanks. Was just trying to see if the USB device showed up. But without root/Kernel/ driver , I guess that will never happen.. :-(

Grimler91 commented 1 year ago

Yes, termux-api first thing I installed.

From your description it sounds like you installed the termux-api package, not the app: https://f-droid.org/en/packages/com.termux.api/, both app and package are needed