• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root usb o-t-g

exgenmeikoj

Android Enthusiast
hi im trying for usb otg im makeing a cable but does anyone know if its already supported?

http://www.tombom.co.uk/blog/?p=124


USB Host mode driver for Samsung Galaxy S (i9000)

Also available on the Samsung Captivate and Nexus S
Vibrant and i9000B builds are avialable in some onecosmic kernels

Disclaimer: This kernel will enable some very early, and rough usb OTG support for your phone. Currently the phone DOES NOT give out power, so you NEED an external power source to be able to use this kernel. This is true for ALL USB devices, even with those that have their own power source, and doesn't requre external bus powering. Solving this limitation is a TODO, but we cannot guarantee anything. There are some other phones that have usb host support the same way this kernel has (eg. they need external power), like the Nexus One, and there is also a community using this, so if you're saying that usb host support has no sense if you need an external power source then you are definitely mistaken.

This kernel is built upon teamhacksung's ICS Build 14 kernel, and will only work with that particular ROM (and later b15 and b16 versions of it). There is also a build for stock JVU (Gingerbread). It is possible to port this to older ROMs too (like CM7, or pre-GB ROMs). Ask your favourite kernel developer to do this for you. I only plan to support the CM9 and the stock Gingerbread version.

The patches are quite device-independent, so they should also work for other similar handsets, like all SGS variants (Captivate, Vibrant, epic, etc.), and also some distant relatives like the Nexus S, or the Galaxy Tab. I do not own these handsets, so you have to ask your favourite kernel developer to port the changesets to the other variants. I have already a build script for Captivate (CM9) and Nexus S (ICS) ports.

I might also try to create kernels for other devices if the following are true:
The kernel source is avialable on github. It is either a kernel for gingerbread (>=2.6.35) or for ICS (>=3.0)
It also contains (or has links to) the initramfs and all the other files needed to create an update.
If creating the update is not straightforward I also need a script to do this for me
After the update is made I need someone with the device to test it for me. If the feedback is positive I'll build versions for that device too, whenever something is changed.

Credits goes to:
The misterious guy at Samsung(?) called chul2 for the original s3c host drivers
Kevin Hester (kevinh, probably also nicknamed geeksville, punkgeek and humcycles) for fixing the s3c host driver for the Samsung Galaxy Tab
Ever kernel developer at teamhacksung for bringing ICS goodness to Galaxy S

This is a very early, and very rough usb host support. Expect crashes, freezes and things that are not working! You will also need external power (probably through a Y-cable or a powered usb hub, see the device connection guide below). Also make sure you are only using USB 2.0 (high-speed) devices. The driver does has some quirks with USB 1.x low-speed and full-speed devices, like mice, keyboards, gamepads and similar things. Read the FAQ for more information about them. And of course it doesn't work with USB 3.0 (super-speed) devices.

Device conection guide:
 
I do not understand this thread.


Kevin, here's something I found that may shed a little light on just what exactly this may be able to do. Hope this helps.

What is USB OTG? - A Word Definition From the Webopedia Computer Dictionary

Here's a video with USB O-T-G in action. This is a cool video by the way. Take a few minutes and watch it all the way through.

http://www.theverge.com/2012/6/14/3...ectivity-demo-usb-otg-mhl-bluetooth-keyboards
_____________________________________________________________________________


I'm not entirely familiar w/ USB O-T-G but it looks like bluetooth does basically the same thing as far as being able to connect and transfer data between devices minus of course the non-bluetooth capable devices such as a flash drive, external HD, etc. .



@ Extgenmeikoj, thanks for the post. This looks interesting and hopefully something of this sort will be developed for the LG Marquee also.


 
Easy there big fella. lol Why not take the time to explain your post? ;)

There's nothing wrong with someone wanting to learn. :thumb:


Your right I had a bad day.and trying.to rig drivers is a pain lol my apologizes to that but this is something nice USB host mode there's drivers for the Sam g 2 ics does unlock theses features u.have to compile a kernel but.I.have no Linux up.and running and I'm just useing.my phone to.do.most of the work lol
 
Back
Top Bottom