[A] Exchange Settings CM7 - EVO 4G Q&A, Help & Troubleshooting

Well, took me a while to figure out how to setup exchange for the Cyanogen Mod 7 (CM7) nightlies. I figured this could help some others having trouble. It asks for email address and password. I would enter this. It would fail. Then I realized it actually wants this:
[Domain]\[UserName]@[exchangeserveraddress]
So my email address might be: [email protected]
But I know my exchange server is "exchange.mail.com"
and I know my domain is "Staff"
So I don't enter [email protected] as my email address. I instead enter:
Staff\[email protected] as my email address.
Note: At my work, exchange is setup with all kinds of security and none of the auto discover junk that helps with setup. So these settings may help other people with 'difficult' exchange servers. For others, this may be completely unnecessary.

Weird. I didn't have any problems at all when I went to Settings>Accounts>Add>Corporate. Just punched in my email, pass, then on the next screen the username (Domain\user), FQDN of the public-facing exchange portal, and enabled "use all SSL certs" because my admin is a cheap crackhead who refuses to get a real cert.
Worked first time, too.

Thanks Joe.

drmacinyasha said:
Weird. I didn't have any problems at all when I went to Settings>Accounts>Add>Corporate. Just punched in my email, pass, then on the next screen the username (Domain\user), FQDN of the public-facing exchange portal, and enabled "use all SSL certs" because my admin is a cheap crackhead who refuses to get a real cert.
Worked first time, too.
Click to expand...
Click to collapse
Yes, there are all sorts of variables with exchange depending on security settings, auto-discovery settings, and the version of exchange server. What works on one server, does not work on another.
At my work, exchange is very secure with none of the auto discover junk that helps with setup. So these settings may help other people with 'difficult' exchange servers. For others, this may be completely unnecessary.

I just tried cm7 nightly. No problem getting exchange set up BUT my server requires that the password lock be setup on the phone and I kept getting a message that phone did not allow the required security. This is not an issue on the evio2 Rom I've been using.
Anyone else run into this on cm7?
Sent from my PC36100 using Tapatalk

mikegoldnj said:
I just tried cm7 nightly. No problem getting exchange set up BUT my server requires that the password lock be setup on the phone and I kept getting a message that phone did not allow the required security. This is not an issue on the evio2 Rom I've been using.
Anyone else run into this on cm7?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
That's because your other ROM doesn't have a fully compatible Email.apk which supports all the ActiveSync admin permissions. Just setup a phone lock which meets the minimum complexity (usually a 4-8 digit PIN will suffice), and accept the Admin rights via the notification you get.

drmacinyasha said:
That's because your other ROM doesn't have a fully compatible Email.apk which supports all the ActiveSync admin permissions. Just setup a phone lock which meets the minimum complexity (usually a 4-8 digit PIN will suffice), and accept the Admin rights via the notification you get.
Click to expand...
Click to collapse
My other ROM does support the ActiveSync permissions, which is why I'm able to successfully setup the password and sync with the Exchange server. This is NOT the case with CM 7.
Sent from my PC36100 using Tapatalk

mikegoldnj said:
My other ROM does support the ActiveSync permissions, which is why I'm able to successfully setup the password and sync with the Exchange server. This is NOT the case with CM 7.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
So you setup a lock with PIN, but it doesn't recognize this?

