[Q] USB tethering - HD2 Android Q&A, Help & Troubleshooting and Genera

Hello,
When I plug my phone via USB, there is an option for USB tethering. However unlike WinMo, Windows 7 will not find the driver automatically for this.
I tried searching the forum, but came up with too much noise (all ROM thread talking about having this feature), but could not find how to actually use this.
Can anyone help?

Anyone?...

alot depends on the android build your using, I've heard that 3rd party apps get the job done. search around for more info because IDK

AFAIK USB tethering depends on which ROM u r using.
Desire ROM can get the HTC Sync job done, while some other ROMs (like Darkstone w/o HTC sense) will have the problem you mentioned (its my personal experience).
So maybe u'd better try diff favours to get diff exp

Thanks. I was expecting it to be universal like WinMo. However if it's not the case, then I'll try a few ROMs, and see how it goes.

Instead of trying different builds, you could use Android Wired Tether.

That's exactly what I was looking for, thanks a lot.

Related

Help with bluetooth! hci_get_route returns ERNODEV

Hi!
I am developing an application which connects a Wiimote to a bluetooth enabled android phone/device.
I did this by interfacing with the native bluez bluetooth library directly, rather than via the Android API. The reason for this is that Android API doesn't support HID devices, which a Wiimote is.
A problem now is that on some devices, mostly those sold by HTC, my app simply doesn't work. After calling the hci_get_route(NULL), this function should return an id of the first bluetooth device available (most likely 0), but instead returns ERNODEV (-1) as if no bluetooth device is available.
I suspect it has something to do with our beloved HTC grossly modifying something in the libbluetooth library to make this fail to work.
Has anyone ever done this kind of bluetooth interfacing?
How could I make this work?
Rooting the phone and replacing a library or two would be fine too.
For a list of working and non-working devices, check out the 2nd post of this thread.
HTC support
I just sent a customer service message to HTC about this issue. I hope they can get back to me with a "we'll work on it" message, or something. I really want this on my incredible. I'm new to coding like this, but could you disguise the Wiimote as another kind of device?
Just a response from someone equally interested in a solution. I'm trying to set up a bluetooth keyboard (Freedom Pro) with my gsm Hero running the 1.5 based MCR 3.2. Available drivers (Freedom's own, BlueInput & KeyPro) should work with 1.5, but HTC devices, especially the Hero, seem to be lacking something that is present in most 1.5 builds.
Investigating, I find the same issue of no route to device, because there is no known device. AIUI when bluetooth is turned on hciattach is used to establish a link to the hardware. At that point an hciconfig should list the hci0 device as present but down. However I find this list remains empty at all times.
I found this for keyboards.
Since I can't post the link, it's called "KeyPro for Android"
Google "keypro android" and click the first link.
Maybe that could help. It says it works with any android device above 1.5, however, I did read that some keyboards use a different type of bluetooth profile, SPP rather than HID.
I haven't heard back form HTC yet either.
EDIT: Upon reading your post again, you have tried this. Sorry, my bad.
Thanks for looking though The Freedom Pro is switchable between spp & hid profiles, so I figured I was safe, lol. Not with HTC's butchered 1.5 bt it seems.
Did you ever try to use the most likely id 0 on an HTC device? Even though the call to get the id fails?
Maybe you could use also the Android API to synchronize if a device is present and then use the id that Android API gives you?
Just some thoughts since I would love to see that App running on my Desire with Snesoid
Edit: Double post
tobren said:
Did you ever try to use the most likely id 0 on an HTC device? Even though the call to get the id fails?
Maybe you could use also the Android API to synchronize if a device is present and then use the id that Android API gives you?
Just some thoughts since I would love to see that App running on my Desire with Snesoid
Click to expand...
Click to collapse
Believe it or not, I actually tried this. Unfortunately, the next command (to bind the bluetooth adapter) also fails, and of course every command after that one because the adapter is not bound.
Thanks for the idea anyway.
usb
does the wii remote have usb connectivity? could it be possible to have the communication pass through that connection rather than bluetooth? one advantage of this would be increased battery life and probably better compatibility across models.
i'm sure some people would prefer bluetooth, but i figure i'll always be using it very close to my phone so i can see the screen, so the wired option is actually a bit more attractive (considering battery performance).
i know ps3 has usb connectivity as well, you just might need an adapter (mini to micro).
rubber soul said:
does the wii remote have usb connectivity? could it be possible to have the communication pass through that connection rather than bluetooth?
[snip]
i know ps3 has usb connectivity as well, you just might need an adapter (mini to micro).
Click to expand...
Click to collapse
I'm pretty sure the first answer is no - our wii is round at a friend's atm. However even if it was yes, you'd need more than an adapter. USB operates with one device as master & the other as slave. To allow you to connect slave devices to your phone it would need to be in host mode. Some mobile phone hardware implementations support this, however I don't know of any mainstream Android kernels which do. Even if you workaround that, you're left with the huge issue that slave devices can assume it's safe to draw power from the USB bus which could do nasty things (tm) to a lower power device like a mobile. This can be worked around via a powered hub, but it all gets very messy.
I looked into this a few months ago, hoping I'd be able to use a usb keyboard with my Hero. I ended up with a BT keyboard instead. Of course that doesn't work either but for completely different reasons, as hinted at by this thread. Hopefully a 2.1 ROM will solve that, but that's the subject of numerous other threads.
Uh, just throwing stuff out, what if you have a pc with two bluetooth adapters, it connects to the wii mote, and then broadcasts that in someway the android api can understand?
Also please actually try working on something with a rooted phone, the HTC EVO 4g is rootable, and I will make man love(no homo) if you get it working.
Either one works lol.
Using a PC as a proxy is kind of useless. If you have a wiimote connected to a PC, you might as well play games on the PC itself (there are nes/snes/sega/etc emulators for PCs too).
At this moment, rooting doesn't help with the problem either.
@1 True
@2 That sucks.
Do we think that this will/could be fixed in HTC's Froyo update for 2010 devices? Not looking for definite answers, just a ponderin'.
well if you send the null pairing code to the wiimote from the default bluetooth pairing screen.. it will fail to communicate with the wiimote too
waffles004 said:
Do we think that this will/could be fixed in HTC's Froyo update for 2010 devices? Not looking for definite answers, just a ponderin'.
Click to expand...
Click to collapse
Doesn't it work in stock/vanilla Eclair? I thought the main problem was with Cupcake, though HTC seem to have done weird things to every stock firmware. I read that removing Sense from a 2.1 HTC ROM breaks bluetooth. Go figure. And there was I thinking Sense was a gui enhancement
I contacted HTC about their bluetooth issues and just received this response
My name is Courtney, and I would be glad to assist you today. I understand that you are unhappy with the Bluetooth connectivity on your HTC EVO. HTC is aware of the problems occurring with the EVO and Bluetooth. We are currently investigating this issue and are working on a solution. As soon as we have an update, we will inform our customers. Thank you for contacting HTC America Technical Support. If you need further assistance, please feel free to contact us via email or at 1-866-449-8358. We are open 7 days a week from 6 a.m.-1 a.m. EST. You can also check out our Community and Support pages at htc.com/us and our pages on Facebook and Twitter.
Click to expand...
Click to collapse
I contacted HTC about this issue with my incredible and I basically got the same answer except the guy was more knowledgeable and said that other people were complaining about certain bluetooth issues. I think they know what they did and are waiting to fix it in Froyo to be easy for them. No worries though, should be comin' in a few weeks. I can't freakin' wait. I have soooooooooo much Pokemon and Mario to play.
does anyone know if this works on samsung galaxy s, i dont have my phone yet to test, but as soon as it arrives (sometime next week) i will test this.
All I can say is that my wii controller is working really well on cyanogen on my evolution now!

Ubuntu development

okay. since Android got it self a forum, i thougt we need a Ubuntu thread. I have no idea if this post belong here, but i belive it needs to be somewhere. I love to have a full Ubuntu running with WiFi at least. The Andriod and Ubuntu thread is overwhelmd with Andriod dev so here i go. If the Ubuntu developers for HD2 want to setup a thread of there own i would love it
Also read the first sticky Linux post for current info and files . Im not a developer just a user hoping for further development on Ubuntu, and i hope im not alone out there
My story so far:
I have used Ubunto now for a while with a USB hub with a mouse, keyboard, soundcard and external power. So far i found Ubunto to be a bit unstable. Feels like its easy to make it drop out. I have ended up with no startmeny and no computer icons, leaving me with just desktop pic and i have to press power/hangupp button to shut it down.
Also playing music in included music player is a bit shaky, sometime i dont get audio and need to change a couple of tracks to get it to play again.
BTW anybody have a password problem? If i want to change time as a example,i need to type a password and its not accepting "ubuntu"?
Also, anybody have managed to get landscape somehow? Would also be nice to get WiFi up and running, so if a dev has any ideas on possible updates on progress would be nice. I have no mobile usb dongle so i havent been able to try that.
So how your experience so far? Type away and lets at least share what we know.
Best regards from me.
ROM, latest NRG cookie dilink glass edition
Radio, 2,12,50
only ubuntu download link i found
gamesquare.co.uk/ubuntuh.html
wow, talkabout being the only one wanting Ubuntu on my HD2. Sorry, wont ask again.
I would definitely be interested in running Ubuntu on my HD2 - it is the OS of choice for my desktop. Is there any bluetooth support at present? I have a BT keyboard / mousepad combo and that would make it very useable for me.
ok but if i don't have a keyboard for my phone and i want to use ubuntu .. i reallt can't use it ? is there any virtual keyboard ..?
Bluetooth and WiFi is currently not working, also no sound.
BUT there is built in usb support. I went to rhe cheepest electronic store and bougt a USB HUB that has its own power adaptor, also som USB cables and adaptors.
A regular pc keyboard, mouse, mobile internet dongle etc. Everything being USB can be used. And i also found in a drawer of mine a usb stick soundcard. So basicly as it is now, all works with some cheep usb tec, but as stated, i have no mobile internet so dont know if it works.I did get to borrow a dongle for like 5min and it found the internet supplyer etc so should work i guess.
Now i realise for some that they might go banana because they cant use Ubuntu without USB gadgets. But thats one reason to try to get the developers attention. If you get to connect some usb stuff(mouse being the least, no k-board if you want to just try it out, i belive you will get hooked on the idea and trying out stuff of your own. I find it fun connecting all old USB stuff i have lying around.
Next step is to add my 1TB usb drive, maybe get to watch some movies.
So, its Ubunto is its birth at least crawling. But with the full attention on Andriod it seems Ubuntu is getting forgotten, hence this thread, so they notice us, and while we wait, try it and report here in lack of space, only wish this could be a sticky or a seperat dev Ubuntu thread because, were drowning in the Android happiness going on.
I will keep testing its 0,1 beta further to se what makes it tick. But im no developer, just a concernd fan, but im having fun, so i report my findings, fun to be in the edge, or birth of something so comon, bring out the dea...ops, i mean bring out your USB gadgets and play, who knows, you might have fun as i.
..oh, sorry for missing one reply here. Found no virtual keyboard so far, this password thing is my biggest concern atm, its like admin rights i need.
Some touch screen implementation is in there, so you can use your fingers to move around and dubble tapp opens SOME stuff and menys. Not very presise but it works if your patient.
Heres a list of USB gadgets im using atm.
HUB: Plexgear, 4 usb ports + 1 data port (its where you plugin you HD2) + power adaptor (Incl in the package)
Mouse: A old Microsoft 2.0 wired mouse and a reaaally sheep wirless mouse, just tried if wireless mouse would work, and i can confirm it does.
Keyboard: A mini keyboard named Zippy with built in blue lights, got to type in style =)
Sound: A no name usb stick not much larger then the usb reciver for a wirless mouse. All it says on the stick is " USB Audio Controller. I belive i heard somthing they going for the amout of 17$ or somthing.
Harddrive: Tryed my 1TB drive, maybe its to large to get recognized or something, but i cant find it atm.
BTW Anybody have a small USB HD lying around they could test?
Nakazul said:
okay. since Android got it self a forum, i thougt we need a Ubuntu thread. I have no idea if this post belong here, but i belive it needs to be somewhere.
Click to expand...
Click to collapse
'HD2 Android Development' naming is erroneous for that reason. I vote we rename the forum Linux and Android development.
-Most elementary progress is seated in the kernel - which has nothing to do with android in the first place. The kernel is Linux and not android.
-Android is not the only userland usable. As seen here there is ubuntu and other stuff.
edit: Find a thread discussing this issue here: http://forum.xda-developers.com/showthread.php?t=654560
I can fix you ubuntu 0.2 with wifi and all kinds of stuff soon.
Nakazul said:
wow, talkabout being the only one wanting Ubuntu on my HD2. Sorry, wont ask again.
Click to expand...
Click to collapse
cant wait to boot up ubuntu on my hd2. But still cant even boot up with v0.1.
dcordes, ur great man! love how the team actually progresses to achieve the current state.
just would like to ask issit possible, technically, to tap on gprs while running ubuntu? Was thinking bout it but not technically sure.
wangiles said:
dcordes, ur great man! love how the team actually progresses to achieve the current state.
just would like to ask issit possible, technically, to tap on gprs while running ubuntu? Was thinking bout it but not technically sure.
Click to expand...
Click to collapse
you're welcome. yes that's possible I'm working on it as we speak.
speedwie said:
cant wait to boot up ubuntu on my hd2. But still cant even boot up with v0.1.
Click to expand...
Click to collapse
Hmm, thats bad. I read the read me file and it booted up nicly. Are you using stock rom or somthing? What happent for you?
What i did was basicly just extract the folder "Ubuntu and copied it to storage card so the Ubuntu folder was in the root of the SD. First try i had no hub or mouse or anything connected just to se if it worked.
Im using latest NRG rom from 24th, cookie Dinik version with 2.12.50 radio, i have 575MB activated.
dcordes said:
I can fix you ubuntu 0.2 with wifi and all kinds of stuff soon.
Click to expand...
Click to collapse
woooo, lovly, cant wait to try it out.
linux distro
wich linux distro would it be better for android?
i would say the ubuntu netbook remix
but thats only me...
i can't wait to use it, the kernel its almost done anyway (android), also wouldn't it be possible to swap between the 2 of them? (android and linux) i know you can with a piece of software change between gnome and kde or other in ubuntu, i already used it.
cheers
linux
in android you just can't keep up with the thread, speak of linux and nobody cares, ndo they know what we are on about?
i don't think so...
I've been using Ubuntu linux as the only OS on my laptop I use for everything (school, work, personal stuff) for about a year now. I absolutely love it, and if it weren't for games and some work stuff, I would also switch to Ubuntu with my desktop. One thing that did give me a lot of headaches on my laptop was my phone though: I've had lots of trouble with the combination of my HD2 and ubuntu/linux (obviously, since M$ does not support linux at all).
But still, I don't really feel the need to have ubuntu on my phone. I'm happy with android because that is supported well by my ubuntu laptop, but I don't see how an OS that has been made for screens of 7" or bigger (taking into account the netbook edition, otherwise I'd say 12") and input by mouse/keyboard can be really useful on a 4" mobile phone.
If you want a debian-based distro that is useful on your phone I'd look at Maemo/Meego: these distro's are more open and desktop-like than android but have been made for usage on a phone (touch)screen. I just have no idea how much work it would be to port one of these OSes.
I respect that people want to tinker around with ubuntu and try to get it to work, but personally I think it is best to have as many as possible developers working on Android itself rather than not-so-useful side projects...
ah well, just my two cents
port linux
to port ubuntu or any other distro to a mobile all you need is the kernel, for htc hd2 its almost ready, on top of the kernel you can put whichever linux u want, maemo android linux whatever u want.
I know that, I was talking about the portability of the OS itself... the software on the OS has to communicate with the right drivers and stuff. Since android runs on HTC devices with similar software, a lot of stuff can be copied. Maemo normally runs on a Nokia device, Ubuntu is mainly developed for x86/x64 hardware, that's why I think they're more of a job to port.
yeah should be quite a challenge but i believe that is what drives this guys, anyway ubuntu is already running on hd2 my concerns are actually the distro to be used that makes it usable, i mean if i have to carry a keyboard and mouse to make it work its not very practical. i rather have a choice to use it or not, regarding the os communicating with the drivers it should be quite straight forward since ubuntu is pretty much plug and play at the moment, it will detect your hardware (drivers).

USB Host Support?

I am sure this has been asked before but does anybody know of a rom that has USB host support. I am trying to run an app for my camera and it requires this to work.
I'm on the same boat, trying to buy that application, but i have looked all over the internet but no definitive answer, looks like the droid incredible has the function, I wonder why they EVO would not, I think we are going to have to take a chance, if it works, great!! If it doesn't, we'll be out $15.
Its not the rom that gives the phone host support, its the kernal and many other factors that make it work. I don't think its going to ever be possible on the evo.
It will be a very cold day in a normally hot place before you see USB host. I tried, and it's not that the hardware won't support it, just no dev interest.

Canon EOS remote shutter application

Hello , I have recently upgraded my phone to HTC One X but wish to use my HD2 for use of my camera as a remote shutter / remote focus app.
I notice various people have made free / paid for apps to do this on android providing you have host mode
I have installed various additions of ICS onto the device but cant seem to get the camera to be detected (i understand i have to power the usb cable as the hd2 doesnt output power), i can get the free shutter release app to work on my touchpad but do not wish to pay for the full app until i can get it to work on my hd2 (which i will just keep in my camera bag) , does anyone know of any rom that does have host mode working, or has anyone used any apps that do what im looking for on the HD2
assuming its not possible , does anyone know of a cheap small android device that would support it?
Set everything up, try the pro version, and then if it doesn't work then get a refund?
Well i cant seem to get the shutter release to work and the description says to test if it will work use that first (which it doesnt) so im wondering if anyone has got host mode working / camera linkup working and what rom was used etc.
Try different ROM/kernal.
parker09 said:
Try different ROM/kernal.
Click to expand...
Click to collapse
Do you haven any suggestions which one may work (i have tried various ones with no success)
Look for the thread on development of USB Host mode in the NAND Development section. Normal, daily use kernels do not support USB Host...
Swyped from HTC HD2 using xda premium

Transfer to pc via USB

Hey all-
Just got the Razr M and am loving it so far. On a side to note to this topic, I have to give a shout to the CyanogenMod team. I was using CM7 on my old Incredible and it really gave the phone new life. One of the reasons I picked the Motorola was the fact that they seemed to have the closest to 'stock' android out there. I have noticed that a lot of the things I loved about CM7 are included in the new JB operating system in the new Razr. I'm not as much of an expert at many of you, so I don't know who was talking to whom there, but it really seems like Android got the best bits of the CM7 release installed stock in my new phone. I'm sure I'll find gripes and get the urge to root this one after a while, but I had to give credit to the CM team for a great product.
Anyway, here's the reason for my post. I was stuck trying to transfer files between the phone and PC to no avail, much like many other people I came across on the net while researching the problem. I ran across a solution at another forum that worked for me (I don't know why, but there it is...). I went to the development tab and chose 'allow USB debugging' and 'allow mock locations'. For some reason that got the Motorola connect software (which I installed out of desperation and takes me to Verizon's unwanted backup website) to realize my phone was there, and also gave me full access to file transfers.
If this is old news, please disregard, but at the risk of sounding like a noob I'll post it in case it helps anyone else.
Cheers!
Ryan
I have tried that numerous times and even reinstalled the drivers a few times and my phone still won't show up in my computer, what os are you running? I'm running XP pro still no dice..
Sent from my rooted RAZR M via XDA app
Drivers
hellknight4206 said:
I have tried that numerous times and even reinstalled the drivers a few times and my phone still won't show up in my computer, what os are you running? I'm running XP pro still no dice..
Sent from my rooted RAZR M via XDA app
Click to expand...
Click to collapse
I'm running Vista 64 bit. You may mock me now!
I just let Motorola install the drivers, didn't go to the website and add extras or anything like that. Sorry about the issues, good luck!
Another thought?
You know, I forgot about this, but it bears mentioning. I have one USB port on my PC that operates at 1.1 speeds (or whatever it was before 2.0). It was one of those fancy cases where there were all kinds of extra goodies on it, but for some reason just this one lone port wouldn't take anything at 2.0 or better speeds for the life of me. When I plugged my data cable into that by accident, it timed out with an error. When I used a proper USB 2.0 port, everything went find\e. So, it may be a long shot, but you might want to check that you're on a fast USB port; otherwise, the timeout error sort of looks like a complete hang/crash...
I am pretty sure all my USB Ports are 2.0 I could be wrong tho, I installed the drivers with the software from the site that maybe my problem actually, I'll try again tonight
::Edit:: ok so I found out my USB Ports are not 2.0 I had my EVO 4g plugged in charging and when I got home my PC had a dialog stating that my device would perform better on a hi-speed USB port, that's a bummer cuz it is the only port I have
Sent from my rooted RAZR M via XDA app

Categories

Resources