yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Rawi666:
You can flash 2604 version, it has a couple of bugs fixed but 2004 works good as well.

Flash from CWM recovery, no need to wipe cache/dalvik
[Android Apps and Games] Sercan Ali:
I flashed over 0420 but it didn't change the previous version. I entered the zip, in app folder manually re installed mail app and exchange service app. After installation the version is correct now. Should the process be like this??? And nova launcher's Tesla sometimes doesn't give the correct unread count...Is this a bug?
[Android Apps and Games] Rawi666:
You should never install it as a normal app ;)

That's why you couldn't update the app after flashing from CWM.

Uninstall the app (and service) and always flash from cwm. it's just easier to maintain.
[Android Apps and Games] Sercan Ali:
Let me repeat in order:

1- I have the 04/20 apps. Now 04/26 available.

2- If I want to update to the 04/26, first one uninstall the apps from settings/apps

3- Then flash the update from CWM ( no need to wipe dalvik/cache, just install zip and reboot )

4- After flashing I should see the apps installed. ( then will my initial setup of e mail appear? Or should I re setup from the beginning? )

Is the procedure like that? Also, for instance in cm12.1, each day a nightly arrives and we flash the updates. Should we follow the procedure above each day?
[Android Apps and Games] fooraide:
Yup, works with the version from 26, thanks !
[Android Apps and Games] Rawi666:
ad 1,2,3,4

If you installed 04/20 manually (not from CWM) then yes. Uninstall everything manually (Email + Exchange services, I assume you installed both apks manually) and then flash from CWM.

Always flash through CWM and don't install exchange fix manually.

After each CM12.1 flash you need to reflash the exchange fix from CWM as CM installation overrides Email app.
[Android Apps and Games] MOTOdetektor:
really great work!
[Android Apps and Games] degsyh:
Hi, I'm using this on a rooted Lollipop Z1. Everything seems to work ok but I don't get any notifications for new messages despite the settings being on - any ideas?
[Android Apps and Games] LUISBITS:
Muchas gracias amigo :cowboy:
[Android Apps and Games] Rawi666:
Android 5.0.x has some issues in this matter.

On Android 5.1.1 (CM12.1) I think push notifications are working, at least for me.

Just make sure to set up notification in

Settings->Folder notification settings->[Folder]

to show notifications.
[Android Apps and Games] Sercan Ali:
Hi, it didn't work for me. Installed manually again. But no problem after manually installation. Can I continue to install it manually? I mean downloading zip, opening it and installing updates over current apps??? In zip there is also another folder named Meta. Should I copy it any where? ( sorry for my noob question )

Also I realize that fetching attachments doesn't work. The e mail app can't open attachments. Is this a bug?
[Android Apps and Games] Rawi666:
I have never tested the app when installed manually, but if it works...
[Android Apps and Games] benthomp85:
How can I remove this mod and go back to normal? I'm on the latest cm12.1 nightly (28/4)
[Android Apps and Games] Rawi666:
Reflash your rom and it's back to normal
[Android Apps and Games] joeyjoey022:
good work keep it up!

really lke it
[Android Apps and Games] Sercan Ali:
Fetchİng attachment

Hi,

Is there any solution for fetching attachments problem?

Thnks
[Android Apps and Games] Dirtbiter:
I have been using GMail on my Nexus running Android 5.1 (LMY47I) stock.

This: http://xdaforums.com/showpost.php?p=56828174&postcount=1012 is still working fine.

Play Store tells me that there's an update for the GMail app.

Off course, if I would update using the Play Store, the mod would be disabled.

Does anyone have, or know where to find, the latest GMail app with security bypass?
[Android Apps and Games] Sercan Ali:
Can anyone open attachments? Fetching forever....
[Android Apps and Games] Rawi666:
CM 12.1 Email/Exchange fix from nightly 05/02 is here

I'll be putting new updates regularly to this directory so that you can always check and grab the newer version (if it exists).

In 05/02 CM team added custom led lights notification customization so if someone uses pure AOSP (non-cm12) rom and experiences some issues please use 04/26 version - it's more rom-neutral.
[Android Apps and Games] Sercan Ali:
[MENTION=4254900]Rawi666[/MENTION] should we first uninstall 26.04 fix? I mean uninstall email app from system apps and than flash 02.05 from recovery? Or can we just flash it over 26.04 via recovery?

Also is there any solution for fetching attachment error of email app? Can you open attachments via stock e mail app? ( from gmail I can open but in corporate email I can't. ) At once we could open corporate e mail just in gmail app. Now I think no option like that?

Tnks for your great work
[Android Apps and Games] Rawi666:
You shouldnt have to uninstall anything if you flashed from recovery.

The problem with your case and attachments is that there is no CM12 for I9100 and your rom you are using is not working properly.

This patch is for CM 12.1 and this is a system app.

As the app is for different rom that you have there is no way to make it work properly apart for recompiling it for specifically your rom
[Android Apps and Games] Sercan Ali:
Thanks for the reply, I am using cm12.1 by lysergic acid. Is the stock email of that ROM not compatible?
[Android Apps and Games] Rawi666:
Most probably it isn't. Last good and proper rom for i9100 was CM 10.1 as I remember
[Android Apps and Games] Sercan Ali:
Can't I install a working Email app ( an Email version that can open attachments? ). If so where can I find that app?
[Android Apps and Games] devoidx:
you guys know of any mods that would bypass the exchange on outlook app?
[Android Apps and Games] xuggs:
I am on CNA which is also based of JRO03R and it work's perfectly fine. What issue do you have exactly?
[Android Apps and Games] Plesk8:
After following the instructions, I go to add an account. I get it added and all seems to be working fine. Then it begins "syncing messages" or "syncing inbox" or whatever it says. After about 15 seconds of "syncing" there are still no messages. Then I get a notification that says the exchange server must configure security on my phone - where I'm directed to the screen where I must accept all the security controls and set a PIN, etc. If I cancel this, the security notification persists, and I cannot use the Email app. There is no way to make the security notification go away unless I remove the exchange acct i just added.

This seems to be simply the behavior that i would expect if I had not even flashed this. Except I have.. following all instructions.. trying multiple times.

I was expecting messages to start sync'ing. with perhaps some alert about how Exchange Services had unexpectedly quit - during the first sync. This is how it worked in the past. When it was working in the past, I never got the security requirement notification.
[Android Apps and Games] xuggs:
Then it isn't flashed correctly. Go to /system/app using your favorite file manager and tell me if you see Email.apk and Exchange2.apk or do you see EmailGoogle.apk and Exchange2Google.apk or do you see all 4 of them?
[Android Apps and Games] Plesk8:
I see Email.apk and Exchange2.apk. none of those with Google in the name.
[Android Apps and Games] xuggs:
Then you are not using the mod at all. Do this: delete those 2 files and then add the other 2 from the mod on this thread. You will need to be in r/w mode to delete and add in /system/app. Before you do that remove any exchange accounts you have configured. Once you have the files in place, add your exchange account and it won't prompt you to add security policies. Good luck.

Sent from my Galaxy Nexus
[Android Apps and Games] taha.khader:
Rom Helly Bean

My company Have exchange server 2010 with SP2 , after Update My Rom using CM10 patch and i still can't add my exchange account

any one can guide me ,
[Android Apps and Games] Byonik:
FWIW, I'm not having any issues on my CM10-based ROM, but I think am using the AOSP version of the patch (and always have with CM10).

I do experience the exact problems you describe on Synergy, Beans, or any other ICS ROM that I manually patch using the java tool, but I have no issues on JB ROMs.

The No-PIN patch for ICS used to work consistently for me too, but not anymore. Not sure what changed, but I just can't deal with entering a friggin PIN 50 times day, so jellybean it is.
[Android Apps and Games] wethead4:
will this work on cm9? I'm looking for a simple flash method security bypass for cm9 like this one. all the ones i have seen requires you to use root explorer
[Android Apps and Games] clambert11:
Nope. The title of the thread says it all. Android 4.1 / 4.1.1. ICS is 4.0.4. Sorry. Maybe someone else is aware of another option.
[Android Apps and Games] Byonik:
There is a java-based tool you can run from a PC that will patch your existing email apps. That tool eliminates the need to use root explorer to replace your apks. Not 100% sure it will work with CM9, but it's worth a shot.

http://xdaforums.com/showthread.php?t=1117452
[Android Apps and Games] tuespazio:
I use the stock version, but anybody know is there is a version with search function?
[Android Apps and Games] grzesiok:
Hey All,

I am running latest CM10 nightly build, yet when I install the zip file via CWM, follow all steps (cache, dalvik), reboot it asks me to create administrator account for the exchange email. When I copy over files manually I am either getting email / exchange stopped working or no email in the launcher / no exchange settings in add account.

Any ideas?

Cheers,

Grzesiok
[Android Apps and Games] mkraftdet:
any updates for 4.1.2?

any updates for 4.1.2? or will the 4.1.X work?
[Android Apps and Games] the orange bandit:
Wrong thread, mods, please delete.
[Android Apps and Games] j3.cole:
How about 4.1.2 ? ;)

