How to add android.hardware.usb.host.xml inside /system/etc/permissions in android

53,122

I struggled with this on my Samsung S9+ as well, it is rooted and stumbled across this genius site rfexplorer.com/usb-host-mode/ which explains in details that OTG is loaded during boot and if the .xml-file is not present, OTG will not work.

The easiest method I found to is to simply download the .xml and paste it to /system/etc/permissions with a root file explorer, reboot and bam, it worked. You can use ADB if you like and, which is described in detail in the link.

Share:
53,122
fiberOptics
Author by

fiberOptics

learner

Updated on July 09, 2022

Comments