tejado/android-usb-gadget
Convert your Android phone to any USB device you like! USB Gadget Tool allows you to create and activate USB device roles, like a mouse or a keyboard. 🛠🛡📱 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2228
- days_rel: n/a
- days_push: 866
- n_releases_24m: 0
Adoption not part of the score
1125 stars · 91 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android app that uses the Linux kernel's ConfigFS API to create and activate arbitrary USB gadget device roles, such as keyboard, mouse, FIDO CTAP authenticator, CCID smartcard reader, or UVC camera. It requires root permissions and a kernel with ConfigFS support, and manages gadget profiles rather than implementing the device endpoints themselves.
Use cases
- turn my android phone into a usb keyboard or mouse
- use my phone as a fido ctap hardware security key for webauthn
- emulate a ccid smartcard reader over usb from android
- disable adb and mtp usb functions for security
- create custom usb composite device profiles on android
- activate usb gadget roles automatically at boot
When to choose
- you have a rooted Android device with a ConfigFS-capable kernel and want to redefine its USB device role
- you need a software-defined USB HID device, FIDO token, or CCID reader without extra hardware
- you want to harden a phone by disabling default USB functions like adb and mtp
When to avoid
- your device is not rooted or its kernel lacks ConfigFS USB gadget support
- you need the actual endpoint implementations (e.g. sending keystrokes) rather than gadget management - you'll need companion apps like Authorizer
- you want a no-root solution or support for non-Android platforms
Facets
application · maturity active
security developer-tools embedded android-tools security hardware developer-tools usb-gadget configfs usb-hid root-required fido-ctap ccid smartcard uvc-camera kotlin android
1 source
- readme: https://github.com/tejado/android-usb-gadget · fetched 2026-08-28 · 9771e80b6ab8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tejado/android-usb-gadget | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="tejado/android-usb-gadget")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem