Hi XDA Members
I have a question about the CyanogenMod 9.1.0 - 3.x Kernel - Final on the HTC Desire Z
(http://forum.xda-developers.com/showthread.php?t=1492461)
I Installed it yesterday including new radio and rils.
Everything works perfectly and I really love the Mod.
There is only one thing I am fighting with, that is USB-tethering.
In android settings I can press the usb tethering button. It will have no effect, though, and the checkbox will not be checked.
If I try to hit the usb tethering button a second time, the checkbox will be checked and the second text line of the field will vanish. However this also will have no effect on the actual tethering. After leaving the settings screen and returning back, the checkbox will be unchecked again. There is also no tethering symbol on the status bar /notification drawer either.
I also tried using a tethering widget ("Tethering Widget", https://play.google.com/store/apps/details?id=com.achmyr.android.froyo&hl=en)
I can use it only after hitting the USB tethering button in the Android settings. The application will confirm tethering as active. Also the symbol in the status bar /notification drawer will appear. And also the usb tethering checkbox will be checked and say: tethering. However, the device does not actually tether.
The button greys out correctly if I disconnect the USB, so I guess the device recognizes the connection.
Also Wifi tethering and USB storage works correctly.
Before I used cm 7.2 stable, with working usb-tethering.
In the dev-mod forum I can not find people complaining about similar things. I checked XDA forums and other forums for people having same issues but couldn`t find someone sharing these exact symptoms.
I did my best to describe the problem as closely as possible. Please let me know if you have any ideas about it.
Thanks for any kind of help and congratulations for the mod. I love it!
All the best
Hanswurst517
EDIT: I could get it to work on windows using this tip: http://www.theandroidsource.com/android-forum/718-cyanogenmod-usb-tethering-fix.html
Part of the problem seemed to be a windows7 driver problem.
However I can only use tethering by using the tethering widget, but not using the tethering button in the settings menu.
In order to use the widget, the tethering button in the settings menu has to be pushed once. otherwise the widget won't recognize usb connection.
here is your solution..works with any android mobile till yet i have tried..!
1.Plug in your phone via USB, enable USB tethering.
2.Open device manager (in control panel)
3.Find your phone on the list, it should be listed as RNDIS device. It will have a ? and yellow !
4.Right click on it and select 'update driver'
5.When the window pops up, select 'browse my computer for driver software'
6.Select 'Let me pick from a list of device drivers on my computer'
7.For device type select Network adapters.
8.For manufacturer select Microsoft Corporation
9.Then select 'Remote NDIS based Internet Sharing Device'
10.Hit next, it will give you a warning...ignore it and hit yes.
:good::good::good:
Related
Please excuse my ignorance but can anyone explain what the option under USB to PC "Enable Advanced Network Functionality" does?
I believe I have to select it if I want to connect my PC to the Tytn to use it as a modem.
Is there any reason why this shouldn't be selected all the time?
Thanks
colin_thames said:
Please excuse my ignorance but can anyone explain what the option under USB to PC "Enable Advanced Network Functionality" does?
I believe I have to select it if I want to connect my PC to the Tytn to use it as a modem.
Is there any reason why this shouldn't be selected all the time?
Thanks
Click to expand...
Click to collapse
I am not exactly sure what it does, but if I have it enabled, I cant sync my PDA at work. So I keep it disabled as soon as I install a new OS.
Interesting. It doesn't seem to affect whether I can sync or not. It also seems to be bizarre to have a single setting on a control panel.
Anyone else know what this setting is meant to enable or prevent?
Like the previous post, I'm not completely sure what the functionality of this setting is, but it may be the ability to use the phone as a modem using the remote NDIS (RNDIS) architecture.
Both my co-worker and I need to remove this check in the setting or our latptops will very quickly become frozen, and we have to do a hard reboot.
stangeek said:
Both my co-worker and I need to remove this check in the setting or our latptops will very quickly become frozen, and we have to do a hard reboot.
Click to expand...
Click to collapse
Thanks for your experiences. I too have noticed that the syncing can take longer and seems to use resources when networking is enabled, and at other times it's fine, though I've not had any total freezing of the PC. Is it the laptops that have to be rebooted or the Hermes?
RNDIS is a more robust connection over serial. It also allow you to utilize Internet sharing instead on Wireless modem. The phone will show up under device manager as a network adapter instead of windows mobile based device.
USB to PC Connection Types
"Enable Advanced Network Functionality" - Checked (RNDIS)
"Enable Advanced Network Functionality" - unchecked (Serial USB)
Hope that helps.
colin_thames said:
Thanks for your experiences. I too have noticed that the syncing can take longer and seems to use resources when networking is enabled, and at other times it's fine, though I've not had any total freezing of the PC. Is it the laptops that have to be rebooted or the Hermes?
Click to expand...
Click to collapse
It's the laptops that have to be rebooted. They become completely unresponsive---not even the mouse moves!
alucardlive said:
RNDIS is a more robust connection over serial. It also allow you to utilize Internet sharing instead on Wireless modem. The phone will show up under device manager as a network adapter instead of windows mobile based device.
USB to PC Connection Types
"Enable Advanced Network Functionality" - Checked (RNDIS)
"Enable Advanced Network Functionality" - unchecked (Serial USB)
Hope that helps.
Click to expand...
Click to collapse
Indeed it does, though I wonder why serial USB is offered at all? (I haven't found an 'official' line from MS) Or does this 'robustness' offered by RNDIS come at the cost of syncing being more prone to problems? The experiences of stangeek seem to suggest this. So perhaps RNDIS is only useful when I need to connect to the internet through my pocket pc. Is this right?
(Incidentally, I have a slightly connected question about syncing which I'll put into a separate topic)
Cheers
Colin
is there a registry entry that we can manipulate at time of cooking to have it turned off?
Change HKLM\Drivers\USB\FunctionDrivers\DefaultClientDriver to Serial_Class
Heres the situation:
I'd like to use my computer's internet connection. So I plug in my phone and select USB internet pass-through in the popup dialog. The problem is that after about a minute or two it fails, with a popup saying that either I don't have HTC Sync installed or another phone is using it, whereas none of it is true. I do have the very latest of HTC Sync and driver installed.
I am running Vista (Home Premium) and using a USB 3G Modem. The phone is stock HTC Desire Z (EU).
Please bear in mind that I just don't have any other way to connect my phone to the computer or the internet other than the way I am trying. Also I don't want to root the phone. Not yet.
I have tried:
Installing HTC Sync & drivers through "Run as administrator".
While the phone was trying to activate the mode I tried reseting the local area connection (this shows up when you select the mode) - worked for a while, kept disconnecting me every few minutes.
I first activated the internet passthrough (somehow it activated) then connected the usb 3g modem - this worked it didn't disconnect me, but after a restart (the next day) none of the above worked. The phone seemed to be confused because in the wireless & networks it said that "connect to a pc through usb, please" - acted like its not connected at all.
I know that the phone should be ok, because at work (WinXP) it enables in a few seconds - although cannot use internet bec. android does not support proxies.
The passthrough service is running.
I have disabled the firewall.
Any ideas would be very welcome..
1.Right click on the network icon in the task bar
2.Click on Open network connections
3. There would be two local are connections. Find out your HTC mobiles connection.
4.Right Click and select properties.
5. select Internet TCP/IP and click on properties
6. Select Obtain an IP adress automatically
So the instructions for USB tethering found at http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=182134
read:
On the Android phone, press Home, press Menu, and touch Settings to open the Settings application.
Touch Wireless & networks > Tethering & portable hotspot.
Only there is no "Tethering & portable hotspot" menu to be found!
Now, I did check the "Mobile Broadband Connect" option, and that did prompt a driver search in XP, but it refuses to use the tetherxp.inf, it always says it contains no information about my hardware.
Is USB tethering possible on the Incredible under XP?
I use the easy tether app. Cost $10 but it works incredibly well.
Sent from my Incredible using XDA Premium App
That or PDAnet. From what I hear it requires you also install the software on your computer but I believe it's free. Or if you choose to root there are all kinds of options for wireless tethering.
First of all, I take no credit for this other than just testing it and seeing it works out of the box on the A100. I've tested the below instructions with my rooted A100 and moto Atrix running cm7 and it works pretty well. Your A100 must be rooted for this to work and your phone your connection to has to support Bluetooth PAN (any phone running cm7 should work).
Here's what I did to get a working PAN connection:
- Be sure Bluetooth is enabled on both the A100 and your device you wish to share your network connection with. (Found under Settings -> Wireless & Networks -> Bluetooth)
- Pair the two devices
- Install the Nook Color Bluetooth Tether app from the market:
https://market.android.com/details?id=earlmagnus.nctether
- Run the app to be sure that your paired device shows up (if it doesn't something didn't go right with the pairing)
- Go back to your home screen and add a new widget (Click the plus sign in the upper right corner of your home screen) Look for the NC Tether widget and add it to your home screen.
To start the PAN connection just tap the Tether Widget the light on the widget will first be yellow then turn green once the connection is successful. One thing I did notice is that if you access apps that use the internet, using the PAN connection not all apps recognize the PAN connection as internet enabled (nothing we can do about this its something that the developer of the app would need to work out). Internet via PAN does work though, the browser will say no Internet Connection Dectected, but will still work just fine. I was able to use IMO for messaging and other apps with no problem.
Have fun and hope this helps others work around the lack of PAN support in honeycomb.
crossix said:
- Install the Nook Color Bluetooth Tether app from the market:
https://market.android.com/details?id=earlmagnus.nctether
Click to expand...
Click to collapse
The Nook Color Bluetooth tether app does not work properly on Honeycomb. There is a development thread here. This is the app that I used on my Nook Color and it worked great on Gingerbread.
So far with Honeycomb even though the connection starts and is functional when you want to turn off tethering the widget stays green and the link stays open until bluetooth is disabled. Even then the widget stays green.
I have a script that I have been using on honeycomb to start the tethering and to end it. I launch it with gscript from the market.
To start the link I have this script.
pand --connect XX:XX:XX:XX:XX:XX
sleep 3
dhcpcd bnep0
setprop net.dns1 8.8.8.8
To end the link I have this script.
ifconfig bnep0 down
My progress so far with honeycomb, I have the Acer 3.2.1 rom and the Xoom rom extracted and have been doing a diff on the files dealing with bluetooth. I have copied the xoom bluetooth.apk and bluetooth configuration files to the a100 in an effort to enable the tether profile under device profiles wrench icon. These attempts have proved fruitless. I do not know enough about Android structure to know how the menus are setup and how to add menu items. From what I have read the native bluetooth connection allows for the ConnectivityService to see the connection therefore all of the "network" apps see it as a valid connection unlike pand. Pand is what the nook tether app used for the connection. The thing that I need is for VPN to work and it will not work under pand.
Your right, the nc tether app does have an issue on honeycomb, but it does work. To terminate the pan connection using this app you can tap the widget again and then force close the app. I have mine set so that if my screen turns off it closes the app automatically. You can also reboot and the widget will reset.
I don't have a xoom or any other honeycomb device other than this one to compare but I think its more than just as simple as a missing menu entry. Ill have to see where the bluetooth profiles are stored, I'm more familiar with the way cm7 works but it might be something missing in the kernel for this device that is causing this to happen.
Edit:
Ok, looks like the profile option is missing from the rom itself, you'd have to add the option in before compiling the source for the rom..
Sent from my MB860 using XDA App
got it to work. im running a CM7 GS2att and i was able to get internet access on my a100 via bluetooth.
just to clear up, you install Nook Color Bluetooth Tether ON THE TABLET.
i tried a few times, but it didnt start working until i rebooted the a100. i don't get the "No Connection" when i try to browse but Browser does act a bit weird (generally won't load if i click a link on the page im on).
Opera Mini works like titties tho, haven't tried anything else. Market works as well. Thank you very much! If i can help somehow, let me know.
Your milage may vary. (This is something that works for me and may not work for you. I found that this way works for me and does not lead me to the up sell page unlike connecting my com outer directly to my gnote 3)
P.s. not all of these steps may apply to every phone as some steps/options may be unavailable.
So I tried something yesterday. Yesterday, I took my note 10.1 2014 edition (along with my sgsiii and my other phone) and hooked it with my wife tethering from my tmo note 3.
Steps on note 3:
1. Create a new apn. Have everything copied over from the original default apn that came with the note 3 but do not copy over the field "apn type" as this will 'somehow' obstruct the tethering and will always lead you to the up sell page.
2. Download your choice of any hotspot toggles on the market(pref. A widget), that way you can enable the hotspot from your home screen and not from the settings menu.
3. Toggle the widget. There should be a dialog box that pops up saying "wait til we verify you account" or some thing. Press the home button once that dialog shows up.
Steps on hooking the computer up.
(I have also used this with another android phone and tablet that I had laying around)
If on an Android phone 2.3.7 and later,
1 connect to wifi.
2. Connect to computer via usb but do not enable the storage option if one is prompted.
3. Turn on usb tethering.
4. Profit.:victory:
Or with a tablet(I used my SGN10.1 2014)
Your tethering settings are not shown.
1. Download the app tethering settings shortcut.
2. Connect to the hotspot.
3. Press on the app icon to go into the tether settings.
4 enable the usb tether.
5. Profit.:laugh:
And yes I know this is a longer way of getting Internet to my computer but hey, what works is what works.