FORUMS
Remove All Ads from XDA

[APP] USB OTG Helper v6 ☰ Update 16-12-12 ☰ [ROOT] (Stock/Custom kernel)

1,100 posts
Thanks Meter: 1,723
 
By shardul_seth, Senior Member on 8th April 2012, 06:14 PM
Post Reply Email Thread
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, Ray, 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.

Please note that this app is an "Helper" app.. it will not magically make your kernel support USB Mass storage


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:

[YOUTUBE]uFN0ftVxk0o[/YOUTUBE]




Download:
USB OTG Helper



For modules for stock ROM / other ROMS -> See here.


Changelog:

v5 (2012-10-27):
+ Option to select system busybox or in-app busybox (fixes a lot of bugs in newer devices)
= Updated internal busybox binary
= Bumped version number

v4.3.3 (2012-10-26):
+ App log also saved in debug info [debugging data is much more meaningful now]
+ Settings to enable/disable debugging mode [off by default]

v4.2 (2012-10-24):
+ Supports multiple drives via powered hub [sda to sdz block devices]
= (Fix) Folder open intent (still needs OI or ScriptManager)

v4.1.5 (2012-10-20):
= (Fix) umask error (some users could not mount ext2 and ext3 drives)
= (Fix) folder open intent (but works only with some apps eg., OI file manager or Script Manager)
= minor bugfixes

v4.0.0 (2012-07-29):
+ Lots of visual changes
+ Settings (Preferences) activity
+ Changes for ICS (Action bar)
= (Fix) Choice of file explorer to open the mounted drive
= (Fix) Notification is cleared on Unmount
= Code optimizations
- UTF-8 mode off by default (enable in Settings menu)

v3.0.7 (2012-07-04):
+ UTF-8 default if kernel supports nls_utf8
+ Automatically start file explorer after mount

v3 (2012-06-27):
+ Full NTFS support (with write support)!
+ Automatically start app on device connect (intent broadcast)
+ Notification when drives mounted!
+ One click access to unmount
- Removed setup (to support many more devices)
+ Lots of optimization and bug-fixes!

v2 (2012-06-19):
+ NTFS module integrated
+ Bugfixes
+ Now NTFS drive can be explored with ANY file explorer (Fixed bug)



Touble-shooting!:
1. Settings -> "In-app Busybox preferred" -> Uncheck. Then try again.
If still not working:
1. Settings -> Debugging mode -> Check.
2. Do the steps that fail.
3. Send me debugging data (in the app itself)

Credits:
DooMLoRD @xda-developers.com - For the original idea and implementation.
shardul_seth @xda-developers.com - For creating this app.

Bug reports, feedback and constructive criticism , please send a PM



Please do not download from below attachments. They are for historical reasons only.
Attached Thumbnails
Click image for larger version

Name:	Main_v3_small.png
Views:	19746
Size:	69.3 KB
ID:	1160199   Click image for larger version

Name:	main.jpg
Views:	8616
Size:	27.0 KB
ID:	1228610   Click image for larger version

Name:	main_v4.jpg
Views:	561663
Size:	51.9 KB
ID:	1228614  
Attached Images
 
The Following 116 Users Say Thank You to shardul_seth For This Useful Post: [ View ] Gift shardul_seth Ad-Free
 
 
8th April 2012, 06:18 PM |#2  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,723
 
More
Database Modules for various devices
This app requires USB OTG support in device kernel..

For stock kernel, you can load the modules required!
For NTFS,EXT4 or specific file system, kernel should support it (natively or modules)
For NTFS write support kernel should support fuse driver (natively or modules)

USB OTG Helper app will automatically load required modules if they are present in /system/lib/modules folder

I am trying to make a collection of modules for various devices. If you know any modules that work with your kernel, please let me know.

Downloads:
- For Xperia PAC-man (JB) Here and for buluk kernel Here
- For Xperia 2011 CM10 (JB) Here - thanks Abhilesh7
- For Xperia 2011 devices .587 Here (Thanks zxp)
- For Xperia 2011 ICS devices (Arc,Neo,Neo V,Mini Pro,Ray etc) Download + UTF-8 support
- For Xperia 2011 ICS FXP kernel / Cyanogenmod Download
- For Xperia 2011 GB v4.0.2.A.0.58 (GB) Download
Attached Files
File Type: zip Xperia-2011-ICS-USB-OTG-modules.zip - [Click for QR Code] (1.50 MB, 68891 views)
File Type: 7z fuse.ko-xperia-2011-new.7z - [Click for QR Code] (157.9 KB, 10291 views)
File Type: zip Xperia-2011-ICS-nls_utf8_module.zip - [Click for QR Code] (247.8 KB, 9945 views)
File Type: zip CM10_modules.zip - [Click for QR Code] (206.8 KB, 30976 views)
File Type: zip modules_PACman.zip - [Click for QR Code] (177.9 KB, 33260 views)
File Type: zip modules_PAC_buluk.zip - [Click for QR Code] (177.9 KB, 21430 views)
The Following 61 Users Say Thank You to shardul_seth For This Useful Post: [ View ] Gift shardul_seth Ad-Free
8th April 2012, 07:06 PM |#3  
F.A.I.S.A.L's Avatar
Senior Member
Flag Jamnagar
Thanks Meter: 54
 
More
thanks bro...
I was looking for this kind of application
-----
tried and working well on my xperia neo v
9th April 2012, 04:04 AM |#4  
Velcis Ribeiro's Avatar
Senior Member
Flag Porto Alegre
Thanks Meter: 230
 
More
No result in ICS When i put SETUP, it says, Copy modules fialed. :X

Not failed, yes FIALED, and click mount and say no modules found.
9th April 2012, 04:26 AM |#5  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,723
 
More
Sorry, my bad. Not tested on ICS.

For now, you can go to DooMLoRDs thread and download the USB-storage.ko module and manually push to /system/lib/modules, chmod 644. .. Or else, wait for a fix.
The Following 4 Users Say Thank You to shardul_seth For This Useful Post: [ View ] Gift shardul_seth Ad-Free
9th April 2012, 12:03 PM |#6  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,723
 
More
@Velcis Ribeiro:
I tested on ICS also, and it seems to work flawlessly here..
Could you post a logcat after you click SETUP..

Also what kernel and ROM are you using.. If you are using night-elf kernel, not need to setup first!!
The Following User Says Thank You to shardul_seth For This Useful Post: [ View ] Gift shardul_seth Ad-Free
10th April 2012, 07:48 PM |#7  
Junior Member
Thanks Meter: 0
 
More
Neo V
on stock rom with root and locked bootloader i cant press the "Setup" is it normal?
10th April 2012, 08:03 PM |#8  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,723
 
More
If modules are live, setup button is disabled. You may have pressed setup earlier..
other wise it is not normal.
The Following User Says Thank You to shardul_seth For This Useful Post: [ View ] Gift shardul_seth Ad-Free
10th April 2012, 09:03 PM |#9  
Junior Member
Thanks Meter: 0
 
More
ok i thought that the disabled setup button was the reason of not working mass storage. i found out that the my usb devices requires more power, so im going to buy powered usb hub
12th April 2012, 07:51 AM |#10  
Senior Member
Thanks Meter: 80
 
More
Does anyone know where to buy a cheap USB OTG?
12th April 2012, 02:30 PM |#11  
shardul_seth's Avatar
OP Senior Member
Thanks Meter: 1,723
 
More
Try Ebay.es
I got it through my local ebay..
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes