[SLOVED] Android device not recognizing USB FlashDrive via OTG

OTG (On The Go) is the feature in android feature to access other USB device via android USB port. USB On-The-Go, often abbreviated to USB OTG or just OTG, is a specification first used in late 2001 that allows USB devices, such as tablets or smartphones, to act as a host, allowing other USB devices, such as USB flash drives, digital cameras, mice or keyboards, to be attached to them. [wikipedia]


Now back to topic,the OTG problem  in  android phone not responding to flash drive.

1.Problem

The Device may supported OTG but it may not read any USB storage devices. It may access the USB Devices like mouse , Keyboard, Joystick etc.

2.Caused

The problem may be caused due Operating System. I myself have faced this I have a device Samsung G-318Hz with android 4.4.4 that support the otg feature
but after flashing the custom rom  i found that it had stopped supporting USB Flash Drive. I have tried many custom rom thinking it might a rom bugs but none of them have positive respond.
Its like having a wifi adapter but not a driver installed on the computer to access it.

3.Solution

Like I mention above its due to lack of driver to access it. In android its to give a permission to use these feature. A permission must be granted to the android to use that feature.
For this we need

  1. A Rooted Device
  2. A Root Explorer 

Installing One of Root Explorer (i preferred ES file explorer), Grant Root access permission to root explorer.
Follow these step:







  1. After granting root permission goto Application and open "/Device" or root.
  2. Navigate to " /system/etc/permission/ "
  3. In " permissions " directory , create a new file " android.hardware.usb.host.xml ".
  4. Now open the file to edit then  insert following code Or Download
    From Mega : android.hardware.usb.host.xml






    Save It
    Screen Shot:
    ================================================
    a
    goto etc
    goto permission



  5. Now Navigate on  Same directory and search for " handheld_core_hardware.xml " Copied from file download or insert following code:
    link:Mega Code:




  6. Now ,restart the device.
  7. By this method the pre installed cant access  flash drive. 

  8. After Restart, Install anyone these,
  9.  Accessing using OTG Disk Explorer:
    OTG Disk Explorer
    Reading file



  10. Accessing OTG USB device using ES file Explorer:

    Reading file from disk





Comments

Post a Comment

Popular Posts