Exchange
Hey all, I found this thread while looking for a solution as to why I cannot setup my exchange account. I'm using CM7 but I have a moto cliq xt (I know this is the EVO threads).
I'm not sure from reading this thread, but are you all successfully connecting and syncing to exchange servers with CM7?
I know my credentials are correct (they worked on other roms and on stock) but I'm not sure what the problem is now.
My username is different than my email address on the exchange server, so Joe's suggestion wouldn't help me. I have a logcat from my push to the server if someone might be able to point out the problem from there.
I apologize for posting this in your thread, but I'm out of options and can't get an answer or solution from my home thread.
*Note - another user from my thread was able to, but his username matched his email, and he did it like Joe suggested. Also, I can connect using Touchdown and the same credentials (but I don't want to use Touchdown as I would like the native Email app to handle this.)
Any help or advice would be greatly appreciated.

No go for me... Stupid Exchange 2007 and your damn security policies! Why on earth do you work with the stock sense email.apk and not AOSP!

41rw4lk said:
Hey all, I found this thread while looking for a solution as to why I cannot setup my exchange account. I'm using CM7 but I have a moto cliq xt (I know this is the EVO threads).
I'm not sure from reading this thread, but are you all successfully connecting and syncing to exchange servers with CM7?
I know my credentials are correct (they worked on other roms and on stock) but I'm not sure what the problem is now.
My username is different than my email address on the exchange server, so Joe's suggestion wouldn't help me. I have a logcat from my push to the server if someone might be able to point out the problem from there.
I apologize for posting this in your thread, but I'm out of options and can't get an answer or solution from my home thread.
*Note - another user from my thread was able to, but his username matched his email, and he did it like Joe suggested. Also, I can connect using Touchdown and the same credentials (but I don't want to use Touchdown as I would like the native Email app to handle this.)
Any help or advice would be greatly appreciated.
Click to expand...
Click to collapse
I was able to use the settings that he put in there to get it to work domain\[email protected] Did you try to use them?
Are you even getting to the server name prompt? If so it should be the same as the webaccess address.

drmacinyasha said:
That's because your other ROM doesn't have a fully compatible Email.apk which supports all the ActiveSync admin permissions. Just setup a phone lock which meets the minimum complexity (usually a 4-8 digit PIN will suffice), and accept the Admin rights via the notification you get.
Click to expand...
Click to collapse
I know this thread hasn't been touched in a while, but I don't see a good solution for my particular Exchange setup. I run into the "This server requires security features that your phone does not support." issue and I was wondering something. If I have the Mail app from stock backed up in Titanium Backup, can I restore that app and use it? If so, would I need to uninstall the Email app that comes with CM7?
Since I really really miss my calendar/contacts sync from before, I may not wait for an answer and just hope that my nandroid backup in ROM Manager is a good safety net and go for it. I'll post my results if I do.

chuckuykendall said:
I know this thread hasn't been touched in a while, but I don't see a good solution for my particular Exchange setup. I run into the "This server requires security features that your phone does not support." issue and I was wondering something. If I have the Mail app from stock backed up in Titanium Backup, can I restore that app and use it? If so, would I need to uninstall the Email app that comes with CM7?
Since I really really miss my calendar/contacts sync from before, I may not wait for an answer and just hope that my nandroid backup in ROM Manager is a good safety net and go for it. I'll post my results if I do.
Click to expand...
Click to collapse
So I didn't wait, and I went ahead and mucked with it, but I got way less than stellar results. I was able to uninstall "Email.apk" using Titanium Backup, but when I tried to restore my "Mail.apk" from the same, it just sat there and never completed. I assume that the installation actually failed behind the covers due to some requisite not being in place and that TB was not able to interpret the error as a failed restore.
The search for an answer continues...

Related

[Q] Exchange ActiveSync Froyo 2.2 - FAIL

I have tried 3 different 2.2 ROM's and all of them fail to connect to my exchange server which is a must have for me. I have tried built in Exchange ActiveeSync, AOSP mail.apk, calkulin's mail 2.2 apk and nothing works.
Does anyone know of a work around or what the hell I can do to get it working. I have asked this question a couple times in Rom threads and nobody apparently uses exchange activesync other than me.
Side Note:
Exchange 2007 R2
Not using self signed SSL Cert
Also, I know what section this is but when I posted in Q&A nobody responded and seeing how there are more knowledgeable people here I am hoping to get a resolution.
So thank you in advance for any and all insight given to me!
There might be something in your setting for exchange. I am able to connect to my companies exchange server with all the mail apps, I have it working with the Leaked OTA HTC 2.2 with there built in Active Sync. I also have tested with CM 6's nightly and it also syncs.
Now it's funny that in our system we have to setup the login as domain\user_name instead of how the email address is. in our case it's [email protected].
Also we had to use owa.ourdomain.com for the ssl server.
Hope you get it going. As it works great for me.
Mine works also. I am running the Froyo OTA leak. I am on Exchange through Active Sync.
Maybe a re-flash? or check your settings. I use the same settings as I would for the getting into my mail on the web.
My exchange works fine under Avalaunchmod's 2.2 and under FreshEvo 3.0. Like said above, try the domain\username. That's how mine works.
I would check with your IT department.
I have tried just about every recent 2.2 (read: since the "leak") rom and have not had an issue connecting to my exchange on any of them.
arielb27 said:
There might be something in your setting for exchange. I am able to connect to my companies exchange server with all the mail apps, I have it working with the Leaked OTA HTC 2.2 with there built in Active Sync. I also have tested with CM 6's nightly and it also syncs.
Now it's funny that in our system we have to setup the login as domain\user_name instead of how the email address is. in our case it's [email protected].
Also we had to use owa.ourdomain.com for the ssl server.
Hope you get it going. As it works great for me.
Click to expand...
Click to collapse
Ok thank you for the tips and will try that. I have seen some others having this same issue but haven't found a solid root cause or solution posted anywhere and I have searched for quite a while. I am flashing back over to 2.2 right now and will attempt your suggestions. On every version prior it was never a problem and I simply entered
[email protected]
mail.domain.com
domain.com
user
password
huoter said:
Ok thank you for the tips and will try that. I have seen some others having this same issue but haven't found a solid root cause or solution posted anywhere and I have searched for quite a while. I am flashing back over to 2.2 right now and will attempt your suggestions. On every version prior it was never a problem and I simply entered
[email protected]
mail.domain.com
domain.com
user
password
Click to expand...
Click to collapse
Try it without the bolded part and see what happens.
huoter said:
Ok thank you for the tips and will try that. I have seen some others having this same issue but haven't found a solid root cause or solution posted anywhere and I have searched for quite a while. I am flashing back over to 2.2 right now and will attempt your suggestions. On every version prior it was never a problem and I simply entered
[email protected]
mail.domain.com
domain.com
user
password
Click to expand...
Click to collapse
mine is
email address - [email protected]
server address - owa.domain.com dont use owa, it is what your owa is called.
domain - domain "no dot com"
username - domain/username or just username
password - password case sensitive
SSL - checked
user name: yourdomain\johndoe
pasword: XXXXXXXXXX
server name is the OWA address. Example, ours is : mail1.engineerpros.com
I have tried the server name with the actual IP address and it does not work. Only worked with the OWA.
Hope this helps
dwertz said:
mine is
email address - [email protected]
server address - owa.domain.com dont use owa, it is what your owa is called.
domain - domain "no dot com"
username - domain/username or just username
password - password case sensitive
SSL - checked
Click to expand...
Click to collapse
For the user name its a back slash: domain\username
I got it working but thank you so much for all of your suggestions guys!
I got on the exchange server and verified which certificate was default and it was our secondary domain.
Changed server address to: mail.secondomain.com
Domain: left blank
User: domain\name
huoter said:
I have tried 3 different 2.2 ROM's and all of them fail to connect to my exchange server which is a must have for me. I have tried built in Exchange ActiveeSync, AOSP mail.apk, calkulin's mail 2.2 apk and nothing works.
Does anyone know of a work around or what the hell I can do to get it working. I have asked this question a couple times in Rom threads and nobody apparently uses exchange activesync other than me.
Side Note:
Exchange 2007 R2
Not using self signed SSL Cert
Also, I know what section this is but when I posted in Q&A nobody responded and seeing how there are more knowledgeable people here I am hoping to get a resolution.
So thank you in advance for any and all insight given to me!
Click to expand...
Click to collapse
I may very well be wrong but it may have something to do with BakedSnack because I am having the same issue as you. My Exchange worked fine pre-root and seems to work fine on Fresh but on BakedSnack (9.7 or 1), nada.
It's been driving me nuts because I love the BakedSnack ROM. Interestingly, when I first set up my Exchange on BakedSnack 1 yesterday it worked for the very first sync but I ended up with "unable to connect to server errors thereafter." Over the course of the past few weeks I've flashed and reflashed Baked several times and could get the Exchange account set up but no email.
If you discover a fix, please let me know.
Also, the Exchange Server at my office is 2003. Maybe it has something to do with that.
I have the same problem, so far unsolved

Froyo & Exchange - "Update Security Settings"

Hi,
i have Exchange setup & working. I get a notification each time I reboot the phone it says update security settings. If I click on it, it goes away & doeesnt bring any other information together.
Any ideas on what it wants? Its not terribly annoying but its strange.
Thanks,
Rich
I don't have an answer, but I do have a question??? Do you still need to enter a password every time you "un-lock" the phone??? I am currently running 2.1 but use LockPicker to get around this.
Hi,
I dont have to enter any codes into my phone. I have exchange set up twice on my phone.
The first time I set it up with the default app so my contacts will be populated & then I set it not to check my exchange again.
Then I use Touchdown for my exchange needs. It works great & I would assume it would bypass that issue. I like Touchdown better as it downloads subfolders (once selected) by default, so the email is always in sync.
Thx...I have Touchdown and will try that once 2.2 goes OTA.
toddasimpson67 said:
I don't have an answer, but I do have a question??? Do you still need to enter a password every time you "un-lock" the phone??? I am currently running 2.1 but use LockPicker to get around this.
Click to expand...
Click to collapse
That's caused by a setting on your Exchange server from what I've heard. Basically its an enterprise level security feature. Without hacking it, like you have been doing, its not going to change in the software update. If anything, Google will make it harder to get around it, since they are trying to get enterprises to adopt Android, so they need to keep these kinds of settings around.
Lockpicker does not work with 2.2, you will have to enter a code but you can adjust the time for that code entry to up to 15 minutes, if you use Touchdown you will have to enter the code everytime you go into the touchdown app. its not to bad entering the code every 15 minutes, the screen for the code entry is huge with a big dialer, not so much of a pain as entering the code before.
Hi,
I am using exchange 2007 & Touchdown. I dont have to ever put a code in. Is this due to my exchange being a hosted exchange service vs a work corp email?
Thanks,
Rich
RichTJ99 said:
Hi,
I am using exchange 2007 & Touchdown. I dont have to ever put a code in. Is this due to my exchange being a hosted exchange service vs a work corp email?
Thanks,
Rich
Click to expand...
Click to collapse
it's a setting on the Exchange server. it just depends if the Exchange nerd was told to implement it or not.
I found this while searching to find a fix. I think that I figured it out though.
This is referring to the security settings for your phone and I believe that the Exchange server is set to require a password be entered on the phone to satisfy it's security requirements.
I turned on the pattern lock on my phone and haven't received the message again... Yet.
There's also an issue that I know of with Exchange Server 2010
If this setting has been enabled by the sysadmin;
Via EMC:
Microsoft Exchange
- Microsoft Exchange On-Premises
- Organization Configuration
- Client Access
- Exchange ActiveSync Mailbox Policies
Under Default policy, Device Password Required - Yes
Then your Exchange client on Froyo will bounce around asking you to press it's buttons every boot, and sometimes every time your network status changes!
EVEN IF this setting is reverted, there appears to be a bug where the security settings are still passed to the client device.
I've tested this myself and Ninpo [[email protected]] can verify.

[Q] Media Hub Account Recovery?

The problem:
Attempting to sign into my Samsung Media Hub account tells me my username or password is incorrect.
Using the "Forgotten password?" feature tells me, "Success! Your password has been sent to your email address.", but I never receive anything in my email.
Things I've tried:
Checked my spam folders (of course).
Tried the only other email address I would have used.
Note: When trying my other email and the "Forgotten password?" feature, it fails, telling me that the email address could not be found (or something). So I know the email address I'm using is the right one, it just isn't actually sending me my password.​Tried every other password I would have used. (Besides the one I'm 90% sure is correct.)
Note: Even tried intentionally mistyping passwords a few different ways.​I tried using another Epic that's still a virgin, just in case it was root / rom related.
Note: Tried the "Forgotten password?" feature from this phone as well, still no email received.​Tried posting a Question in the Samsung support Q&A section, but I guess it hasn't been authorized yet, because I can't find my question anywhere.
(Maybe I will get my answer there eventually.)
Tried searching google for any kind of info about Media Hub account recovery. Results are nothing but links to old promo info about it being released.
Tried uninstalling and re-installing the Media Hub app (from the market), didn't make a difference.
And now posting here for help.
Other notes:
I used a comcast.net email address if that makes any difference.
So my question is...
Has anyone had any trouble logging into their Media Hub account?
Has anyone ever successfully used the "Forgotten password?" feature?
Does anyone know of anywhere I could try to log into my Media Hub account online (via PC)?
Anyone know of an email address I could contact to resolve this?
I suppose this isn't really that big of a deal since my only goal in this is to be able to use up the rest of my promotional $50.00 they gave me, but it still bothers me.
Thankx in advance for any help.
=]
Edit:
How about someone testing the "Forgotten password" feature for me? Does it send you an email?
Bump for 1st post edit.
OK so I did some more testing.
A new account with a gmail address will send out an email no problem.
So it seems that this may be a comcast related issue. I'll try to contact them to see what (if anything) they can do about it.
Is there no one that has had any trouble with this? Or are you all just not using the Media Hub?
[bump]

[Q] Cannot set up Exchange mail sync

I just got my Gnex. It updated to Android 4.04. I try to set up email with my office Exchange account and it fails. The error message says "you don't have permission to sync with this server"
I'm using the same email exchange log in infromation as I have used on my Xoom. No problems there.
I tired using Touchdown and had the same results.
Any ideas?
Thanks
elcap373 said:
I just got my Gnex. It updated to Android 4.04. I try to set up email with my office Exchange account and it fails. The error message says "you don't have permission to sync with this server"
I'm using the same email exchange log in infromation as I have used on my Xoom. No problems there.
I tired using Touchdown and had the same results.
Any ideas?
Thanks
Click to expand...
Click to collapse
sounds like the server itself is rejecting your login.
maybe the company only allows one mobile device with your credentials?
i would remove exchange from your xoom and then try. if it allows you to connect then, there's your answer
I think that is unlikely.. I had a moto dinc syncing fine and upgraded to the nexus.
The dinc and zoom synced fine in parallel.. The dinc is now turned off.
elcap373 said:
I think that is unlikely.. I had a moto dinc syncing fine and upgraded to the nexus.
The dinc and zoom synced fine in parallel.. The dinc is now turned off.
Click to expand...
Click to collapse
that is the only thing I could think of.
It looks like the server is rejecting your login however.
Sent from my Galaxy Nexus
reminds me of an old girlfriend......
There's an option to trigger the security certificates or something - forgot the exact wording, but when I tapped that, I could get into my office Exchange server.
Of course, I like to keep my office things in the office so I quickly disabled the email app.
Ya, there are two dialog boxes:
User secure connection (SSL)
Accept all SSL certificates
My Xoom account shows the first checked. The second not.
Using the same configuration - I get the message that I don't have permission to sync with the server.
When I check the Accept all SSL certificates - I get the same message.
When I go through the setup on my Xoom after completing the inputs - I get the following message:
'This server requires that you allow it to remotely control some security features of your Android device. Do you want to finish setting up this account?'
Is there something about ICS 4.04 running on the Gnex that would pose a problem with this security handshake?
I'm running an ICS 4.04 Cyanogen Mod nightly on my Xoom. I had Gingerbread on my Dinc before I switched to the Gnex. The email exchange sync worked fine on the Dinc.
When I have time I may root and load a custom ROM on it and see if that makes a difference. Although I'd prefer to stay stock for a while - just to get used to the thing.
If anyone has insight into the security issues - I'd appreciate hearing it. A quick Google search of issues relating to Exchange sync shows that there are issues with the Gnex and Exchange handshake. Some people have had to encrypt their phone to get it to work?!?
Certainly this must have been worked out by someone...
Thanks for any suggestions
elcap373 said:
'This server requires that you allow it to remotely control some security features of your Android device. Do you want to finish setting up this account?'
Is there something about ICS 4.04 running on the Gnex that would pose a problem with this security handshake?
Click to expand...
Click to collapse
That's a common message to see depending on the security policies your Exchange Server administrator has established. Among other things, for example, your company probably requires the ability to do a remote wipe of your handset's email should the account be compromised, your device be reported stolen, or you quit or be fired.
Perfectly normal. My company does this as well, and it works beautifully with my Galaxy Nexus...no device encryption needed, and I'm running ICS 4.0.4 IMM76K - one Exchange Server account via the stock email client, and one GMail account via that stock app. All works beautifully.
Jon
sent from my Galaxy Nexus using XDA

[FIX] Exchange Active Sync with Hotmail (post Hotmail Server Upgrade-Jun 2012))

MODS: This is my first post on "how to fix something". If I've done anything wrong, please correct me (and the post).
I (and a lot of other people) started having problems with Exchange ActiveSync with Hotmail around the mid-to-end of Jun 2012.
The symptoms on HTC Sense 4.0 phones include the error message "Sync is currently experiencing problems. It will be back shortly" when you try to sync with your Hotmail account.
On searching for a solution, I've found this is a known problem affecting multiple OS platforms (AOSP Devices, iPhones, BB’s, etc). Microsoft is updating their Hotmail servers with a newer version of the protocol, and this is breaking ActiveSync with Hotmail on many devices.
At some point in the future, many people expect that HTC will need to update their client software to support this new protocol. Until they do, I think that I’ve discovered a solution that may fix problems people have been having with syncing with their Hotmail accounts (and getting the "Sync is currently experiencing problems. It will be back shortly" errors.).
I make no promises that this will fix your problem (it worked for me). I only have one phone (to test with) and no friends (who could help with testing). The solution I’m recommending will cost you $3.00 so if you don’t want to initially spend the money on an application, then I’d recommend waiting for a few other users (who will hopefully report back) on whether or not this fixed they EAS issue with Hotmail.
I’ve applied this change and I’ve been able to successfully (manually) sync with my Hotmail Account successfully for the past 24 hours. I have not tested this with Contacts, Calendars, Tasks or with Push Mail (if this method allows for the successful sync of any/all those fields, please report back). I’ve been successfully syncing over WiFi and via my cellular connection.
Assumptions:
1) OS is ICS and you’re using the HTC Mail.apk (default HTC Mail Application) to sync with Hotmail.
2) Your phone is rooted.
3) You have SuperSU intstalled from Play Store: https://play.google.com/store/apps/details?id=eu.chainfire.supersu
4) You’re willing to spend $3.00 to buy SQLite Editor. (If someone know of a free version, please let me know and I’ll update the post).
Steps:
1) Create your EAS Hotmail Account just like you normally would: Settings->Accounts & Sync->Add->Exchange ActiveSync
2) Once you’ve completed your Account configuration, go to the Play Store and buy (sorry) SQLite Editor: https://play.google.com/store/search?q=sqlite+editor . It’ll cost you 3 bucks and it’s a great program (I’m not associated with the program at all (no conflicting interest)).
3) Launch SQLite Editor (once installed). It will ask for SU permissions the first time you launch it: Please allow SU access.
4) After a few minutes of scrubbing your phone’s databases, you’ll see a list. Scroll down to the one titled “Mail” (in smaller print right below the title “Mail”, you should see “com.htc.android.mail”). Tap on “Mail”->”mail.db”->”accounts”.
5) After clicking on “accounts, you should see a screen with all of your email accounts listed (if you have more than one). Tap AND HOLD on your Hotmail Account. From the pop-up menu, click on “Edit Record”.
6) Scroll down to you find the Field titled “_easSvrProtocol”. You should see a value in the field (mine had a 14 in the field). Change the value to 2.5 and click on “Save”.
7) Reboot your phone
8) Trying syncing your Hotmail account. It should now sync without the annoying message “Sync is currently experiencing problems. It will be back shortly"
Please provide feedback.
If anyone is wondering: I don't have a HTC One X (rather I have the Sprint EVO 4g LTE). It's S-Off/Rooted and I'm using a custom ROM (see signature).
Justin
Hi
weatheryoko said:
MODS: This is my first post on "how to fix something". If I've done anything wrong, please correct me (and the post).
I (and a lot of other people) started having problems with Exchange ActiveSync with Hotmail around the mid-to-end of Jun 2012.
The symptoms on HTC Sense 4.0 phones include the error message "Sync is currently experiencing problems. It will be back shortly" when you try to sync with your Hotmail account.
On searching for a solution, I've found this is a known problem affecting multiple OS platforms (AOSP Devices, iPhones, BB’s, etc). Microsoft is updating their Hotmail servers with a newer version of the protocol, and this is breaking ActiveSync with Hotmail on many devices.
At some point in the future, many people expect that HTC will need to update their client software to support this new protocol. Until they do, I think that I’ve discovered a solution that may fix problems people have been having with syncing with their Hotmail accounts (and getting the "Sync is currently experiencing problems. It will be back shortly" errors.).
I make no promises that this will fix your problem (it worked for me). I only have one phone (to test with) and no friends (who could help with testing). The solution I’m recommending will cost you $3.00 so if you don’t want to initially spend the money on an application, then I’d recommend waiting for a few other users (who will hopefully report back) on whether or not this fixed they EAS issue with Hotmail.
I’ve applied this change and I’ve been able to successfully (manually) sync with my Hotmail Account successfully for the past 24 hours. I have not tested this with Contacts, Calendars, Tasks or with Push Mail (if this method allows for the successful sync of any/all those fields, please report back). I’ve been successfully syncing over WiFi and via my cellular connection.
Assumptions:
1) OS is ICS and you’re using the HTC Mail.apk (default HTC Mail Application) to sync with Hotmail.
2) Your phone is rooted.
3) You have SuperSU intstalled from Play Store: https://play.google.com/store/apps/details?id=eu.chainfire.supersu
4) You’re willing to spend $3.00 to buy SQLite Editor. (If someone know of a free version, please let me know and I’ll update the post).
Steps:
1) Create your EAS Hotmail Account just like you normally would: Settings->Accounts & Sync->Add->Exchange ActiveSync
2) Once you’ve completed your Account configuration, go to the Play Store and buy (sorry) SQLite Editor: https://play.google.com/store/search?q=sqlite+editor . It’ll cost you 3 bucks and it’s a great program (I’m not associated with the program at all (no conflicting interest)).
3) Launch SQLite Editor (once installed). It will ask for SU permissions the first time you launch it: Please allow SU access.
4) After a few minutes of scrubbing your phone’s databases, you’ll see a list. Scroll down to the one titled “Mail” (in smaller print right below the title “Mail”, you should see “com.htc.android.mail”). Tap on “Mail”->”mail.db”->”accounts”.
5) After clicking on “accounts, you should see a screen with all of your email accounts listed (if you have more than one). Tap AND HOLD on your Hotmail Account. From the pop-up menu, click on “Edit Record”.
6) Scroll down to you find the Field titled “_easSvrProtocol”. You should see a value in the field (mine had a 14 in the field). Change the value to 2.5 and click on “Save”.
7) Reboot your phone
8) Trying syncing your Hotmail account. It should now sync without the annoying message “Sync is currently experiencing problems. It will be back shortly"
Please provide feedback.
If anyone is wondering: I don't have a HTC One X (rather I have the Sprint EVO 4g LTE). It's S-Off/Rooted and I'm using a custom ROM (see signature).
Justin
Click to expand...
Click to collapse
The first option to try is to change the Exchange Active server name, this is something that seems to work on HTC devices. It worked in my case. One of the problems is the new protocols/servers that Microsoft are using needs a redirect to what seems to be a particular data centre your account is held at, this redirect isn't understand by a lot of devices. So try this first, you will need to remove the Active Exchange account first which will clear contacts etc until you resyns.
1) Log into Hotmail via the internet, and look at the Url you are redirect to, for example: https://snt108.mail.live.com/default.aspx
2) Take the first three letters after the //, in this example snt. The three letters appear to identify the data centre holding your account.
3) Re-add your Exchange account, select manual setup, enter your details, and for the domain name use those first 3 letters then add -m.hotmail.com, in this example the server becomes snt-m.hotmail.com
4) For your username, use your email address, this might be populated already with just the first part of your email address, but it is important to then add the rest, so essentially your email is appearing twice in the settings.
Then complete the set-up and try and sync.
Hope that helps. If not, it is worth trying the other suggestion.
Regards
Phil
PhilipL said:
Hi
The first option to try is to change the Exchange Active server name, this is something that seems to work on HTC devices. It worked in my case. One of the problems is the new protocols/servers that Microsoft are using needs a redirect to what seems to be a particular data centre your account is held at, this redirect isn't understand by a lot of devices. So try this first, you will need to remove the Active Exchange account first which will clear contacts etc until you resyns.
1) Log into Hotmail via the internet, and look at the Url you are redirect to, for example: https://snt108.mail.live.com/default.aspx
2) Take the first three letters after the //, in this example snt. The three letters appear to identify the data centre holding your account.
3) Re-add your Exchange account, select manual setup, enter your details, and for the domain name use those first 3 letters then add -m.hotmail.com, in this example the server becomes snt-m.hotmail.com
4) For your username, use your email address, this might be populated already with just the first part of your email address, but it is important to then add the rest, so essentially your email is appearing twice in the settings.
Then complete the set-up and try and sync.
Hope that helps. If not, it is worth trying the other suggestion.
Regards
Phil
Click to expand...
Click to collapse
I tried "snt-m.hotmail.com" but the sync never completes.
For the moment, I use the "Hotmail" app from the store. I hope it will be fixed in next rom.
PhilipL said:
Hi
The first option to try is to change the Exchange Active server name, this is something that seems to work on HTC devices. It worked in my case. One of the problems is the new protocols/servers that Microsoft are using needs a redirect to what seems to be a particular data centre your account is held at, this redirect isn't understand by a lot of devices. So try this first, you will need to remove the Active Exchange account first which will clear contacts etc until you resyns.
1) Log into Hotmail via the internet, and look at the Url you are redirect to, for example: https://snt108.mail.live.com/default.aspx
2) Take the first three letters after the //, in this example snt. The three letters appear to identify the data centre holding your account.
3) Re-add your Exchange account, select manual setup, enter your details, and for the domain name use those first 3 letters then add -m.hotmail.com, in this example the server becomes snt-m.hotmail.com
4) For your username, use your email address, this might be populated already with just the first part of your email address, but it is important to then add the rest, so essentially your email is appearing twice in the settings.
Then complete the set-up and try and sync.
Hope that helps. If not, it is worth trying the other suggestion.
Regards
Phil
Click to expand...
Click to collapse
Phil,
I've tried that (mine started with "bay" so I tried changing my server to bay-m.hotmail.com) but I couldn't get it to work. I know some people have had sucess but others didn't (I was one of those who still couldn't sync). By changing the “_easSvrProtocol” from 14 to 2.5 was the only way I could get it to work. Currently I'm sync'ing using the default server (m.hotmail.com) and everything is working as designed.
Justin
Hi
weatheryoko said:
Phil,
I've tried that (mine started with "bay" so I tried changing my server to bay-m.hotmail.com) but I couldn't get it to work. I know some people have had sucess but others didn't (I was one of those who still couldn't sync). By changing the “_easSvrProtocol” from 14 to 2.5 was the only way I could get it to work. Currently I'm sync'ing using the default server (m.hotmail.com) and everything is working as designed.
Justin
Click to expand...
Click to collapse
I think the problem arises when they stop supporting these older protocols, hopefully by then HTC or Microsoft will have worked out the problems, until then we have to find our own solutions, nice one Microsoft.
Regards
Phil
Just confirming the solution in post #1 worked for me.
Big thanks here but curious to know how you would figure this out? What changed when the figure was altered from 14 to 2.5 as it was in my case also?
Funny thing i had similar problems with a normal exchange account, even after installing stock RUU.
Sent from my HTC One X using xda premium
Maybe a dev can see if a mod can be made for solving this problem?
Sent from my HTC One X using xda app-developers app
Risingson said:
Just confirming the solution in post #1 worked for me.
Big thanks here but curious to know how you would figure this out? What changed when the figure was altered from 14 to 2.5 as it was in my case also?
Click to expand...
Click to collapse
After reading about this on multiple threads (both within XDA and outside), I kept seeing reports from various posters that said "If you force the 2.5 Protocal, EAS works on Hotmail". So I started digging around and came up the the solution above.
Risingson: May I ask what you are sync'ing? (i.e. Contacts, Calendar, Email?) I only sync email so I'm curious if this fix allows for full EAS capability with Hotmail. I would think it would, but I'd like confirmation.
Justin
Funnily enough, the Hotmail app works fine for syncing contacts, emails and calenders.
weatheryoko said:
Risingson: May I ask what you are sync'ing? (i.e. Contacts, Calendar, Email?) I only sync email so I'm curious if this fix allows for full EAS capability with Hotmail. I would think it would, but I'd like confirmation.
Justin
Click to expand...
Click to collapse
Just email. Contacts and calendar are linked to Gmail which I am slowly making the switch to.
Push email works perfectly for hotmail now. It's a .co.uk account FWIW.
Risingson said:
Just email. Contacts and calendar are linked to Gmail which I am slowly making the switch to.
Push email works perfectly for hotmail now. It's a .co.uk account FWIW.
Click to expand...
Click to collapse
You've got the exact same set up that I have (except I'm using hotmail.com).
Justin
YES! works for me! big Thanks...
This worked for me as well on my Evo 4G LTE. Thanks weatheryoko .
For what it's worth, you don't need the $3 app. You can use something like SQLite Database Browser on your computer instead.
jadeboy7 said:
This worked for me as well on my Evo 4G LTE. Thanks weatheryoko .
For what it's worth, you don't need the $3 app. You can use something like SQLite Database Browser on your computer instead.
Click to expand...
Click to collapse
Is it possible to make this modification without root? Copy and modify the file on pc and copy it again to the device with a "adb push command"?
Sent from my HTC One X using xda app-developers app
MickyMax said:
Is it possible to make this modification without root? Copy and modify the file on pc and copy it again to the device with a "adb push command"?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Can you mount the /data partition without root? The database file (mail.db) is in /data/data/com.htc.android.mail/databases. If you can push/pull to/from there, it should work. I don't have much experience with unrooted devices though.
jadeboy7 said:
Can you mount the /data partition without root? The database file (mail.db) is in /data/data/com.htc.android.mail/databases. If you can push/pull to/from there, it should work. I don't have much experience with unrooted devices though.
Click to expand...
Click to collapse
Very good question... Someone can help?
MickyMax said:
Very good question... Someone can help?
Click to expand...
Click to collapse
You can always try it and see if it works.
This is interesting, so this would mean that recently Microsoft has upgraded their Exchange server from Exchange 2003 sp2 to Exchange 2010. They have always run a very old version of Exchange which is why the utilized Activesync version was 2.5. So if the fix is to change it from Activesync 14.0 to 2.5 that means some software upgrade happened recently on Microsoft's side which is what is causing this issue.
It's working!
FYI: My phone isn't rooted but is unlocked with custom recovery
So the adb commands are working fine! :good:
I have a folder with fastboot stuff : "D:\fastboot"
I have created a hotmail account on my phone and the fist sync doesn't work.
My phone is connected with debugging enabled and I run these commands
adb pull /data/data/com.htc.android.mail/databases/mail.db
Click to expand...
Click to collapse
I now have the "mail.db" file on my fastboot folder.
I downloaded SQLite Database Browser as suggested before. With the tool, I open the data of the table "account". I search my hotmail account and updated the "easSvrProtocol" to "2.5". Do not forget to save!
View attachment 1226181
I launched the push command
adb push mail.db /data/data/com.htc.android.mail/databases/
Click to expand...
Click to collapse
Reboot the phone and voilà!
The sync is working fine!
Thanks to jadeboy7 and weatheryoko
Please click Thanks if this post helps you.

Categories

Resources