Independent Android Project
and
The House Of The Samurai
Present
USB HOST MODE FOR THE EPIC
(special thanks to SZTUPY for his code and help)
DISCLAIMER: We are in no way responsible for any damages that you may cause to your device or other equipment used... With that said I would like to add some input on this. The samsung epic seems to have an overcharge protection. When you apply to much voltage it seems to reboot. In order to find this out I burnt up a usb hub. With that said learn from my mistakes more power is not always a good thing... and 10v and 1.4a is far to much power for a hub. stick with 5v 0.7a...
SIDE NOTE: The I.A.P.Appv3... Works with both Gingerbread and Ice Cream Sandwich Roms. A Colaboration of Earthbound And Luna ! ! ! Still being refined but you have access to everything IAP has to offer with this app, from downloads, current news, to a donation page...
Download Link: I.A.P.APPv3
What is USB Host Mode: Well usb host mode was SzTupy's continuation of others work on implementing access to usb media & hid devices from our phone. He succeeded in porting it to many different devices but had not done it for the epic. With a little help from him, I was able to port it and get it working properly.
.:Materials:.
Code:
~OTG connector (do your self a favor & save on the headaches, Amazon $3)
~A jig (made of 2 male & a female USB connectors with a power supply)
~HID device/hdd/or some type of flash media (USB device)
~A 5v 0.7amp power supply (your stock epic charger...)
Notes: even though the kernel has ntfs support you will need a program like drive mount in order to mount these devices.
What works:
Code:
~ FAT32 support (usb host controller)
~ HID support (usb host controller) (love the mouse pointer... lol)
~ Wireless HID support now working (a bit finicky but it works)
~ NTFS support (drive mount) (watched a full video on my epic today)
What doesn't work yet:
Code:
~ Plugging a usb 1.0 device into a 2.0 usb hub
Please watch these videos before attempting this:
.:JIG SETUP:.
.:HOST MODE WITH HID DEVICE:.
Now that you have seen the setup and what you need.
.: Phone Setup :.
Code:
#1 download usb host controller by sztupy
#2 download and install usb host mode samurai kernel
#3 go into settings in usb host controller app..
#4 set the settings that are displayed below
.: SETUP THE JIG :.
Code:
#1 Plug the one end of your jig into the power supply.
#2 Plug your usb hub into one end of the jig.
#3 Plug a usb media device (fat32 format) into the usb hub.
#4 Plug the OTG Cable into the other end of the jig.
.: PLUGGING IN THE PHONE :.
Code:
[I]*NOTE : make sure your jig is all setup. Power Connected. USB hub connected, at least 1 usb media device plugged into the hub, and your otg cable connected to the hub.*[/I]
#1 MAKE SURE YOUR SYSTEM IS MOUNTED READ/WRITE (i use root explorer to check this)
#2 Plug the micro usb end into your samsung epic micro usb port.
(you will see it enumerate the the hub and the device, then it will show your devices listed below that.
#4 Select mount and choose your mount point (mount point is where you will view your files at from an explorer)
#5 Now open an explorer of your choice (once again I use root explorer)
#6 Navigate to the mount point you set. So if you used /mnt/emme it will be in mnt/emme, i set a mount point in my sd card /sdcard/host so I can browse the sd card to the host file and view, copy paste or edit files on the media device in that file...
#7 When you are done be sure to unmount the devices before pulling out the otg cable from the phone !
(if you do not do this depending on where you mounted it (system = reboot the phone) (sdcard = cannot mount to a pc, or unmount and remount from the system until you reboot)
.: DOWNLOAD LINKS :.
.: CM9/AOKP/MIUIv4 :.
SAMURAI.AKITA.CM9.OTG.06.08.15.38.zip
- voodoo color tweaks
- battery tweaks (not BLX crap)
- low battery shutdown fix
- Governor & I/O tweaks
- 1.5GHz max cpu freq
- Cache Flush Routine
- 400mhz GPU overclocking
- USB Host Mode
- + many other Samurai Tweaks
.:SOURCE:.
BARBONE.CM9.SAMURAI.HOST.MODE
Last edited: