A standard android.hardware.usb.host.xml file looks like this:
In the same directory ( /system/etc/permissions/ ), locate a file named tablet_core_hardware.xml or handheld_core_hardware.xml . Open the file in a text editor.
To manually enable USB Host Mode on a device where it is missing, follow these steps (requires ):
USB Host Mode, introduced in Android 3.1, allows an Android device to act as a USB host. This powers the bus and enumerates connected devices like keyboards, mice, game controllers, digital cameras, and many others. However, a device must meet specific prerequisites to use this mode.
The android.hardware.usb.host.xml file is a small but essential component for USB
<!-- This is the standard feature indicating that the device can communicate with USB devices as the USB host. --> <permissions> <feature name="android.hardware.usb.host" /> </permissions>