yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ronniler:
last_log shows can't open external_sd after encryption

I was happily using this app on my MF3 Gravition S4 safestrap for a week. But all of the sudden the external_SD card stopped working. I tried all: format in different types, wipe caches, wipe factory, even reinstall from scratch the whole image. Now, as soon as I create the exchange account and encryption is enabled, the SD card disappear. I can still mount it using mount command through terminal. But I guess i am mounting this only in the terminal enviroment, since no other apps can see the changes

I checked, partitions and so and all look good. But the /cache/restore/last_log shows "unable to open exterlan_sd" just right after all the ecnryption commands. Is there a way to see what s going on besides the info i got from last_log?

Any is getting this issue too?

Thanks
[Android Apps and Games] ronniler:
Ok found the issue. The app never worked: if you cancel the encryption you get in a state where you don't have to set password but you can't use the SD. So i ended up going through the encryption and the SD came up ;(
[Android Apps and Games] ronniler:
How can I know I am running the modified email2.apk?

I think I am not installing it at all on my 4.2.2.

Even after installing it, when I hit /system/app/email2.apk and tries to install it, the installer tells me that there is another package with a different signature. Does it mean that the old email.apk is still there

Also, when I reflash the whole thing, email2.app does not exist. But I can use email app. How is it possible? Does the email.apk might reside im different place?

Thanks
[Android Apps and Games] pradeepb:
which one i should flash to make it work on cm11 kitkat 4.4??

can anybody suggest me plz :(
[Android Apps and Games] jayboyyyy:
just do it manually and then you will know whats going on. there are instructions in the thread for how to manually do it and its extremely easy. just search for manually in the thread and you should find something.
[Android Apps and Games] craigacgomez:
Going to build the Android 4.4 version today or tomorrow (as time permits)... this new version improves the robustness of this patch and even disables remote wipe! Theoretically this should work on Android 4.2+
[Android Apps and Games] pradeepb:
Eagerly waiting :)
[Android Apps and Games] gunnermike:
that would be amazing! I freaking hate having to type in that stupid pin every time.
[Android Apps and Games] jdsmx:
I am really looking forward to this. I really hate the PIN policy.
[Android Apps and Games] xuohtx:
Can't wait. I have used every version and just flashed CM11 so I'm dealing with a pin until the new version is ready. Thanks for your work on this. :good:
[Android Apps and Games] d1egoaz:
waiting

Wating... :)
[Android Apps and Games] phishie:
Any chance you can make the new version work on ART? The existing ones out there for 4.4 force close repeatedly, I believe it's related to them not having an odex file.
[Android Apps and Games] luisjoseb:
[MENTION=572516]irrrze[/MENTION], can you apply the patch to the new one KTR16O image.

Thanks
[Android Apps and Games] gunigugu:
This pleaseeee.
[Android Apps and Games] Mirage8908:
This would be sweeet!
[Android Apps and Games] modplan:
Any update on this?
[Android Apps and Games] craigacgomez:
Very soon... updating the install packages and main post!!
[Android Apps and Games] modplan:
Perfect!
[Android Apps and Games] zamroni1:
The update script only deletes the apk files but not the odex files. I install your package but the Email application crash on account setup.

Can you update it?

Thanks
[Android Apps and Games] craigacgomez:
Patch version 5.0 uploaded and added to OP... Based on android-4.4_r1.1 (KTR16O)... Should work on Android 4.1+

This new version has several updates to the policy bypass code and no longer requires any code modification in Exchange2.apk. This can also be set up as user apps.

PLEASE READ THE UPDATED INFORMATION AND INSTRUCTIONS IN THE OP!!
[Android Apps and Games] jmanbro:
Thanks! v5.0 working on cm11 for m7spr.
[Android Apps and Games] shanyel:
V5 works well. Account is synced, though, only contracts and calendar. Email is not syncing.

There is an issue around exchange mentioned in Google group discussions.

Need to monitor Google's fix
[Android Apps and Games] luisjoseb:
Please refer to v5 in OP, this is bassed on new KRT16O build. This will clean the ODEX files.

The instructions for ZIP are

INSTRUCTIONS [RECOVERY VERSION]:

1. Download the zip file named ExchangeNoPIN-xxxx

2. Remove all existing Exchange accounts and wipe data for Email/EmailGoogle & Exchange2/Exchange2Google

3. Make a nandroid backup (optional, but recommended)

4. Flash the zip using ClockworkMod Recovery, TWRP or a similar recovery

5. Wipe cache & dalvik-cache

6. Reboot and set up you Exchange account(s)

The ODEX files will be removed when you wipe cache and dalvik

For me works with this procedure
[Android Apps and Games] gunigugu:
Yes!!! Works with ART runtime too!!!
[Android Apps and Games] prabhjots:
Unable to get it to install on a never rooted brand new nexus 7. I disabled the stock email and exchange applications as per the instructions for user app.

Would it be possible to refactor the package name to something like com.craigacgomez.email ? That ways it shouldn't conflict with the stock apps.
[Android Apps and Games] craigacgomez:
Package names do not conflict with Google stock Email & Exchange apps... they are named com.google.android.email/exchange... AOSP package names are com.android.email/exchange... You only need to disable stock Email/Exchange apps to avoid any functional conflicts, if any! Could you please give me a bit more information about your inability to install the apps as regular user app??
[Android Apps and Games] davy917:
On Nexis 5 4.4 and it isn't working for me.. The previous version from [MENTION=572516]irrrze[/MENTION] was working. Not sure if there needs to be changes in Exchange2 code?

Edit: I replaced the Exchange2 with irrrze version and I was able to connect, but Exchange FC's and no mail is retrieved. Looks like the new Exchange2 is not bypassing the check for networks that don't support Android connections.
[Android Apps and Games] craigacgomez:
I'm curious... what do you mean "check for networks that don't support Android connections"??

I am using the mod on my Nexus 5 with the unmodified Exchange2 with an Exchange 2010 account. No issues so far. But I will dig deeper and try to fix this!!
[Android Apps and Games] beardymarrow:
Working perfectly on omni 4.4 on my s3. Flashed the flashable zip. Thanks Craig.
[Android Apps and Games] davy917:
Sorry to be more clear I mean when someone is connecting to an exchange network that checks to see if you are using Android. As you can see from my screenshot my work's IT dept doesn't accept exchange connections from Android. So for my case this "check" needs to be patched as well.

Wish I knew what the difference is, but irrrze's version worked. Also I've had gnex and HTC One and the standard disable exchange security feature of ROMs always worked too.
[Android Apps and Games] craigacgomez:
Got it... I'll look into it... I bypassed a lot more with this new version... guess I need to fake a few policies...
[Android Apps and Games] prabhjots:
I don't know how to give more information. Can you tell me how?

It only states "install not done".
[Android Apps and Games] craigacgomez:
I've updated the Email apk in the manual install version to fix the issue with installing this as a user app on Google stock ROM. Please note that only the manual install version has been updated to v5.0.1. This does not address any other issues yet!
[Android Apps and Games] davy917:
Hmm.. I just downloaded the 5.0.1 manual and just installed both as user app and all is working now. I didn't use manual when I had the prior issue and installed it as system app.

Working now tho!
[Android Apps and Games] craigacgomez:
Haha... a bit weird... functionally, it is exactly the same as the 5.0 version... only a few package name changes...
[Android Apps and Games] fastguy:
I can't choose inbox folder for the widget. It has a subfolder and it only let's me to choose subfolder. Anybody seeing the same issue?
[Android Apps and Games] nf999:
+1 same here
[Android Apps and Games] prabhjots:
Sorry, still doesn't install on my nexus 7.
[Android Apps and Games] Kirpman:
cannot download latest version:/ Page does not load. Is there anywhere else where I could download it?
[Android Apps and Games] craigacgomez:
I installed & set up version 5.0.1 on an un-rooted Nexus 10 running stock Android 4.4 without any problem. Can you try installing via adb? And let me know what error it displays?

Sent from my Nexus 5
[Android Apps and Games] craigacgomez:
Install version or recovery version??

Sent from my Nexus 5
[Android Apps and Games] sshark:
Same here, can't manually install 5.01 version. Errors out saying another application with same sign exists.
[Android Apps and Games] kadircoskun:
Is it possible to bypass SD card encryption?

Hi experts,

I have a rooted Samsung Galaxy S3 i9300 and using Omega ROM v46 Android 4.2.2 JB with "Email with Exchange Security Disabled" mod. There is no problem bypassing the security policy of the exchange but when I insert an SD card it asks to enable encryption on SD card. I tried adding the exchange account after mounting the SD card but when I add the account, it unmounts the card and asks to enable encryption again.

I also tried Xposed "Bypass Exchange Security for AOSP based ROMS" module but nothing changed.

