Bypass exchange security on 5.1 - Nexus 6 Q&A, Help & Troubleshooting

Like the title says...
Since we don't have xposed for 5.1 yet does anyone know how to bypass exchange security for 5.1? And no I don't want to use a third party email client. Exchange security bypass is what I'm looking for.

While not exactly what you are looking for; if you use the 3rd party app Nine for your exchange account it can apply the security requirements at the app level rather than system. That way you only need to enter a pin when you open your work email instead of every time you wake the phone.
murryrulz said:
Like the title says...
Since we don't have xposed for 5.1 yet does anyone know how to bypass exchange security for 5.1? And no I don't want to use a third party email client. Exchange security bypass is what I'm looking for.
Click to expand...
Click to collapse

ipfreelytech said:
While not exactly what you are looking for; if you use the 3rd party app Nine for your exchange account it can apply the security requirements at the app level rather than system. That way you only need to enter a pin when you open your work email instead of every time you wake the phone.
Click to expand...
Click to collapse
Thanks but like I said I don't want a third party app. I know of those options already. Looking for a mod on exchange security without xposed

Check out this thread.
http://forum.xda-developers.com/showthread.php?t=1749921
Without exposed the exchange apk will need to be directly modified/replaced. Near the end of that thread were some links for lolipop. What you're looking for isn't N6 specific so you'll probably have better luck in the larger thread.
murryrulz said:
Thanks but like I said I don't want a third party app. I know of those options already. Looking for a mod on exchange security without xposed
Click to expand...
Click to collapse

Related

[Q] Can I use 2 different email clients ?

Hi,
Just wondering, I want to bypass the exchange policy (annoying pin lock), so thinking of using those modified AOSP email.apks.
However I would like to retain use of the original email client provided by Samsung.
Anyway to say setup and sync with the modified email.apks but then use Samsung's read/compose ? Do they share same database?
Ideally of course would be a modified Samsung email.apk.
Cheers
fy
fylim said:
Hi,
Just wondering, I want to bypass the exchange policy (annoying pin lock), so thinking of using those modified AOSP email.apks.
However I would like to retain use of the original email client provided by Samsung.
Anyway to say setup and sync with the modified email.apks but then use Samsung's read/compose ? Do they share same database?
fy
Click to expand...
Click to collapse
My initial response was: no. But thinking about it, there is a chance this actually might work. AFAIK, the way that the modified email apks work is that the creation of a "security device admin" is surpessed when defining an exchange account (don't know the exact name in english, but it's a device wide pin lock because you have to enter it every time you wake your phone from sleep). But apart from that a modified email apk creates accounts & databases exactly the same way as the original. One question remains open, and that is that an original email app might check for a policy also every time the account is actually used.
Also, a problem with the modified email apks is that they want to replace the existing email system app. If there is a way to keep the exisiting email app in place, and install a modified second one to just create the exchange accounts, this might work. I have been installing system apps manually through Root Explorer before, surpressing replacements, i will try tonight with email apps
Thanks. For your feedback. It is not exactly clear how the modified apks work. I would think that it would be easier to 'inform' that the policy is applied but does nothing to trigger the pin lock setting.
In this case it may work. Also head that Autostarts can disable this device administrator on some phones but sadly the 1.6.1 version on mine doesn't. It says do not have sufficient permission although already given rooted permission.
Appreciate if you could let me know how did your tests go.
Cheers

Bypass exchange security settings

Is there an email patch or apk that will bypass the exchange requirement for administrator access? I found two xpoaed modules but neither worked on the moto x.
Anyone using a workaround on 4.4.4?
Been long working on this one (annoying company policies). For me best solution is Mailwise, bypass is fine, syncs my work agenda also w/o any problems.
bmszabo said:
Been long working on this one (annoying company policies). For me best solution is Mailwise, bypass is fine, syncs my work agenda also w/o any problems.
Click to expand...
Click to collapse
I had been using it since release day without any security necessary. Now all of a sudden, I got the popup and can't access anything new without giving administrator access. Wonder if my work changed something or my app changed.
Piaband said:
I had been using it since release day without any security necessary. Now all of a sudden, I got the popup and can't access anything new without giving administrator access. Wonder if my work changed something or my app changed.
Click to expand...
Click to collapse
I haven't seen any changes with security bypass -so I guess it is Your company that has changed something.. Have you tried to re-install security bypass?

Exchange in stock mail app in 5.1

I was running one of the mofo 5.0 images on my xt1096 until recently, and everything worked as expected (including exchange email). Recently I flashed the 5.1 mofo image from mikeoswego's thread on the topic:
http://forum.xda-developers.com/moto-x-2014/development/img-xt1096-victara-mofo-image-root-t3100145
(Can't post there, since the forum forces new users to start new threads instead of participating in existing conversations)
Since the move to the 5.1 image, my exchange accounts in the stock email app has stopped working. Looking around I see lots of chatter about Google's move away from the stock app in Lollipop. BUT...
Why did it work in the 5.0 image and not the 5.1?
And, more to the point, is there a way to get it working like it was in the 5.0 image??
claylong said:
I was running one of the mofo 5.0 images on my xt1096 until recently, and everything worked as expected (including exchange email). Recently I flashed the 5.1 mofo image from mikeoswego's thread on the topic:
http://forum.xda-developers.com/moto-x-2014/development/img-xt1096-victara-mofo-image-root-t3100145
(Can't post there, since the forum forces new users to start new threads instead of participating in existing conversations)
Since the move to the 5.1 image, my exchange accounts in the stock email app has stopped working. Looking around I see lots of chatter about Google's move away from the stock app in Lollipop. BUT...
Why did it work in the 5.0 image and not the 5.1?
And, more to the point, is there a way to get it working like it was in the 5.0 image??
Click to expand...
Click to collapse
There was a request to have Exchange3 instead of Exchange2 in the rom. You can setup your Exchange email accounts in GMail and things will be basically the same as with the old stock email app.
mikeoswego said:
There was a request to have Exchange3 instead of Exchange2 in the rom. You can setup your Exchange email accounts in GMail and things will be basically the same as with the old stock email app.
Click to expand...
Click to collapse
Does the switch from Exchange2 to Exchange3 eliminate the possibility of using the stock email app for exchange?
I have a few reasons why I want to use a separate email app for Exchange. The Exchange account is for work, gmail for personal, and so it is nice to keep them visually separate. Additionally, I want to be able to manage my Moto ActiveDisplay notification options differently (no notifications for Exchange emails, but yes for Gmail).
Is there a way to accomplish this with the current image I am using?
I do plan to S-OFF my device soon, and I assume that might open me up for more extreme options to get this working...
I've been using the Outlook app to supplement this functionality. It's not idea, and it seems to consume 10%-15% battery, which is much much more than the stock app used to.
I have absolutely no issues using an exchange account in the stock e-mail application. I am on stock 5.1 on my XT1095.
imaginaryenemy said:
I have absolutely no issues using an exchange account in the stock e-mail application. I am on stock 5.1 on my XT1095.
Click to expand...
Click to collapse
Thanks, imaginary, this confirms that the functionality was probably changed by the addition that mike made to the image. It's not a problem, necessarily, just unexpected.
imaginary, would you mind confirming the versions of your stock email app an Exchange Services (if you have it installed, it would be under Settings -> Apps -> All). Thanks!!
No problem. It's 5.1-5
Sent from my XT1095 using Tapatalk
claylong said:
Does the switch from Exchange2 to Exchange3 eliminate the possibility of using the stock email app for exchange?
I have a few reasons why I want to use a separate email app for Exchange. The Exchange account is for work, gmail for personal, and so it is nice to keep them visually separate. Additionally, I want to be able to manage my Moto ActiveDisplay notification options differently (no notifications for Exchange emails, but yes for Gmail).
Is there a way to accomplish this with the current image I am using?
I do plan to S-OFF my device soon, and I assume that might open me up for more extreme options to get this working...
I've been using the Outlook app to supplement this functionality. It's not idea, and it seems to consume 10%-15% battery, which is much much more than the stock app used to.
Click to expand...
Click to collapse
Unfortunately, Exchange2 for the stock email and Exchange3 for GMail didn't coexist so the old stock email is out. And the old Exchange2 can cause weird problems depending on how your Exchange admin set the server up. The new GMail has basically merged the old GMail and old pop3/imap/exchange program into one.
You ought to try setting up your Exchange account in GMail. While Gmail can combine everything into one inbox, it can be set to keep everything separate. You can select whether to sync or not for each account, whether to delete or not from the server when deleting from the phone for each account, notification on/off for each account, signatures, etc.
As a last resort, I could make you a patch that would restore the old Exchange2 and email but there is nothing the old email program did that GMail can't do in an almost if not completely identical way.
mikeoswego said:
Unfortunately, Exchange2 for the stock email and Exchange3 for GMail didn't coexist so the old stock email is out. And the old Exchange2 can cause weird problems depending on how your Exchange admin set the server up. The new GMail has basically merged the old GMail and old pop3/imap/exchange program into one.
You ought to try setting up your Exchange account in GMail. While Gmail can combine everything into one inbox, it can be set to keep everything separate. You can select whether to sync or not for each account, whether to delete or not from the server when deleting from the phone for each account, notification on/off for each account, signatures, etc.
As a last resort, I could make you a patch that would restore the old Exchange2 and email but there is nothing the old email program did that GMail can't do in an almost if not completely identical way.
Click to expand...
Click to collapse
I've been chewing this over. I don't doubt the gmail will provide the functionality, but I was really hoping to have different notifications, different icons, etc. Clear visual indicators between business and personal.
Been trying to make Outlook work, but yesterday it sucked up 25% of my battery. That's crazy, I don't even know what it's doing that whole time.
I hate to ask you to do anything like a patch. You've already done so much for the Verizon Moto X community (I know that I as convinced that we'd never get root and therefore any kind of decent dev community, but look where we are now!) and I'm sure you are busy.
At the point that I can S-OFF, maybe there a way that I can control my own Exchange2 / 3 fate. I'll have to start looking into that.
Thanks, mikeoswego, keep up all the good work!
claylong said:
At the point that I can S-OFF, maybe there a way that I can control my own Exchange2 / 3 fate. I'll have to start looking into that.
Click to expand...
Click to collapse
I don't know if you follow my thread but I did post yesterday a TWRP flashable zip that restores the stock mail and exchange2, removing exchange3, for the current stagefright patched rom. If you tell me exactly which mofo rom (and patch) your running, it really isn't a big deal to make a patch to put back the email and exchange 2 and I'll post it for others who might want it.
mikeoswego said:
I don't know if you follow my thread but I did post yesterday a TWRP flashable zip that restores the stock mail and exchange2, removing exchange3, for the current stagefright patched rom. If you tell me exactly which mofo rom (and patch) your running, it really isn't a big deal to make a patch to put back the email and exchange 2 and I'll post it for others who might want it.
Click to expand...
Click to collapse
I don't follow it, but I will now.
I still haven't taken the Sunshine plunge yet (have a question about needing to uninstall XPosed), so I'm not ready to use the TWRP images yet.
I think I have to break down and see if you are still willing to create a patch for the 5.1 mofo image... I am using the xt1096-5.1-v3.1g-pkg.7z (base image) with no patches.
For anyone interested, the use of the Outlook app has reduced my battery runtime from ~24 hours to about 10 hours.
claylong said:
I don't follow it, but I will now.
I still haven't taken the Sunshine plunge yet (have a question about needing to uninstall XPosed), so I'm not ready to use the TWRP images yet.
I think I have to break down and see if you are still willing to create a patch for the 5.1 mofo image... I am using the xt1096-5.1-v3.1g-pkg.7z (base image) with no patches.
For anyone interested, the use of the Outlook app has reduced my battery runtime from ~24 hours to about 10 hours.
Click to expand...
Click to collapse
I've made the patch but didn't read your post closely. The patch I made is for the current mofo image with the Stagefright patch, xt1096-5.1-23.32-25-5-mofo rather than 3.1g. If you can't upgrade to the latest for some reason, I can make you a patch for 3.1g later tonight.
The instructions to upgrade to the current version are here: http://forum.xda-developers.com/showpost.php?p=62791915&postcount=783
I posted the Exchange2/Email patch for that version here: http://forum.xda-developers.com/showpost.php?p=62966407&postcount=836
There is also a patch to removed Xposed in the xt1096-5.1-23.32-25-5-mofo archive if that is an issue when/if you decide to use Sunshine.
I can totally switch to the proper image then apply patches. It will be my first time, but I'm sure I'll manage.
Thanks so much for all your help! This is a most pleasant and refreshing community and you are a large contributor to that. Keep up the great work.
mikeoswego said:
I've made the patch but didn't read your post closely. The patch I made is for the current mofo image with the Stagefright patch, xt1096-5.1-23.32-25-5-mofo rather than 3.1g. If you can't upgrade to the latest for some reason, I can make you a patch for 3.1g later tonight.
The instructions to upgrade to the current version are here: http://forum.xda-developers.com/showpost.php?p=62791915&postcount=783
I posted the Exchange2/Email patch for that version here: http://forum.xda-developers.com/showpost.php?p=62966407&postcount=836
There is also a patch to removed Xposed in the xt1096-5.1-23.32-25-5-mofo archive if that is an issue when/if you decide to use Sunshine.
Click to expand...
Click to collapse
@mikeoswego, you are a lifesaver! I got the newer mofo image patched and flashed, and now I'm back in business with exchange through the stock email app. I am going to a theme park with the family tomorrow, and this means I won't be stuck with a dead phone by 3pm tomorrow but can still check in on work from time to time.
Thanks for everything!

Marshmallow Exchange Security Bypass

Team-
Is anyone aware of how to bypass the pushed pin policies from exchange on Marshmallow? There was an Xposed module that accomplished that on Lollipop, but I'm wondering if some of the APKs could be modified to do the same thing. I'm not a developer but I'm willing to help a developer if they would like to take a look at it. Thanks.
Another option is the email app Nine. It allows you to isolate the pin to just the app.
Probably you are aware of http://forum.xda-developers.com/showthread.php?t=1749921 - let's hope it will be ported to Marshmallow.
There's got to be a way. I can't stand having to have a PIN on my phone, and Nine doesnt support anything but exchange, so that's a no go. I actually use CloudMagic for email, but I need my exchange account on my phone for calendar and contacts.
now why would there bean easy way around the security? its security, if there was an easy way around, what would be the point to the security??? lol..
MailWise
I use the MailWise app on my phone. You can bypass the exchange security when setting up your account using code 27182.
Since I dont have enough posts, you'll just have to google it, but just search for MailWise Exchange Bypass Code and they have a FAQ on it.
I use the cm12 nopin zip for lollipop with no issues. Just need to be rooted.
mumboender said:
I use the cm12 nopin zip for lollipop with no issues. Just need to be rooted.
Click to expand...
Click to collapse
Can you post the link? Also, what ROM are you on? I'm on pure nexus and use the stock exchange apk. The only cm12 bypass I could find was for boxer.
Bypass code worked for me thanks a bunch!!
I feel it is my duty to advise you guys that if you are caught getting around this you can be terminated from your job.
With that out of the way glad you found something that works.
I just port the lollipop one to marshmallow
http://repo.xposed.info/module/com.hanchenli.ebpformm

Enterprise email

I'd like to add my corporate email to my head unit. On my tablet, it requires security to be enabled with a pin. I don't want that on my head unit. Any way around it? I want to be able to use everything else in the radio, and I'm thinking its best not to add it?
Thanks!
There are two apps in the market you can use - Touchdown or Nine (I prefer nine)
It satisfies the PIN requirement by forcing you to type in your pin only when you open the app - not on the entire device.
It does let you read part of incoming messages in notification without requiring pin at all.
As far as I know there is no simple way to completely remove the pin
Hooch0903 said:
On my tablet, it requires security to be enabled with a pin. I don't want that on my head unit.
Click to expand...
Click to collapse
Depends. Do you want to keep your job? The Android email app is simply enforcing a corporate policy. You would likely be violating your company's policy if you bypass it.
I'll have to ask if they'll approve it, since I can't add the radio to the server without their approval anyway. Appreciate the input...guess we'll see what they say about it.
Sent from my iPhone using Tapatalk

Categories

Resources