Email.apk deviceName - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hi all, i have an issue with my email.apk (any GB Rom). I try to connect to the exchange server of my work, in the server logs, the difference with my collegues is that the device name that the exchange server see is not the one it is intended, the one that is send appears in the file /data/data/com.android.email/files/deviceName. If i change it manually, the application email Force Close.
Does someone knows how the deviceName is generated (different from the device name that we can change in the settings).
Thanks a lot

Related

Problems with synching exchange mail - Kaiser and Wizard...

I have received a HTC TYTN II from my company, which currently is synching with our mailserver so that I can read my email wherever I am.
Since I'm curious, I tried to get my old Wizard to do the same. I did the same install as with the Kaiser, but I get the dreaded "0x85010004". I scanned thru the Kaisers registry and took all root-certificates under "HKEY_LOCAL_MACHINE\Comm\Security\SystemCertificates" and imported them into the Wizard and rebooted, but no luck. I am assuming it's a certificate of some kind that is missing, but I can't find where else it could be? Does Exchange install a hidden certificate on the phone in order to identify it, and if so - why isn't it shown in the certificates menu?
Any help is appreciated.
BR
Fredrik
activesync cert with exchange
hi fredrik,
activesync accessing exchange on a mobile device uses OWA (outlook web access) to access your email through SSL. the best way to get the cert you need is to log into your OWA (probably something like https://webmail.yourcompanyname.com) or whatever it is (it's the same address you use when you put in when confiigure exchange with activesync) from a desktop pc. than, right click on a blank portion of the page and go to properties. you should see a button that says certificates, click on that, than click on the details tab. than click on the "copy to file" button and the cert export wizard will start. click next, than select base64 as the type of cert, than hit next, name it, save it, put it on a memory card or bluetooth the file to your phone and install it. sometimes, during the install, your phone will error out when installing it, just soft reset, and then install it again. you should get a message that says it was installed successfully. than configure for activesync for exchange on your phone and you should be all good. let me know if that works for you.
Thanks for the help!
Tried that and got the same problem. The original phone has Pointsec installed in it, but I do not think that it gerenates any certificates (at least not any I have found in the registry). Is the ACU version important?
/F
Talked to my IT department and they told me that Pointsec decodes a certificate in order to communicate with our mailservers. Anyone any good at pointsec and knows if it puts a crypto on the Registry or if it is purly file based? If the file is decrypted each time I punch in my code, it should register the time when the file is being decrypted... What programs can search files in WM and search for the time stamp?
BR
Fredrik
I have an AT&T Tilt. I had Direct Push from Exchange Server working perfectly with no effort - was working for months. Then, I had a hardware problem with that phone and was given a replacement from AT&T. After replacing it I am unable to configure the direct push any more. I wrote down all the settings and carefully reapplied them on the new phone.
What I am seeing now is when manually invoking a send/receive, ActiveSync reports the following:
------
Result:
The server you are synchronizing with is not an Exchange Server, or is running incompatible
software. Choose Configure Server on the ActiveSync menu to specify the correct server.
Support Code: 0x85030022
------
I've been on the line with the hosted exchange server folks and there's no change on their end...
I installed the certificate as suggested above - seemed like it was worth a shot. No difference.
Any ideas?
sorry for the late reply.
I'm not too sure about your pointsec fredrick, as we don't use it on our mobile devices at work, but we do use it on our computers. as far as i know, pointsec is supposedly suppose to be transparent encrypt/decrypt after you first turn on your device and enter a passcode, heck, windows mobile should operate like pointsec isn't even on the device, so it shouldn't be a cert issue, but who knows, i never liked pointsec anyway. sorry i can't be more helpful.
ubetchya,
that error message is pretty straight forward, either the OWA address is wrong or your certificate isn't installed correctly. i know this sounds lame, but if you can, borrow a friend's Windows Mobile phone and config it with activesync to verify your settings are correct. for the owa address, try adding "/exchange" without the quotes at the end, maybe their redirect isn't working correctly. so if your server address is "https://webmail.hostedexchange.com", make it look like "https://webmail.hostedexchange.com/exchange" (that should take you to directly to the exchange server without using their redirect). if you want, you can also try downloading the certificate directly from your hosted exchange guys, if they have the cert page up that is (most exchange admins leave it up, i know we do =P ) to get to the cert page, go to a desktop pc...
1. type in your webmail server address and add "/certsrv" at the end without the quotes (ie; "https://webmail.hostedguys.com/certsrv"
2. it will prompt you for a username, it should be in the following format "domain\username", so if my domain was microsoft, and my username was bill, than my username would be "microsoft\bill" without the quotes
3. enter your password.
4. click on the last link, "download a certificate, certificate chain, etc"
5. select the base 64 encoding method and than click download CA certificate.
6. save it to a memory card or bluetooth it over to your phone and install it.
hope that helps!
oh... and one more thing about your server address, it could be different than adding "/exchange" at the end, to verify, just to your webmail and see wear it redirects, when you get to your login page (if using forms based authentication), use that address, if not using forms based, (small popup window for login) just log in and than use that address.
UBetchYa said:
I have an AT&T Tilt. I had Direct Push from Exchange Server working perfectly with no effort - was working for months. Then, I had a hardware problem with that phone and was given a replacement from AT&T. After replacing it I am unable to configure the direct push any more. I wrote down all the settings and carefully reapplied them on the new phone.
What I am seeing now is when manually invoking a send/receive, ActiveSync reports the following:
------
Result:
The server you are synchronizing with is not an Exchange Server, or is running incompatible
software. Choose Configure Server on the ActiveSync menu to specify the correct server.
Support Code: 0x85030022
------
I've been on the line with the hosted exchange server folks and there's no change on their end...
I installed the certificate as suggested above - seemed like it was worth a shot. No difference.
Any ideas?
Click to expand...
Click to collapse
I got it working. The error message was pretty close to telling me that it's an invalid server "name". My hosted exchange provider uses owa3.... I was missing the all-important 3.
No matter how hard they try, programmers can't make it completely idiot proof...
All is working now beautifully. Thanks much for the suggestsions.
Tytn II
Hi there,
I'm trying to connnect my Tytn II to my work's exchange server so I can use it instead of having to use a Crackberry however I'm getting the following message in ActiveSync:
Support code # 0x85030022
The server you are synchronizing with is not an exchange sever, or is running incompatible software. Choose Configure Server on the ActiveSync menu to specify the correct server.
Can anyone help ?
Hi Smooth,
Have you tried all the steps in this thread already? make sure you have installed the correct certificate, have the correct server address and ask your administrator if activesync is enabled on the exchange server. post back with your results to the tricks in this thread and we'll see what else you can try.

Access MS Exchange webmail

My employer hosts a webmail enabled Microsoft Exchange mail server. I am able/allowed to conntect to this server using https://webmail.myemployer.com from all web browsers and from all locations I have ever tried (I travel a lot), except ofcourse from my X1. Neither Pocket Internet Explorer nor Opera works; same result (Error Code 500: Internal Server Error).
I have retrieved the certificate from the mailserver, copied it to the X1, installed it and restarted the phone. Same result (doesn't work, same error code).
Is the access to webmail enabled Microsoft Exchange servers restricted on the X1? Can Exchange block access from cellphones? Is anyone reading this able to access Exchange webmail via SSL?
My ultimate goal is ofcourse to get the mail/calendar/tasks/contacts setup via ActiveSync but realize that I probably need to get this part with the webmail to work first. Colleagues of mine have successfully set it up on their iPhones, but ever since my first encounter with McIntosh back in 1984 ("an error of type -1 has occurred - Abort - Retry") I just can't stand that crap. I have no idea, but I doubt iPhones use ActiveSync.
if you know your Exchange webmail address, a WM phone can automatically configure Exchange. Open ActiveSync and on the right softkey menu, click "Configure Server" and type in your webmail address, username, pw etc and it'll automatically set up your server for push sync. If it works on an iPhone it is definitely enabled.
Close, but no cigar. The ActiveSync setup doesn't work and returns 0x85010004 "Your account in Microsoft Exchange Server does not have permission to synchronize with your current settings. Contact your Exchange Server administrator." I have verified the right settings at least five times. It doesn't work.
Activesync needs to be configured separately on the exchange server to work wirelessly.
Have you tried to put /owa/ at the end of the URL in your browser?
Yes. No luck. When I enter the URL above in the address field of a browser and press enter it eventually (in the successful case) changes into something like https://webmail.myemployer.com/exchweb/... but this is not the case when trying to access same URL from the X1 (then it simply stops with the 500 error code).
Is anyone reading this able to access MS Exchange webmail over SSL with the X1?
This is strange. Have you tried your account on an iPhone? There might be a problem that is isolated to your account only.
Edit: If you are using Exchange 2003 this might be a server problem. Refer to:
http://support.microsoft.com/kb/817379
Yes, I Have
I access my company email account via MS exchange webmail on my X1. We dont use a 3rd party website, just type in the IP address of our server followed by "/exchange", dialogue box pops up for username and password and im in. Nothing had to be set up on the phone but, IE does not work ...has to be Opera and Im currently using the version that came with the phone.
I also had the same issue of Outlook Mobile Access disabled at Exchange, but Outlook Web Access enabled. Try Seven"Out Of Office" OWA connector or eMoze, both of them worked for me. Seven enabled GAL/Directory lookup as well...
Thanks. I tried adding /exchange without luck but was able to atleast get to the login page with the following URL (which I copied from my laptop after successful login): https://webmail.myemployer.com/CookieAuth.dll?GetLogon?curl=Z2F&reason=0&formdir=2. I can enter my user name and password and even click on "Login" before I get the 500 Internal Server Error message.
Strange...
I've also looked at Seven and emoze. Didn't even know they existed. Thanks for the tip! Seven seems operator dependant and as my operator charges €10 per month for it, it kinda fell out of the picture. Emoze can successfully fetch my e-mail through the OWA (webmail.myemployer.com + usr + pwd) and it works like a charm.
Almost...
Emoze has some pretty severe issues with its calendar synchronization in that it handles repeat calendar entries incorrectly. Emoze will keep adding duplicates of these in an eternal loop (about one duplicate per minute). I had to use a tool called Allcleanup to wipe all calendar entries. So a warning there. Also, emoze will add some corny "this mail sent by emoze" on all outgoing e-mails and this seems to be unavoidable, even in the pro version. Plus emoze handles character sets incorrectly (Scandinavian/German characters like ÅåÄäÖö are not translated correct). But if you "just" want to be up to date with your inbox, emoze works fine I guess. I now use GoogleSync and ActiveSync with Gmail and Calendar, emoze for work mail and contacts.

[Q] Q: Exchange server

Hi guys,
Shoot me if this particular issue has shown up somewhere... (couldnt find it)
I am having problems connecting to the exchange server at work. My company has a very high security standard.
They have you digitally agree to usage conditions, and then have to activate you somewhere on a firewall...
They are using WOSH (whatever that is) ?
Now officially they said it would be only for rotten Apple phones. However i was told in confidence by enterprise application support it would work on any phone having exchange capabilties.
I have tried several programs: k9, touchdown, and now that standard android one.
In the guide to set it up for apple the information to enter is almost the same:
I now try with settings/accounts/add acount
email adress:
[email protected]
password:
Abcd1234
Next it fails and continues with:
domain/username
servercorp/firstletterlastname (1st letter of your first name + 7 of your last name)
password:
Abcd1234
Server:
wosh.server.com
Then there are options for using SSL
Use secured SSL connection
Accept all SSL certificates
here it mentions some ID: androidc2398921038
Client Certificate
This is how far I get, the guide continues with having to set a PIN after succesfull connection.... ?
I tried many permentations, in all cases I get "could not connect to server", i checked the server (wosh.server.com) it does resolve but does not allow ping.
Particulars / questions:
In the guide from work it does not mention SSL settings (and I tried with and without). In the guide there is a seperate field for Domain. The domain/username field shows up like that but in the prefilled example it show the slash backward instead of forward (\ vs /) I tried both to no avail.
Is there something specific to how apple phones identify themselves ? Can I mimmick that ? Could it be that kind off ID ?
Since they are so security sensitive could it be i need a client certifcate (it is not mentioned in the guide) ?
Are there any tests (telnet ?) i can do to find out the correct settings/changes ?
It is alot, I know, hope someone has an idea ?
Arawac said:
Hi guys,
Shoot me if this particular issue has shown up somewhere... (couldnt find it)
I am having problems connecting to the exchange server at work. My company has a very high security standard.
They have you digitally agree to usage conditions, and then have to activate you somewhere on a firewall...
They are using WOSH (whatever that is) ?
Now officially they said it would be only for rotten Apple phones. However i was told in confidence by enterprise application support it would work on any phone having exchange capabilties.
I have tried several programs: k9, touchdown, and now that standard android one.
In the guide to set it up for apple the information to enter is almost the same:
I now try with settings/accounts/add acount
email adress:
[email protected]
password:
Abcd1234
Next it fails and continues with:
domain/username
servercorp/firstletterlastname (1st letter of your first name + 7 of your last name)
password:
Abcd1234
Server:
wosh.server.com
Then there are options for using SSL
Use secured SSL connection
Accept all SSL certificates
here it mentions some ID: androidc2398921038
Client Certificate
This is how far I get, the guide continues with having to set a PIN after succesfull connection.... ?
I tried many permentations, in all cases I get "could not connect to server", i checked the server (wosh.server.com) it does resolve but does not allow ping.
Particulars / questions:
In the guide from work it does not mention SSL settings (and I tried with and without). In the guide there is a seperate field for Domain. The domain/username field shows up like that but in the prefilled example it show the slash backward instead of forward (\ vs /) I tried both to no avail.
Is there something specific to how apple phones identify themselves ? Can I mimmick that ? Could it be that kind off ID ?
Since they are so security sensitive could it be i need a client certifcate (it is not mentioned in the guide) ?
Are there any tests (telnet ?) i can do to find out the correct settings/changes ?
It is alot, I know, hope someone has an idea ?
Click to expand...
Click to collapse
So which client are you using now? This one?
If so format under Manual setup is:
domain\loginid
account pw
server.domain.ext
Use SSL
Accept All SSL
The ASOP client linked above supports (and ignores) most Exchange Policies.
If that doesn't work it's server related, it may pay to check in one of these threads but I don't know if they'll help with server issues:
http://forum.xda-developers.com/showthread.php?t=655649
http://forum.xda-developers.com/showthread.php?t=775007
Success.
yup using that one,
checking the other threads you posted..
hmmm,
In this http://forum.xda-developers.com/showpost.php?p=12005679&postcount=49
you post some code aswell, do i need to use that to install the email.apk ? i just copied to sd and installed from there...
For starters I would like the policies implemented, scary i know, but at least I will adhere to company policies
Is there a way to check the device ID ? seems like different apps send different device IDs
Arawac said:
hmmm,
In this http://forum.xda-developers.com/showpost.php?p=12005679&postcount=49
you post some code aswell, do i need to use that to install the email.apk ? i just copied to sd and installed from there...
For starters I would like the policies implemented, scary i know, but at least I will adhere to company policies
Is there a way to check the device ID ? seems like different apps send different device IDs
Click to expand...
Click to collapse
Yes, it needs to run from /system/app/ so you'll need to follow the instructions on that page or use Root Explorer to drop it in there.
If you want one with Exchange Policies implemented you'll need to get a stock Froyo one from a custom rom somewhere (my Nexus ROM has it, see sig but make sure you get the CM6/Froyo version).
Not sure about device ID.
well I put the app on system app, using the sdk, seems fine only still not possible to use the exchange server....
Arawac said:
well I put the app on system app, using the sdk, seems fine only still not possible to use the exchange server....
Click to expand...
Click to collapse
I think you'll need to check with your server admin sorry.
NP thanks for the help, also tried the stock one from your sig (not the gingerbread one) same result unfortunately...
Has anyone managed to get Excange Server to work?
I get it to work the first ½ hour (mail appears quickly, but calender and contacts takes quite some time to load).
Now the issues:
- After about ½ hour it cannot sync anymore unless removing and reinstalling Exchange Server. What is the trick?
- I do not get to understand why all my contacts disapear if I remove Exchange Server. Any way to have them saved?
- I cannot edit my appointments, only add alarms. Perhaps another calender program?
- Can the different calenders (google, outlook and LG PC sync) be merged
Phone just hard reset and only Exchange Server activated. Without the Exchange Server I do not want to keep the phone. At the same time it works fine on my Wildfire (from where I comy the settings) and on my Touch Diamond.
Nuri58 said:
Has anyone managed to get Excange Server to work?
I get it to work the first ½ hour (mail appears quickly, but calender and contacts takes quite some time to load).
Now the issues:
- After about ½ hour it cannot sync anymore unless removing and reinstalling Exchange Server. What is the trick?
- I do not get to understand why all my contacts disapear if I remove Exchange Server. Any way to have them saved?
- I cannot edit my appointments, only add alarms. Perhaps another calender program?
- Can the different calenders (google, outlook and LG PC sync) be merged
Phone just hard reset and only Exchange Server activated. Without the Exchange Server I do not want to keep the phone. At the same time it works fine on my Wildfire (from where I comy the settings) and on my Touch Diamond.
Click to expand...
Click to collapse
Using two exchange servers on mine.. Aosp email client wo sec.
Sent from my LG-P990 using XDA App
Nuri58 said:
Has anyone managed to get Excange Server to work?
I get it to work the first ½ hour (mail appears quickly, but calender and contacts takes quite some time to load).
Now the issues:
- After about ½ hour it cannot sync anymore unless removing and reinstalling Exchange Server. What is the trick?
- I do not get to understand why all my contacts disapear if I remove Exchange Server. Any way to have them saved?
- I cannot edit my appointments, only add alarms. Perhaps another calender program?
- Can the different calenders (google, outlook and LG PC sync) be merged
Phone just hard reset and only Exchange Server activated. Without the Exchange Server I do not want to keep the phone. At the same time it works fine on my Wildfire (from where I comy the settings) and on my Touch Diamond.
Click to expand...
Click to collapse
reidar.ostrem said:
Using two exchange servers on mine.. Aosp email client wo sec.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=12005679&postcount=49

Can't log in to Yahoo e-mail.

I've had this problem since day 1 whenever running the stock ROM. (It worked fine with Honeystreak.)
Whenever I try to log in to my Yahoo account through the android e-mail app, it says it "Authentication Failed."
Is this a common problem, or something that is wrong with my device? I know there are cases where seeming software issues are caused by something wrong with the hardware, and I'm hoping this isn't the case.
i'm having the same issue. wondering if its because i have free yahoo and not paid? i know with my domain email i can log on, but its not push.
glad i'm not the only one. I have the wifi only DS7. I guess I could see where they might restrict mobile users to this feature...even though they have an app for it
Gonna try to pull down the APK from the market on my droid phone and put it up on dropbox, then pull down to the DS7.
edit: added apk...i can't see it on the DS7 in market, but I can on my phone. Maybe they think it's not compatible? No widgets, but it's a nice clean, quick interface.
Have you tried doing a manual setup? In incoming server settings, change the imap server to android.imap.mail.yahoo.com and set security type to ssl. Then go to out going settings and change SMTP server to android.smtp.mail.yahoo.com and security type ssl.
I had the same problem when first trying to get it set up. Changed those items and no problems.
Sent from my Dell Streak 7 using Tapatalk
My delete still doesn't work! I delete something on my DS7, but it doesn't delete it in my actual Yahoo email. Although it marks items as read! I added android before both address (already had SSL on) & I have Yahoo Plus.
Any ideas?

[Q] 80048888 email certificate errors

I guess at some point virginmedia resigned their email certs.
From that point onwards I have been unable to send emails.
I have tried deleting the account, manually installing the new cert, unticking SSL, using alternative smtp servers. rebooting, adding :465, adding :462:1.
None of the above works on my Lumia 920.
The only way that I can send an email is via my Hotmail account but TBH I don't know hat the address of the Hotmail account is (actually Outlook shows me that the address is [email protected])
Has any one managed to get past this issue? I guess if I could navigate to the cert and delete it all would be fine.

Categories

Resources