Is it possible to bypass SD card encryption with this hacked Email apps? And is it possible to apply this hack on Omega rom?
[Android Apps and Games] galangdj:
Nice. Gonna try tomorrow. :)
[Android Apps and Games] nf999:
Really like the this new version! Found one issue, but could be my setup? Somehow only my Google accounts are synchronizing over Bluetooth, and my exchange accounts are not. Never had that issue on the previous version of this app with same rom. Anyone else have this issue? Or know the solution?

Edit: never mind, everything synced perfectly after reboot and/or reconnect.
[Android Apps and Games] standa75:
Is it possible to "patch"also Gmail.apk?

Odesláno z mého Galaxy Nexus pomocí Tapatalk
[Android Apps and Games] prabhjots:
Sorry, I tried adb with following result:

(First I disabled the stock email.apk)

D:\Personal Documents\adt-bundle-windows-x86-20131030\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb install ..\..\..\Email.apk
2913 KB/s (5213003 bytes in 1.747s)
pkg: /data/local/tmp/Email.apk
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

BTW, I'm still on 4.3, didn't get the update yet.

Could you try to change the package name to something like com.craigacgomez.email? If it won't be too much effort, we could try that out, (might it also work on Touchwiz devices?)

Thanks a lot for all the great work you're doing!! :)
[Android Apps and Games] phishie:
Confirmed working with ART on Nexus 5, thank you!

I used ExchangeNoPIN-v5.0.zip with the Recovery install method.
[Android Apps and Games] davy917:
Okay, I took the same apks and manually installed as system apps and now I get that same error stating Android is not supported. Works when installed as user app. There must be different checks based on install partition?
[Android Apps and Games] craigacgomez:
I will recheck the manual install package I uploaded... perhaps I made a mistake there!

What should I patch in the Gmail apk... I don't quite understand your request...

It's a bit weird... I need to dig a bit deeper in the bypass logic... Android 4.4 introduces some additional security policy rechecks which I bypassed, but I may have missed something...
[Android Apps and Games] browngeek:
So far so good on my stock rooted N5. Did manual install and installed as user app (rather than system app).
[Android Apps and Games] standa75:
I am connecting to corporate email via gmail.apk. This account requieres applying google device admin with password/encryption ON. Of course,I can connect via "patched" emai/exchange apk, but it does not sync all the calendars/groups etc, that is why I wonder to know, whether also gmail.apk could be patched the same way.
[Android Apps and Games] yakovpol:
Version 5 and certificate issue

New version looks great and supports changing send from address, but as I understood cannot work with a client certificate issued for ActiveSync use. It is must for the setup I use, so "Can't connect to server" is the only thing I could reach.
[Android Apps and Games] Beefmeister:
The new version does sync additional calendars now, at least for Outlook.com accounts. Google updated their default email client and/or exchange code in 4.4.

Wowsers, there are some demanding people here. This mod started as a simple PIN bypass, which is seemingly more than enough for the vast majority, and you want client certificate bypass as well?
[Android Apps and Games] fastguy:
It's the install version. (can't choose inbox folder on widget when inbox has a subfolder)
[Android Apps and Games] cc101:
Works great, but one of my account keeps syncing every (yes every single second) even though the sync is set to Push.

Anyone else have this issue?
[Android Apps and Games] standa75:
Unfortunately it does not sync all calendars for Google.com :( only main calendar is synced, as well as contact groups are not synced when using latest email.apk

Odesláno z mého Galaxy Nexus pomocí Tapatalk
[Android Apps and Games] yakovpol:
No. Probably I wrote it not clear enough. Sorry, English is not my first language.

With previous version (I used v.1.0 and v.4.0 before) I could use client SSL certificate, with the last version I did not succeed (account creation stops on "Can't connect to server" error).

If the server requires SSL connection with a certificate on the client side, you cannot bypass that :)
[Android Apps and Games] craigacgomez:
Well, the bypass SSL certificate checkbox has been moved to the SSL drop-down... if that's what you are looking for!
[Android Apps and Games] BoringHusband:
Does not work for me...

When I tried installing this (CWM), the email app states that 'The server requires security features that your Android device doesn't support, including: Don't allow consumer email, Don't allow internet sharing.'

I know where I work they are using the 2007 Exchange Server and have continuous requests to upgrade so that people can use their Android devices, but they won't yet. The 4.x version now causes constant crash messages for Email and Exchange.

Can my problem please be fixed?