Edit: I have found the best way to find out if something works is to do a nandroid backup and give it a shot. My results are that it works flawlessly with 4.1.2, hence 4.1.x since I am on cm10 I flashed that one. Thank you for making this so easy.
[Android Apps and Games] k.electron:
would you mind sharing the code edits that you did to accomplish this? i am building an unofficial cm10 zip for my grouper and would like to incorporate this into there.

Thanks
[Android Apps and Games] mkraftdet:
4.1.X

I have tried 3 new ROM's with the 4.1.X for a 4.1.2 ROM and it wont work---help!
[Android Apps and Games] jumperalex:
Sorry to be obtuse, but when you say "doesn't work ..." do you mean the wipe does not occur after too many incorrect pins?

Also what about remote wipes? Rumor has it that if the IT folks see that you're accessing the servers with a phone they will remote wipe the phone. Last thing I need is a panicked call from my S.O. saying that her phone just got wiped :(
[Android Apps and Games] tanivula:
This fix is working for me on 4.1.2

I just replace the exchange 2 apk and use the email apk that comes with gapps for slim bean.
[Android Apps and Games] mkraftdet:
thanks

thanks!!!
[Android Apps and Games] Sercan Ali:
Can't we install a working E mail app? The only and important parts of an email are attachments of course, so in the builds of you there are both e-mail and exchange server apks. When we flash them the version changes. But I think first we should install official email app. Where can we find it?
[Android Apps and Games] ajislav:
I highly doubt LysergicAcid is making any custom changes to the Email app. I believe he is doing only the device-specific part. (I could be wrong, though).

OTOH, could it be some SELinux-related stuff? Have you tried with SE Linux set to permissive?
[Android Apps and Games] Sercan Ali:
Hi from another thread [MENTION=6159291]Lysergic Acid[/MENTION] :)

I'm using corporate email but the stock e mail app can't download attachments... Because my corporate forces some security issues, i should encrypt phone but encyption isn't working with lollipop. It always fc s. So i found a thread about securişty bypass. I flashed the patched email apk and exchange service apk in the thread, it works great but i can't download attachments, trying to fetch forever :) The owner of the thread says it may be about the rom. And another user ın the thread says it may be about selinux... What do you think about it?

