[APP]GPRSAutoOff voor WM 6.5 - Touch2 Themes and Apps

Hi all,
I've programmed a nifty tool voor auto disabling gprs after a period of time. I couldn't find an app which auto disconnects gprs/umts for WM 6.5 so I made my own. It's still version 0.1 but works wel. .NET CF 3.5 is needed. If something doesn't work please mention it so I can change/repair it. It was tested and developed on a HTC Touch2.
Have fun
Winmohtc6

Nice tool..... Not to create double threads but you can put it aswell in the general section Windows applications..... http://forum.xda-developers.com/forumdisplay.php?f=528

I own a Touch 2 and i've installed this app on my sd card (.Net 3.5 it was installed). I've checked the second option (search gprs on start data connection) and set the timer to 60 seconds. After reboot, i started data connection from comm manager, updated weather on homepage but even after 3 minutes, the gprs connection did not stop.
No other apps autoconnect this time.
What did i do wrong ? Or can you explain how did you tested it ? (I'm sure it works on your device )

Hmmm strange. I've tested it with autoconnecting gprs and not with manual connection via comm manager but that may not be a problem (in my opinion). I'm working on version 0.2 at the moment. It includes the option that the time stamp you save will be shown in the combolist after restart and it includes soft reset of the smartphone for applying settings. I'm working on it

Tested few minutes ago with gprs autoconnection.
Steps: reconfigure app, soft-restart phone, manual e-mail check for starting gprs. Connection is still alive and i didn't touch the phone 3 min till the screen turned off.
If it helps: ROM: 1.28.479.4 (66092), phone was bought unlocked (gsm operator free). If you need another specific hardware info, please tell me.
I'll wait for 0.2 version.
I appreciate your work.

Ops
Please share with us the registry keys that you change )

If wanted I can share the source code (vs vb.net 2008) . Send me a private message with emailadres and I will email it to you. I'm thinking of switching to OpenNetCF because it has more (and in my opinion better) references for programming on mobile devices.

Source code
Winmohtc6 said:
If wanted I can share the source code (vs vb.net 2008) . Send me a private message with emailadres and I will email it to you. I'm thinking of switching to OpenNetCF because it has more (and in my opinion better) references for programming on mobile devices.
Click to expand...
Click to collapse
Thanks And the phone disconnect GPRS .. but no one knows when

Related

Imate SP5 - first timer questions

