USB/IP Server

ā§Š.ā§Ž
ā§Šā§Ģā§Ē āĻŸāĻž āĻĒā§°ā§āĻ¯āĻžāĻ˛ā§‹āĻšāĻ¨āĻž
ā§§Â āĻ˛āĻžāĻ–+
āĻĄāĻžāĻ‰āĻ¨āĻ˛â€™āĻĄ
āĻ¸āĻŽāĻ˛ā§° āĻŽā§‚āĻ˛ā§āĻ¯āĻžāĻ‚āĻ•āĻ¨
āĻ¸āĻ•āĻ˛ā§‹
āĻ¸ā§āĻ•ā§ā§°ā§€āĻ¨āĻļā§āĻŦāĻŸā§° āĻĒā§āĻ°āĻ¤āĻŋāĻšā§āĻ›āĻŦāĻŋ
āĻ¸ā§āĻ•ā§ā§°ā§€āĻ¨āĻļā§āĻŦāĻŸā§° āĻĒā§āĻ°āĻ¤āĻŋāĻšā§āĻ›āĻŦāĻŋ
āĻ¸ā§āĻ•ā§ā§°ā§€āĻ¨āĻļā§āĻŦāĻŸā§° āĻĒā§āĻ°āĻ¤āĻŋāĻšā§āĻ›āĻŦāĻŋ

āĻāĻ‡ āĻāĻĒā§â€ŒāĻŸā§‹ā§° āĻŦāĻŋāĻˇā§Ÿā§‡

This app shares USB devices from an Android device to a PC via USB/IP. With this server running, you can share many USB devices from your Android device to a PC running the USB/IP software. Not all USB devices are supported by this app. Notably, devices that use isochronous transfers (usually video and audio capture devices) are not supported. If you find that your device is not supported, send me an e-mail and I'll see if I can do something about it.

This app uses native Android USB host APIs, so it does not require root. However, this app is not for the faint of heart because it requires some PC-side setup can be complex for inexperienced users.

With the app's USB/IP service running, you will be able to list USB devices connected to your Android device from your PC using the usbip utility. When you try to attach to them from your PC, the USB permission dialog will be displayed on your Android device. After you accept the permission dialog, the device will attach to your PC.

Per the USB/IP specification, this app listens for TCP connections on port 3240. While the service is running, it will hold a partial wakelock and Wi-Fi lock to prevent the device from sleeping or disconnecting while serving USB devices on the network.

This app is compatible with Linux's USB/IP driver in the latest kernel and the current Windows USB/IP driver. I've found that this app tends to work better with the Windows driver. Particularly, it seems mass storage and MTP are broken on Linux but work fine on Windows. USB input devices have worked equally well on both platforms in my testing.

Some USB input devices aren't exposed by Android at all, particularly external mice and keyboards I've tested. These cannot be shared.

Tested devices:
T-Flight Hotas X (flight stick) - working on Windows and Linux
Xbox 360 Wireless Receiver - working on Windows and Linux
MTP device (Android phone) - working on Windows but not Linux
Corsair Flash Voyager (flash drive) - working on Windows but not Linux
iPhone - broken on Linux and Windows
USB mouse - does not appear in device list
USB keyboard - does not appear in device list
āĻ†āĻĒāĻĄā§‡â€™āĻŸ āĻ•ā§°āĻž āĻ¤āĻžā§°āĻŋāĻ–
ā§§ā§Ļ-ā§Ļā§§-ā§¨ā§Ļā§§ā§Ŧ

āĻĄā§‡āĻŸāĻž āĻ¸ā§ā§°āĻ•ā§āĻˇāĻž