I tried to download and examine the git repository, but I am not clever enough to see the mapping between the XML string, the exceptions in which they are used, and the point at which the code has decided the policies are insufficient.
[Android Apps and Games] browngeek:
Don't know if this is modded app specific, app in general specific or a google issue, but basically today no emails and the exchange.apk keeping the battery awake for 100% of the time. Not good. Not blaming OP in anyway, just wanted to report the issue but am not sure if its actually related to this modded app or not.
[Android Apps and Games] belzy:
In 4.4 Google broke push sync, auto discovery and client certificates. So far no fix and no communication on when it will be fixed. Only work around is setting sync to manual. No workaround for client certificates though.
[Android Apps and Games] gilc8:
Is there any option or a workaround to run it in a non-rooted nexus 5?

How I can apply the patch with the stock recovery?

maybe there is an option to apply the patch via adb tool?
[Android Apps and Games] yakovpol:
You mean the button Select/Remove next to the Client certificate? Yes, I used it with no help.

BTW, another thing with a new version which looks more as a bug than feature is Username field related to an Exchange account. It used to be like \username during setup before, reminding to put domain before back slash, but now it simply has full email address in it.
[Android Apps and Games] iZack187:
Is anybody able to confirm this can also work on a MDM platform? My company is using Mobile@Work (while we use MobileIron as our admin portal) but it's still asking me to encrypt the whole phone and add a password. I have manually installed the bypass v5.1 but doesn't seem to do any difference...

I just wanted to confirm if maybe i'm doing something wrong or it's simply not supported.

Thank you,
[Android Apps and Games] don.keishlong:
Just installed this today on Droidkang'd nexus 5. When I try to set up my exchange account, it still tells me "This server requires security features that your Android device doesn't support, including: Require SD card encryption."

Total noob here but the nexus 5 doesnt even have an SD card slot so I'm not really sure what that means. I'm not sure what I should do.

Thanks.
[Android Apps and Games] markwid:
Yep, 4.4 (Kit Kat) activesync and auto discover is messed up - major issue for people who use default email app to connect to corporate Exchange server.

I like Kit Kat but this is a show stopper for me. I am not keen to try out other ad-based email client (buy them) just because Google did a terrible job with this release of Android.
[Android Apps and Games] CollinFX45:
Craig, really appreciate the work you are doing here. Corporate Exchange drives me loony with a 4-digit pin.

So I'm on a stock, unrooted Moto X running 4.2.2. I tried the manual user install and I got the same error as a few other users. I cleared the data and froze the Email and Exchange apps, then rebooted, then installed the Email.apk and the Exchange2.apk (version 5.01 manual install) and I am getting the error of: App not installed. An existing package by the same name with a conflicting signature is already installed.

Any suggestions? I was being lazy and not wanting to root/install recovery and would love to keep the phone stock since 4.4 is coming very soon. I would greatly appreciate some help.

Thanks,

-Collin-
[Android Apps and Games] Terp04:
Exchange error

I am seeing this same error as well. It's unclear to me if this will get fixed when Google addresses the active sync issues. I just got my wife the Nexus 5 but I'm pretty disappointed. We're stuck using touchdown for her email (which will cost us $20 in a couple weeks) and the camera is so slow, it can't focus on my son to take pictures, which is pretty important to her. We have a week left in our return window, but it seems like the Nexus 5 was released a little pre-maturely.

There is a long discussion going on - add your name to the growing list of troubled users. Google is occationally posting in this thread as well.

https://productforums.google.com/forum/#!topic/nexus/PMOplIFLGAk[301-325-false]

and here for the SD card error only:

http://productforums.google.com/forum/#!msg/nexus/UdlwRDCgCEs/gjtrUyGA_MsJ
[Android Apps and Games] pradeepb:
Try cloud email app.. It's good :)
[Android Apps and Games] browngeek:
You mean cloud magic?

That is what I'm using at the moment, as I need push email. Its not bad, but missing a lot of features.

Anyway, shouldn't really go OT.
[Android Apps and Games] ronniler:
Yep I did it manually many times. Checking permissions and so. I think i found other people with same issue. Proble, is I am running safetrap on a stock room on a S4 MF3. This phone it is highly limited due to ithas its bootloader locked. So many features failed.

For example citibank app is failing too but works on the stock room.

