: Move it to the directory: /system/etc/permissions/ .

: handheld_core_hardware.xml or tablet_core_hardware.xml .

Use code with caution. 3. How to Install the XML File

Because this file resides in a system-protected folder, you generally need or ADB (Android Debug Bridge) to install it. Method A: Using a Root File Explorer

Simply adding the XML file might not be enough on some devices. You may also need to edit a secondary core hardware file located in the same directory:

After rebooting, you can verify if the feature is active using a free tool like OTG Troubleshooter or USB Host Check. These apps scan your system to see if the required OS components and drivers are properly detected.

Instead of searching for a sketchy download link, you can create the file yourself. The standard content for android.hardware.usb.host.xml is as follows: