How To Get USB OTG Support for Nexus 4 Manually
The LG Nexus 4, of course, is one of most high-end smartphone with a affordable price at this time but the phone lacks a few features you often use such as USB OTG support, even LG hasn’t shown any plan to fix the USB OTG bug for Nexus 4 yet, but worry not as Android development community love to provide solutions, thanks to a XDA developer member CaptainMuon who has just release a MOD to add USB OTG support for the Nexus 4 manually.
It’s very easy to learn how to add USB OTG support for the Nexus 4 manually, the method is pretty simple to. However it’s very important to bear in mind that it can’t be used for regular purpose at this time and it has been tested on Android 4.2.1, however you may give it a try over Android 4.2.2 too.
You need a USB OTG cable, a USB Y cable to provide the 5V (It has two USB-A plugs and one USB-A socket, the bootloader of your phone must be unlocked, you may check our this guide to unlock bootloader and use a Windows PC with adb and fastboot drivers installed, check out this guide to install ADB and Fastboot drivers.
Once you have everything that is required, head over to original thread of XDA here for downloads and guide.