[INFO] Exchange Activesync and Quick-Draining Batteries - AT&T Samsung Galaxy S II Skyrocket SGH-I727

I was having an issue with my SR battery draining about 25% every hour, the battery getting very warm, etc. I seem to have found the issue...
One thing I noticed with the problem was that "email" was eating nearly as much battery as the display.. Then I remembered an old issue I had with an iphone using exchange activesync. In that case, if the iPhone was connected to an AP on the same internal LAN as an Exchange server, and activesync was configured on that phone while in that state, the phone would have email issues whenever you were no longer connected to that AP...
The reason is/was that the exchange server has a different (private) IP number for internal LAN users as opposed to external LAN users. So, for example, when you are on your internal LAN, the exchange server might be addressed as "192.168.1.1", but as soon as you lose your wifi signal and switch to the carrier data, that IP number is meaningless... instead, the exchange server must be addressed with a public facing IP number (which will NEVER begin with 192.168.) In the meantime, activesync is trying DESPERATELY to sync with that internal IP address even though its completely invalid. All those retries take CPU power, which will drain your battery VERY quickly.
To test if this is the case for you, first delete the exchange activesync account from your phone. Then turn off wifi, and finally reboot (completely turn off and turn back on) your mobile phone. When it comes back up, make sure that wifi is still disabled.
Now reconfigure your exchange server activesync account. This time, the phone will get the EXTERNAL public facing IP address for the exchange server, and not the internal (private) one. After your contacts, email and whatever else has sync'd, you can turn wifi back on. (or leave it off - it shouldn't matter.) See if this helps... for me, it made a HUGE difference.
If this helps, please understand its not a perm solution. When you are back on your internal wifi, eventually your phone is going to get that internal IP address back in its cache and it'll get messed up again. The only solution to this would be to talk to your system administrator and arrange things so that your DHCP assignment gives you an external DNS server all the time, or never gives an internal address for the exchange server, etc. (There are a couple ways to deal with this, but they are beyond the scope of this message.)
I admin my own windows server (domain, exchange, etc) so I'm able to control how DHCP assigns DNS server addresses. Most people don't have that much control...

Related

Connect to Active Sync via WI-Fi?

Is there a way of connecting a Mini S to Active Sync Via Wifi on an intenal lan?
Also how do you connect to use files from your Mini S remotely? eg on wifi and out and about using GPRS?
No, you currently can't use WiFi to use ActiveSync because it was not encrypted, and posed a risk to corporate customers, and individuals that could be exposing all data, contacts, calendar events that were synchronised etc.
It's something they will add again in the future, no precise word yet though.
As for access files, what do you mean, your own files at home?
I find the easiest way to access files on the move is to use Gmail, and store files I want to readily access as draft copies, then I can access it from home, work, or my PDA, and it means I don't have to leave a system running with shares open, or hosting it on a website that may not be secure etc.
Another thing you could consider would be to use a service like http://live.mail2web.com and get pushmail running on your device, that way, anything you sent to your mail2web email address would turn up almost instantly on your device, calendar events etc too, and you could edit your contacts and calendar online. It would be seen as an Exchange server connection on your ActiveSync on your PC, and the two would synchronise quite happily when you plugged in.
I use this solution with the same account on my two devices, and because any changes on the device are synched online as and when you do it, they are never out of sync, so my PC doesn't end up with any conflicts.

?!)@)@! Microsoft! (POP Email RAM Leak)

Hi folks;
Ok, here's a question for 'ya.....
Does anyone have a WM6 load that does not leak memory when using POP3 email accounts?
ALL of the loads I've tried thus far (and all of the ones I've cooked) do, to the point that I have to reboot every day or so.
I've managed to isolate the leak to the POP3 client.
I'd use IMAP, but that's severely broken, to the point of unusability (it probably leaks RAM too, but I can't run it long enough to find out!) It complains it "can't download messages from the server" repeatedly (it DOES get them however), which renders it basically unusable. BTW, IMAP has been broken all the way back to WM5, so this is not news.
Is there a version of WM6 that doesn't have a memory leak in it? I guess I can live with resetting once a day due to this, but...... and if so, does anyone have the "list" of things that would have to be spliced to move it from one version of WM6's base to another?
Thanks in advance!
How can I check that memory leak. Describe steps you are doing and steps how to check it.
Set up a POP email account. Set it to sync every few minutes (10, whatever), and to delete messages off server on connect/disconnect.
Send yourself a couple hundred messages.
Read 'em, delete 'em.
Do a send/receive to sync (remove them from the server), confirm they are not on your device anywhere, and also are not on the server.
Look at free RAM. Notice the several megabytes missing. Keep at it for a while (a day or three, depending on your email usage) and you will evenutally have a machine that thrashes due to low RAM and dies.
I've isolated the problem to POP3 accounts. If you set it up as an IMAP account (and can live with the problems IMAP has) the RAM leak does not occur with the same traffic pattern.
As near as I can determine the problem is endemic to WM6; I've tried several different WM6 loads and all have exhibited the problem. WM5 also did the same thing, although in WM5s case it leaks RAM from a number of other places too and I haven't been able to isolate those.
It is an interesting notice. Ill probably never discover that coz im not receiving that much emails. Ill pay my attention in the future.
Yeah, I mirror all my email to my Wizard, and probably get 200 or so a day.
Halfway through the day on a cold boot I'm down to ~16MB free from where I started around 23MB, and the device has gotten quite slow.
If I don't reset it I'll eventually wind up in the single digits and then if you do the wrong thing you get a lockup and are forced to hit the button or pull the battery.

Changing Activesync port

Hi all,
I'm trying to set up Activesync to connect OTA to my company's exchange server so I can get my mail pushed to me.
I got the connection deets from IT, but they included a non-standard port, 8993, as part of the URI. I thought, no biggie, I'll just stick them into Activesyc, MS's well-established Exchange connectivity bridge.
But no luck. It sits there for ages then times out. I can access this URI fine from my PC. I can rule out the ISP (O2) as I can access it via telnet from the device. Which leaves Activesync itself. This is backed up by the occasional comment on obscure web posts.
Does anyone know how I can set Activesync to use a non-standard port for its Exchange connections? I don't mind going into the reg but I imagine there must be an easier way to do this. Lots of businesses with draconian IT policies must have this problem?
Kinda important as I just ordered a Touch Pro, and I'll have to cancel that posthaste if I can't get Exchange syncing going on..
thanks!

Emails disappearing from exchange inbox and calendar not syncing help please

Hi all, I'm fairly experienced with the WM world (been using since WM2002) and am usually able to fix plenty of people's problems (on here and in the real world). I have run into an issue that I haven't quite been able to figure out. If it were my phone, I'd probably reflash a different rom on it (or even same one) and try it again fresh, but since it is not my phone I haven't tried it yet. Anyways, here is the issue.
My coworker has configured his phone running his provider's stock WM6.1 standard rom. He (well me, he had no idea it was possible until I showed him) is trying to connect his phone to the company's exchange server to get email on the phone. I have configured this (or instructed how to do this) for over 25 people where I work, and the only issues that I have ever run into were certificate issues. I manually pulled down the root certificate, made a cab file containing it, and installed it on his phone. This is easily verified by accessing the company's OWA site from Pocket IE. Without the certificate installed, a certificate warning appears, and with it you access without a problem (which I can do). So certificate, checked.
Now after a soft reset, it comes time to configure it. I get the email address, password, and domain in without a problem. Then the OWA address is put into the server address. Then the specific mail and calendar items are configured (such as retain last 3 days of mail, download 50KB of each message, show last 2 weeks of calendar, etc.), and finish is hit. The device successfully syncs, with no errors appearing on the screen. I even see items come down in activesync (such as syncing 82 contacts, 5 calendar events, and some emails).
I opened pocket outlook, and his inbox is empty. Odd, so I send him a test email from my AT&T Tilt (cooked WM 6.1 rom), and it arrives to his device on the next send/receive. Then, I hit send receive again on his phone and the test email disappears. I have tried changing the "retain" option for email from last 3 days to last 2 weeks, and no difference. Also the Calendar is empty. I sent him a meeting request and he accepted it, but it isn't on his mobile phone's calendar (but it is on the exchange calendar).
The only thing that I could think of is a rule to move everything to his personal folder on his laptop, but he says that he doesn't have one and moves everything over by hand. I'm thinking about swinging by his desk and confirming, but he isn't dumb and I'm sure he isn't lying about it.
I have been searching google (here and full internet google) without much luck. Thanks for any ideas to try, or else I'm gonna go soft reset his phone
Jason
Well he did tell me when he closed outlook on his work PC, everything started working right. I might try to swing by and look at his outlook afterall.
Jason
btw, if your poutlook syncs only new mails, and your server is configured to not keep messages on the server, the message might be deleted every other send/receive.

Exchange Push Email when ActiveSync is not an option

I was wondering if anybody had any recommendations for what I can install on my Tilt to allow me to connect to Exchange. Unfortunately, my company uses BES, and therefore can't be bothered to make the little changes necessary to the Exchange server to support ActiveSync. They just say, "Get a Blackberry", but won't expense the cost of getting one. I installed the Blackberry Connect on the Tilt for awhile, but it's so inconsistent that it's virtually unusable. Any time a data connection is requested for anything other than Blackberry, it disconnects Blackberry, forcing me to close every data connection, then restart Blackberry Connect. It's insane.
I've done a bit of research, but everything that comes up stupidly seems to require connecting the phone to a computer, or leaving the computer on and having a service running while I'm away. Neither of those are workable options for me, since when I'm on the road, I probably won't have my laptop on, otherwise I wouldn't need my smartphone at all.
So in the absence of those options, is there any other way at all to connect to Exchange? It doesn't have to be Push, but I don't want more than about 15 minutes of lag time.
Any ideas?
If you have OWA access to your Excahnge server then Seven beta may fit your bill.
I do have OWA access. I'll try it out, thanks!

Categories

Resources