Exchange Server - P3600 ROM Development

Hello there,
I have an exchange server configuration on my Trinity, and i have a strange problem. The device keeps automatically connecting using 3g/gprs, which, besides eating a lot of bandwith drains my battery fast!
Is there a way to prevent this? i have set on activesync the peek and off peak time to conect manualy but it keeps doing it.....is there a way to solve this? like making the device to auto-disconnect after like minute of inactivity? any ideas?!?
Im using the latest indigo_lite rom but i used to have the same problema with other roms.... i didnt on any wm5 rom beucase i got this account a few days ago.
All the best,
OliveiraJMR

Joao Oliveira said:
Hello there,
I have an exchange server configuration on my Trinity, and i have a strange problem. The device keeps automatically connecting using 3g/gprs, which, besides eating a lot of bandwith drains my battery fast!
Is there a way to prevent this? i have set on activesync the peek and off peak time to conect manualy but it keeps doing it.....is there a way to solve this? like making the device to auto-disconnect after like minute of inactivity? any ideas?!?
Im using the latest indigo_lite rom but i used to have the same problema with other roms.... i didnt on any wm5 rom beucase i got this account a few days ago.
All the best,
OliveiraJMR
Click to expand...
Click to collapse
"Use above settings when roaming" should be OFF, if you want to disable automatic connecting be GPRS
I've have set is to ON because I do want to check it once every hour at peak times.
Battery is on 80% after a day, that's less battery drain then b4 or with AX3L's ROM, etc.

Hello,
Thanks for you anwser,
I have set all this and still connects from time to time....and it doesnt auto disconnect the gprs/3g connections...this is what is causing the battery drain...
thanks,
OliveiraJMR

Turn off your infrared port. That alone makes a lot of difference.

Hi,
isn't the Roaming option more about data connection when connected to a provider other than yours? A least, this is the way my Trinity behaves. I have this option off and this avoids data connection when I'm out of the country.
As far as I'm concerned, when choosing "manually" for sync schedule, I do not get automatic connection. Maybe some other application doing this (say wheather application or newsreader, browser, etc...)?
This said, I'm usually set up for a sync "as items arrive" and so have a permanent data connection running. Even with this connection I'm down to 26-34mA of energy consumption when Trinity is IDLE and it doesn't take to much bandwith either as it only maintains an https tunnel open without however exchanging data, except when there's something to sync (mail, appointment, contact, etc...).
Bye.

another thing : What's the version of your Radio ROM ? If it's an old version, you might want to consider to upgrade to a 1.46.xx.11 version. Made a big difference for myself.

Disable Push e-mail.
If you want to prevent your device from automaticly dialing up in order to check your email, then you should disable direct-push in your Communication manager.
(of course you loose the benefits of direct push while its turned off)
PS.: There is also a button for disconnecting from data network, this will only work after you turned off direct push.
Hope that was what you were asking for.
Have a nice weekend.

I Found the problem...
I was the weather app that was connecting randomly
Still if i left the connection on it drains my battery fast ?!?! I think i will try another rom or someting
Thanks again,
OliveirAJMR

Joao Oliveira said:
I Found the problem...
I was the weather app that was connecting randomly
Still if i left the connection on it drains my battery fast ?!?! I think i will try another rom or someting
Thanks again,
OliveirAJMR
Click to expand...
Click to collapse
What's your RADIO ROM version ?
What's your powerdrain (you can get it with BatteryStatus) ?

Joao Oliveira said:
I Found the problem...
I was the weather app that was connecting randomly
Click to expand...
Click to collapse
Things are never as they seem...

Related

How can i force disconnect umts after check mail??

