yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Themes and Apps] apascual89:
Does not work on ART. I will add that statement to the OP. I personally haven't had any issues on dalvik. I've had it on stock 4.4.1 for almost 2 days now and not a single fc for me.
[Nexus 5 Themes and Apps] mrjaydee82:
Have you tried odexing the files to see if it works on art? If not I'll toy with it tonight to see if I can get it to work on art
[Nexus 5 Themes and Apps] greystealth:
Push email works fine. If you have synced sub folders those push as well but unfortunately, without notification.

Something new, when you browse your sub folders, the ones that are synced will display who the last message in the folder is from.
[Nexus 5 Themes and Apps] apascual89:
I have not tried that.
[Nexus 5 Themes and Apps] carlosesque:
Crossing my fingers for an ART compatible version.
[Nexus 5 Themes and Apps] darksquall74:
Where can I find the unmodified APKs?

Cheers
[Nexus 5 Themes and Apps] radical86:
works great

Thanks for the files! Push works great.
[Nexus 5 Themes and Apps] Calkulin:
The reason that it's not working on ART is because your deodexing the files and that's what's breaking ART. Don't deodex, as the original files are already deodexed from Google and just modify the included classes.dex and you will have working ART & dalvik.
[Nexus 5 Themes and Apps] hokieputter:
apascual89, any chance you could post the stock, unmodified 4.4.1 email and exchange apks?
[Nexus 5 Themes and Apps] acme anvil:
Maybe just wait a bit for the 4.4.2 apk files. I would think they should be available fairly soon.
[Nexus 5 Themes and Apps] Calkulin:
Here are the KOT49H files and if you modify these, ART will be working
[Nexus 5 Themes and Apps] dvdivx:
You might need the KOT49H Exchange2Google.apk as well
[Nexus 5 Themes and Apps] :
they are included in the ZIP. I will test and report back :) see if I can get ART to work :)

EDIT: using the manual patch, I was able to get it to work on dalvic (modifying the apks, but leaving the odex files untouched). Now trying ART.

EDIT 2: Confirmed as working. No-pin email, 4.4.2 based, working on ART! Thanks [MENTION=1539727]calculin[/MENTION]
[Nexus 5 Themes and Apps] robyrocker89:
Can you create a flashable zip, please? :) :cowboy:
[Nexus 5 Themes and Apps] apascual89:
Added a flashable zip to the op.
[Nexus 5 Themes and Apps] apascual89:
Updated to 4.4.2

Added the latest app from the 4.4.2 update to the op. Also created a flashable zip. Testing the art fix now...
[Nexus 5 Themes and Apps] robyrocker89:
Thanks man!!! :cyclops:
[Nexus 5 Themes and Apps] apascual89:
Added a flashable zip with the stock unmodified apks to the op.
[Nexus 5 Themes and Apps] Ba7rani123:
Delete
[Nexus 5 Themes and Apps] apascual89:
Feel free to share the Art compatible versions and I can post a link in the op. I'm not having any luck with it!
[Nexus 5 Themes and Apps] :
Here you go.

Art, odexed, flashable zip

https://www.dropbox.com/s/282w24wyi8yg8u3/442_HackEmail_Odex_ART.zip
[Nexus 5 Themes and Apps] apascual89:
Ok, I'll post a link to the post. Thanks!
[Nexus 5 Themes and Apps] aimetti:
Sweet. I'll read through the whole thread when I get a moment but just gotta backup current files and flash ?
[Nexus 5 Themes and Apps] phishie:
Can someone please post the 4.4 versions of the email and exchange APKs? I can't sideload the 4.4.2 OTA until I can put those back in and I didn't save any backups :( I think I probably need the ODEX files too since I'm running on ART
[Nexus 5 Themes and Apps] killer2239:
When I flash this and add my email account it forces a passcode. Is this working for anyone else?
[Nexus 5 Themes and Apps] zamroni1:
It works for me on Nexus 4. It still adds entry to device administrator but no pin.
[Nexus 5 Themes and Apps] killer2239:
Does ART have to be enabled for it to work? I have not enabled it yet on mine
[Nexus 5 Themes and Apps] carlosesque:
Thank you, thank you, the last post worked for me on ART!

FYI, I manually pushed the files to system\app while using Dalvik but it forced the PIN so I removed the account, switched to ART and ta-da!

Thanks again to the OP and Thyrus, you guys are awesome!
[Nexus 5 Themes and Apps] phishie:
I found the original email and exchange APK and ODEX files here: http://storagecow.eu/index.php?dir=Xda/Nexus+5/System+Dump/
[Nexus 5 Themes and Apps] apascual89:
I added the original files to the op.
[Nexus 5 Themes and Apps] Stanleywinthrop:
Newbie question here. Is the unmodified 4.4.1/.2 email apk available somewhere for those of us who are stuck on 4.4 and don't want to root or violate corporate policy? I know I'm a dweeb.
[Nexus 5 Themes and Apps] Empty Hand:
Am I correct that the only Art compatible version is the zip on page 6 and using the system app files on the OP will not work with Art?
[Nexus 5 Themes and Apps] :
yes. I also upped V2 - this time it will delete the old email/exhanche apks as well

DOWNLOAD V2 ODEX/ART compatible
[Nexus 5 Themes and Apps] Mr. Jack-:
Can install as normal/user apps?

Any problem with firmware updates (that check system apps)?

Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk​
[Nexus 5 Themes and Apps] killer2239:
Yes the APK posted that says ODEX/ART will work when you have ART enabled, you will be prompted for a PIN still if you are not using ART. I found this out using Davlik still and once switched to ART it worked correctly. The ones in the OP are for people using Davlik since they are deodexed.

Q: Why do you need the stock APK's if you are wanting to comply with policy? I am assuming you changed them and are now worried. Don't worry, corporate is not able to "detect" this unless they force you to use some type of 3rd party management software such as Mobile IRON or Airwatch. That or if they see you have email on the phone and notice you don't have a passcode and you tell them why.

A: I believe someone has posted the stock APK's in here for older versions but I know there is a flashable zip for the 4.4.2 version in the OP.

---------- Post added at 05:44 AM ---------- Previous post was at 05:41 AM ----------

Requires root to install this the manual way. If you flash using one of the zips through TWRP and are not rooted you would be fine as far as I know.

As for OTA's, so far 4.4.1 and 4.4.2 have both updated the email client so the update will fail during install. You will have to remove exchange account, put the stock files back in place and then you can apply the OTA. Then wait for this nice devs to update the new apks to allow this bypass. Then reinstall, readd corporate email and back in business.
[Nexus 5 Themes and Apps] shaklee3:
Are you going to make a version that bypasses all the security requirements? The one I'm specifically looking for is encryption. Thanks.
[Nexus 5 Themes and Apps] hsheng:
I used the 6.1-937116 Email app from the Nexus 5 Android (KOT49H) 4.4.2 factory image

https://developers.google.com/android/nexus/images

I have emailed my network administrator to disable the pin before :victory: , and I don't have to use this modified app.

But my question is that I cann't download the zip attachment, it says Unfortunately, you can't save or open this type of attachment

This maybe due to security issues in Email and Gmail app,

http://xdaforums.com/showthread.php?t=1812925

and finally the gmail supports downloading the zip files.

http://www.androidpolice.com/2013/1...rt-and-drumroll-zip-downloading-apk-download/

Does your modified app supports downloading the zip attachments?

I would be glad to use this if it supports downloading .zip attachments.
[Nexus 5 Themes and Apps] hsheng:
Another feature is that only the picture and video can be attached to the email.

The Gmail apk has just updated from 4.6.1-937116 to 4.7-941620 and supports the .zip download and other types of attachments upload.

Maybe I should wait for a couple of days to get a newer Email and Exchange app version.
[Nexus 5 Themes and Apps] dalvinder.chandok:
Can someone share the stock 4.4.2 apks for email and exchange. My phone is not rooted and i dont want to either.

The downloadable zip in op has the same bugs as 4.4, could have been uploaded by mistake.

1. My messages disappear after first sync

2. I cant search within emails, as in dont get any results

Woyld be great if someone can post the stock 4.4.2 apks.
[Nexus 5 Themes and Apps] jsmonu:
Hey! Many thanks for this.. but it seems to be showing 4.4 behaviour where the "PUSH" email sync wasn't working.. I have to manually refresh for newer emails.. :( Any clues?
[Nexus 5 Themes and Apps] dalvinder.chandok:
Can you publish the apks for 4.4.2? Both email and exchange.
[Nexus 5 Themes and Apps] wideopn11:
Thanks for this.
[Nexus 5 Themes and Apps] hsheng:
The Original Email & Exchange From Android (KOT49H) 4.4.2 factory image

Nexus5 4.4.2 (KOT49H)

Download from https://developers.google.com/android/nexus/images

Use ext4_unpacker to unpack system.img
[Nexus 5 Themes and Apps] InfinitiGuy:
I'm currently using the LG G2 and the stock email app exchange configuration does not let me specify a custom exchange port like my Nexus 5 does. Can I freeze my G2's email client and exchange services and replace them with these ones instead? Also my G2 is on Android 4.2.2, does it matter that these are from 4.4.2?
[Nexus 5 Themes and Apps] apascual89:
It should work. Please report back and let us know.
[Nexus 5 Themes and Apps] InfinitiGuy:
I gave it a try. In the case of the LG G2, there was only 1 file that provides the POP3/IMAP/Exchange email in the /system/app directory called LGEmail.apk . I first backed up that file and the LGEmail.odex file in case I had to restore them. Next I copied the EmailGoogle.apk & Exchange2Google.apk files to the /system/app folder and rebooted. I then had the Email icon in my apps list and was able to successfully set it up with my company's Exchange server and sync my mail and calendar.

Now if Google would fix the persistent port problem where it reverts back to port 443 instead of the port number I initially enter as my company uses a custom port.
[Nexus 5 Themes and Apps] shri_chanakya:
Has anyone tried this with ART? I kept getting email stopped working in ART. am on omni rom.
[Nexus 5 Themes and Apps] nickporwal:
Same here..... This doesn't work on art
[Nexus 5 Themes and Apps] Empty Hand:
Use the zip on post #63 on page 7. Works with ART.
[Nexus 5 Themes and Apps] ritzxda:
Tried the package from post 63 but get the same. Email stopped working every few seconds. OmniROM (latest nightly) with stock kernel and ART. Hmm I can't uninstall it from Titanium backup as it says it couldn't locate the APK file. I also can't restore my backup as it says another file with the same name already exists. :confused:
[Nexus 5 Themes and Apps] termleech:
Can anyone pull the stock email apk, odex and exchange apk and odex? I tried the 4.4.2 email and exchange but I still seem to have exchange issues still so I'd like to revert back. Thanks in advance.
[Nexus 5 Themes and Apps] davy917:
Link is on the previous page
[Nexus 5 Themes and Apps] apascual89:
Here's a flashable zip containing the 4.4.2 email and exchange apks. They were compiled on Jan 5 2013 and have all the cm features up till then. I made some additional modifications that include:

Exchange Pin bypass and compatible with the dark ui toggle (need a custom rom with that feature).

Thanks to Slimroms for the dark ui mod.

Exchange-PIN-Bypassed-Email-Dark.zip - 4.04 MB
[Nexus 5 Themes and Apps] dudekiller:
notification problem

i use a pebble and this app is the only one that will send a notification to my pebble like every 30 sec till i clear the notifcation is there a fix for this?
[Nexus 5 Themes and Apps] 1of16:
I noticed that too. Any ideas?
[Nexus 5 Themes and Apps] cc16177:
Does this work with ART?
[Nexus 5 Themes and Apps] apascual89:
No, I haven't tried, but I'm pretty sure it doesn't.
[Nexus 5 Themes and Apps] apascual89:
I don't own it, so no idea. This doesn't happen with the stock email client? Just this modded one?
[Nexus 5 Themes and Apps] dudekiller:
Yea, no other app is doing this ether. Its come to the point where I've just disable notifications from this app
[Nexus 5 Themes and Apps] 1of16:
actually I am using the other email apk without pin (http://xdaforums.com/showthread.php?t=1749921)

maybe its just a "feature" in the 4.4.2 email app? aint got a stock kitkat device here...
[Nexus 5 Themes and Apps] nabril15:
Apascual

I read through the whole thread, and I remain unclear.

I am on the att g2 rooted stock, and would like to install an email apk without pin.

What version can I use?
[Nexus 5 Themes and Apps] apascual89:
You could do any from the OP. But it will change your email app from the LG one to the aosp one. Also I would do the manual method and just backup your current email apk to have a way back if you want to.

Let me know if you have any questions about how to go about doing that
[Nexus 5 Themes and Apps] ritzxda:
None of these have really worked for me to be honest. I have installed the Xposed framework and the "Keyguard disabler". This works perfectly for me. However, the Xposed framework doesn't work on ART so I've reverted to Dalvik.
[Nexus 5 Themes and Apps] deviouskind:
How do I enable black background with white text? Don't see the option. Thanks
[Nexus 5 Themes and Apps] drk65:
You need to be sure you downloaded the "Dark Theme" version of the app, which is referenced on the top of Page 1 (and linked here).

Uploaded a flashable zip that supports dark UI toggle http://xdaforums.com/showpost.php?p=49354098&postcount=83
[Nexus 5 Themes and Apps] nabril15:
Now that most of us have KK, what can we do with this?

Can we install it? If yes, how? The OP is a bit confusing.
[Nexus 5 Themes and Apps] aldredd:
Yes you can install it (I'm using it on a 4.4 phone, and a 4.3 tablet) - works a treat. I'm no expert - but I managed fairly well - if you can root your device you should be able to follow the instructions to install.
[Nexus 5 Themes and Apps] tombalaci_46:
finally fixed, ty so much its working nice. (N9005 Note 3)
[Nexus 5 Themes and Apps] nabril15:
aldred..how did you install it on your 4.4 phone? At present, us ATT users on KK cannot get a custom recovery to work (yes, there is a power rom that allows it, but most of us are not on that rom). So, how would I flash this? Or is there an email.apk in the thread somewhere that I can copy to system, set permissions, etc?
[Nexus 5 Themes and Apps] iammarkus:
Great App - Calendar Issue

OP

I love the app but when I get an invite and click "view in calendar" the calendar app crashes.

I have Galaxy N2
[Nexus 5 Themes and Apps] hsheng:
4.4.3 is out.

Attached is 4.4.3 email apk from Nexus 5 KTU84M
[Nexus 5 Themes and Apps] Bas-NL:
I am using this app for a while, really love it! :cool:
[Nexus 5 Themes and Apps] killer2239:
Hopefully you can update the email for 4.4.3 to work with both davlik and ART.
[Nexus 5 Themes and Apps] aldredd:
Anyone managed to get things working on 4.4.3?

I've upgraded, and reflashed the modified 4.4.2 apk, but doesn't appear to have changed anything.

Update:

I used This One instead - works a charm
[Nexus 5 Themes and Apps] shaklee3:
The other one doesn't work for me. Any chance of this one getting updated to 4.4.3?
[Nexus 5 Themes and Apps] doitda:
Is this posted one, just the stock app, or is it modified to bypass the Exchange PIN?
[Nexus 5 Themes and Apps] aldredd:
As far as I could tell, it was the stock app - certainly didn't do anything for me, but useful to have for the future.
[Nexus 5 Themes and Apps] killer2239:
The OP should be updating with the 4.4.3 soon. It does not work with ART though.
[Nexus 5 Themes and Apps] apascual89:
Sorry guys, I seem to have unsubscribed from this thread by mistake :silly: That's why I haven't responded lol. Updating the op tonight and the app is working with art now! I'll post the dark ui toggle app first and will get the light only app ASAP.

Edit Updated OP with dark ui toggle zip. Art is working fine!
[Nexus 5 Themes and Apps] nabril15:
I remain intrigued by this thread, but I'm not sure if I can use this. My LG G2 rom uses lgemail.apk. Can I delete it and use this one?

Also, what is dark ui toggle support?
[Nexus 5 Themes and Apps] apascual89:
It should work for you, but just to test backup the applications before. The dark ui toggle is a feature of some custom roms that inverts the ui.

Regular ui

Dark ui
[Nexus 5 Themes and Apps] davy917:
Thanks for this OP! Any chance you can update the return to stock zip also?
[Nexus 5 Themes and Apps] eng.stk:
Do you use gmail on the app?

I really like it, but it works bad with gmail.

It creates [imap]/Sent and [imap]/Trash labels instead of using own gmail Sent and Trash ones.
[Nexus 5 Themes and Apps] apascual89:
No I use exchange only, I setup Gmail for the screenshots only [emoji12]. Didn't want to share work email stuff lol.
[Nexus 5 Themes and Apps] niv3d:
You plan on updating the new apk? Just curious
[Nexus 5 Themes and Apps] nabril15:
I'm not on an aosp rom. Will it work? Will it hurt to try?
[Nexus 5 Themes and Apps] nabril15:
Apasc

I flashed the zip, and i await unlocking of my email by my IT department .So i think it will work, however, I dont see the dark ui. I'm presently on the poweruser rom for the g2 which is stock-based. Is that a possible reason for the dark ui not working properly?

Edit...it definitely works, but it is not dark.
[Nexus 5 Themes and Apps] Cobjones:
Anyone know of the Android L version yet?

BTW thanks OP for your past and current work.
[Nexus 5 Themes and Apps] f100cleveland:
You've probably figured it out all ready but you need a ROM like slimkat that has the dark toggle. Then it'll be dark.
[Nexus 5 Themes and Apps] nabril15:
No, I hadnt. Thank you
[Nexus 5 Themes and Apps] cynomad:
Can we have it in white(not dark themed)?

FYI: it works on: HTC One M8, GE converted on 4.4.4
[Nexus 5 Themes and Apps] apascual89:
Sure I'll try to get to it today
[Nexus 5 Themes and Apps] RunNgun42:
In case anyone has a Verizon LG G2, this does not replace your current mail app, but instead installs alongside it. Just flash it in recovery for it to install properly since renaming the stock LG version doesnt work. Having both of these will not conflict with your system and you can just hide the stock mail icon if you want.
[Nexus 5 Themes and Apps] 640k:
testing this on 4.4.4 since previous apps don't appear to be working (designed for 4.1+, 4.4.2)...

good news, it works! android auto-upgraded the apps in the folder.

another edit: exchange isn't syncing for me, i keep getting authentication errors and not available. also, notification settings are grayed out.
[Nexus 5 Themes and Apps] starbucks2010:
Have you tried Wanam xposed? It has an option to bypass the exchange verifications.
[Nexus 5 Themes and Apps] 640k:
trying desperately to avoid any xposed integration.
[Nexus 5 Themes and Apps] starfishhk85:
ok, I tried this new app but the problem is that once you inserted a new account, you just cannot delete them again ?

Is not that you often need to delete account but sometimes when things doesnt function, recreating the account should be basic.
[Nexus 5 Themes and Apps] 640k:
i was able to delete my account through the accounts in the settings panel:

Tap Corporate

Tap the account you want to remove.

Tap the More buttons

Select Remove Account.
[Nexus 5 Themes and Apps] apascual89:
Latest CM Email & Exchange APK

Here's the latest Email APK compiled from CyanogenMod source today and patched to bypass the pin.

It's the light ui only and has added features like the ability to remove email accounts from within the application. For more details of changes to the app you can look in the CM Github

4.4.4-Bypassed-Email-CM-Aug1.zip - 3.97 MB
[Nexus 5 Themes and Apps] 640k:
i was having sync problems both with calendar and mail and ended up going with the other thread (v6.0).
[Nexus 5 Themes and Apps] apascual89:
I use these for work every day and have never had any issues. Whatever works for you though
[Nexus 5 Themes and Apps] 640k:
not sure what the deal was, but email would randomly stop and I was getting multiple meetings in my calendar. i tried reinstalling a couple times and the behavior was the same.
[Nexus 5 Themes and Apps] starbucks2010:
This 4.4.4 is also dark UI? Thank you.
[Nexus 5 Themes and Apps] apascual89:
This one is not. I'll update op today
[Nexus 5 Themes and Apps] starbucks2010:
Any news on that 4.4.4 dark ui apk?

Thanx.
[Nexus 5 Themes and Apps] apascual89:
4.4 Dark UI

Sorry Guys been busy and forgot to update this.

4.4 Dark ui 4.4.4-Bypassed-Email-DarkJuly23.zip - 4.15 MB
[Nexus 5 Themes and Apps] magichoward:
Do I have to be rooted ..is it possible to install apk
[Nexus 5 Themes and Apps] apascual89:
Root needed to make changes in /system
[Nexus 5 Themes and Apps] starbucks2010:
I installed over 4.4.3 app and it looks fantastic. I didn't even wiped the cache.

Great work.

Thanx.
[Nexus 5 Themes and Apps] kpoverdorf:
Tried running zip and manually replacing files but it keep getting warning that exchange services have stopped.

AT&T Moto X w/ unlocked bootloader, rooted, TWRP, ART

I used the stock apk files from my wife's stock ATT Moto X to get exchange working again.

Why might I be having an issue with this?
[Nexus 5 Themes and Apps] 640k:
flash from recovery. erase data from email.apk.
[Nexus 5 Themes and Apps] kpoverdorf:
I'll try again.
[Nexus 5 Themes and Apps] kpoverdorf:
Followed your steps to the T:

1. force stop and delete all data from email/exchange. (I also deleted my Exchange account from the phone first)

2. backup and remove exchange2.apk/odex and email.apk/odex.

3. restart into recovery and flash the .zip.

4. i don't know why this seems to matter, but install the apks from the extracted .zip folder.

5. force stop email/exchange and clear data again.

6. reboot.

7. enjoy.

Exchange doesn't have the option to clear data, only cache which doesn't do anything. I don't have the odex files, not sure if that means anything. I tried running the apks from app folder after flashing zip and they both fail the install. As soon as the phone reboots it pretty much tells me Exchange Services have stopped. They have the correct rights. The version info for Exchange Services (4.4.4-029d88f1f4) is different than stock and modded Email (4.4.4-026), not sure if that has anything to do with it.

AT&T Moto X 4.4.4 (Unlocked Bootloader/Rooted/ART) - Incase this matters.

Bit of a bummer, I was hoping to use this.

From what I'm reading this may be either ART related (even though multiple places in the thread say compatible) or because I'm running stock Moto X ROM. If it helps any I included the Moto X apks... https://dl.dropboxusercontent.com/u/54084648/Stock_ATT_MotoX_4.4.4_Email.zip
[Nexus 5 Themes and Apps] kpoverdorf:
I ended up just using an xposed mod since I'm rooted.
[Nexus 5 Themes and Apps] nottsuke:
FYI: It works with LG G3 D855 (V1ol). :good:
[Nexus 5 Themes and Apps] dexuus:
[MENTION=3515982]apascual89[/MENTION] , do you have plans for making a android L version? Or is it too different from KitKat to create a mod this way?
[Nexus 5 Themes and Apps] InfinitiGuy:
I'd love an Android L version as well.

The new Gmail 5 has Exchange email connectivity, any possibility to changing that client for password bypass?
[Nexus 5 Themes and Apps] apascual89:
I'll try, but no promises. The current method definitely doesn't work.....
[Nexus 5 Themes and Apps] wassimo78:
Very very very good!!! It work perfect!! Sorry a little question... There is also light UI and not only Dark? Thank you!!!
[Nexus 5 Themes and Apps] thealbundy:
Just out of curiosity would this work on a note 4 If i flashed it in recovery?
[Nexus 5 Themes and Apps] shri_chanakya:
No it won't work. Samsung email is different.

Try using mailwise if you want to bypass exchange security.
[Nexus 5 Themes and Apps] apascual89:
AOSP Mail apk

Email

Exchange

Here are the 5.0 AOSP Email and Exchange APK taken from SlimRoms source and compiled this morning. Exchange pin bypassed. If you're on Android 5.0 or later push to system/app/Email/Email.apk and system/app/Exchange2/Exchange2.apk, fix permissions and reboot.

Tested on Nexus 6 and working here.