Quick answer
Convert your Android phone to any USB device you like
F-Droid repository metadata
USB Gadget Tool allows you to create and activate USB device roles, like a mouse or a keyboard. Connected USB hosts (e.g. a normal computer) will then identify your Android device only under that role. It can also be used to deactivate the standard USB Gadget (including mtp, adb, etc.), e.g. for security reasons.
Following USB gadgets are integrated:
* Keyboard & Mouse (
/dev/hidg0, /dev/hidg1)
* FIDO CTAP (/dev/hidg0; for WebAuthn)
* CCID (/dev/ccid_ctrl, /dev/ccid_bulk)
* UVC camera (/dev/video?)
USB Gadget Tool requires root permissions and a Kernel with ConfigFS support. Currently the app only enables the USB Gadget. For the usage of these device endpoints (e.g. /dev/hidg0) further apps are required. Screenshots
How to install
- Download the APK from the button at the top of this page.
- Allow “Install unknown apps” for your browser or file manager only, not for every app.
- Open the downloaded file and confirm the installation.
- If installation fails with “App not installed,” remove an earlier build of the same app first. A signature conflict is the usual cause.
Data safety
- Every file is checked against its published SHA-256 before it is listed.
- Files are scanned for malware on every update.
- The permissions each app requests are listed on its own page.
- Read the full safety policy for how we test, flag, and delist files.
Comments
Recent approved comments · sorted by newest
View all comments