Drive Still can't get USB OTG to work? Here's how I did it.

If you have not been able to get your RAZR to read a flash/pen drive, here's how I did it.
I only got a OTG Host cable about 2 months ago, and only just got it working.

You will need the following:
USB OTG Host cable
USB Y cable (or whatever it's called - at least that's what I used)
A rooted phone (I am using the GSM Razr Maxx XT910 on CM11-nightly)
USB OTG Helper (Play store)
USB Host Controller (Play store)
Script Manager - Smanager (Play store)

Install all apps and extract attached script and copy the file (ThumbDrive.PreMount) onto your phone/sd-card memory.
(Note apps must be granted superuser permissions)

1. Connect your charger to power and connect your phone.

(Before we can begin, we must first find where the drive is. Open USB Host Controller, and under settings make "Dmesg display mode" continuous". Under the USB tab, look at the log at the bottom and you should see something about the device being rejected due to insufficient power or something like that. Mine is 3-1, your's will probably also be, but if it's not 3-1, you will need to change the script accordingly with a text editor.)

2. USB OTG Helper may give you a popup, just click cancel.

3. Now in Smanager, run the script you copied onto your phone. You must run it as a script, and give it SU permission. Just click the home key after you've run the script.

4.1 Now open USB OTG Helper and click mount.
4.2 You'll probably get an error, but you can ignore this.

5. Your drive should be mounted. Look for it under /storage/UsbOtgDrives/drive_1 (I use Solid Explorer as my file manager and it even added some shortcuts on the left - but not initially though).

You will have to do this everytime you plug a device in, but it's very quick once you know what to do.

I'm just putting this out there because I know it's a function many have not got working. I know there's already a lot of resources on this topic, but frankly they never really helped me. This thread guided me in the right direction though: http://forum.xda-developers.com/show....php?t=2050925

Kind regards
Attached Thumbnails
Click image for larger version

Name:	1.Cabling.jpg
Views:	166
Size:	80.8 KB
ID:	2591226   Click image for larger version

Name:	2.USB OTG Helper popup.png
Views:	126
Size:	243.4 KB
ID:	2591227   Click image for larger version

Name:	3.Smanager script launch.png
Views:	124
Size:	74.8 KB
ID:	2591228   Click image for larger version

Name:	4.1.Screenshot_2014-02-20-23-12-55.png
Views:	126
Size:	77.9 KB
ID:	2591229   Click image for larger version

Name:	4.2.USB OTG Helper has stopped.jpg
Views:	110
Size:	40.2 KB
ID:	2591230  

Click image for larger version

Name:	5.Screenshot_2014-02-20-23-13-56.png
Views:	106
Size:	141.2 KB
ID:	2591231  
Attached Files
File Type: zip ThumbDrive.zip - [Click for QR Code] (247 Bytes, 31 views)
Motorola RAZR Maxx XT910 (Running Android K 4.4.4 thanks to: CyanogenMod 11)

Previous Phones: Nokia 5110 2, Moto v66, Ericsson R600, Moto E398, Moto RAZR V3x, Moto MING A1200(r), HTC Diamond, Moto ZINE ZN5, Moto Milestone (A853)