Thanks
[Android Apps and Games] Lysergic Acid:
I get selinux denials while trying to encypt the phone ( I'm currently trying to fix it ), so yeah, could be anything.
[Android Apps and Games] mouf:
would like to do the same. did you get it working?
[Android Apps and Games] whitevilla:
Won't an update just kill the functionality of this hack?
[Android Apps and Games] smolly:
[/COLOR]

[MENTION=4254900]Rawi666[/MENTION], Any update since 20150502? Thx
[Android Apps and Games] Rawi666:
Here you go LINK

To be honest nothing has changed since 2nd May apart from 1 translation update.
[Android Apps and Games] iZack187:
Will this ever be officially upgraded to Lollipop?

I'm running 5.1.1 and it's crashing at the server configuration... Now it just appears "Waiting for sync" and it gets stuck there.
[Android Apps and Games] Rawi666:
It's already compiled for CM 12.1 (A 5.1.1) and it's running fine.

Do you remember to reflash the patch after each rom flash/upgrade?

Check logcat for error details.
[Android Apps and Games] iZack187:
Thank you for your prompt answer.

I'm running Chroma 5.1.1 and this is my first Exchange install, have not upgrading the ROM yet.

I'm not that familiar with logcats... I know the feature can easily be pulled in WUG's Toolkit, but there's so much info on it... Should I be doing something on the phone prior to pulling the logcat?
[Android Apps and Games] Rawi666:
First of all, download this file.

Flash it from the recovery. Do not install *.apk files manually extracting it from the archive.

If it still doesn't work install Catlog from play store.

When the app crashes/freezes/etc go to catlog and save all the log contents to a file and share the file.
[Android Apps and Games] Rawi666:
The part of logcat you included didn't contain any information about Email/Exchange crash.

Post full file somewhere (dropbox, google drive, etc)
[Android Apps and Games] iZack187:
Thank you for your time Rawi. I wanted to play around/troubleshoot by myself first lol. By uninstalling email+exchange, wiping dalvik/cache, reinstalling email+exchange, wiping dalvik/cache, reinstalling the fix, and rewiping dalvik/cache, now its able to work!

I get a brand new UI now (looks like Material Design), compared to before. So it seems the fix was not applied successfully at first.
[Android Apps and Games] Sercan Ali:
Hi [MENTION=4254900]Rawi666[/MENTION] is it possible to bypass exchange security on gmail app? If so it would be great...

Thnks
[Android Apps and Games] Rawi666:
Probably no, as its closed source software....
[Android Apps and Games] bradley_e_smith:
I use an app called mailwise, it has a built in exchange bypass built in, no hack
[Android Apps and Games] sansnil:
Yes, it is possible to bypass Exchange security requirements with Gmail. I use the Xposed module "Exchange Bypass for Lollipop" because my device is running 5.1.1 and it works great. There are a few different ways to do it but if you're rooted and use Xposed it's super easy.
[Android Apps and Games] Sercan Ali:
Thanks for reply dude. Any download link for xposed framework? I searched but couldn't find it:(
[Android Apps and Games] sansnil:
Wow, really, it's all over xda. :)

What version of Android are you using?

(There's a few different versions...)
[Android Apps and Games] Sercan Ali:
Hi, i have been using unofficial cm12.1 by lysergic acid on i9100.

By the way I found xposed for arm. Installed the module you addressed but when I try to add exchange account on gmail it says server connection failed. Any idea?

Thanks
[Android Apps and Games] sansnil:
Unfortunately Xposed is really intended for stock AOSP roms because customized roms have a lot of tweaks in them already that conflict with what Xposed does. Having said that I don't use CM but I do think some people are able to get it working with CM so you could post in that module forum and see if anyone has it working with your configuration.
[Android Apps and Games] Sercan Ali:
Thanks dude...
[Android Apps and Games] crakedparrot:
Pretty quiet in here...

Edit:eek:ops sorry wrong thread
[Android Apps and Games] arpcpro:
I have `Lollipop 5.1.1 [LegacyXperia] CM12.1` on my Xperia Arc S and I am not able to flash these zips. Are there any other tricks or it is just copy to sdcard and update from cyanogen recovery?
[Android Apps and Games] Rawi666:
Hmm, maybe cyanogen recovery requires different zip structure/signature, I don't know.

I have always used TWRP or CWM for flashing zips.

I'd try flashing TWRP recovery and flash exchange from TWRP.

You can also check if there is any option in Cyanogen Recovery like 'Toggle Signature Verification' and try to switch it off and then reflash exchange.
[Android Apps and Games] Grzesius:
It doesn't work for me. I have CM12.1 on Note3 and used latest version 2015.07.20.

I removed exchange account, cleared email.apk and exchangeService.apk data, flashed .zip via CWM, wiped dalvik/cache and I dont have application after boot. I installed it manually but it still want set up PIN. Any suggestions?
[Android Apps and Games] Rawi666:
Do you have /system/app/Email/Email.apk and /system/app/Exchange/Exchange.apk files on your phone?

If not then do you have /system/app folder?
[Android Apps and Games] Grzesius:
I have all folders. Root cause were permissions. I have changed them and owner also and now it is working! :)
[Android Apps and Games] mew1033:
Any chance of getting this to work with Exchange Services APK?
[Android Apps and Games] Rawi666:
ExchangeServices need to be replaced as well. You cannot replace only email.apk without exchange services apk
[Android Apps and Games] praveenyashwanth:
Please help

i have IBM lotus traveler installed and it asked for the admin roles i have gives while installing and now it changed my lock screen password to hell PIN 10 digit.

please guide me if i do this method will it work for that IBM lotus traveler app also ?

thanks,

Praveen Bindla.
[Android Apps and Games] walteroa:
Did it work with lollipop 5.1.1 and touchwiz? (I have a galaxy s6, rooted)
[Android Apps and Games] bsilvertab:
Has anyone tried this mod on Marshmellow?
[Android Apps and Games] Nekromantik:
I will need this for Marshmellow as Im getting Nexus 6P soon.
[Android Apps and Games] sansnil:
Great, you can tell us if it works on MM.
[Android Apps and Games] agibby5:
I couldn't get this to work on Lollipop.
[Android Apps and Games] bradley_e_smith:
Instead of the hack, I use the app Mailwise. You can turn off exchange security even without root.
[Android Apps and Games] Sage:
I'd like to see that too!
[Android Apps and Games] NightSky256:
Does not work.

Switched back to mailwise... it's good but it has some issues with exchange contacts... so i would prefer to go back to stock exchange but i hate that pin and they avoid me to use smartlock...
[Android Apps and Games] Rawi666:
CM-13.0 patch

I've patched stock CM-13.0 Email/Exchange apk to bypass all exchange security.

Flash it from recovery.

Remember to reflash this package after each rom reflash as there are no OTA survival scripts.

I'm still on CM-12.1 so please let me know if it works on your CM-13.0 rom or not.

In case of any issues reflash your rom and the apk will be back to original.

The package (and its later versions) can be dowloaded from here LINK

Will it work on other roms than CM-13?

I don't know. If your rom is based on AOSP/CM-13.0 most probably it will work, otherwise probably not.

Where are sources of this patch?

https://github.com/rawi666/android_packages_apps_Email

https://github.com/rawi666/android_packages_apps_Exchange
[Android Apps and Games] swear0730:
Just tried this on my Nexus 6 (AOSiP custom ROM). It worked just fine.
[Android Apps and Games] the.root:
Rawi666 - Thanks! This is working as expected on CM13-20151214 for my Nexus 6P. I had been trying to figure out how to do this with the stock exchange/gmail app in 6.0 but they changed so much in the code the previous hacks do not apply. Anyways until that happens - it's nice to have this email app (was never a fan of mailwise). Thanks again.
[Android Apps and Games] wbvczar:
I just flashed this on my Galaxy Note 10.1 running CM13 (13.0-20151214-UNOFFICIAL) and it flashed fine, but when I try to run Email, I get the error "Unfortunately, Email has stopped". Any ideas?

In all fairness, I did not try try Email before applying the patch, so I don't know if it was working before.
[Android Apps and Games] Rawi666:
See what's wrong in logcat logs. No other way to find out
[Android Apps and Games] wbvczar:
Here is the logcat where you can see me trying to start Email. (attached)
[Android Apps and Games] Rawi666:
Hmm that's strange.

Caused by: android.content.res.Resources$NotFoundException: File res/drawable/ic_next.xml from drawable resource ID #0x7f02009d

It's not related to the patch and if it works for others then maybe a resource is missing for your specific screen size (CM bug?).

Could you check if stock email is working? Just reflash rom package without clearing cache&dalvik and see if stock email works.
[Android Apps and Games] wbvczar:
Thank you for your help on this. I reflashed the ROM and Email does work, so something happened after applying the patch (it seems).
[Android Apps and Games] hallo dare:
I love it, this works with the stock email exchange, not my usual mailwise. A small price to pay for something this good. Thank you.
[Android Apps and Games] maxDev2:
Well good ;)
[Android Apps and Games] pratik_193:
Does this mod work on rooted Samsung touch wiz phones?
[Android Apps and Games] sblop:
Thanks. Works as a treat on Oneplus 2, with Lollipop.
[Android Apps and Games] yakaaithiri:
I have installed Blackberry Hub in my Moto G . I would like to have a exchange bypass for accounts configured via hub.

