Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP][ROOT] USB OTG Helper (Stock/Custom kernel)

OP shardul_seth

29th July 2012, 09:24 AM   |  #1  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,707
 
1,098 posts
Join Date:Joined: Jul 2011
A one-stop no-pain solution for enabling and using USB OTG mass storage on your android phone!


What is USB OTG?
It stands for USB On-the-Go!
"It is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached." - Wikipedia
The stock kernel allows Mouse & Keyboard, but USB storage is missing..

Features:
  • Stock and custom kernels supported
  • Mount and Unmount drive with a single click
  • No Ads!
  • Full NTFS support built-in!! (from v3.0.3)
  • Automatically start on device connect (intent broadcast) (from v3.0.3)
  • Notification when drives mounted! (from v3.0.3)
  • One click access to unmount (from v3.0.3)
  • Option to enable UTF-8 if kernel support (from v4)
  • Automatically open explorer after drive mounted (from v3.0.7)
  • One click debugging and feedback (in app) [Donate version only]

What phones are supported?
Sony Ericsson Xperia Neo, Neo V, Arc and the Arc S! Modules for stock kernel on second post.
If you get it to work on other devices, please PM me and I will add them to the list.

What are the requirements?
  1. root (su binary)
  2. busybox
  3. USB OTG cable

How to use on stock kernel?
See this post to load modules!

WARNING
I will not be held responsible for any damage to your device. Do not use for a long time, u may risk burning the device chip/motherboard due to the voltage supply in host mode.

Screenshots and Screencast:










More Details and Download (Click Here)
Last edited by shardul_seth; 16th December 2012 at 05:29 AM.
The Following 37 Users Say Thank You to shardul_seth For This Useful Post: [ View ]
30th July 2012, 05:47 AM   |  #2  
Flashalot's Avatar
Recognized Contributor
Flag Chicago
Thanks Meter: 2,412
 
2,374 posts
Join Date:Joined: Jun 2012
More
Storage
i will try to donate some the best app on the plant no joke
The Following User Says Thank You to Flashalot For This Useful Post: [ View ]
30th July 2012, 07:42 AM   |  #3  
vishal24387's Avatar
Recognized Contributor
Flag Solapur, Maharashtra
Thanks Meter: 1,722
 
3,315 posts
Join Date:Joined: May 2011
More
I am using galaxy i9003 with 2.3.6 stock rom rooted with cf root kernel. My installed kernel dont support for usb otg. Then will it be possible to use this app to enable usb otg in my phone with help by loading modules???

Edit : where are modules???
Last edited by vishal24387; 30th July 2012 at 07:59 AM.
30th July 2012, 08:16 AM   |  #4  
Skander1998's Avatar
Senior Member
Flag Doha
Thanks Meter: 513
 
1,309 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by vishal24387

I am using galaxy i9003 with 2.3.6 stock rom rooted with cf root kernel. My installed kernel dont support for usb otg. Then will it be possible to use this app to enable usb otg in my phone with help by loading modules???

Edit : where are modules???

Any phone with either in-built mass storage support, or custom kernels or having required modules (for stock kernel).

I think you need to find and load the modules yourself before using the application.
The Following User Says Thank You to Skander1998 For This Useful Post: [ View ]
30th July 2012, 08:24 AM   |  #5  
vishal24387's Avatar
Recognized Contributor
Flag Solapur, Maharashtra
Thanks Meter: 1,722
 
3,315 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by Skander1998

Any phone with either in-built mass storage support, or custom kernels or having required modules (for stock kernel).

I think you need to find and load the modules yourself before using the application.

I am expecting modules for DDLF2 rom.
The Following 2 Users Say Thank You to vishal24387 For This Useful Post: [ View ]
30th July 2012, 08:50 AM   |  #6  
cukierkas's Avatar
Senior Member
Thanks Meter: 230
 
1,092 posts
Join Date:Joined: May 2010
Hello there. I'm on galaxy sl xwlf2 rom with custom kernel.
And I have the otg cable that would be really fun, if otg would work
looking forward to it

edit: on my phone there is no such folder like MODULES under system/lib
30th July 2012, 01:00 PM   |  #7  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,707
 
1,098 posts
Join Date:Joined: Jul 2011
@ Samsung users:
1. Kernel must support mass storage mode.. Ask your kernel devs in your forum about it.
2. Some models of samsung does not have power to the usb bus, so even if custom kernel/modules are there, you cannot use OTG without powered USB hub.
The Following 2 Users Say Thank You to shardul_seth For This Useful Post: [ View ]
30th July 2012, 01:11 PM   |  #8  
vishal24387's Avatar
Recognized Contributor
Flag Solapur, Maharashtra
Thanks Meter: 1,722
 
3,315 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by shardul_seth

@ Samsung users:
1. Kernel must support mass storage mode.. Ask your kernel devs in your forum about it.
2. Some models of samsung does not have power to the usb bus, so even if custom kernel/modules are there, you cannot use OTG without powered USB hub.

Ya we have mass storage support by default. But we dont have USB OTG feature in our mobile. If samsung mobile is not able to supply power to external usb storage device then is this hardware limitation or software limitation???
Last edited by vishal24387; 30th July 2012 at 01:13 PM.
30th July 2012, 02:33 PM   |  #9  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,707
 
1,098 posts
Join Date:Joined: Jul 2011
Quote:
Originally Posted by vishal24387

Ya we have mass storage support by default. But we dont have USB OTG feature in our mobile. If samsung mobile is not able to supply power to external usb storage device then is this hardware limitation or software limitation???

It may not be enabled at kernel level. Maybe some kernel dev can take a look.
30th July 2012, 08:07 PM   |  #10  
vishal24387's Avatar
Recognized Contributor
Flag Solapur, Maharashtra
Thanks Meter: 1,722
 
3,315 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by shardul_seth

It may not be enabled at kernel level. Maybe some kernel dev can take a look.

As expected it didnt work on my phone I think my phone doesnt provide sufficient voltage to output device. ai have attached logcat for ur reference.

Info:- In my mobile module folder is in path
system/modules/
I have successfully loaded all necessary modules. I have checked it using terminal emulator. Busybox is also installed.
These are my modules d-h.st/rPl
Attached Files
File Type: zip debug_otg_helper.zip - [Click for QR Code] (19.8 KB, 1535 views)
Last edited by vishal24387; 30th July 2012 at 08:14 PM.

The Following User Says Thank You to vishal24387 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
easily, modules, otg, storage, usb
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes