[Xposed Mod] Bypass Exchange Security Policy for Nexus devices and other AOSP ROMs

Search This thread

n8dagr8

Member
Mar 25, 2006
29
2
I installed this on a Samsung GS5 and I still get the device administrator notification (remote wipe, etc) should I be seeing that? I assumed the security restrictions were the less threatening pop-up that I got before the device admin warning. Just as an fyi, I can turn on fingerprint scanner for lock screen which I understand some people are not able to do with exchange security policy enabled.

Sorry for the rambling but just wanted to make sure it worked for me.

Thanks!

edit: I guess more importantly I don't have to have any security feature enabled on the lock screen. Sounds like a success to me, no?
 
Last edited:

alanmv567

Senior Member
Dec 28, 2010
280
52
I'm seeing that under my security i see the exchange activated. Is there any way to test this?
 

shantzg001

Inactive Recognized Developer
I installed this on a Samsung GS5 and I still get the device administrator notification (remote wipe, etc) should I be seeing that? I assumed the security restrictions were the less threatening pop-up that I got before the device admin warning. Just as an fyi, I can turn on fingerprint scanner for lock screen which I understand some people are not able to do with exchange security policy enabled.

Sorry for the rambling but just wanted to make sure it worked for me.

Thanks!

edit: I guess more importantly I don't have to have any security feature enabled on the lock screen. Sounds like a success to me, no?

yes, it means it worked
 

worm9110

Senior Member
Apr 28, 2009
111
11
Just recently upgraded to Venom 2.5.0 on my One M8 and I can't get past the policy check.

http://xdaforums.com/showpost.php?p=55671211&postcount=12653

Removed my Exchange account
Installed Xposed via Venom Tweaks
Added "Bypass Exchange Security Policy" module
Rebooted
Added Exchange Account and accepted "require security restrictions"

Still not able to bypass because every time I try to check my mail it wants to Ecrypt my internal storage.
 

shantzg001

Inactive Recognized Developer
Any plans to add new Gmail 5 with Echange Support?

com.google.android.gm

Thanks!

Sent from my OnePlus One using Tapatalk

Will try it out after L public push to AOSP. Not sure though if gmail source is released. If not, then it might be difficult.
 

kpoverdorf

Senior Member
Jan 1, 2012
142
23

T3T3droid

Senior Member
Oct 19, 2012
203
141
So I downloaded the new gmail/exchange apks and decompiled them. Looks like the existing mod should work with the new gmail exchange support as well. Can anyone try it and let me know if it is working?
No such luck... Tried it as system and data app.

2f623e7c07739007af23b7a8e32cb634.jpg
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    This mod should be used along with Xposed ( http://xdaforums.com/showthread.php?t=1574401 ).

    This mod will bypass the Email app from becoming device admin for your phone and prevent it from setting up any security restrictions on your device including pin/password/remote wipe, etc. There are a couple of other mods out there none of which work right now (1 doesn't work at all and 1 doesn't work for N4 4.3)

    Instructions for users
    - Remove your existing email account from phone and reboot
    - Install Xposed installer (from link above)
    - Install this mod (Download apk from here: https://github.com/shantanugoel/Exc...geBypassForXposed/ExchangeBypassForXposed.apk )
    - Enable the mod in xposed (Preferences for other devices/versions coming Soon)
    - Reboot
    - Add your email account again. This time, it will ask you that the email
    might require security restrictions, say yes to it but it will never actually set the restrictions.
    - Done. :)

    Instructions for developers
    - Read the xda link at the top and go through basics of xposed development
    - Install xposed as an android sdk addon on your system
    - Clone this git repo
    - Import in Android Studio
    - Make changes
    - Build :)

    Credits:
    - rovo89 from xda (for creating xposed)
    - mpcjanssen from xda (for original mod)

    Source code: https://github.com/shantanugoel/ExchangeBypassXposed
    Apk: https://github.com/shantanugoel/Exc...geBypassForXposed/ExchangeBypassForXposed.apk
    My website: http://tech.shantanugoel.com/
    My twitter: http://twitter.com/shantanugoel

    Feel free to ask your questions, provide feedback here, or my website or on my twitter.

    Changelog:
    1.6 26-Jan-14
    Cleanup. Remove Security Policy changed notification.

    1.5 22-Dec-13
    Allow updation of policy keys properly on Exchange server's request otherwise sync may hang

    1.4 16-Dec-13
    Fixing the fixes :)

    1.3 15-Dec-13
    Fixed random email app crashes

    1.2 14-Dec-13
    AOSP ROMs support. Removed some unnecessary logging.

    1.1 28-Nov-13
    KitKat support. Tested on Nexus 4, Nexus 5, Nexus 7 2012, Nexus 7 2013

    1.0 14-Oct-13
    Initial version. Working for Nexus 4 Android 4.3
    4
    Any plans to add new Gmail 5 with Echange Support?

    com.google.android.gm

    Thanks!

    Sent from my OnePlus One using Tapatalk

    Will try it out after L public push to AOSP. Not sure though if gmail source is released. If not, then it might be difficult.
    2
    Thanks folks who tested the beta. Have now removed the beta link and the release version can be installed from links given in OP or within the xposed module downloader.
    2
    Any plans to add new Gmail 5 with Echange Support?

    com.google.android.gm

    Thanks!

    Sent from my OnePlus One using Tapatalk
    1
    Update: This has now been tested to work successfully on all stock or nearly stock JellyBean (4.3) and KitKat (4.4) ROMs on Nexus 4 / Nexus 5 / Nexus 7