Hi, i m very happy with the new rom but i have a problem.
I set my emails accounts to periodically (30 minutes) check the account. With other roms when the precess was done then the connection was closed. With the new ROM the UMTS connection keeps stablished and the battery is out in a few hours. Does somebody know how to avoid it??
Thanks...
Same problem here... anybody??
Thanks in advance.
-......and the "always on" is set to 0.....
I am afraid that would undermine the whole definition of Push Mail. So it could very well be that it is impossible.
I remember reading an article about Push Mail and there one of the Microsoft engineers has been talking about that if you use GPRS the battery consumption is much and much less. But hey then whty buy a 3G phone. Also as I understand the GPRS is not able to properly handle the GSM simultaneously. At least I know in QTEK 110S when GPRS is actively downloading data you are unreachable for calls.... UMTS makes that possible.
I suppose it...but now ...
1) I cant automatically check my email (the connection keeps on)
2) I cant automatillally download the weather forecast(the connection keeps on).
......
I cant schedule any application that uses any connection because it keeps on and it drains the battery very quickly.
What can i do?
thanks
the weather program should have a seeting to use an active connection if av ailable. At least I have seen it in some weather programs. And if yours does not have it then get another one.
About other progs that need a connection. If I start IE I can just start browsing and works fine.
About you not being able to automatically check e-mail? I thought you enabled the Push email so what are you talking abouy. It automatically pushes emails to you ?????
ye, yes but what i want is when the program (mail, pocket weather, etc) finishs to use the connection then it is shutted down by the OS.
My job is Windows CE software developer and this is a problem. BEFORE (with old roms) when a program needs a connection the it requests a connection to the Connection manager. Then after use it, the program usually release it (using the connection manager). When no programs needs a connection then the connection manager shutted down the connection (if it was GPRS or UMTS). With the new ROM the connection manager doesnt shut down the connection.....
Yea you are right....
It is the disconnect part.
Well the battery drain is more then.
But hey I am not so bothered because I can load the battery at home in the office and in the car and when I go on vacation I turn the Pushmail offf
semi solved
Hi,
I ve wrote a little C program, 5 Kb. This program monitor any posible GPRS=UMTS connection. If it detects that this connection isnt used in 1 minute(no incoming bytes in one minute) then the connection will be closed.
this program hasnt UI so you will not see anything when you execute it. I will improve it adding a botton icon allowing the set the "one minute" parameter and the posibility to exit it....Obviously the program doesnt run when the device is suspended......
.. it should be placed in \windows\startup folder to run after each reset....
Hi dherrero,
Thanks for posting a great program. I had exactly the same issue as this but your program works perfectly and it disconnects it when the connection is not used for a minute or so.
The only probelm I have now is I equally get disconnected by this program when I am browsing websites with PIE and that is very annoying. I would appreciate it if you could modify this program to make it work only for email checking.
Kind regards,
Hi,
I am improving this little program. it isnt finished but it solves your problem. I recommend you to put it in rom and put a link in windows\starup.
When the system boots you will see a little white-blue icon in the bottom-right.
If you click this icon you will see a screen that show:
1) Bytes received in current connection.
2) Connections that the program has closed.
3) Startup time.
4) Connections checks done. (one each 30 seconds)
5) Last check date
6) Last close date.
And 4 buttons .
1) Disable: It's interesting for you. It disables the action of closing the connections.
2) Enable. The opposite. (by default it is enabled)
3) OK. Hide this screen
4) Close: Close the program.....
I hope it is usefull to you....
You can try also this: http://www.gb-soft.cz/XDAII/product_gprs_tweak_wm5pe_en.htm
hi dherrero
from where can I download your prog?
tx for help
You have to login, or register if you havent, and you will see the link.....
Hi dherrero,
Thanks for getting back so promptly. It works nice on my device and now I can manually disable it directly from the Today screen when I need to.
A minor problem I found is that the characters on the Connection Manager control panel get truncated. This is probably due the fact that I have a Japanese ttc font installed to replace the default system font by tweaking the registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink\".
I hope this helps your development. Thanks again...
Hi again,
I always develop in VGA, using ozVGA. Now i ve changed the positions and now it looks correctly in vga and sevga.
Hi dherrero,
Thanks a lot!
It now runs flawlessly...

[APP] it there such a App like this?

imagining when you wake up late in the morning, you pda has automatically updated the weather and receive all the mails when you rush out your house with a sandwich bitten in your month, is that will be great?
hi, i am wondering ,it there a app can:
turn on wifi at a set time, then receive all the email accounts, update the Touch flo 3d Weather and stocks
and even open the browser for the favorite website (news sport)
then turn off the wifi
haha , lazyness~~~
mortscript can
WiFi Locations
About close to what you might be looking for but this app is supposed to be location based
http://forum.xda-developers.com/showthread.php?t=448783
tricsio said:
About close to what you might be looking for but this app is supposed to be location based
http://forum.xda-developers.com/showthread.php?t=448783
Click to expand...
Click to collapse
thanks any way. but what i want is in a specific time, not a location , i don't want my cell to turn on the wifi when i play with my laptop to drain my battery at home.
i have ur same problem is there any program to turn on the wifi on every 1 hour for 5 min and sync emails and other stuffs right after that???
it would be great if it was able to wake up the device at time interval and:
* turn on wi-fi
* check if there is any free or previously authorized network available
* ability to play an alarm
* update the updatable (or facilities to run/create scripts)
* quit wi-fi
HTC is working on something like push internet..
but lacking of the choice of initiating wifi.
smog said:
it would be great if it was able to wake up the device at time interval and:
* turn on wi-fi
* check if there is any free or previously authorized network available
* ability to play an alarm
* update the updatable (or facilities to run/create scripts)
* quit wi-fi
Click to expand...
Click to collapse
Check PocketZenphone. It used to do a lot with profile settings. I gave up on it a while ago. Still going strong, last time I checked.
I'm searching for the same application.
Personally i just have a good data plan.
This kind of thing is done for me all day long...
You looked at SKScheMa?
I tried it before I had a decent data plan. Turned WiFi on at 7:00 am, then ran Egress Update at 7:01 and turned off WiFi at 7:02. That way I had all the latest road/traffic news ready for when I set off for work!
you can still have this very special functionally with mortscript for free.
the language is very easy and intuitive. give it a try.
try g-profile. I'm using it for some of the tasks that have mentioned.
Hmmm it could be done with a bit of playing about with a profile application such as G Profile, ( http://www.ageye.de/ ) then simply set up a time triggered profile that'll turn on your wi-fi and open the programs you want to up date, then swithes to the normall profile (which has the wi-fi turned off) after half hour or so (possibly once your alarm has gone off. You may have to set the programs you want to be updated to update on connect for it to work but basiclly this should get your device to do what you want, it's just a matter of going through your settings
sorry, but forget the profile solution. it wont work. how do you want to tell g profile or another application that it should click on "update now" or "Send/Receive"? there is no way. all you can do is to launch ONE programm. thats all. you cannot define any behavior.
str0nz0 said:
sorry, but forget the profile solution. it wont work. how do you want to tell g profile or another application that it should click on "update now" or "Send/Receive"? there is no way. all you can do is to launch ONE programm. thats all. you cannot define any behavior.
Click to expand...
Click to collapse
Thanks. G-Profile was something I looked at but couldn't get it to work
Anyone got a Mortscript example that could be modified?
True, but if you set the application to update it's slef whenever it's open on update when connected it will
Abram said:
Check PocketZenphone. It used to do a lot with profile settings. I gave up on it a while ago. Still going strong, last time I checked.
Click to expand...
Click to collapse
I have happily been using PocketZenPhone for many years, with a variety of HTC devices. However, I can't seem to get it to work properly with my Blackstone. Is there anybody out there who is sucessfully using PZP on their Blackstone?
Abram - did you give up on it for a reason? Did you find another program to use instead?
sounds genius ,
to download all the traffic and mails and weather before i wake up !
man , i need some scheduler like that !
if someone is doing this app , it will be amazing !
[developing started ]
if someone know on important dll , like the DB dll location/name , etc....
please PM me
any help guys?

Data connection keeps turning on?

the Data connection is turning on on a regular basis and I can't find any scheduled tasks set up to access the Internet, but some rogue program is? any ideas any one and/or any way I get find out what is causing this.
I have the same problem.. And I'm a little bit tired!
I wrote on this thread with no answer: http://forum.xda-developers.com/showthread.php?t=529622
I have a flat data plane but I don't like that PDA face things on his own initiative!!
me neither, I'm in charge - not my new toy! Lets hope someone helps us out this time round.
I had the same problem. In my case the 2 apps connecting to the net were Google Maps and Funambol.
itm said:
I had the same problem. In my case the 2 apps connecting to the net were Google Maps and Funambol.
Click to expand...
Click to collapse
Well, I don't use funambol.. And anyway: there are no program in task manamager! So: something is going wrong with manila..
I had the same 'problem', but my brother suggested to turn it off and on again. It did work as far as I could see.
I think it may be google maps causing this, but I'm not sure (and don't really care, since this 'solution' worked).
Any number of added apps can be doing this (Worldmate live is a bad one for example) or any apps still running and not shut down.
Obvious things to check first are:
Do you have automatic email check set?
Have you disabled auto-update in weather and stock quotes?
This drives me crazy too, afaik I have turned off everything yet it keeps turning on... A fix would be highly appreciated!
its the activesync...
turn it off, i mean, delete the settings and you'll be fine. activesync triggers automatic data sync, hence turning on the data connection
I use ActiveSync and don't have this problem. If it was ActiveSync, why would it cause the problem for some and not others ?
itm said:
2 apps connecting to the net were Google Maps and Funambol.
Click to expand...
Click to collapse
Well.. I tested all day.. And I can say that I solved the problem!!!
I think that last time I closed gmaps.. I answered in a bad way to the question about updating Glatitude..
So: Gmaps seemed close but it was updating my position on the net!!!
When i opened gmaps i could see my avatar in the map.. So i understand that it was still online..
So.. I think I've solved!
Anyway we need a "netstat" on pocket pc...
Thank you for your advices.
Glad you worked it out.
I put this in the developers forum a while back. Maybe someone smarter than me will work out a solution to this sort of problem:
http://forum.xda-developers.com/showthread.php?t=530634
As with the poster here. You will have an application that you have inadvertently set to autoupdate. The only thorough solution is to go through every program on your phone and check each setting meticulously. Alternatively. Back up your personal data and hard reset. Then reinstall your apps one by one, testing for an hour after each one. Eventually, you will find the offending app and can work on finding the setting in it to stop it connecting to the net.
Hi all,
the thing is there are dozen possibilities: activesync, alle gps-stuff, all auto-updates. So instead off looking up all these settings, you could also use the nodata.cab - works fine (phone need to be unlocked!)
greetz to all
Kjoere
thanks for all the posts, haven't checked for a while. I have checked everything and noting is set to auto update so very strange and annoying. Will try the nodata.cab - if I can find it?
DJ Palmis said:
Anyway we need a "netstat" on pocket pc...
Click to expand...
Click to collapse
Look at "TaskManager 3.1" that has a Netstat tab
Tom
download Modaco Nodata
frogfoot said:
Look at "TaskManager 3.1" that has a Netstat tab
Tom
Click to expand...
Click to collapse
Thank you! That is very interesting.
It also can be the build-in Facebook app in Contacts in manila. It has feature to automaticly update in 2 hours. At least, I had mine turned on as default.
The only reliable and "ultimate" solution is really Modaco NoData as mentioned above.
On the other hand not taking third party apps in count, basic traffic of HTC device is nothing to be scared of. Updates for weather, stocks and A-GPS are just few bytes in size... Obviously, GMaps, mail autocheck, Messenger etc. are different story, but none of these are started on their own... BTW, ActiveSync has nothing to do with Internet with one exception - Exchange mail sync, if you have any.
What you have to understand, is behaviour of the active data indicator (small G, E or H next to signal strength). If it's there does not mean, that any data are transferred at the moment. It just indicates opened data slot with current brodcasting tower in the cell. It could stay opened for hours after trasfer even just of few bytes. It closes usually only for two reasons - your phone switches to another cell (and has no reason to open data slot again) or the tower is busy and closes inactive slots to gain more capacity.
Except few rare cases in some coutries you're charged only for data transferred, not for time of the connection and therefore it doesn't matter. In Europe from 1st of July (some new EU limit) one Mb shouldn't cost more than 50 cents and with these basic updates you will NEVER reach it in one month...
Obviously, roaming is another story, but in settings of the standard services you can limit updates just for your country.

