Post Reply

[KERNEL][ICS] I.A.P Samurai - Updated- 6/8/12

OP ‹BERô

11th February 2012, 02:58 PM   |  #1  
‹BERô's Avatar
OP Recognized Themer
Flag Texas
Thanks Meter: 8,929
 
13,766 posts
Join Date:Joined: Nov 2011
Donate to Me
More


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:
*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.*

#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 by ‹BERô; 9th June 2012 at 01:30 AM.
The Following 9 Users Say Thank You to ‹BERô For This Useful Post: [ View ]
9th April 2012, 05:23 AM   |  #2  
earthbound[iap]'s Avatar
Senior Member
Flag Minneapolis, MN
Thanks Meter: 1,362
 
1,273 posts
Join Date:Joined: Dec 2010
Donate to Me
More
[kernel] iap samurai *cm9 host mode updated* 04/21/2012
[CENTER]

Reservered. Earthbound has passed on the OP to Uber.
Last edited by KennyG123; 2nd May 2012 at 11:38 PM.
The Following 13 Users Say Thank You to earthbound[iap] For This Useful Post: [ View ]
9th April 2012, 05:28 AM   |  #3  
MДЯCЦSДИT's Avatar
Recognized Developer
Flag in a box
Thanks Meter: 4,622
 
6,129 posts
Join Date:Joined: Nov 2010
Donate to Me
More
First?

Sent from my SPH-D700 using Tapatalk 2 Beta-5
9th April 2012, 05:29 AM   |  #4  
earthbound[iap]'s Avatar
Senior Member
Flag Minneapolis, MN
Thanks Meter: 1,362
 
1,273 posts
Join Date:Joined: Dec 2010
Donate to Me
More
.:eek:LD DOWNLOADS:.

CM9: SAMURAI.AKITA.CM9.OTG.04.09.22.48
Last edited by earthbound[iap]; 22nd April 2012 at 05:40 PM.
The Following User Says Thank You to earthbound[iap] For This Useful Post: [ View ]
9th April 2012, 05:30 AM   |  #5  
earthbound[iap]'s Avatar
Senior Member
Flag Minneapolis, MN
Thanks Meter: 1,362
 
1,273 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Reserved for later use.... Damn it marcus ! ! ! Lol
The Following 3 Users Say Thank You to earthbound[iap] For This Useful Post: [ View ]
9th April 2012, 06:08 AM   |  #6  
MДЯCЦSДИT's Avatar
Recognized Developer
Flag in a box
Thanks Meter: 4,622
 
6,129 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by earthbound[iap]

Reserved for later use.... Damn it marcus ! ! ! Lol

The funny thing is that I have not been on XDA for most of the day and was just checking ;P. If a moderator wants, they can remove my post.

Sent from my SPH-D700 using Tapatalk 2 Beta-5
9th April 2012, 06:09 AM   |  #7  
earthbound[iap]'s Avatar
Senior Member
Flag Minneapolis, MN
Thanks Meter: 1,362
 
1,273 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Naw it's all good you just hit the thread at the perfect moment...

Sent from my SPH-D700 using xda premium
9th April 2012, 07:31 AM   |  #8  
gooch1025's Avatar
Senior Member
Thanks Meter: 265
 
305 posts
Join Date:Joined: Jan 2012
Donate to Me
Can't wait for my OTG Cable to get here. This will be so awesome!
9th April 2012, 07:50 AM   |  #9  
Senior Member
Flag Union City
Thanks Meter: 53
 
516 posts
Join Date:Joined: May 2010
More
Oh yes
Sent from my SPH-D700 using XDA
9th April 2012, 01:07 PM   |  #10  
DCRocks's Avatar
Senior Member
Flag Washington DC
Thanks Meter: 252
 
1,139 posts
Join Date:Joined: Oct 2010
More
So I watched the vid, and the hardware needed looks to be:

the standard power supply for my epic
standard male/female USB cord (to be cut to have power wires added to it)
adapter for standard USB (like on the HD) to the mini USB (of my epic)

That it hardware wise?

Everything else looked to be straight forward in the setup and explanation, just wanted to make sure I had the HW correct before I started cutting.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Epic 4G Android Development by ThreadRank