Can you help ?

This is the thread from which the hub is installted

xdaforums.com/android/apps-games/port-apks-blackberry-priv-venice-t3244542
[Android Apps and Games] mejeffoh:
Running Temasek's CM13.0 - this worked like a charm.
[Android Apps and Games] EdwardSmith36:
Yeah man, the above posted link seems broken. Can somebody share the link that actually works.
[Android Apps and Games] deepu458:
Buddy i am using the 20151222 Mod and its working flawlessly on RR MM (CM13 Based ROM).The Media Fire Link working fine.

https://www.mediafire.com/folder/v8a1bx55nfhbv/cm13
[Android Apps and Games] moatazali:
tried it on CM13, the email client keeps on crashing. no turning back!

is there a workaround this error?
[Android Apps and Games] g8r:
Google account or Email account?

I'm interested in this concept, but for adding a Google account that has pin / admin requirements. I would like to apply it on a Nexus 5x version 6.0.1 in order to use a Google account with Google Hangouts.

Is anyone using it this way, or is this strictly an email client app?
[Android Apps and Games] jonno92:
Hi, just wondering if this works on a Samsung Note 5? I want to avoid a custom ROM or using Xposed etc, so if I could just apply this patch, that would be great. I assume my phone needs to be rooted first but that's okay.

It's currently running Android 5.1.1

Any help would be greatly appreciated.

Cheers
[Android Apps and Games] Petert87:
It works fine on my LG G4 CM13. Thanks!

But why no OTA survival? Is that to complicated? Sorry for newb quation.
[Android Apps and Games] seiferfury:
Got this working on OOS 3.0 Beta (MM) for OnePlus 2. Although I had to delete the existing email and exchange apks from system first...
[Android Apps and Games] krugm0f0:
Wonderful, I'll give it a try!
[Android Apps and Games] Spy20:
Hi

it's doens'nt work for me.

I delete data and then install the zip with recovery

But with Gmail I've always must use pin to lock.

I don't want lock patern, pin...wath can I do ?

Oneplus One root with custom recovery and exodus rom 6.0

Thanks in advance