Hello, first post here - hope I'm in the right place!
I've ordered an Imate SP5 and it should be arriving Monday or Tuesday. I was hoping to have some stuff ready to install on it for when I got it.
What's the first thing I should do? Should I try and update it to the latest ROM that everyones talking about?
I'm very interested in the Wifi feature but I keep reading how people are being connected to GPRS by mistake. I hope to use both GPRS and WIFI but would really like a good way to switch between them - is there some tweaks I can put in place?
Wireless Networks - so I might be using my home network, and then my work one. Can the device store multiple profiles (passwords, ssids, etc) for the different networks so I can just select one? Or do I need a 3rd party app? Does such an app exist?
Things like MSN etc ... will they stay logged in via GPRS if I take a call or send a text? Will they stay logged in via Wifi if I take a call or send a text?
WM5 for PDAs and WM5 for smartphones - will the same applications work across them? Also, if it works on one WM5 smartphone, will it work on another?
Cheers for your time!
ciaran said:
Hello, first post here - hope I'm in the right place!
I've ordered an Imate SP5 and it should be arriving Monday or Tuesday. I was hoping to have some stuff ready to install on it for when I got it.
Click to expand...
Click to collapse
Congrats!
What's the first thing I should do? Should I try and update it to the latest ROM that everyones talking about?
Click to expand...
Click to collapse
There is no official ROM update for the SP5 - yet. Your phone will have the newest ROM already loaded. I believe there is a leaked one floating around out there, but unless you absolutely can't wait for push email I would say hold off until the official version.
I'm very interested in the Wifi feature but I keep reading how people are being connected to GPRS by mistake. I hope to use both GPRS and WIFI but would really like a good way to switch between them - is there some tweaks I can put in place?
Click to expand...
Click to collapse
In my experience, if there is WiFi signal and you have connected properly (meaning entered the right network key, if applicable) the phone will always use WiFi and not try to connect to GPRS. In my experience this has worked flawlessly and I use WiFi a lot.
Wireless Networks - so I might be using my home network, and then my work one. Can the device store multiple profiles (passwords, ssids, etc) for the different networks so I can just select one? Or do I need a 3rd party app? Does such an app exist?
Click to expand...
Click to collapse
Yes the phone supports multiple profiles.
Things like MSN etc ... will they stay logged in via GPRS if I take a call or send a text? Will they stay logged in via Wifi if I take a call or send a text?
Click to expand...
Click to collapse
Using GPRS, no they will not necessarily stay connected if you take a call (not sure about texts). Using WiFi, yes, that connection remains open if you take a call.
WM5 for PDAs and WM5 for smartphones - will the same applications work across them? Also, if it works on one WM5 smartphone, will it work on another?
Click to expand...
Click to collapse
In some cases this is true. For example, some have managed to install Skype for Pocket PC on Smartphones. The underlying operating system is the same, it's just the interface (touchscreen vs not) that is the key (but not only) difference. A tool called FakeCursor for smartphone supposedly allows one to simulate the pocket PC pen, however I have never tried it. Long story short: In most cases pocket pc software just isn't usable on smartphones. I'm not sure about the other way around.
Right, now that I have it I have more questions!
I'm having some issues connecting to my home wifi...
my router says:
WEP (Wired Equivalent Privacy)
WEP Encryption Type
128bit encryption
Select key generation method
Passphrase MYNETWORKKEY
Keys generated by this Passphrase:
Active
Transmit Key
Key 1: D5 CF 34 DD DB 94 3F 79 D4 A7 B4 44 B6
On my device I select:
Authentication open/shared (have tried both)
data encryption WEP
networkkey MYNETWORKKEY
It tells me the key is invalid?
EDIT:
It only seems to work when I enter "D5 CF 34 DD DB 94 3F 79 D4 A7 B4 44 B6" and not when I enter "MYNETWORKKEY" ? Anyway around this ?
passphrases generate keys for different strengths of wep.
tkip encryption (which you'll need both ends) uses passphrases on their own, this may be a better option for you.
regardless the network key is saved as a profile for the aps you are using.
Will try that out later on - my routers being troublesome at the moment.
Is the Imate SP5 like a XDA in that you loose all your info when the battery goes? Or will it retain the data ?
It seems Word & Excel are missing from the SP5. From what I read they're on the SP5m ?
Anyway to get them on my device?

WiFi WPA-PSK Workaround and BubbleFix Service (CAB and OEM) - STABLE

OK guys!
I've developed a WiFi workaround... It's written in C++ (previous version was written in VB.NET)...
I've converted it in a Windows Mobile service... with a more efficient and more effective architecture...
It works as bubble fix only...
You can get it here as WiFiService.cab or OEM_WiFiService.zip... (you need to manually uninstall previous installed version of it)
The CAB and OEM contains the wzcsvc.dll fix too (thanks to vagus).
Let me know if it works...
mamiware said:
OK guys!
I've developed a first version of a WiFi WPA bug workaround... It's written in VB.NET and probably it's not the best in efficiency but... it seems effective...
That's the way!!!
Tomorrow or later I'll translate it in C++ as a Windows Mobile service with another more efficient architecture...
WARNINGS
It's based on a timer with an interval of 3 seconds... so to guarantee the best stability wait for 3 seconds between manual turn on or turn off...
LIMITS
This does not handle power on/off wifi bugs... only fix the reboot bug...
It seems not working when a new network is first time connected after being configured through notify messages...
You can get the cab here...
Or can get my latest ROM here...
Let me know if it works... (pay attention... it's a "beta")
Click to expand...
Click to collapse
Testing!
Very good!
Thanky You!!!
Don't work for me.... It is working only partially, sometimes it will connect,
sometimes not (often)
I have better results when I manually turn on and off wifi to connect...
I think that this app is turning off wifi too fast....
Mr Groch said:
Don't work for me.... It is working only partially, sometimes it will connect,
sometimes not (often)
I have better results when I manually turn on and off wifi to connect...
I think that this app is turning off wifi too fast....
Click to expand...
Click to collapse
Hi Mr Groch,
I would advise upping the timings to 5 seconds, this would give everything time to initialise and connect/disconnect cleanly.
ps........Good work!
Cheers,
Beast
New modified version... You can find the cab in the same place...
You can edit and test delays...
HKEY_LOCAL_MACHINE\Software\HTC\WiFiWPA\Interval: seconds between wifi state monitoring (default is 5)
HKEY_LOCAL_MACHINE\Software\HTC\WiFiWPA\Delay: seconds between turn on and turn off (default is 3)
I've tried to develop a C++ service... but it doesn't work... is anyone out there that can help?
New Version
This is written in C++... more efficient... but not yet a WM service... softreset required...
It works as BubbleFix too...
Let me know...
You find the cab here as WiFiService.cab...
mamiware said:
This is written in C++... more efficient... but not yet a WM service... softreset required...
It works as BubbleFix too...
Let me know...
You find the cab here as WiFiService.cab...
Click to expand...
Click to collapse
Excellent work. Exactly what I was waiting for. It works with my Netgear wi-fi set up with WPA-PSK. Could this be incorporated in the new rom Beast is likely to release for G4 devices?
It's still buggy, I think that there will be other versions soon...
When all the known bugs solved, I'll merge it in my ROM... (for Beast ROM you should ask him for it...)
BUGS (BubbleFix)
1. Sometimes it doesn't refresh immediatly the new status... and tapping again cause the wlan driver to act strange (the network adapter simply disappears!). To quickly solve the problem you can turn wlan on by Wireless LAN applet in Settings or softreset...
2. It shows itself when flight mode is activated too...
3. It doesn't handle keyboard input in the connectivity dialog... only stylus input...
I'll work on these bugs on Monday...
Let me know about other bugs!
mamiware said:
It's still buggy, I think that there will be other versions soon...
When all the known bugs solved, I'll merge it in my ROM... (for Beast ROM you should ask him for it...)
BUGS (BubbleFix)
1. Sometimes it doesn't refresh immediatly the new status... and tapping again cause the wlan driver to act strange (the network adapter simply disappears!). To quickly solve the problem you can turn wlan on by Wireless LAN applet in Settings or softreset...
2. It shows itself when flight mode is activated too...
3. It doesn't handle keyboard input in the connectivity dialog... only stylus input...
I'll work on these bugs on Monday...
Let me know about other bugs!
Click to expand...
Click to collapse
Thanks. waiting for the next update of your Rom with this and VOIP fix. Well done!
bugy but works. Finally I can use wifi on my Uni... Thanx a lot.
fuih... at last, my WI FI is working alright now, I can connect anytime without any problem at all - thank you
UPDATE
New version available... download again the WiFiService.cab from here...
Now it handles the flight mode and better manage WiFi power on and off...
It's still buggy if used with the common (and old) CommManager... I'll probably develop a new version of CommManager that better handles WiFi...
You can disable the BubbleFix feature changing
HKEY_LOCAL_MACHINE\Software\HTC\WiFiWA\Balloon = 0
How does this work exactly?
I installed it on my htc touch, but I still can't connect to my WPA-PSK AES protected network :-(
evilpharmacist said:
How does this work exactly?
I installed it on my htc touch, but I still can't connect to my WPA-PSK AES protected network :-(
Click to expand...
Click to collapse
The application is notified by windows when the Wifi state changes (through the HKLM\System\State\Hardware\Wifi registry value...)
When it happens, if the new state is "connecting" (i.e. 11 or 15) it switches off the Wifi device after 5 seconds (Interval) and turn it on again after 3 seconds (Delay)...
To solve your problem... you should verify two things:
1. What's the name of your Wifi device? I think you can find it HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN\DeviceName
Fix: If you confirm it's stored there, I'll update the application making it read the device name from registry...
2. What are the states of the device written in HKLM\System\State\Hardware\Wifi? They would be similar...
Fix: Turn on and off the Wifi device and refresh your registry viewer window... Take note of the values and tell me...
I'll wait for your reply to update the app...
Pay attention: this workaround simulates the manual turn on and off fix... if it doesn't work manually, this application is useless...
UPDATE
New version available... download again the WiFiService.cab from here...
Now it reads the WiFi device name from HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN\DeviceName... it could work on other devices...
mamiware said:
The application is notified by windows when the Wifi state changes (through the HKLM\System\State\Hardware\Wifi registry value...)
When it happens, if the new state is "connecting" (i.e. 11 or 15) it switches off the Wifi device after 5 seconds (Interval) and turn it on again after 3 seconds (Delay)...
To solve your problem... you should verify two things:
1. What's the name of your Wifi device? I think you can find it HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN\DeviceName
Fix: If you confirm it's stored there, I'll update the application making it read the device name from registry...
Click to expand...
Click to collapse
My device name is stored in that key.
2. What are the states of the device written in HKLM\System\State\Hardware\Wifi? They would be similar...
Fix: Turn on and off the Wifi device and refresh your registry viewer window... Take note of the values and tell me...
Click to expand...
Click to collapse
When I'm not connected wifi state is 7, when I'm connecting it's 15.
I'll wait for your reply to update the app...
Pay attention: this workaround simulates the manual turn on and off fix... if it doesn't work manually, this application is useless...
Click to expand...
Click to collapse
Well, the problem is the manual disable/enable trick doesn't work for me, but I thought maybe the timings were wrong so I was hoping your app would work for me. I can't understand why this trick works for everyone, except for me :-s
I'll try your updated version now, maybe this helps.
Update (recommended)
New version available as Windows Mobile service (with a more efficient and more effective architecture).
You can get it here as WiFiService.cab or OEM_WiFiService.zip... (you need to manually uninstall previous installed version of it)
For more information look at the first post of this thread...
There is another fix out here for WPA-PSK bug... I'm waiting for comments on it...
Wifi FIX
Hi,
I'm curious how progress is doing.
Going to test your fix Mamiware!
Keep you updated!
Thank you
Leo
Wifi connect's but buggy, wlan manager crashed the first time.
Needed to softreset the device to turn on WLAN again.
Wifi bubble to turn off wlan I don't see.
After the device has switched of because of power setting I can't turn wifi on again.
Need to softreset again.
I have wpa-psk tkip enabled.
CommManager version 0.9.1.1
Cheers,
Leo
btw. I'm using the latest fix
Laurentius26 said:
Wifi connect's but buggy, wlan manager crashed the first time.
Needed to softreset the device to turn on WLAN again.
Wifi bubble to turn off wlan I don't see.
After the device has switched of because of power setting I can't turn wifi on again.
Need to softreset again.
I have wpa-psk tkip enabled.
CommManager version 0.9.1.1
Cheers,
Leo
btw. I'm using the latest fix
Click to expand...
Click to collapse
WOW! This disaster with my WiFiService!? I am encountering only a problem to start again Wifi with CommManager and WLanMgr after turning it off with the bubble (i.e. with SetPowerDevice D0)...
CommManager 1.3.7.0 and WLanMgr 3.17.0.0

HSDPA disconnect after checking emails?

Hi,
I’m new to WM6 (and Cruise) but used a WM5 for many years. I’ve got email set up on ‘check every 30 min’ which works fine for me. However, the HSPDA (on Three network in Australia) stays connected and I have to press ‘Disconnect’ manually…in the WM5 it used to disconnect after finishing checking for emails…any ideas how to configure it to disconnect when finishing send/receive emails?
Best,
GHOZ
Download the program Band Switch. There is a option called Close idle conns which should (not sure) close the connection after being idle for some time.
Cheers,
Svante.
on WM5 it works fine...are you sure you need an extra app for that? thanks for the assistance.
Best,
anyone else is having the same problem? or it just me? using IMAP email....
Dont worry i have the same problem...apperently is it a WM6 thingie
That’s a bit disappointing…going to WM6 a losing functionality ;- ) ?!?
Also KaiserTweak has option to disconnect after idle period along with loads of other tweaks, only snag on Polaris is that after using it and resetting device it will have disabled the touch screen - but quick visit to the Settings/Screen app to re-align screen will resolve it - then on next reboot will all be fine.

Stopping win 6.1 using GPRS/EDGE connection

Hi, Ive just been checking my phonebill and noticed since upgrading to the 6.1WM my phone using the internet access (GPRS/EDGE). I cant physically see whats running in task manager, but it def is accessing the internet at certain stages. I have no email set up apart from windows live (Hotmail) and that is all signed out of? How to i stop this?
Have you already tried the following? The same helps to end GPRS/EDGE connection by using the Call End key (Red key) once you finished using the Internet. In fact, in many cases, the connection closes automatically after being idle for some time.
Go to: HKLM-->Comm-->ConnMgr-->Planner-->Settings-->SuspendResume
and delete ~GPRS! value.
maybe it is rss hub ? it can be configured to update rss each time it detects a connection.
In Dr. Gonzo's rom there is a util in the System folder called NoData. I use this to disable my gprs connection because I never use it and its pay per use. Its very simple to enable when you want to use data.
ok, ill take a look? What does HKLM mean?
It means you need to edit the registry on your phone, HKLM means "HKey Local Machine". I have just done this as it was leaving the data connection active on the standard WM6 HTC ROM, and it worked.
Thanks!
Thanks for the help.

Enable Bluetooth DUN on Sprint Touch Pro2!

This took me a while, but I finally figured it out through trial and error. I know there are a few options out there for tethering, but this has always been the preferred way to tether when I was using the Diamond. It's wireless, you can initiate the connection from the PC, and it gives you better battery life than WMWiFiRouter or HTC Wifi Sharing. Best of all, you DO NOT need to initiate a DATA connection on the phone before connecting to your PC! Just fire up the BT DUN connection on your PC, click Dial, then browse the web!
Here's how we do this:
Install DotFred's TaskManager
Click select Menu, Tab Options, Select Tab, Services. Find "CM Guardian", click and hold until menu pop up and select "Set Manual".
Make the following changes on your TP2 with a Registry editor:
1. [HKEY_LOCAL_MACHINE\Comm\InternetSharing]
Extension="" Delete the "isext.dll"
2. [HKEY_LOCAL_MACHINE\Comm\InternetSharing\settings]
ForceCellConnection="Sprint"
3. [HKEY_LOCAL_MACHINE\Software\OEM\Wmodem]
Check Profile=0
Connected=0
Multi-NAI=0
WModemDUN=0
4. [HKEY_LOCAL_MACHINE\Software\WIDCOMM\Plugin\DUNServ er\ControlPanel]
Enabled=1
That's it! Re-pair your TP2 to your PC and BT DUN should be available as one of the services. Create a new DUN profile on your PC, leave username and password blank, and set dial number as #777. Click dial and you should be able to connect... just like old times.
Thank you so much for posting this. I have been ripping my hair out over this. However, I am on Verizon and thus my HTC Touch Pro2 has somewhat different entries in the registry than Sprint does. Does anyone know how to get DUN working with the HTC Touch Pro2 on Verizon? I bought a laptop specifically with Bluetooth just to use my phone as the modem but cannot get it working for my life.
After I did all the registry edits I could that you mentioned (even though all of them were not available since I'm on a different provider) I noticed when I try to dial out for a SPLIT second I will see "Dial Up Networking" listed under Bluetooth services. Windows promptly gives me a dialing error and that service on my phone disappears.
Anyone can give any pointers?
I don't have a Service called "CM Guardian". I have a custom ROM, would that make a difference?
foldog22 said:
I don't have a Service called "CM Guardian". I have a custom ROM, would that make a difference?
Click to expand...
Click to collapse
Yes, some Rom chefs may have eliminated this service. I know MightyMike left it in his Rom, but I have not tested others on the TP2.
KD8FRE
Would this service be in WM6.5? If I download MightyMike's ROM would it be in there or is it only in WM6.1?
Thanks for this.
foldog22 said:
Would this service be in WM6.5? If I download MightyMike's ROM would it be in there or is it only in WM6.1?
Click to expand...
Click to collapse
MightyMike's Rom does indeed have CMGaurdian. I cannot speak for other TP2 Roms, but his does.
KD8FRE
Can anyone give any pointers on getting this to work on the Verizon version of the phone? Been searching high and low!
There is no "CMGaurdian" on my phone. I did a full search for it and it's nowhere to be found. I have the stock Windows Mobile 6.5 rom. But it looks like without being able to set that as manual, I have to change the registry everytime I end up having to restart my phone. But even when I do that, it still goes back to phone as modem after a few minutes instead of staying on Sprint.
Awesome!
Thanks for the info. The connection sharing wasn't working for me anyway.
Just an FYI, you can optionally edit the registery to set the CMGuardian to Manual.
Open a reg editor and navigate to [HKLM\Services\CMGuardian]
Locate the Index key and change the value from 2 (default) to 1.
So anyone on Sprint TP2 with 6.5 stock rom actually got Wmodem to work? I've spent about 24 hr trying just about everything with no luck so far.
I made all the above reg changes, have WModem v02 installed on my TP2. Activate the wmodem prog, connect to computer with usb cable. When i try to connect on my computer, it stucked on verifying user name and pass. There is some sort of data connection going on on the phone itself, but the computer connected to the phone couldn't seem to go pass that "verifying user name and pass"
Much appreciated any help or comment. Thanks
Just wanted to add that I found this thread useful, got the registry entries and made a cab for it. This is for Sprint only! Download, install, and go, no need for registry editing!
Problem tethering via Bluetooth DUN to pspgo
Ok, I am pulling MY hair out on my ATT tilt 2. I am trying to use my fone as a bluetooth modem for my pspgo.
It seems that my Tilt 2 receives the data from the pspgo, but its not sending any data to the pspgo, when I test the connection the tilt2 receives about 9-16 bytes, but it says sent: 0 bytes.
I have energyROM july 16 2010 WWE winmo 6.5
Manilla 2.5.20161332.0
Build: 23563.5.5.0
I have seen vids of people doing this on the Raphael (FUZE) and other phones
I keep getting this connection error on my psp: (8030000B) I have tried so many dial #'s, changing settings, PDAnet,
I think the problem has something to do with:
it being WinMo 6.5 or
The custom ROM has disabled something in the Bluetooth or
Since the ROM is custom, the psp wont recognize this for some reason because just like the WIFI router; the carrier doesn't know I'm tethering. or
I have the wrong Dial-up # or
Authentication settings or Initialization command is wrong or
I need to use a Proxy network
Some other reason ( The ROMS BT stack) whatever that is lol
Does anyone have this or similar problem? Or know whats happening here?
Any help would be awesome!
Thank you
Worked Perfectly
After making the changes you suggested, this worked perfectly on my TP2. It's so funny, after I initially got my TP2 and tried it, I instantly gave up. Now that I'm a month away from going to a new carrier, and most likely a Sony Ericsson Xperia X10, I got really interested in getting this working. It was a breeze using the Resco Explorer Demo with included Registry Editor.
TP2 Stock WM6.5
Doesnt work for me. I dont have CMGuardian.
I went ahead and edited the registry anyway and still didnt work even after rebooting.
I'm hoping someone can help figure this out... Trying to tether with my new Xoom!
Thanks a lot defcon6, I was looking for this some time ago, but no look, but know, looking for some other thing i found it, thanks again
Same here, stock 6.5 rom and no CMGuardian. Did you ever figure this out?
Never mind, I did run the cab from pengc99 and it worked fine. After soft reset of the phone, it never got out of the "modem negotiating" state but running the cab again fixed it. Now if I just could find the equivalent to CMGuradian I would be all set but this is at least working.
Bluetooth setting to ALWAYS ON?
Thanks to this thread and the pengc99 file, I successfully (quite some time ago) paired my TP2 via the bluetooth to a Nexus 7 tablet as well as an android phone, but each time I turn on the phone, I have to go through the following steps:
1. Select Communication Manager
2. Turn ON the Data Connection
2. Click on Bluetooth
3. Select one of my paired devices, such as the Nexus 7 by clicking the large "+" icon
4. Select Bluetooth Networking
5. Select the "Share Internet Connection" option
6. Click Continue on the bottom
I tried various registry edit searches here and on google, but cant' find any way to lessen these steps or preferably have the Bluetooth sharing set to ON at all times. If anyone knows how to simplify this process, please post the stops or file that will help us all.
Thanks in advance

Categories

Resources