āĻŦāĻŋāĻ•āĻžāĻļāĻ•ā§°ā§āĻ¤āĻžāĻ¸āĻ•āĻ˛ā§‡ āĻ†āĻĒā§‹āĻ¨āĻžā§° āĻĄā§‡āĻŸāĻž āĻ•ā§‡āĻ¨ā§‡āĻ•ā§ˆ āĻ¸āĻ‚āĻ—ā§ā§°āĻš āĻ†ā§°ā§ āĻļā§āĻŦā§‡ā§ŸāĻžā§° āĻ•ā§°ā§‡ āĻ¸ā§‡ā§ŸāĻž āĻŦā§āĻœāĻŋ āĻĒā§‹ā§ąāĻžā§° āĻœā§°āĻŋā§ŸāĻ¤ā§‡ āĻ¸ā§ā§°āĻ•ā§āĻˇāĻž āĻ†ā§°āĻŽā§āĻ­ āĻšā§ŸāĨ¤ āĻĄā§‡āĻŸāĻžā§° āĻ—ā§‹āĻĒāĻ¨ā§€ā§ŸāĻ¤āĻž āĻ†ā§°ā§ āĻ¸ā§ā§°āĻ•ā§āĻˇāĻž āĻĒā§ā§°āĻŖāĻžāĻ˛ā§€ āĻ†āĻĒā§‹āĻ¨āĻžā§° āĻŦā§āĻ¯ā§ąāĻšāĻžā§°, āĻ…āĻžā§āĻšāĻ˛ āĻ†ā§°ā§ āĻŦāĻ¯āĻŧāĻ¸ā§° āĻ“āĻĒā§°āĻ¤ āĻ­āĻŋāĻ¤ā§āĻ¤āĻŋ āĻ•ā§°āĻŋ āĻ­āĻŋāĻ¨ā§āĻ¨ āĻšâ€™āĻŦ āĻĒāĻžā§°ā§‡āĨ¤ āĻŦāĻŋāĻ•āĻžāĻļāĻ•ā§°ā§āĻ¤āĻžāĻ—ā§°āĻžāĻ•ā§€ā§Ÿā§‡ āĻāĻ‡ āĻ¤āĻĨā§āĻ¯āĻ–āĻŋāĻ¨āĻŋ āĻĒā§ā§°āĻĻāĻžāĻ¨ āĻ•ā§°āĻŋāĻ›ā§‡ āĻ†ā§°ā§ āĻ¸āĻŽā§Ÿā§° āĻ˛āĻ—ā§‡ āĻ˛āĻ—ā§‡ āĻā§ŸāĻž āĻ†āĻĒāĻĄā§‡â€™āĻŸ āĻ•ā§°āĻŋāĻŦ āĻĒāĻžā§°ā§‡āĨ¤
āĻ¤ā§ƒāĻ¤ā§€ā§Ÿ āĻĒāĻ•ā§āĻˇā§° āĻ¸ā§ˆāĻ¤ā§‡ āĻ•ā§‹āĻ¨ā§‹ āĻĄā§‡āĻŸāĻž āĻļā§āĻŦā§‡āĻ¯āĻŧāĻžā§° āĻ•ā§°āĻž āĻ¨āĻžāĻ‡
āĻŦāĻŋāĻ•āĻžāĻļāĻ•ā§°ā§āĻ¤āĻžāĻ‡ āĻĄā§‡āĻŸāĻž āĻļā§āĻŦā§‡ā§ŸāĻžā§° āĻ•ā§°āĻžā§° āĻŦāĻŋāĻˇā§Ÿā§‡ āĻ•ā§‡āĻ¨ā§‡āĻ•ā§ˆ āĻ˜ā§‹āĻˇāĻŖāĻž āĻ•ā§°ā§‡ āĻ¸ā§‡āĻ‡ āĻŦāĻŋāĻˇā§Ÿā§‡ āĻ…āĻ§āĻŋāĻ• āĻœāĻžāĻ¨āĻ•
āĻ•ā§‹āĻ¨ā§‹ āĻĄā§‡āĻŸāĻž āĻ¸āĻ‚āĻ—ā§ā§°āĻš āĻ•ā§°āĻž āĻšā§‹ā§ąāĻž āĻ¨āĻžāĻ‡
āĻŦāĻŋāĻ•āĻžāĻļāĻ•ā§°ā§āĻ¤āĻžāĻ‡ āĻĄā§‡āĻŸāĻž āĻ¸āĻ‚āĻ—ā§ā§°āĻš āĻ•ā§°āĻžā§° āĻŦāĻŋāĻˇā§Ÿā§‡ āĻ•ā§‡āĻ¨ā§‡āĻ•ā§ˆ āĻ˜ā§‹āĻˇāĻŖāĻž āĻ•ā§°ā§‡ āĻ¸ā§‡āĻ‡ āĻŦāĻŋāĻˇā§Ÿā§‡ āĻ…āĻ§āĻŋāĻ• āĻœāĻžāĻ¨āĻ•

āĻŽā§‚āĻ˛ā§āĻ¯āĻžāĻ‚āĻ•āĻ¨ āĻ†ā§°ā§ āĻĒā§°ā§āĻ¯āĻžāĻ˛ā§‹āĻšāĻ¨āĻžāĻ¸āĻŽā§‚āĻš

ā§Š.ā§Ŧ
ā§Šā§§ā§Ž āĻŸāĻž āĻĒā§°ā§āĻ¯āĻžāĻ˛ā§‹āĻšāĻ¨āĻž

āĻ¨āĻ¤ā§āĻ¨ āĻ•āĻŋ āĻ†āĻ›ā§‡

0.2
- Material theme on Lollipop and later
- Updated for Marshmallow's new app permissions

0.1
- Initial alpha release