I end up getting all the crapy policies from my company. They beat me :;(
[Android Apps and Games] connor3485c:
I can second this problem with my Moto X running 4.4. Any workarounds? Collin, have you tried installing via ADB?
[Android Apps and Games] camelboots:
Widget don't update himself !

Hi, great work. :good: I installed the newest manual version on my SG 3 with stock rom, but rooted. All works fine. One little probtem: the widget don't update himself. Any idea ?
[Android Apps and Games] st3v3y_uk:
This worked 1st time on my i9505 running cyanogen 10.2. Thanks for this, just what I wanted. I actually still use pin unlock but at least now I can customize the lockscreen.
[Android Apps and Games] creeve4:
Mirror please, Dev-host has been wonky for the last few days.
[Android Apps and Games] CollinFX45:
No Sir, but I have since installed TWRP and root and I am about to try the recovery version. I will keep you posted.

-Collin-
[Android Apps and Games] apxeng:
Anyway to make this work on un-rooted Moto X KitKat?

I am running un-rooted KitKat on Moto X. I downloaded manual version 5.0.1 and followed "INSTRUCTIONS [MANUAL USER APP INSTALL]". I am getting an error saying "App not installed. An existing package by the same name with a conflicting signature is already installed.". I realize this is not the google stock ROM, but I was hoping you would know a way around this issue. Please let me know
[Android Apps and Games] _imac_:
Hi.

Just installed v5. But I can't set up my account.

Always get this message.

View attachment 2409152

Nexus 4 running MIUI V5. Any suggestions?
[Android Apps and Games] fastguy:
I got this working on Omni rom. Great so far except the subfolder bug on the widget.

Any possibility to see unread count on the widget or icon? Its pretty important for me and saving me some time to launch app or lose screen real estate for a widget.
[Android Apps and Games] sshark:
I just moved subfolders into upper level hierarchy (same level as inbox),, added widget and re-moved folders back...everything was working fine and dandy!!
[Android Apps and Games] iZack187:
Is this simply not supported...?
[Android Apps and Games] akira712:
Worked great on my S4 on kitkat gummy. Exchange didn't work before actually so you solved 2 problems.

Thanks!
[Android Apps and Games] pickandwhammy:
v5.0 works perfectly on rooted Nexus 5! :)
[Android Apps and Games] mcvoss:
V5 manual install works fine on ASUS TF700.

THANKS!
[Android Apps and Games] bjc112:
Just wanted to say one additional time that this is the best mod ever
[Android Apps and Games] wolff76:
Just installed ExchangeNoPIN-Manual-v5.0.1.zip on stock Nexus 5 (with ART mode). Seems to be working.
[Android Apps and Games] Csorel:
SD Card Encryption

Does this handle the SD Card encryption policy? I upgraded to Kit-Kat and now that they virtualize the SD Card it reports that the phone doesn't support the policy and my company will not make a change to the exchange servers to handle the new way 4.4 does it. I am kinda stuck. I need something that reports back that the SD Card is encrypted. Actually it doesn't even matter because I have a gnex and it doesn't have an SD card slot.
[Android Apps and Games] sanatar:
I am unable to install on a non-rooted Moto X running 4.4. I run into the same "Existing package by the same name" error as mentioned a few pages back. Anyone able to get it working?
[Android Apps and Games] ptr_hamilton:
OP say you have to disable email and exchange apks. Did you do that prior installation of the new versions?

To disable goto settings, apps, and select those apps to see the disable button

Cheers
[Android Apps and Games] mike.dawson:
I have same issue. Have tried clearing data and cache and disabling apps via settings. No luck. Trying to find a way to do this without having to root.

Anyone have any luck on Moto X
[Android Apps and Games] ptr_hamilton:
And did you freeze the two apps? Still unable to install the 2 patched.?
[Android Apps and Games] mike.dawson:
Yes, disabled them in systems > apps. Then tried to install. Got bad signature error.
[Android Apps and Games] brydav:
I am experiencing the Couldn't finish - This server requires features that your Android device doesn't support, including: Require SD card encryption error as well. Previous versions of the patch worked perfectly. I am on a HTC One GPe running KitKat. Is this a KitKat related issue that can be fixed in the APP MOD? :confused: Forced back to Touchdown for now.
[Android Apps and Games] spamminator:
Used recovery version 5.0 on GPe HTC ONE -- getting "Unfortunately, EMail has stopped" whenever I try to launch it. Anyone else experiencing this?
[Android Apps and Games] arsalann24:
Has anyone been able to get this to work with the HTC One running the 4.4 RUU?