4 ms·
Just going to through out there that you don't need a custom kernel driver to do this on Android. There's a userspace gadget API; you only need a rooted phone
by monocasa 2y ago
Just going to through out there that you don't need a custom kernel driver to do this on Android. There's a userspace gadget API; you only need a rooted phone to have the permissions to access the relevant device and config files.
http://www.linux-usb.org/gadget/usb.c http://www.linux-usb.org/gadget/usb.c