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. 🛠🛡📱
Kotlin
1,134
41 commits
updated Apr 19, 2024
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. 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:
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 (see Use-Cases).
USB Gadget Tool uses ConfigFS - an userspace API inside the Linux Kernel - for creation of arbitrary USB composite devices. https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
141 followers · starred Dec 2020
634 followers · starred Aug 2022
105 followers · starred Nov 2022
412 followers · starred Feb 2025
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. 🛠🛡📱
Kotlin
1,134
41 commits
updated Apr 19, 2024
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. 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:
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 (see Use-Cases).
USB Gadget Tool uses ConfigFS - an userspace API inside the Linux Kernel - for creation of arbitrary USB composite devices. https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
141 followers · starred Dec 2020
634 followers · starred Aug 2022
105 followers · starred Nov 2022
412 followers · starred Feb 2025