Related
sven.killig.de/android/N1/2.2/usb_host/ This method enables you to host usb devices from your Nexus 1. Is it possible do this on Evo also?
Looks like it might only be for Froyo, but then again not sure.
He writes it should work for 2.1 but even for Froyo (custom ROM ) it would be great
I am working on a few custom roms right now but when I'm done with that I'm gonna start working on some kernels including this exact feature.
MOD EDIT - Moved to Q&A
my question is "does the hardware of the evo support usb host mode?" I know the evo shares a lot with the nexus one and other current gen htc phones so I'm hoping so.
BUMP!
omg please... anyone have the gear to try this... i guess im gonna have to take some stuff apart..
chuckhriczko said:
I am working on a few custom roms right now but when I'm done with that I'm gonna start working on some kernels including this exact feature.
Click to expand...
Click to collapse
If/when you are ready, let me now. I have keen interest in this.
Here's what I know:
1) The EVO has no power supply to power the USB device (so you will need a powered hub or cable hack).
2) HTC loves to (seemingly) use the fifth pin as a way to know that the car charging dock is in use so there is a strong possibility that auto-sensing a USB host cable will not work; it will have to be entered via software in some other way. It could be that this switch is actually HTC's own software running and detecting it; I've never dug in enough to know.
3) The Snapdragon processor has the hardware to support USB host and there is a project that Qualcomm has to support the features of their processors witih Android which is (presumably?) where these drivers came from: https://www.codeaurora.org/xwiki/bin/QAEP/
I'm willing to support such a project with my (limited) knowledge and cash. Let me know who's interested
bsnguy said:
I'm willing to support such a project with my (limited) knowledge and cash. Let me know who's interested
Click to expand...
Click to collapse
I have the micro-usb to female OTG cable on it's way, and a powered usb hub that i'm gonna hack. from there, as long as the kernel has support and there are modules to load...
j4s0nc said:
I have the micro-usb to female OTG cable on it's way, and a powered usb hub that i'm gonna hack. from there, as long as the kernel has support and there are modules to load...
Click to expand...
Click to collapse
I've done this. There is no built-in support on Android 2.1 or 2.2 from HTC on the EVO. At least no support for flash media. We will need to add the driver from here (or something similar):
HTC HD2 Kernel with support for USB Host. Same processor and probably similar internals, too. I don't have to the time to get up-to-speed on downloading/building/deploying kernels (and I'm not rooted, yet, on the EVO). I have an HD2 and I might try their stuff on that as it looks like it's "done" so I can see how well it works (or not).
Just got the cable today. Checking out these links and trying things now...
thanks for the pointers. I'm running cyanogen nightly 8-1... so far, i get:
D/Tethering( 102): interfaceAdded :usb0
from logcat when i plug my hacked (routed dc+ voltage from a nearby
+5v pin to the upstream cable red wire) powered usb hub into this OTG cable.
The EVO charges when i have it all plugged in as well...
j4s0nc said:
Just got the cable today. Checking out these links and trying things now...
thanks for the pointers. I'm running cyanogen nightly 8-1... so far, i get:
D/Tethering( 102): interfaceAdded :usb0
from logcat when i plug my hacked (routed dc+ voltage from a nearby
+5v pin to the upstream cable red wire) powered usb hub into this OTG cable.
The EVO charges when i have it all plugged in as well...
Click to expand...
Click to collapse
What's on the other end of the cable? Just the hub? The "D/Tethering" message probably shows up with nothing connected at all (did you see that or try that?) I suspect that's a listener on usb0 to see if a host is plugged in to allow tethering with the phone.
Was there any progress / update on this after you plugged into the USB hub? Have you tried it with anything else?
bsnguy said:
... I don't have to the time to get up-to-speed on downloading/building/deploying kernels...
Click to expand...
Click to collapse
Kinda in the same boat here. I lost a lot of steam after my last post. I did the hardware part no prob but just hit a wall with the rest. And since flashing CM6 final I can't adb or even charge the EVO unless i have the micro usb otg cable plugged into a male-to-male usb extension plugged into AC adapter. Gonna flash back to another ROM to make sure it's just software related, but I really don't wanna lose my wiimote and apple wireless keyboard compatibility.
bump
just curious as to the status of usb hosting on the HTC EVO.
well i'll say this
IF it is supported in froyo natively
you dont need to make a custom hacked usb host cable
you can buy a motorola host adapter for micro-usb made for the new motorola es400 which supports usb host operation.
eigerzoom said:
well i'll say this
IF it is supported in froyo natively
you dont need to make a custom hacked usb host cable
you can buy a motorola host adapter for micro-usb made for the new motorola es400 which supports usb host operation.
Click to expand...
Click to collapse
Not quite that simple.
There is no power supplied from the EVO so you will, at a minimum, have to supply a powered USB hub or a self-powered device, and you will also need the low-level driver to turn on the USB hsot support in the Snapdragon processor.
looking for info on the evo shift...if anyone happens to have any info or leads.
thanks
New development on Motorola Droid
http://www.tombom.co.uk/blog/?p=124
This would be so cool and useful if someone gets this working good on the Evo
Looks like they have this working on the Desire HD:
http://forum.xda-developers.com/showthread.php?t=993152
It's a similar device to the Evo, so maybe there is hope for the Evo to get it?
Hi been following XDA for quite a long time now (great forum)
Just had a thought would it be possible to connect a USB harddrive to your phone and get it to display the files on your phone?
Cheers Jake
AFAIK it's not possible for two reasons:
Main reason is that our phone isn't capable of USB Host which is what it would need to be able to negotiate a connection with the HDD. Both devices are effectively peripherals. I believe some phones are capable but not the Hero.
Secondly you would need to cable to go from your HDD which terminates in a mini usb connector (sure you'd be able to find on though).
Sorry,
Phil
Also, this question belongs in Q&A not Development but I'm sure a mod will be along shortly to sort that out.
http://adq.livejournal.com/95689.html
...but surprisingly nobody needs that.... pity...
Sort of stand corrected then I suppose. The usb chip does support Host but the support isn't in the standard kernel. He has made a go at porting it to the 2.1 kernel and is hoping to have it integrated into a villain rom. From what I read, I don't think he has got the USB port to be powered which severly limits the number of applications for this. Can get round by using a powered usb hub but this is pretty useless for mobile uses.
Is very interesting, still very much a work in progress though.
Thanks for the quick reply just thought could be quick useful.
When you think of it, if your phone battery would have to feed power to spin up a harddisk and keep it spinning, it would get depleted pretty quickly, so this feature would be of limited use anyway.
3.5 externals use their own power supplies
it would be cool, if this would be possible^^
an usb-memory-stick would be enough for beginning
docertabum said:
http://adq.livejournal.com/95689.html
...but surprisingly nobody needs that.... pity...
Click to expand...
Click to collapse
That guy developed a kernel patch with a driver to support usb host, maybe we could add it into the kernels that are being released, or even make it an optional patch that would be compatible with the kernels in this forum? I think keyboard support would be awesome, especially for those of us who like to flash roms often, it would make typing in all of our different account details in over and over again less of a hassle.
I have an Acer Iconia A100 Tablet with Adroid Honeycomb 3.2. I also have an Arduino-compatible board with USB Shield. (Arduino is an open source hardware platform that enables Android tablets/phones to do things like machine control over the Universal Serial Bus.)
My A100 won't communicate through the USB port to the board. I know it's not designed to work in USB Host mode, but this setup is designed for tablets with USB Accessory mode. Other posts say that Android 3.2 devices are supposed to work in USB Accessory Mode and with the Android ADK. (Note that I did enable "USB Debugging" in Settings - Applications - Development.)
Here is a picture of what I am trying to do:
www(Dot)seeedstudio(Dot)com/wiki/File:SeeeduinoADK_Setup.jpg
The Android phone can toggle an LED and receive input from a variable resistor. USB Power is provided by the board, not the phone.
I'm trying to troubleshoot why the A100 does not recognize anything connected to its USB port. Yes, I can transfer files to a PC over the USB, but that's about it.
I downloaded a terminal emulator app to my A100. When I put "USB devices" into the terminal emualtor, it never sees any devices connected -- not even my PC when I transfer files.
Another post talks about installing "Taboonay" on an Acer A500 unit to allow it to work in USB Accessory mode, but I could find nothing equivalent for the A100.
Can something be done to get the Acer A100/3.2 to work in USB Accessory mode?
This is a very interesting post.
First let me say I'm a noob but I will do the best I can with what I know.
I'm not sure if we will get full USB host or at least accessory mode. I think it will always be a multi-part issue. I think the micro USB port the A100 comes with doesn't the correct pins to provide power to ANY USB device. So what ever device is connected has to supply its own power. If this is correct I don't a way around having to supply any USB device external power(this doesn't seem like a major issue just a limitation).
At first I figured we could just use a powered USB hub and we would be good to go I guess not... at least not yet.
However on other devices developers here have been able to rewrite a USB driver to enable other modes and features. Right now the hope is that this can eventually be done. I don't think a solution is currently available. It does sound like you might of assistance in furthering that cause however and would encourage you join us all in seeing what we can get our A100s to do.
I hope this information was helpful for you.
NoSudo said:
the micro USB port the A100 comes with doesn't the correct pins to provide power to ANY USB device. So what ever device is connected has to supply its own power. If this is correct I don't a way around having to supply any USB device external power(this doesn't seem like a major issue just a limitation).
Click to expand...
Click to collapse
You are correct, the micro USB port will not supply power to devices connected to it, even if it did it would drain the battery even quicker than what it does.
In order to get USB host / accessory mode to work the most we can do at the moment is compile a kernel module for it and try to load it in the current running kernel via insmod. Right now such a thing does not exist, but hopefully if I ever get some free time and if no one else has done it I'll be able to do it.
Sent from my MB860 using XDA App
Thanks to crossix and NoSudo for the replies. I have been beating my head against the wall for weeks trying to understand my problem. Apparently, some Honeycomb 3.2 devices can operate in USB Accessory Mode and some cannot. I could not find anything in the Acer A100 specs that addressed this, and Acer Tech Support has not been helpful.
One question: If the unit can somehow get upgraded to "Ice Cream Sandwich," would that solve the USB Accessory Mode problem?
roc524 said:
Thanks to crossix and NoSudo for the replies. I have been beating my head against the wall for weeks trying to understand my problem. Apparently, some Honeycomb 3.2 devices can operate in USB Accessory Mode and some cannot. I could not find anything in the Acer A100 specs that addressed this, and Acer Tech Support has not been helpful.
One question: If the unit can somehow get upgraded to "Ice Cream Sandwich," would that solve the USB Accessory Mode problem?
Click to expand...
Click to collapse
No, ICS will not.. but if they enable the functions at the time they build the kernel that might do it.
Sent from my moto atrix running jokersax CM9 (ICS)!
crossix said:
No, ICS will not.. but if they enable the functions at the time they build the kernel that might do it.
Sent from my moto atrix running jokersax CM9 (ICS)!
Click to expand...
Click to collapse
That is right... assuming they have a driver for such a thing. Since it seems they are basing their kernel on the Ventana board, I don't see why not.
crossix said:
No, ICS will not.. but if they enable the functions at the time they build the kernel that might do it.
Sent from my moto atrix running jokersax CM9 (ICS)!
Click to expand...
Click to collapse
Off subject, but geez dude, how many devices do you have? I find your posts all over xda with a different "sent from my ________" all the time! Lol
ummmmm............ could you repeat that?
6stringandy said:
Off subject, but geez dude, how many devices do you have? I find your posts all over xda with a different "sent from my ________" all the time! Lol
ummmmm............ could you repeat that?
Click to expand...
Click to collapse
The MB860 is the Atrix. I should know, I'm running Joker's CM9 on it too
lol, I've been on these forums for a few years, so I've got a few different phones I've gone through including a palm treo 750, htc kaiser, the g1, nokia e75, htc aria, iphone 3gs, lg quantium and now the atrix.. I think my next phone is gonna be a tegra3
Sent from my moto atrix running jokersax CM9 (ICS)!
Ripped off by USB Capabilities
Recall that I have an Acer A100 with Android 3.2 and micro USB port that will not work in "USB Accessory" mode as the operating system would have me believe. How can I avoid a similar problem with my next tablet purchase? Could I have checked the tablet's specs more thoroughly? I feel ripped off and would like to know how to buy more intelligently in the future. Acer tech support does not have a clue about this and does not care.
Thanks to the respondents of this post.
yeah, as they said, the micro-usb port on board won't supply power to devices connected through it.
I tried THIS but didn't work, so, maybe if we could make an usb to micro-usb cable with its own power supply it could work (not sure at all)
USB Accessory Mode not Host Mode
Thanks, but the USB power is not an issue here. The board I am using (www(dot)seeedstudio(dot)com/depot/seeeduino-adk-main-board-p-846.html) receives external power. My tablet is supposed to operate in USB accessory mode in which it can send out USB information to this board which provides power.
I am trying to find out, before I buy my next one, whether the phone/tablet can handle this "USB Accessory mode." Some devices can handle it as per this picture: www(dot)seeedstudio(dot)com/wiki/File:SeeeduinoADK_Setup.jpg. The Acer A100 cannot. How could I have determined this before I bought it??
roc524 said:
Thanks, but the USB power is not an issue here. The board I am using (www(dot)seeedstudio(dot)com/depot/seeeduino-adk-main-board-p-846.html) receives external power. My tablet is supposed to operate in USB accessory mode in which it can send out USB information to this board which provides power.
I am trying to find out, before I buy my next one, whether the phone/tablet can handle this "USB Accessory mode." Some devices can handle it as per this picture: www(dot)seeedstudio(dot)com/wiki/File:SeeeduinoADK_Setup.jpg. The Acer A100 cannot. How could I have determined this before I bought it??
Click to expand...
Click to collapse
The best way to test something like that out is to bring something that requires being plugged into a usb to operate (like your keyboard) or you could Google "<device name> tech specs".
Sent from my ADR6400L using xda premium
Any news on this ...?
Has a usb driver been developed or something (will it be on ics )?
crossix said:
You are correct, the micro USB port will not supply power to devices connected to it, even if it did it would drain the battery even quicker than what it does.
In order to get USB host / accessory mode to work the most we can do at the moment is compile a kernel module for it and try to load it in the current running kernel via insmod. Right now such a thing does not exist, but hopefully if I ever get some free time and if no one else has done it I'll be able to do it.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Crossix did you have time to check this...?
Thanx...
Sent from my A100 using Tapatalk
Thanks for all the work, would love this on my tablet as well.
In the service manual I have found the scheme of our motherboard. Our device's HARDWARE doesn't support USB host at all.
New here, I just bought an Acer A100 specifically for using it with the android ADK based off this (apparently I can't post links? ok just google "Tablets and the Android Open Accessory Development Kit (ADK)" and click on the first result) website's recommendation. And now I find that it doesn't work at all? Nothing I can do about this?
As much as I despise Qualcomm's lock down practices, I must admit that the Qualcomm processor is pretty darn solid. There aren't too many problems with Qualcrapp . However, that's now and I've got some information which may help some of you out in the future.
I did some hacking last night on a live stream with a few other XDA members from this and other forums. The goal was to find the UART location on the AT&T Galaxy S3.
Why, you might ask, would this be useful? During kernel and bootloader development, sometimes the device won't boot to the point where you can obtain logs to determine the problem. UART can provide the realtime eyes-on that you need to troubleshoot such problems.
So the process was as follows... On a rooted device, pull the kernel. Extract it. Add command line parameters to enable UART.
Code:
console=ttyHSL0,115200n8 loglevel=9
Recompress into a boot.img. upload with Heimdall. Teardown the device. Adb shell into the device. Execute the following code so you push data through the UART port and know if the device has locked up.
Code:
su
while [ 0 ]; do date| tee /dev/ttyHSL0; busybox sleep .5; done
After that, you can locate the UART port by probing at 115200bps.
The TX from the board (your RX lead] is placed 2nd from the bottom on the battery side of the board. RX is either the one above that or middle on the other side.
Video:
In the video, at about 5 minutes in, I said I didn't know what the 31 value was... and the kmesg logs were pretty thin.. Well, turns out they are the kernel message levels. For full logging, change that to 987654321. Samsung usually uses the 9 identifier to represent shell access .
So, I hope this helps. UART provides eyes before any other method of debugging (aside from JTAG) begins to work. UART is the first thing to do in order to make a device into a development board.
Forgot to mention.. There is surely a switch in the PARAMS to enable early bootloader logging. This is yet to be found.
Thanks Adam, amazingly helpful as usual
Wow awesome dude, good work! You never dissappoint haha.
Sent from my SAMSUNG-SGH-I747 using xda premium
I haven't watched the video yet because the loading is soooo slow.
Is it possible to uart in to the headphone jack on this device?
We were able to do this on the Atrix 4G.
upndwn4par said:
I haven't watched the video yet because the loading is soooo slow.
Is it possible to uart in to the headphone jack on this device?
We were able to do this on the Atrix 4G.
Click to expand...
Click to collapse
No. If anything were possible it would be the USB port.
AdamOutler said:
As much as I despise Qualcomm's lock down practices, I must admit that the Qualcomm processor is pretty darn solid. There aren't too many problems with Qualcrapp .
Click to expand...
Click to collapse
Wasn't fully aware they had lock down practices. Could you say more about that? Like what is it? What did they do?
Thanks.
Aaron Swartz, Rest in Pixels.
I try to find the UART port on an APQ8064(Mi2 and Nexus4 are using it).
Just one question: how can I probe uart? just random connecting my RX to any pins on the board?
Can't this completely break the hardware?
Hi all- pointed here from a friendly person over at another website forum.
I got interested in the idea of using an N7 as a head unit (car stereo replacement) shortly before the 2nd gen devices were released. I decided to wait, but when they were released I was reading lots of bug reports, and decided to hold off. Now that it has been a few months, I'm looking at it again and am hoping someone here can point me in the right direction or answer any of these questions. I did a general search, and also searched this website before posting, but I haven't found anything definitive.
The intent of the unit would be to provide googlemaps and mp3 audio. N7 would be slaved to my phone, so the wifi model is fine. My current car radio does not have an audio input, so this would be a complete replacement including a small amp
My questions:
1. Are the N7 2nd gen original bugs (GPS and ghost touch) completely fixed now?
2. Is anyone aware of any how-to or walkthroughs specifically using the 2nd gen N7 device as a head unit (replacement car stereo)? I found a couple of posts from right after the release saying that they couldn't find an working image (root? kernel?) to allow simultaneous USB charging and USB audio out. I haven't been able to find any posts where people have figured out (and explain) a way around this.
3. From what I understood from the G1 postings, the root was needed to enable the USB audio out, but I read a non-headunit post that claimed this capability would be embedded in Kitkat... but haven't been able to find any confirmation
It is quite possible that I'm just not searching the right terms, so I welcome better search terms to use (vs "Nexus 7 2nd gen head unit") or actual links to pages that either show how to convert a N7 2nd Gen to a head unit, or that are current and describe the remaining problems so I can follow those threads,
Thank you!
I've been able to get pretty close using the elemental x or glitch kernels with either PAC ROM or cyanogenmod.
I have still not found a working way to charge with otg that is enabled when power is added to an already plugged in cable. You can get charge with otg working, but only when you manually plug the connector into the nexus 7... This is not a working solution for a car install.
Check out the elemental x thread for flo and deb as some folks are working on this as well.
I just did a search on youtube which threw up a load of vids of various car installs. there may be links in those vids.
also try searching for 'nexus 7 car install'
Heres some i found, some old some new but interesting. I'd love to do this but I'd break something.
http://rootzwiki.com/topic/81906-nexus-7-2013-in-car-installation-without-removing-stock-head-unit/
http://forum.xda-developers.com/showthread.php?t=2113259&page=18
http://www.mp3car.com/worklogs/152658-nexus-7-android-in-a-2001-audi-s4.html
https://www.google.co.uk/search?q=nexus+7+install+guide&oq=nexus+7+install+guide&aqs=chrome..69i57j0l5.14640j0j4&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8#es_sm=122&espv=210&newwindow=1&q=nexus+7+car+install+guide&safe=off
This looks so cool....
http://nexus7.wonderhowto.com/how-to/turn-your-nexus-7-tablet-into-futuristic-heads-up-display-hud-for-your-car-0148499/
I bought two nexus 7's, one for me one for my dad. both had the screen ghost problem where random keypresses would occour. updating the software solved the problem for one but the other I had to exchange. other than that I'm really happy with the tablet and can highly recommend it.
Make sure you show us your install!