yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jsmonu:
It seems like a bug with Lollipop (or with the way this app works in standalone) where all emails are being downloaded from scratch all over again.. that, of course, causes major battery drain.. Has anyone found any other way of using Exchange email (bypassing the PIN lock) that works seamlessly on N4 and Lollipop? :(
[Android Apps and Games] trystan2k:
I have bought Nine app, and it is working great for about 1 month. Before I have tested MailWise but once I discoverde Nine (even if it is paid), I stick with it... You can bypass the PIN lock, or (as I did) let it just for when opening the app (if not opened in last 15 min)... Works great !
[Android Apps and Games] MrNIGHTLIFE:
My calendar isn't syncing the exchange entries in the calendar app. Is anyone seeing the same behavior?
[Android Apps and Games] radu990:
Hi guys,

Any idea how to edit the apk and change the sync period to 5 min instead of real-time of 15 min?

Thanks
[Android Apps and Games] ins5736:
lollipop question:

For those who have this working on Android 5, can you please give information on which GApps package you started with, as well as the mod package and install method used? Thanks!
[Android Apps and Games] humzat:
i flashed this on my cm12 note 4 and the stock email app just crashes after i flash this...any solutions?
[Android Apps and Games] mishko:
Try to clear app's data. That worked for me.
[Android Apps and Games] diegolopez10:
Hey [MENTION=3336827]efattal[/MENTION], will this continue to work on 5.0.2??

If not (I really haven't tried it), can you upload again with 5.0.2 email apks?

Thanks man
[Android Apps and Games] efattal:
You can use the same files. Still working on 5.0.2.
[Android Apps and Games] diegolopez10:
Will give it a shot. Thanks man!
[Android Apps and Games] marcotics:
Wait now for some reason it has stopped pulling emails completely.... :'( bummer
[Android Apps and Games] mcfisch:
This I mentioned already. Change the sync interval to 5 minutes, switch back to the original files or use a KK version (works on LP as well).
[Android Apps and Games] Devon.gtx:
Thank you ....................................................................................
[Android Apps and Games] DAE51D:
Couldn't get ExchangeNoPIN-v6.0 to work, NINE works flawlessly

https://play.google.com/store/apps/details?id=com.ninefolders.hd3

No way in hell I was going to accept the draconian policy that Exchange wants to take over MY personal phone just to check email and get calendars. I couldn't ever get NOPIN to work on my Galaxy S4 (it always crashed on Exchange setup, but regular email worked fine). I also love how it adds "Nine Email \ Notes \ Tasks" to any < share icon menu.

My only wish is that this app supported regular IMAPS email accounts too so I could get rid of the default "Mail" app all together. It appears it is ONLY for Exchange services unfortunately. So 4 stars instead of 5.
[Android Apps and Games] el_angelo:
Hmmm i just flashed a CM12 on my sony xperia T (mint) (http://xdaforums.com/xperia-t-v/orig-development/rom-cyanogenmod-12-neo-s-homebuilds-t2984988) but this doesn't seem to work for me (keeps asking to set a pin code). I tried the adjusted version for lollipop a couple of posts back too and that just makes email crash for me.

Used to work perfectly for me on 4.4.4 :(
[Android Apps and Games] Stiflerlv:
I have a question.

Im running Galaxy S5 on android Lolipop (5.0).

When looking in system/app, I can see, that there are 2x folders "SecEmail_K" and "SecExchange" containing apk files (names are SecXXX aswell). How should I install this mod? Can I just rename downloaded apks? Or I need to get different apks for my phone?
[Android Apps and Games] fversteegen:
I had this working on 5.0.1, but after installing the 5.0.2 update (this morning) I got forced in putting a pin/password in. Running the AntaresOne rom which does not come with Gapps.
[Android Apps and Games] GeorgeM269:
you should flash the bypass again, probably it got overwritten by the update.
[Android Apps and Games] timonoj:
Well, as long as you don't mind someone else getting your hands on your email...all of it. I mean, yeah, gmail is getting all my gmail data. But at least it's not getting everything else.

Anyway, i wanted to ask...The patched version for CM12, is there any hope to get it to fully receive pushed emails? I'm using it on a GPE S4 (not CM12), and so far it works for a while, then get the problem some other people reported, email stops receiving the pushes.
[Android Apps and Games] DAE51D:
Can you be more specific? the email should only be between my Nine app and my company Office365 server. Or do you know something we don't?
[Android Apps and Games] DAE51D:
This is the reply I received from 9folders support after inquiring about security from your post. However, your gmail DOES store everything and Google happily hands your data to the NSA. I'll take my chances with Nine first thanks. :p
[Android Apps and Games] timonoj:
Whoah, my apologies...I mistook your app for one of those ones concentrating several mailboxes. I recalled yours being one of them. My bad for posting wrong information without even checking...Sorry!
[Android Apps and Games] pinkman1:
Ain't working for me. Cm12 5.0.2 nexus 4

Do I need to do something else beside flashing the zip file ?
[Android Apps and Games] the_newbie:
Same request.

It's possible to remove PIN and also device admin requirements?

Really thank you
[Android Apps and Games] billyx1:
I ended up to use this version: http://xdaforums.com/showpost.php?p=53895166&postcount=893

All those posts about Nine are annoying. Could you please move to an other thread discussing an other app?
[Android Apps and Games] Nekromantik:
None of the L apks work.

Keeps asking for pin. Im on HTC m8 gpe.

Anyone on here got it working on a GPE 5.0.1 Rom?
[Android Apps and Games] blyndfyre:
For everyone having trouble getting this to work I suggest you try this app:

https://play.google.com/store/apps/details?id=com.syntomo.email&hl=en

Be sure to read this FAQ to enable Exchange Security Bypass:

http://mail-wise.com/faq/#bypass
[Android Apps and Games] Captain_Throwback:
Yes. This mod is in [MENTION=3400685]digitalhigh[/MENTION]'s GPE ROM for the M8.
[Android Apps and Games] sanioclement:
lollipop

is it working with lollipop ?
[Android Apps and Games] sanioclement:
Wow ! It works perfect . Thanks a lot

---------- Post added at 08:55 AM ---------- Previous post was at 08:55 AM ----------

Wow ! It works perfect . Thanks a lot
[Android Apps and Games] wassimo78:
Hi,

sorry but the link is not reachable... :'(

please....

Work on I-9505 with CM12?

thank you so much!

MAX
[Android Apps and Games] bradley_e_smith:
Thanks, tried it and my phone keeps rebooting when I go into the app. I am on an HTC One M8 running a GPE 5.0.1 rom (http://xdaforums.com/htc-one-m8/development/rom-m8-gpe-01232015-t3010825)
[Android Apps and Games] sanioclement:
this bypass is making my device warm more than usual so revert backup.
[Android Apps and Games] blyndfyre:
Working great on my 5.0.1 Moto X 2014
[Android Apps and Games] sanioclement:
my phone started heat very quickly.:(:crying:
[Android Apps and Games] bradley_e_smith:
using stock kernel seems work better for me.

Nice rom, changing to the stock kernel I no longer have any issues with the ROM.
[Android Apps and Games] blyndfyre:
Using the method in the OP or the app I suggested? I'm using MailWise app with two exchange accounts that both require security, I have both bypassed and everything is running superb!
[Android Apps and Games] sanioclement:
by the app you suggested but after wipe cache its started to work awesome. Thanks:o might problem with my rom
[Android Apps and Games] rjames123:
Anybody installed this app over cm12 ? If so , can you please post exact steps as i am unable to get this working .

I am running stock kernel and latest cm12 official nightly

Sent from my 1+1
[Android Apps and Games] sheraz2:
Are you trying the mail wise app. As that is working smoothly on my cm12
[Android Apps and Games] rjames123:
Yes, for now I am using mailwise . Just wanted to check if this app is possible.

Sent from my +1
[Android Apps and Games] rweddy1:
So you have gotten this to work?

I have tried several LP ROMS & several GAPPS packages and cannot get it to work with either email or gmail apk.

But it works perfectly on any 4.4.4 ROM with both apps.
[Android Apps and Games] rjames123:
Nope, I am tired trying it and using Mailwise now . Mailwise is superb , but just has ads on it . May be I will try to pay and get the ads cleared.

Sent from my +1
[Android Apps and Games] sanioclement:
Try touchdown or Nine they are simply awesome
[Android Apps and Games] zork92:
Hi Stiflerlv,

Did you manage to remove the exchange security, ie. did you successfully replace the SecEmail_K and SecExchange files?

Thanks for your help
[Android Apps and Games] cornelito:
Nine app looks great but i cannot send any emails. It asks me to install certificates??? Other than that all good. Im receiving the emails etc. How to solve the issue with certificate?
[Android Apps and Games] dansan382:
i switched to Nine and wont be looking back.

I already have a PIN on my phone so no idea if it will ask you to set one. Good news it didn't force itself as a device admin and locked down to only the app level.
[Android Apps and Games] sanioclement:
while setting up dont click Certificate Install simply click Next . both apps are having app level security so it will not lock your screen all the times.
[Android Apps and Games] rweddy1:
I am loving 9 also, well with the $10
[Android Apps and Games] Rawi666:
Patch for CM12

If someone wants patched Email/ExchangeServices for CM12 you can grab my patch here cm12exchange_fix20150222.zip

Full changes I've made are available here:

https://github.com/Rawi666/android_packages_apps_Exchange

https://github.com/Rawi666/android_packages_apps_Email

A few important things to know:

1. There are no survival scripts in my package so remember to reflash this patch after each rom reflash!

2. I removed the remote admin installation completely - there are no any warnings/additionals instalations whatsoever

3. I completely removed remoteWipe instructions from ExchangeService but this patch will still inform Exchange server that the wipe has started successfully :)

Before installing this patch please remove your already existing exchange account and remove currently installed remote admin (if you previously agreed to install it using any other app)
[Android Apps and Games] cornelito:
Will this work for LP TW?
[Android Apps and Games] Rawi666:
And what is LP TW? Lollipop TouchWiz? If so then no.

This is only for CM12
[Android Apps and Games] daniello8:
Sorry for being OT .. but could you give me a hint how you made the zip file. I have patched apk files but I didn't manage th make a zip that runs through twrp without an error message about the update binary.
[Android Apps and Games] Rawi666:
If you want to flash other files just use 7zip and put your files into the archive. All the patch does is to unpack 'system' folder into / directory and thats all
[Android Apps and Games] daniello8:
Will give 7zip a go .. with KK it was plenty to just copy stuff to zip file with total commander .. maybe Lollipop is more finicky about this.
[Android Apps and Games] sanioclement:
Thanks Rawi666, I am using RR 5.3.6 CM12 based , can i use your cm12exchange_fix20150222.zip to flash ? could you please give me instructions ?
[Android Apps and Games] Rawi666:
I tested it only on CM12 but if you are using CM12/AOSP based roms then I think it should work.

In worst case if it doesn't you'll have to reflash your rom to restore Email/Exchange to its original state and that's it.

Try it and let us know if it works.
[Android Apps and Games] sanioclement:
Thank you Rawii666 it is working like charm.

Will it work if I take titanium backup and restore on the same cm 12 base ROMs. ?

Running on RR LP 5.3.6
[Android Apps and Games] Rawi666:
Theoretically Titanium should do the trick on condition that you'll backup 2 apps:

Email

ExchangeServices

Backuping only Email will work only partially - if remote wipe is issued by your exchange administrator then the phone will be wiped... Keep that in mind.

But generally restoring system apps in titanium is not recommended AFAIK.
[Android Apps and Games] sanioclement:
Thank you Rawii666

Sent from GT N7000 - running on RR LP 5.3.6
[Android Apps and Games] sanioclement:
Suddenly email app keep throwing errors so I disabled and re enabled now I lost my all emails again I have to set it up,. Any idea why its happened?

Sent from GT N7000 - running on RR LP 5.3.6
[Android Apps and Games] Rawi666:
1. Provide logcat if app crashes (works fine for me all the time)

2. Have you flashed newer/other rom and forgot to reflash email patch?

3. Have you played with titanium backup and restore around email/exchange?
[Android Apps and Games] sanioclement:
Please find my answers below

1. Provide logcat if app crashes (works fine for me all the time) - I don't know how to get the logs please provide the link

2. Have you flashed newer/other rom and forgot to reflash email patch? No

3. Have you played with titanium backup and restore around email/exchange? No
[Android Apps and Games] Rawi666:
Install for example this logcat viewer https://play.google.com/store/apps/details?id=com.nolanlawson.logcat

Enable root access if it asks.

Launch email and make it crash.

Switch to Catlog and save the whole log to a file.

Put the log somewhere and provide link, thats all.
[Android Apps and Games] sanioclement:
Thank you !

I am trying to make it crash after setting up the email again.
[Android Apps and Games] Hawke84:
anyone got this working on touchwiz lollipop yet?
[Android Apps and Games] amolin32:
It is funtional on Note 4 stock rom 4.4.4?
[Android Apps and Games] folefole:
Great work thx but I have few question or better suggestion to have perfect app. I don't know can you help but maybe you know some one...

1. Attachment is not good solved you have to scroll on end of message to see what I got it. So if you have too much "quotes" you finger is have to scroll and scroll and scroll until end off messages. Is there any way to be better and put attachment info first just after sender info???

2. Can you add line between two mail like on picture when you send from mob app there is no line to separate two mail and it is difficult to see when is end of mail...
[Android Apps and Games] Rawi666:
This is the stock AOSP/CM12 email app and I don't want to change it in terms of functionality and look.

If aosp team change it then I'll pick these changes to my modification.
[Android Apps and Games] folefole:
this is app???

https://play.google.com/store/apps/d....android.email

to send im mail for these changes???
[Android Apps and Games] VanillaG0rilla:
Is the link down? Says it needs space or something.
[Android Apps and Games] VanillaG0rilla:
Links working again.

I can't get this working on my LG g3. I'm rooted on 4.4.2 with the stock Rom. I tried the 6.0 version and 5.0 version of the app. It won't connect to my exchange server. Any ideas?
[Android Apps and Games] Flandry:
Brilliant patch idea in OP but gah i've got CM11 (4.4.4) and tried replacing the two apks with four different versions posted here (6.0 plus the versions posted in-thread for 4.4.2, 4.4.3 and L preview), and all of them give me the same problem: when i try to create an exchange account, it contacts the server for configuration, then announces it is "Validating server settings", whereupon after a while it invariably fails with "Couldn't finish Couldn't open connection to server". If I hadn't gotten past this step (much) earlier today before i went down the rabbit-hole of this thread, I would think maybe I had the wrong account info or URL.

I've cleared app data, deleted dalvik cache and cache, restarted etc. every time and no go. Any ideas?
[Android Apps and Games] irrrze:
The error looks like something related to mail server configuration, rather than apk issue itself, did you enable TLS?
[Android Apps and Games] Flandry:
It could be. I had this account set up before on my original Gingerbread rom but it didn't make me agree to any of that admin stuff. I have no other experience setting up Exchange accounts.

When I first set up the account on the CM11 rom, I entered the same information I have entered now and got to the point that it was asking me to accept having a deadman switch etc. on my device. That's when I went and found this thread. I deleted that account and have cleared the data for Exchange and mail several times but i dunno maybe there is something stuck in the system. "Security type" is left on default SSL/TLS like it was the first time around, but i do notice that if i click on the Select button for Client Certificate, it tells me I have to select a pin before I can use that. I didn't select that option before, though.

All of this just to access the faculty email on my device seems ridiculous, but there's no way i'm agreeing to the draconian control measures that exchange server was asking for. I'll just check my account from the laptop if it comes to that. Sigh.
[Android Apps and Games] Flandry:
Got it sorted. I'm not sure why the original configuration before this patch worked without fiddling with the settings, but for the subsequent setup i did have to change some settings before it notified me that security measures would have to be enabled. That it never required me to enable the administrator after finishing setup and sync is a good sign.

Thanks again to OP for the patch.
[Android Apps and Games] djspacebug:
Awesome job man!! I have been seeing something strange on the app. The "push" method of delivering email has stopped working and there is no rhyme or reason to it. I have tried it on wifi and the cellular network and the only way it is working I perform a manual sync. Any thoughts would be greatly appreciated. Thanks!!
[Android Apps and Games] Rawi666:
As far as I'm aware this is a bug in google implementation of ActiveSync in 5.0.1 as the same issue occurs on stock Email app and this app hasn't changed for a very long time.

Push notification was working fine on kitkat and started to malfunction in lollipop so I think we need to wait for android 5.1 which may (or may not) have the fix for it.

The other solution is to use 3rd party email apps that implements ActiveSync on their own :(
[Android Apps and Games] DBCoop:
Does this work with the standard Lollipop Gmail app? I followed your directions and it isn't working, I'm still prompted to activate security and it is enforced.
[Android Apps and Games] MrSparky:
Lollipop 5.0.2

Anybody got this working on Lollipop 5.0.2 (stock Verizon LG g2 rooted)? If so how?

I have disabled the build in Email app using Titanium. When I try to install the apk I get the permission info screen, I click on install and then just get an error message "app failed to install"

I have tried the manual method of copying the two files to system\app but in this version of Lollipop all the apps are in system subfolders. The original email apk is in system\priv-app so I am not sure where the mod apk should go.

Thanks
[Android Apps and Games] arpcpro:
So you got it to work properly with CM11 Kitkat 4.4.4?

Just like this? - "flashed the v6.0 zip from craigacgomez and then manually copied the apk's from irrrze"

"... but for the subsequent setup i did have to change some settings before it notified me that security measures would have to be enabled. That it never required me to enable the administrator after finishing setup and sync is a good sign."

Do you remember which setting were?
[Android Apps and Games] apeh2000:
Rawi666, will your CM12 .zip file for exchange bypass work on an Android 5.1 ROM? I have a Nexus 6 running the 5.1 LMY47O rom.

thanks,

Android noob.
[Android Apps and Games] fix my nexus 6:
nexus 6 running 5.1 device manager locked aka Google cuckold

So i have this lovely new phone I spent a pretty penny on

And I can't use it... i just get to hold my baby in my hands while I am forced to watch Google have it's way with my betrothed... i beg of you kind folks, is there any way I can be reunited with my love? Either with the method talked about in this forum or by any means necessary. . Thank you
[Android Apps and Games] Rawi666:
Here is patch for CM 12.1 ROM (and most probably other 5.1 AOSP roms).

cm12.1exchange_fix20150420.zip

Sources are on github here and here

Before installing this patch please read my post #1105 as this patch can:

kill your dog

crash your car

...and cause many other disasters

To be honest I rebased my patch with CM-12.1 branch and recompiled it but I haven't tested it yet.

I should switch to CM-12.1 in a matter of days.

However, I'm 99.9% sure it will work fine.

In case of any failures you can of course reflash your rom and the patch will be reverted without any issues.

Please let me know if it works (but on CM-12.1 or 5.1 AOSP roms. On other roms it will fail for sure).
[Android Apps and Games] ashah87:
Any luck getting this to work for you? I am on VS985 Skydragon 4.0
[Android Apps and Games] insty:
Works perfectly on my Nexus 6 5.1 running Chroma.

Thanks!
[Android Apps and Games] KlausR:
It works for com.android.mail V 5.1

but not for com.google.android.gm V 5.1.907.... (keeps asking for the same security credentials as ever before)

I'm using cm-12.1-20150419-UNOFFICIAL-i9300 by [MENTION=5161352]JustArchi[/MENTION] http://xdaforums.com/showpost.php?p=59749473&postcount=1
[Android Apps and Games] Rawi666:
This won't patch GMail app as it's properietary and there are no sources.

Only Email app will be replaced.
[Android Apps and Games] KlausR:
That's just fine. Thanks for your work
[Android Apps and Games] jayhon:
I've got it working on CM12, 5.0.2. I used the recovery version and installed it after my ROM, GApps, and SU. In that order while still in recovery. Works swimmingly.
[Android Apps and Games] smolly:
Hoi, did you already switch to cm12.1?

Your patched file is no longer working with the latest nightlies. After installation of the zip, the email app is gone. It was working fine on an version from last week.
[Android Apps and Games] Rawi666:
I've switched a couple of hours ago.

Here is compilation with latest CM12.1 commits LINK for 2014-04-21

I think the previous package should work as well - there has been only 2 small bugfixes since yesterday.

Anyway, this one works fine for me.
[Android Apps and Games] smolly:
Hoi [MENTION=4254900]Rawi666[/MENTION], solved and working flawlessly.

There was a problem in the version of ROM I had installed. THX for your fix :good:
[Android Apps and Games] howie040:
Works flawlessly on Pre-rooted Sony Xperia Z1 5.0.2 stock lollipop !! Installed via recovery. (used link of 2 posts up)

Thought this would only work on CM/AOSP?

Thanks!
[Android Apps and Games] billyx1:
Works great on my Nexus 5. Finally the updated version of the Mail-App! Thank you!
[Android Apps and Games] fooraide:
Hi,

I've tried flashing cm12.1exchange_fix20150420.zip on the latest CM 12.1 nightly (20150426) on my OnePlus One and I'm able to add the account without setting up an administrator.

However, when going into Settings -> My e-mail address -> Folder Sync or Folder Notification Settings, the Email app crashes right away.

This is necessary for syncing folders other than the inbox and thus, pretty important.

Let me know if you need any other info to look into this.. Thanks.
[Android Apps and Games] Rawi666:
Version from Apr 20 had a bug that cyanogen team patched on Apr 21.

Grab the latest version from Apr 26 from here - cm12.1exchange_fix20150426.zip

Let me know if it works for you as I've just tested the case you mentioned and it works fine for me.
[Android Apps and Games] Rawi666:
Nope, this is wrong version.

My version from 04/26 should be "5.1.1-ec7dc52676".

Do you remember to reflash my patch

after each rom

flash?
[Android Apps and Games] Sercan Ali:
Hi [MENTION=4254900]Rawi666[/MENTION] should we flash 2604 version? 2004 version works well??? And should we only flash from cwm recovery? Cache and dalvik wipe needed before flashing?