Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,296 Members 53,110 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
shardul_seth
Old
(Last edited by shardul_seth; 16th December 2012 at 04:29 AM.)
#1  
shardul_seth's Avatar
Senior Member - OP
Thanks Meter 1698
Posts: 1,095
Join Date: Jul 2011
Storage [APP][ROOT] USB OTG Helper (Stock/Custom kernel)

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)
My Apps: [APP] USB OTG Helper (MAJOR UPDATE) | Donate version

My ROMs: [Neo/V] Spacious, smooth, light GB and ICS 4.0.4
My Kernels: Suave Kernel and Super Stock ICS
The Following 35 Users Say Thank You to shardul_seth For This Useful Post: [ Click to Expand ]
 
Flashalot
Old
#2  
Flashalot's Avatar
Recognized Contributor
Thanks Meter 2192
Posts: 2,249
Join Date: Jun 2012
Location: Chicago
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: [ Click to Expand ]
 
vishal24387
Old
(Last edited by vishal24387; 30th July 2012 at 06:59 AM.)
#3  
vishal24387's Avatar
Recognized Contributor
Thanks Meter 1721
Posts: 3,307
Join Date: May 2011
Location: Solapur, Maharashtra
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???
 
Skander1998
Old
#4  
Skander1998's Avatar
Senior Member
Thanks Meter 512
Posts: 1,309
Join Date: May 2012
Location: Doha

 
DONATE TO ME
Quote:
Originally Posted by vishal24387 View Post
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.

Current Phone:
Phone: Samsung Galaxy Note 3 (4G-LTE | N9005) @ 2.3Ghz - Jet Black
Memory: 32GB with NO Ext-Memory
ROM: Personal S5 Build (UK CSC)
ROOT: Yes - Knox 0x1
TouchWiz: S5 TouchWiz UX - Android KitKat (4.4.2)

Collecting Dust:
Phone: Samsung Galaxy S3 I-9300 @ 1.4Ghz
ROM: Stock BTU (4.3 - rooted)
--
Phone: Samsung Galaxy SL I9003 RETIRED


I will NOT answer to questions asking for help by PM unless I ask you specifically to PM me.
The Following User Says Thank You to Skander1998 For This Useful Post: [ Click to Expand ]
 
vishal24387
Old
#5  
vishal24387's Avatar
Recognized Contributor
Thanks Meter 1721
Posts: 3,307
Join Date: May 2011
Location: Solapur, Maharashtra
Quote:
Originally Posted by Skander1998 View Post
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: [ Click to Expand ]
 
cukierkas
Old
#6  
cukierkas's Avatar
Senior Member
Thanks Meter 222
Posts: 989
Join Date: 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
 
shardul_seth
Old
#7  
shardul_seth's Avatar
Senior Member - OP
Thanks Meter 1698
Posts: 1,095
Join Date: 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.
My Apps: [APP] USB OTG Helper (MAJOR UPDATE) | Donate version

My ROMs: [Neo/V] Spacious, smooth, light GB and ICS 4.0.4
My Kernels: Suave Kernel and Super Stock ICS
The Following 2 Users Say Thank You to shardul_seth For This Useful Post: [ Click to Expand ]
 
vishal24387
Old
(Last edited by vishal24387; 30th July 2012 at 12:13 PM.)
#8  
vishal24387's Avatar
Recognized Contributor
Thanks Meter 1721
Posts: 3,307
Join Date: May 2011
Location: Solapur, Maharashtra
Quote:
Originally Posted by shardul_seth View Post
@ 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???
 
shardul_seth
Old
#9  
shardul_seth's Avatar
Senior Member - OP
Thanks Meter 1698
Posts: 1,095
Join Date: Jul 2011
Quote:
Originally Posted by vishal24387 View Post
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.
My Apps: [APP] USB OTG Helper (MAJOR UPDATE) | Donate version

My ROMs: [Neo/V] Spacious, smooth, light GB and ICS 4.0.4
My Kernels: Suave Kernel and Super Stock ICS
 
vishal24387
Old
(Last edited by vishal24387; 30th July 2012 at 07:14 PM.)
#10  
vishal24387's Avatar
Recognized Contributor
Thanks Meter 1721
Posts: 3,307
Join Date: May 2011
Location: Solapur, Maharashtra
Quote:
Originally Posted by shardul_seth View Post
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, 981 views)

The Following User Says Thank You to vishal24387 For This Useful Post: [ Click to Expand ]
Tags
easily, modules, otg, storage, usb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes