Epic 4g USB Host OTG - Epic 4G Q&A, Help & Troubleshooting

Since this is the Q & A, I feel safe asking this question. My first post, so let me know if I am in the wrong.
Has anyone added USB Host to any of the Epic roms/kernels?
I would love to see someone support this!

I dont think that there is any yet

well i am no developer but i have been able to put epic into otg mode what ever you call it i have taken car charger from verizon and cut end off and removed resistor and just bridged it then plugged into phone and opened terminal and i type in dmesg and i shows
otg clock enable clk enable otg clock ok
usb otg
did not type everything but it looks like that and when device is unplugged and command is run again it show otg clock enable clk diasble otg clock ok if any developers could make some sense of this i will post up everything terminal returns

So does USB Host work on the Epic 4G? Do any custom roms support it?

Have not messed with I'm no developer would if I could but don't no where to start I could only hope we get it working if I should find anything I will post it
Sent from my SPH-D700 using XDA App

Come on lets get this going I have started lets go somewhere with it I know devs are here maybe some helpful advice where to look or start
Otg let s start dissecting the rom and kernel anything drivers maybe dissect google g1 I think it has serial support also moto zoom
Has usb port maybe a driver we can rewrite or use
Sorry if this is considered double post not sure how to fix on mobile
Sent from my SPH-D700 using XDA App

ntrider1991 said:
Come on lets get this going I have started lets go somewhere with it I know devs are here maybe some helpful advice where to look or start
Otg let s start dissecting the rom and kernel anything drivers maybe dissect google g1 I think it has serial support also moto zoom
Has usb port maybe a driver we can rewrite or use
Sorry if this is considered double post not sure how to fix on mobile
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Post your ideas in general...q&a has a lot of untapped potential because people comehere asking legit and curious piquing questions to brick walls and they go on being ignored
Hopefully a dev will pick up on this in general
Sent from my SPH-D700 using XDA Premium App

Samurai Kernel for CM9 now supports USB OTG
Edit: Thread Resurrection "rise from the dead!"

Related

Modding default.prop

My apologies to those who were waiting for me to post a super-clean build. I've been doing absolutely nothing with the Continuum for the last 2+ weeks.
I've finally come across the solution to one of the fixes I've been really wanting for this phone, and one of the primary reasons that come September 20th, I'm ordering a new phone with my wife's free new-every-2.
I want to see USB debugging enabled by default, without timing out. To do so, the default.prop file needs to be edited, which is located in the boot image. I've taken a look at posts like http://forum.xda-developers.com/showthread.php?t=443994, but I don't know where to start. If anyone could point me in the right direction, it would be a great addition to custom roms.
What all do you want the kernel to do/have?
imnuts said:
What all do you want the kernel to do/have?
Click to expand...
Click to collapse
maybe compatibility with CM builds.. gingerbread support maybe or some porting of already completed fascinate builds.
Is it feasible/conceivable to build a kernel with BLN mod in it?
That's about the only thing I miss from the Fascinate world.
Sent from my SCH-I400 using XDA App
we have tried before on eclair to get it working, but with no success... The fact that our soft keys are built into the screen makes it probably impossible...... Sorry for the bad news :l
Sent from my SCH-I400 using xda premium
Yeah, that makes sense. I hadn't thought about the soft keys being part of one display. Oh well, that makes the 5th or 6th app I've purchased that I'll never use again.
Sent from my SCH-I400 using XDA App
imnuts said:
What all do you want the kernel to do/have?
Click to expand...
Click to collapse
I want to have adb enabled by default, and have the persist flag enabled as well. I get so damn annoyed when usb debugging disables itself. I want to usb tether my phone for internet access when I'm traveling, but the phones default settings make this impossible
EDIT: I just realized that Josh's EC07 ROM includes the necessary edits to the defaults.prop file. From what I had read elsewhere, the file was located in a boot image that required extraction and editing, and repacking. So as far as this thread is concerned, my problem is solved, or at least it appears to be.
EDIT: Damn I hate Samsung! Just another 10 days and I can order my DInc2 for free from Wirefly. I just tested whether or not USB debugging would auto-disable after a few minutes. Sure enough, after being tethered for about 5 minutes with EasyTether, USB debugging turns off. Problem NOT solved.

[26 MAY] USB Host mode for HD2

Update: We finally have usb host mode working on leo.
The interrupt problem i was having was fixed by liiochen, right here (his blog). He has also tested a few devices like keyboard, mouse, storage etc..
Attached is the kernel and modules in a cwm zip. usb mass storage, usb charging, usb tether and usb adb will NOT work. adb over wifi should be fine. If you were going to ask, it's based on the latest tytung kernel.
Requirements:
ICS rom
Self powered hub OR a Y USB cable
How to:
1) Reboot to recovery
2) flash file
3) reboot to android
It supports both clk/magldr.
Credits:
liiochen, cotulla, markinus, sven killig, tytung
good luck .
http://forum.xda-developers.com/showthread.php?t=1459304
Good luck
awesome
pirlano said:
awesome
Click to expand...
Click to collapse
Cant wait for this to be functional on our HD2's
great effort out there man !!
good luck with your work !
Hello! Any news about this great project?
Salvestro said:
Hello! Any news about this great project?
Click to expand...
Click to collapse
+1
Sent from my HTC HD2 using xda premium
any news
great that some1 is working on this as its something that i want for my hd2 especially if u can.get tv out working wish ud post news on how ur getting on and more.developers would help u out i think u should do.a poll on how many people want this as id say a large percentage of hd2 owners on here would say they do. when i finally retire my hd2 would be great to turn it into a media centre by connecting it to tv and a hard drive for files. i hope u keep.at it until u get it working and if u want a beta tester count me in!!
Maybe Rick gave up on this thread, considering none of the posts in it (including this one) apart from his have been development related (we are in the development forum...)
Also, don't you think if he had news he'd post it?
mikeysteele said:
Maybe Rick gave up on this thread, considering none of the posts in it (including this one) apart from his have been development related (we are in the development forum...)
Also, don't you think if he had news he'd post it?
Click to expand...
Click to collapse
I haven't given up on this but yeah, such people really do nothing but spam the thread for no reason. I will require 2.6.33 kernel at a minimum to continue because usb stack interface was changed between .32 and .33 linux. So instead of starting from scratch, i have asked tweakos who already has a .33 kernel running perfectly for the source code for me to continue, He mentioned he had some data loss but has a backup and it would take him around 4~5 days to recover and upload that somewhere.
As for the news, whatever news i would have about the host controller wouldn't be understood properly as most of it would be regarding low level stuff or unless the news is about release..
As for the possible uses of usb host would be:
1) USB joysticks, (any controller that works with linux) so you can play psx emulator with real controls, and other supporting games
2) USB TV in, Watch TV on your HD2 using a USB powered TV tuner card.
3) USB TV out, Use larger displays for your HD2 using usb monitors or some kind of usb video adapters certified for use with linux
4) USB sound cards for those who want real quality audio with an external usb sound card, but i think android does not support this. will require GNU/Linux distro.
Infact anything that works properly with USB 2.0 in linux will work in kernel space and can be used by apps which have ability for such hardware.
Wow, that's great. I love USB TV out function.
I want it, good luck
Good luck with this one. It would be great to have on our beloved hd2's
Rick_1995 said:
I haven't given up on this but yeah, such people really do nothing but spam the thread for no reason. I will require 2.6.33 kernel at a minimum to continue because usb stack interface was changed between .32 and .33 linux. So instead of starting from scratch, i have asked tweakos who already has a .33 kernel running perfectly for the source code for me to continue, He mentioned he had some data loss but has a backup and it would take him around 4~5 days to recover and upload that somewhere.
Click to expand...
Click to collapse
How about using my kernel 2.6.35.14 forked from ACA which is forked from Marc? I have done a lot of work making it very stable and fast...
Rick_1995 said:
. There are posts which confirm that OTG worked in froyo sense, so i will be testing the support in froyo roms and gnu/linux builds like ubuntu for further research.
Click to expand...
Click to collapse
Which froyo roms have OTG support?
It would be useful to use one for Ubuntu http://forum.xda-developers.com/showthread.php?t=1025499 (and possibly Debian http://forum.xda-developers.com/showthread.php?t=1029390) via VNC
Thanks
Robbie P said:
Which froyo roms have OTG support?
It would be useful to use one for Ubuntu http://forum.xda-developers.com/showthread.php?t=1025499 (and possibly Debian http://forum.xda-developers.com/showthread.php?t=1029390) via VNC
Thanks
Click to expand...
Click to collapse
Dunno if they would work, btw with my kernel i have usb root showing up but cannot yet test anything because my usb hub seems to be broken and i don't have any usb female port lying around.
OP updated.
Hi sry slightly of topic....is there a new version of magldr in the works? What is the expected time of release?
Many thanks
Sent from my HD2 using Tapatalk

[q] just wondering if possible to port .sense to mt3gs

HELLO EVERY BODY I was just wondering if it is possible to do a port of benjamingwynn's super awsome .sense rom to the mytouch 3g slide?
It's just a really great rom that might just bring the mt3gs back for one last time.
Just don't want to give up on this phone, I love it to much.
well, i might, but, im more focused on getting WiFi to work in ANY sense 3.5 rom
Well that is important and I thank you for working on it! I
I just wanted to know so I can give porting a rom a try. Want to contribute something instead of just using.
Oh by the love your roms
Sent from my SGH-I897
can anyone give me any suggestions to get me in the right direction so I can learn how to port roms
mon5trum said:
can anyone give me any suggestions to get me in the right direction so I can learn how to port roms
Click to expand...
Click to collapse
well, start by setting up either a linux partition, or install cygwin (you need the custom one in the dsixda kitchen thread) and setting up your kitchen, but for the most par, just make sure you are trying to port a non-sense rom with a sense base, or vise-versa
Also, always replace /system/usr and /system/bin/akmd
but you will figure out what else on your own
Whoareyou said:
well, start by setting up either a linux partition, or install cygwin (you need the custom one in the dsixda kitchen thread) and setting up your kitchen, but for the most par, just make sure you are trying to port a non-sense rom with a sense base, or vise-versa
Also, always replace /system/usr and /system/bin/akmd
but you will figure out what else on your own
Click to expand...
Click to collapse
Thank you very much for taking some time to help out a total NOOB!
Whoareyou you are great!
Sent from my Wildfire S
Dont know if this will help or not. You may or may not be aware of it. I checked out the thread a little, http://forum.xda-developers.com/showthread.php?t=1445517 and development has been suspended. Apparently there were some problems with wifi and cell service on the latest version 3.0 from the little bit I read there. I did notice a few people saying that v2.0.1 was working pretty good for them though.
It also appears that they had it working for the Legend in v2.0.1 so that could be the easiest port if you do decide to tackle it. (The Legend is nearly identical to our Espresso if I am remembering correctly)
v3.0 was available for the Wildfire and the Salsa, and since we have a working port of Salsa, that may help as well (for either the 3.0 or 2.0.1).
Sorry I can't be much more help than this right now. Hopefully this can help give you some ideas.
Note: the download links do not work at all, but i did find them all here.
http://goo.im/devs/benjamingwynn/dotsense/
Good Luck to you!
DocHoliday77 said:
Dont know if this will help or not. You may or may not be aware of it. I checked out the thread a little, http://forum.xda-developers.com/showthread.php?t=1445517 and development has been suspended. Apparently there were some problems with wifi and cell service on the latest version 3.0 from the little bit I read there. I did notice a few people saying that v2.0.1 was working pretty good for them though.
It also appears that they had it working for the Legend in v2.0.1 so that could be the easiest port if you do decide to tackle it. (The Legend is nearly identical to our Espresso if I am remembering correctly)
v3.0 was available for the Wildfire and the Salsa, and since we have a working port of Salsa, that may help as well (for either the 3.0 or 2.0.1).
Sorry I can't be much more help than this right now. Hopefully this can help give you some ideas.
Note: the download links do not work at all, but i did find them all here.
http://goo.im/devs/benjamingwynn/dotsense/
Good Luck to you!
Click to expand...
Click to collapse
Thank you for your support and advice.
That is a very good starting point. Once the weekend gets here I will try to get started.
One more question what are the minimum requirements for a PC, I have 4 gigs of ram two hard drives one with 250 gb the other with 1 tb and a pentium core duo processor I think. (Not sure on the processor, been a while since I looked)
Sent from my Wildfire S
I would say that should be plenty. I have not yet attempted compiling or porting myself but i use a much weaker machine for a lot of my android stuff and it has been pretty good for the mods and such ive been working on. Search google or xda for android development min requirements and you should find some info on recommended specs for what u want to do.
Sent from my Little Engine That Could using XDA App
one more thing I tried to plug my mt3gs to my pc but neither my wife's laptop or my desktop wont recognize my phone neither htc sync or as a mass storage device, as I am going to start my little project on saturday. So just want to know if there is a solution for this? Can someone please help me your help is very very appreciated.
Have u tried a different cable? Does the phone start charging when u plug it into the PC? if u just want to transfer files u can try an app like SwiFTP from the market. I believe there are also ways to run adb over wifi, but ive never looked into it so not totally sure bout that. Did u check to make sure in settings that its not set to Charge Only?
Sent from my Little Engine That Could using XDA App
DocHoliday77 said:
Have u tried a different cable? Does the phone start charging when u plug it into the PC? if u just want to transfer files u can try an app like SwiFTP from the market. I believe there are also ways to run adb over wifi, but ive never looked into it so not totally sure bout that. Did u check to make sure in settings that its not set to Charge Only?
Sent from my Little Engine That Could using XDA App
Click to expand...
Click to collapse
This all started to happen with the original cord that came with the phone but I will try different cords just too see if I can get it to work. And if not I will look in to that adb through wifi thing, but most likely if a different cord works I will still research that whole process. I thank you for your help and advice. :thumbup:
Sent from my all powerful ANDROID phone!!
Hello again everyone, Sorry that I haven't posted any news or anything but my life just got a little crazy and it cut down my free time considerably. I was just wondering if I was to late to start this project and someone else started with it, or am I still good with it...
Thanks for any responses!!!
Sincerely
The mon5trum under your bed

USB HOST development

I found some posts around but nothing terminal. Is it possible at all A100's USB to behave as host? I mean is it possible to be developed, I know it is not a standard feature.
I will be glad to donate to a ROM which introduces this feature, as well as many others, I think.
Thank you
SlavPala4a said:
I found some posts around but nothing terminal. Is it possible at all A100's USB to behave as host? I mean is it possible to be developed, I know it is not a standard feature.
I will be glad to donate to a ROM which introduces this feature, as well as many others, I think.
Thank you
Click to expand...
Click to collapse
I'm not sure. The kernel source usb driver does seem to have OTG, but I have not tried it. I'm may not be enabled for some reason.
Look in this Service manual scheme on page #23. It will answer to your question.
In general the ansewer is no.
Acer A100 Support USB with ADK.
more info about Android ADK
http://androidcontrol.blogspot.com/2012/05/beginning-android-adk-with-arduino.html
I realize this thread is a bit old and didn't really go anywhere, but if you check dmesg, you can see that the A100 uses USB 2.0 internally for its own devices. (E.g. pl2303, UVC, etc.) So that might mean if you can find the right points, you could theoretically tap into a USB 2.0 bus. No idea how useful that might be.
anyone can check this?
http://www.youtube.com/watch?v=46IiRyigUH0&feature=player_embedded
Here is a chart that shows the devices compatible with the USB-OTG:
https://docs.google.com/spreadsheet/ccc?key=0Ah0XHLQM9tvmdExUZ2pRYkowLUlyRTBkTV9ZZTJJV1E&pli=1#gid=0
More info in:
http://www.elandroidelibre.com/2012/06/conecta-cualquier-usb-a-tu-android-con-usb-on-the-go.html
what it´s the utility of the expansion slot , not have any form to adapt a usb host for this slot? thanks
john_smith said:
what it´s the utility of the expansion slot , not have any form to adapt a usb host for this slot? thanks
Click to expand...
Click to collapse
The dock port? No it doesn't support usb at all I don't think. I think it's like charging and hdmi and audio, maybe one of the few with one can verify that.
Tapatalked from my HTC DNA
pio_masaki said:
The dock port? No it doesn't support usb at all I don't think. I think it's like charging and hdmi and audio, maybe one of the few with one can verify that.
Tapatalked from my HTC DNA
Click to expand...
Click to collapse
Does the dock even have hdmi out? I was just looking in to it, only $30 on eBay btw , anyway I don't see an hdmi out in any pictures and I read about USB in a description somewhere. Does anyone have one to inform us?
Sent from my A100 using Tapatalk HD
HDMI out, no USB
jared_schaefer said:
Does the dock even have hdmi out?
Click to expand...
Click to collapse
It has HDMI and audio out:
http://www.acer.co.uk/ac/en/GB/content/model-datasheet/LC.DCK0A.002
http://android.sztupy.hu/usbhub.html
It should be possible:
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 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.
Click to expand...
Click to collapse
A kernel can't allow functionality that isn't in the hardware, USB host is active in the kernel already, there's just no hardware support for it on the a100.
Tapatalked from my HTC DNA
Kernel with USB host activated?
pio_masaki said:
A kernel can't allow functionality that isn't in the hardware, USB host is active in the kernel already, there's just no hardware support for it on the a100.
Click to expand...
Click to collapse
I'm on ezT20 kernel and USB Host Diagnostics is saying "kernel claims support: no"
Which type of USB controller HW has the A100? I want to read the specification sheets if available.
SGH-i200 said:
I'm on ezT20 kernel and USB Host Diagnostics is saying "kernel claims support: no"
Which type of USB controller HW has the A100? I want to read the specification sheets if available.
Click to expand...
Click to collapse
Everything is there to do it, just not hooked up. It's been discussed over and over again. It's enabled in the linux society kernel, it's based on the ezt20 kernel but had quite a bit more done to it, I probably should have said which kernel. Well I never verified it, he just said it was enabled at the kernel so it was something else stopping usb host. The CM9 kernel may also have it as it was shared with the a500 which did have usb host, just a different defconfig used.
If you want to read those sheets then dig through the forum for them, there was a post for it a long while back, or even Google for a minute will find you the specs and manual for it which includes all the hardware used. It won't help as the parts listing will give device information that says it should have usb host, but it doesn't, it's not connected for some reason.
Tapatalked from my HTC DNA

ics does not see usb

Hey everyone
I have the sprint galaxy s2 , stock ics rom (rooted)
this unit does not see the usb, (no otg), there is no window telling me a usb device is hooked up, the thumb drive does not power, and the usb host diagnostics says my device does not support usb
I installed stick mount just to be sure and there is no device seen
anyone have any ideas how to enable this, am I missing a file somehow, or possibly a link to a stable ics that does support otg
any help is appreciated and thanks in advance
perrisiam said:
Hey everyone
I have the sprint galaxy s2 , stock ics rom (rooted)
this unit does not see the usb, (no otg), there is no window telling me a usb device is hooked up, the thumb drive does not power, and the usb host diagnostics says my device does not support usb
I installed stick mount just to be sure and there is no device seen
anyone have any ideas how to enable this, am I missing a file somehow, or possibly a link to a stable ics that does support otg
any help is appreciated and thanks in advance
Click to expand...
Click to collapse
Right now from the looks of it, self powered OTG is nonexistent on the epic touch. There might be a chance that OTG through a powered hub or USB Y cable might be possible. But standalone? Not a chance.
Sent from my Galaxy Nexus using xda app-developers app
times_infinity said:
Right now from the looks of it, self powered OTG is nonexistent on the epic touch. There might be a chance that OTG through a powered hub or USB Y cable might be possible. But standalone? Not a chance.
Click to expand...
Click to collapse
thanks for the response but my galaxy doesn't see powered usb devices either...I think I am missing a file or need to enable something as others have what I am looking for
ps, this youtube looks like e has usb otg self powered
http://www.youtube.com/watch?v=giJXF5pIITc
according to the posts on that tube, some users can do it some can't, it looks like sprint cannot...something is missing in their rom I suppose
perrisiam said:
thanks for the response but my galaxy doesn't see powered usb devices either...I think I am missing a file or need to enable something as others have what I am looking for
ps, this youtube looks like e has usb otg self powered
http://www.youtube.com/watch?v=giJXF5pIITc
according to the posts on that tube, some users can do it some can't, it looks like sprint cannot...something is missing in their rom I suppose
Click to expand...
Click to collapse
Support for it is missing in the kernel.
Sent from my Galaxy Nexus using xda app-developers app
times_infinity said:
Support for it is missing in the kernel.
Click to expand...
Click to collapse
I am now led to believe it's more likely a hardware issue rather then kernel, I think if it were a kernel problem simply flashing to a kernel that worked would do the trick and porting it over would simply be the same thing as porting say a verizon ics over to sprint
nobody can get otg working on a sprint epic touch regardless of kernel.
so sad, I traded up from 3d otg for my torque program, now I see if I kept my 3d and installed ics I'd be gold

Categories

Resources