OTG error
Very good work in port ROM viperos.
OTG not ready.
Thanks
Hi, there is simple way to fix it if you've got
rooted tablet. Does it work? I just used USB OTG as a serial terminal for my ESP32 board so I think it works fine.
1. Download Total Commander and give it
root permission. (Could be any file explorer able to write files to system dir or you can manually change system directory type from read only to read/write and back again to read only).
2. You need android.hardware.usb.host.xml file, you can find it here
https://github.com/newbit1/usbhostpermissons, you can download whole repository or only this file.
3. You need to use Total Commander (Or another file explorer [most of file explorers doesn't change directory type, system dir is read only by default and total commander changes it for read write to copy files]). So paste android.hardware.usb.host.xml to the /System/etc/permissions directory, after this operation Total Commander should ask you if he has to set directory type to read only, click yes (You don't want to mess with system files). If You have manually changed dir type to read write then you should also manually change it back to read only.
Tablet is OTG friendly be default but somehow it misses the driver, this simple trick unleashes OTG potential and allow you to be the host. Without that OTG works partially, I've managed to connect pendrive and even wireless mouse but somehow it could not use the usb as a serial for my board and I need to record logs on the go while driving a car, so needed to figure it out pretty quick.