Activesync annoying me

I tried activesync killer, fake server trick, some registry edits, shut off time syncronization, connection settings to usb hub, and it still goes on automatically. I use WKTASK so I see (granted I could just tell it not to show but noway I want it gone). So is there anything else I can do? Thanks.
Well....I wonder whats your question...?
How can I stop Activesync from constaintly running in the background?
segadc said:
How can I stop Activesync from constaintly running in the background?
Click to expand...
Click to collapse
This has been sought after for quite awhile on the Kaiser forums. People have tried disabling the time change sensitivity, daylight savings, etc...
It's not going away. It is used any time a data connection is involved, I think. You couls test by disabling your data connection to see if it repeadedly comes back.

Mobile Network Traffic despite WLAN connected

Hi,
when my HOX is lying near by PC Speakers, i can hear Internet Traffic over EDGE/UMTS excatly all 3 Minutes. (I hope u can understand what i mean)
I´m wondering about that bescause WIFI is active and connected, and i never had this with my DHD.
Due to optimizing Battery life, i disable mobile Network manually when i´m at home and have WIFI connected.
I use ARHD 9.1.0 with stock Kernel and EQS + APM + %Batterycircle + Autobrighness by jotha.
Baseband: 2.1204.135.20
Build; 2.17.401.2 CL89015
Any Ideas whats generating this traffic and why the HOX don´t use WIFI for that?
its normal gsm traffic. like if somebody sent you an sms, you would hear that sound. not sure why it didn't do it with dhd and now does with hox, but either way, shielded speakers are there to solve that problem. as for adapting your current speakers to shield them, not sure if its possible or not though.
lawrence750 said:
its normal gsm traffic. like if somebody sent you an sms, you would hear that sound. not sure why it didn't do it with dhd and now does with hox, but either way, shielded speakers are there to solve that problem. as for adapting your current speakers to shield them, not sure if its possible or not though.
Click to expand...
Click to collapse
Thanks for your Answer, but i don´t hear that Traffic if mobile Network is disabled, so i thinkt it can´t be "normal GSM Traffic".
oh i see what you mean..
might be network location services?
settings>location>google's location service.
i know the location services use wifi as well, but it might use mobile network in conjuction even if connected to wifi.. try disable that and see if it continues.
lawrence750 said:
oh i see what you mean..
might be network location services?
settings>location>google's location service.
i know the location services use wifi as well, but it might use mobile network in conjuction even if connected to wifi.. try disable that and see if it continues.
Click to expand...
Click to collapse
Thanks again, tested, but unfortunately the traffic is still there
try download osmonitor, might be other apps more specific that can help, but osmonitor should do the trick i hope.
set your screen not to turn off, just for ease..
goto the connections tab, process tab will also be useful and watch it until the noise happens. you're looking for either a process, that jumps to the top of the list when the sound happens (spike in cpu usage), and then does it every time the sound happens, or a connection, that ISN'T your local or external wifi ip address, but also has similar behaviour, ie the connection is created when the sound occurs, and is then gone a minute later.. (the connection should show an app name)
if you find an app that looks like it could be causing it, then try to uninstall it temporarily to see if it fixes the issue. if it does fix the problem, the next step would be to contact the developer of that app to request a fix for it. it could however be a system process causing the problem.
failing the above, you could try the same sort of diagnostics, but with logcat instead. i don't actually know how to initiate logcat, i'm sure a google will tell you how though.
Thanks again! (i´ll hit the Button )
Okay, got that app installed.
Unfortunately the Sound DOES NOT appear all 3 Minutes when the Display is on.
When it starts and i unlock my screen i cant see any new entries in the Connectionstab.
Processes the same, but "Android System" shortly came on Top. (maybe the Display Unlock is the Reason for that?)
BTW: Why i got 2 permanent open Connections?
1. Google Bookmark-Sync (Whois -> Google)
2. Downloadmanager (Whois -> "The New York Internet Company")
Not idea what that could be.
blahquader said:
Thanks again! (i´ll hit the Button )
Okay, got that app installed.
Unfortunately the Sound DOES NOT appear all 3 Minutes when the Display is on.
When it starts and i unlock my screen i cant see any new entries in the Connectionstab.
Processes the same, but "Android System" shortly came on Top. (maybe the Display Unlock is the Reason for that?)
BTW: Why i got 2 permanent open Connections?
1. Google Bookmark-Sync (Whois -> Google)
2. Downloadmanager (Whois -> "The New York Internet Company")
Not idea what that could be.
Click to expand...
Click to collapse
you should be able to set the display to never turn off in settings>display and gestures
i don't think it'll be very easy if even possible to find it if the screens off (the spike would only be there for a second or 2, by the time it's unlocked etc it will have disappeared)
the other connections, first one is probably the google account sync, and not sure about download manager, maybe something got stuck, you could try clearing data for the download app, but to be honest i doubt that they're any problem anyway so probably nothing to worry about
edit: the download manager bit judging by the whois could be an app relating to that? do you have anything similarly named installed?
lawrence750 said:
you should be able to set the display to never turn off in settings>display and gestures
i don't think it'll be very easy if even possible to find it if the screens off (the spike would only be there for a second or 2, by the time it's unlocked etc it will have disappeared)
the other connections, first one is probably the google account sync, and not sure about download manager, maybe something got stuck, you could try clearing data for the download app, but to be honest i doubt that they're any problem anyway so probably nothing to worry about
edit: the download manager bit judging by the whois could be an app relating to that? do you have anything similarly named installed?
Click to expand...
Click to collapse
This is crazy - when the screen is on, the sound isnt audible. It only happens when the screen is off.
In the Connections Tab is only one Connection without my WiFi-IP, and whois shows me its a DNS Server from my Carrier (vodafone).
In the Process Tab i can see that "System" comes up on Top for ca 2 seconds, further no action.
The 2 Connections which stays established:
Clearing the Donwloadmanager Data was a Success... Thanx again.
The Connection to Google from "Google Bookmark-Sync" is still there. Gmail Sync is deactivated in accounts.
I think i´ll give it up and live with it

Categories

Resources