yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jtrosky:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

You do not need to delete your Gmail account - only Exchange accounts. If you don't have an Exchange accounts configured, then you don't need to do anything before installing...
[Android Apps and Games] twan69666:
Just installed it on Verizon's slow 4.1 update for the Galaxy Nexus. Seems to be working like a charm and wanted to say thanks
[Android Apps and Games] Koningwatermaker:
Samsung Galaxy SIII (GT-I9300)

I have tried to flash it on my GT-I9300, it looks like it works when you flash it but when I set up my e-mail it still requires a pincode to lock my screen. I followed all the steps in the thread, any ideas?
[Android Apps and Games] staticx1:
delete
[Android Apps and Games] bradley_e_smith:
Google Play Search Soft key board fails

I realize that this forum is for the Nexus, but on rootzwiki it appears to be more generic, and since I read xda more than that I thought I would post here. If you would like this moved just let me know.

-

On my T-mobile G2 running ASP 4.2.2 build 11 by cn.foydor if I bring up google play store and touch either the search icon at the top or the search button below the screen, after a few seconds play store stops "Unfortunately, Google Play Store has stopped". If I slide out my keyboard then do the same (including touching the search button on the keyboard) the search function works and Play Store doesn't crash. I have reloaded the ROM and just google apps and it works but if I reload and flash the exchange by pass zip (just tested the lastest version) google play store dies.

It it is not a show stopper but I thought I would add it here. Also I have included a logcat of the session.

-brad
[Android Apps and Games] sjgore:
Using this would result in instant dismissal if my employer found out I was circumventing Exchange security.

Is there any way, AT ALL, that use of this modded app could be detected at the server end? I don't think it's worth the risk.

Am happily using Touchdown at the moment, FWIW. Well... as "happily" as someone can be with an app that uses a Windows 3.11 interface! :)
[Android Apps and Games] buffal0b1ll:
I don't know if it can be detected at the server end, but i do know that I still grant the Exchange server Device Administrator access and they show up as a checked Device Administrator in Settings>Security. The bypass just doesn't enforce the PIN on lockscreen.

I used to use Enhanced Email from the PlayStore to bypass the security entirely Didn't even have to grant any Device Administrator privileges to get it to work. I prefer Enhanced Email to Touchdown. I switched from Enhanced becuase it doesn't let you see folders and messages in dual view on tablets.
[Android Apps and Games] sjgore:
Enhanced Mail and Touchdown run as isolated apps. They don't bypass security, they just enforce Exchange Security within their own space (I think "sandboxed" is the correct term?), but not on the phone as a whole. Therefore they don't insist on whole-device encryption, lockscreen PIN, etc. Just a PIN for the app itself and the app encrypts just its own data.

One of our IT guys refers to Android as "the Wild West of Operating Systems". Harsh, but I can kind of see where he's coming from. They just can't regulate them from an MDM (Mobile Device Management) point of view.
[Android Apps and Games] buffal0b1ll:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

I run enhanced email with no pin at phone or app level. It has a checkbox for "allow admin security" (or something like that) and you just leave it unchecked.

WILD WEST! LOVE IT.
[Android Apps and Games] churchmice:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

Actually, you can use tge original app, but you can cheat the system that ypu have setup a lockscreen. I have setup vpn without lockscreen/pin by this method.

You need to be rooted, and use sqlite3 app to edit /data/system/locksettings.db, and edit the locksetting table. Change the password type to 0, which means no lock.

Sent from my Galaxy Nexus
[Android Apps and Games] Lipmonger:
Churchmice... I tried this method, but do not have a "password type" in my locksetting table. Am I missing something?

See image attachment...
[Android Apps and Games] JayMeeee:
Encryption requirement

We have tried your modded app and the password requirements of our exxchange accounts are gone.

Thats phantastic, but there is another issue for us.

Our Exchange Account also reqires, the device to be encrypted, which makes our devices very slow.

Is it possble to also deactivate this requirement?

Thank you for your work.

JayMeeee
[Android Apps and Games] Roland_SGN:
Works great, even on my JellyBeer, 4.2.2., CM10.1. I tried up till now, always to change the DB-entries in the policy-table (from EmailProvider.db), but since Exchange updated them every 24hours, that was not for long-term usage.

Reg. the last request, it would be of interest, what are the values in the table policy? (query it with e.g. SQLite Debugger). Then it would be obvious if the app writes always the wrong values OR if there is another mechanism ongoing for the encryption-requirement. [But don't know, who will fix it, if its source-code-change related.]

:victory: Thx for the patch.
[Android Apps and Games] noraz:
I have the exact problem (same device Desire Z, fyodor rom build 12, latest gapps and exchange zip latest version). The situation is the same, google play crash randomly on onscreen keyboard search (not on physical one). Tried different gapps, and keyboards - same result. Did you find a solution to this (because it seems to me that I have the same problem as you) ?
[Android Apps and Games] pradeepb:
Hi all,

which one i should install for 4.1.2 version of I9300.

Stock OTA Android 4.1.x

AOSP Android 4.1.x

CM10 Android 4.1.x
[Android Apps and Games] bradley_e_smith:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

Funny you should ask. All of a sudden it started to work correctly, so after your post I wondered if I could break it back. Well the answer is yes, and I could fix it. For me the fix appears to be something to do with the mic search.

So what I do (and it takes a couple of trys) is to close the hw keyboard. Bring up google play, and right after press the onscreen search button, and before play crashes, press it again. The play might bring up the voice search, so just press the red stop button. After this the search seems to work for me.

I am going to go back and double check this. Also how got play to break again was to play around with the voice search (ie pressing button twjice quickly)

---------- Post added at 08:27 PM ---------- Previous post was at 08:22 PM ----------

Yea, the instructions are not 100%, but push the mic after sound has somehow gotten back working for me. It took some randon button pushing but it is working correctly for me now.
[Android Apps and Games] boobiestar:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

I use Stock OTA with Sotmax V15 ROM.

Verstuurd van mijn GT-N8010 met Tapatalk
[Android Apps and Games] neo1310:
Can you share that patch for ICS ?
[Android Apps and Games] kono42:
I know it's a little late, but I'll chime in on your question about the impact on the next OTA. Unfortunately, it will probably fail while trying to install the update. OTAs usually scan to ensure all the system files are there and unmodified and a modified exchange file will probably cause it to fail. Happened to me when I tried to update my Galaxy Nexus to 4.2.2 OTA. The good news is that all you really have to do is delete the patched email and exchange APKs and restore your backed up files. If that doesn't work, you can also just flash the stock 4.2 system file to restore the system to 100% stock.
[Android Apps and Games] kwibis:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

This is why I love android. Thanks Dev for giving us more freedom again! Used to get very annoyed with not being able to select the lockscreen. Also now I can finally use tasker to disable it when in trusted places. Thanks a bunch and happy easter!
[Android Apps and Games] racajay:
Do the Phone has to be rooted to apply this patch? If not how can I do that?
[Android Apps and Games] craigacgomez:
Updated the 4.2.x mod. v2.0 of this mod is built using the CyanogenMod 10.1 (Android 4.2.2) source and has some nice additions and fixes over the AOSP version like LED notification support, blocked attachment extensions selection and some more.
[Android Apps and Games] jjafelice:
Quick question, that hopefully can be answered.

Previously I was using AHRD 19.2, on my HTC One X, and was able to use a patched mail file to connect to my work exchange server and bypass security.

However for some unknown reason, it stopped working, and then wanted me to security to work.

So I decided now was a good time to try CM10.1.

After a full clean rom installation of CM10.1 (4.2.2) , I installed the ExchangeNoPIN-4.2.x.zip (v2.0) file, and was able to get my mail syncing.

My problem is even though it says my Exchange calendar is syncing, the only items I see in my calendar are standard items, like public holidays, etc.

none of my user generated meetings/ appointments / reminders are showing.

any suggestions?

UPDATE: new calendar invites appear, but nothing that was pre existing does.

thanks

jason
[Android Apps and Games] Sham-rock:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

Try clearing the calendar app data and reboot.
[Android Apps and Games] RocketScientist97:
Re: [APP MOD] Exchange Security Bypass (No PIN) - Android 4.2.x/4.1.x

4.2.x v2.0 is working well...mail & calendar syncing, no lag, no battery drain... on GS3 running Jellybam 7.1 (JB 4.2.2)
[Android Apps and Games] jjafelice:
It doesn't help.

but what I did work out, is that any new appointments created from my computer are automatically added ,

plus if I make any change to an existing appointment , it also gets sent to my phone.

even if its as simple as re saving the entry.
[Android Apps and Games] Unbr8kbal:
Nexus 4, 4.2.2

Thank you very much this working great!
[Android Apps and Games] crazylively:
Thank you

Working great for me. VZW SGS3, running 3/17 CM10.1 nightly.
[Android Apps and Games] MizzouBrent:
Thanks to the op for the update
[Android Apps and Games] buffal0b1ll:
Love this mod. Only thing that could make it better is if it were inverted;)

Thanks
[Android Apps and Games] zeroktal:
unlocked bootloader needed?

Does this mod definitely need an unlocked bootloader to run?
[Android Apps and Games] gordonzhao:
I've tried with no luck; running stock 4.1.2, email (secmail.apk) is listed as 4.0 does this mean I'm going to have to find a ICS version of the hack?
[Android Apps and Games] Credrili:
My experience was that it installed without a problem, (clear cach, etc) BUT it still requests device admin.

Granting it admin made me suspect it still could do a remote wipe, etc - so I tested the remote wipe via exchange server and bingo, it was able to wipe.

So it doesn't work for me sadly.
[Android Apps and Games] jtrosky:
I'm not so sure that this is supposed to do what you are looking for. As I understand it, this simply makes it so you don't need to enter a PIN to unlock (even when forced by a policy).
[Android Apps and Games] Credrili:
Yes obviously it doesn't prevent remote wipe. So I don't know why people are saying it does. Oh well, maybe just my S3 is the problem here.

Other option is to use Touchdown app which will allow wiping of the app itself, not your phone. $20, but it may be worth it to some.
[Android Apps and Games] timchew:
Thanks for this! Been looking for this for a long time. Didn't like K9 layout but love the stock look.

Any possibility to mod this with black theme like this one: http://xdaforums.com/showpost.php?p=40387283&postcount=1?
[Android Apps and Games] turilo:
Very nice
[Android Apps and Games] _imac_:
Is it work on stock nexus 4??

Cause I got force quit.
[Android Apps and Games] Lipmonger:
From OP...

You need to have a device with an unlocked bootloader and a custom recovery.

Root is not required unless you wish to apply this patch manually by replacing the files in /system/app.
[Android Apps and Games] browngeek:
It works fine on my N4. But I've rooted it and am running CM 10.1 on it.
[Android Apps and Games] larbisaad:
I'ts Great

It is exactly what I'm looking for, good job :good:
[Android Apps and Games] _imac_:
Of course I have and unlocked bootloader and custom recovery, and even root.:rolleyes:

But I got FC.

But maybe that is because I need to wipe cache and dalvik also. I'll try again.

---------- Post added at 12:51 AM ---------- Previous post was at 12:50 AM ----------

CM - no problems. But I'm on stock.
[Android Apps and Games] Aircraft800:
any chance for an update here? It seems exchange has new security policy and its asking to set up a lock again.
[Android Apps and Games] buffal0b1ll:
This app still works to bypass lock for me.
[Android Apps and Games] Aircraft800:
Your company probably hadn't updated their Exchange yet. Anyone know how I can determine which version they are on?
[Android Apps and Games] cheekoo:
Is this supported/tested on galaxy s3 verizon?

I installed it and I can see only some of my server folders :( I am able to use exchange using default app though (without setting up security).
[Android Apps and Games] Generalgr147:
I have been using it without any issues on galaxy s3. Did you try resetting the connection after flashing the modification?
[Android Apps and Games] cheekoo:
PM'ed you
[Android Apps and Games] cheekoo:
Yes, I did. I did wipe cache/dalvik/reset the exchange connection after installing it.

Still the same.
[Android Apps and Games] buffal0b1ll:
Please tell us why you believe that an exchange security update has locked you out. Can you substantiate this with more details?

Thanks:)
[Android Apps and Games] vmbgap:
OP - Your are a life saver!!!!
[Android Apps and Games] Aircraft800:
Yes, this hacked Mail.apk has been running on my phone for 6mo just fine synced to my company email, then the other day it gave me the message that I had to accept the security credentionals or my account would be deleted. I had to set up a pin... Tried to delete all acounts and credentionals and reinstall, no luck, asks me to accept or be deleted..
[Android Apps and Games] buffal0b1ll:
Sounds like your Exchange admin is Wyatt Earpp. Android is the wild west of security (borrowed that from another user in this thread).
[Android Apps and Games] daniello8:
Could someone pls provide a tar.md5 of this zip. I don't seem to manage. I would like to flash with Odin.
[Android Apps and Games] OptoChip:
Why go through all that trouble? You can literally pull the Email2.apk and Exchange2.apk from the .zip and manually replace the ones in your /system/app folder with the new ones, set permissions, and be done!

Or if you have ADB available you can always adb push them over to your /system/app folder too.
[Android Apps and Games] daniello8:
Thx. Adb push didn't work due to my shell not being su by default .. but using a root file manager got the job done.
[Android Apps and Games] SKaustin:
I used the v2 on my Galaxy Note i717 running Padawan JB 4.1.2 and it's working great for me. Thank you!
[Android Apps and Games] Cobjones:
Can anyone give me the steps to do this? I have searched and came up empty (excuse the google skills if it is available).

I was wanting to put this in an inverted email apk.

TIA

Nevermind.. I created this if anyone else wanted it.

http://xdaforums.com/showthread.php?p=41728195#post41728195
[Android Apps and Games] zeushvk:
Anyone tried this on Tmo S3? 4.1.2 .

Or knows whether it will work or not in that specific ron

Please share.
[Android Apps and Games] buffal0b1ll:
It's worked in every device and rom I've tried. Half a dozen different devices. Dozens of different roms.
[Android Apps and Games] s'pht:
When using this with CM10.1 RC4 (on a GS3) I get random reboots - well they seem to coincide with switching networks (cell > wifi etc...)
[Android Apps and Games] camelboots:
Samsung Galaxy SIII stock - using this mod without cvm

Hello,

since thursday I have a SG III with stock rom and root. I dont't want to use cvm, the reason is the the guaranty !!!!

Before I have a HOX with custom rom and the mod works fine.:good:

Now my question: Is it possible to use this mod without cvm only with root ? I renamed the files SecEmail.apk ... in /system/app and put the files of the unzip mod folder in the same folder = /system/app. After this I reboot and wipe cache. But always the email and the exchange app crashs :(

What is worng :confused:

In a second way I used mobile odin, but here nothing has changed. The email and exchange apk in the system/app folder are grey !!??

Thanks a lot for your answers !
[Android Apps and Games] buffal0b1ll:
You renamed the originals to something without a .apk on the end, right?

Did you set the permissions on the new apks to the same as the originals was?
[Android Apps and Games] camelboots:
The permission, that was it. Thanks.
[Android Apps and Games] ecen92:
Thx for this, hated the combined inbox.
[Android Apps and Games] bjc112:
Best mod ever. Thanks a million OP
[Android Apps and Games] kobers:
Strange with the custom Rom Nexus hd2 4.2.2 I Loose the Exchange Option :(

With 4.2.1 it worked

Has someone an idea ?

Thanks
[Android Apps and Games] cmbezln:
I'm having the same issue on CM10 sgs2 skyrocket. I guess this does fix the issue. :/
[Android Apps and Games] kobers:
Sorry

What fix the issue?
[Android Apps and Games] okeeblow:
Where is the source code for this? I build my own CM for my device and would like to pull it in my manifest instead of patching after every flash. Thanks :)
[Android Apps and Games] inktwice:
Currently the V2 is not working for me when it has in the past.

Changes made: updated my N4 to latest PA ROM and latest PA Gapps.

Zip file flashes with no issue. After adding the exchange account, I never get the Device Admin. Approval prompt, hence the email apps sits in sync limbo awaiting this step.

Anyone have any advice on getting past this hang?
[Android Apps and Games] lynnux:
Sometimes this happens to me at first, but when I close and then reopen the email app, I get the prompt.
[Android Apps and Games] inktwice:
Thanks for the feedback.

Went back in and closed the app. Then force closed. Still nothing.

Afterwards I noticed auto-sync wasn't on (Tasker power saving profile). Turned that on and I got the prompt.
[Android Apps and Games] craigacgomez:
Added source. New version soon which bypasses the need to set up the account as a device administrator (changes already included in source)
[Android Apps and Games] craigacgomez:
New updated version in OP... changes include:

1. Built using the latest updates from the CyanogenMod 10.1 (Android 4.2.2) source as of July 20, 2013.

2. Published source code to GitHub (link in OP)

3. Fixes and updates to the patch changes

4. No longer requires that the account be setup as a "Device Administrator"

NOTE: Please remove existing Exchange accounts before flashing this.
[Android Apps and Games] luke1404:
Love this. One of the best MODs out there. Does exactly what it is meant to do.

On a side note, has anyone got their exchange calender to sync at all?
[Android Apps and Games] creeve4:
My exchange calendar is syncing just fine with v3.

You can try removing the account, clearing data and cache for email and calendar, rebooting, and then adding the account back.
[Android Apps and Games] luke1404:
Thanks I have tried this. Just doesn't detect the calender. Not in the list. I have ensured it is set to sync both under the email settings and under the account I'm settings.

Any other ideas. It syncs contacts and email fine
[Android Apps and Games] luke1404:
Update:

I have now got it to work on the stock calendar. Just can't get it to work with business calendar or any other 3rd party apps.
[Android Apps and Games] craigacgomez:
Updated version v3.1 added to OP...

Small bugfixes to "really" make sure that we fake that all security policies are active. This is basically making "really" sure that the device does not ask you to set up any security policies. It can be safely flashed over v3.0 without having to remove & re-setup the account. However, updating from any earlier version would still require you to remove and re-setup the account.

All source changes published to GitHub...
[Android Apps and Games] clambert11:
Not working for me either (the calendar sync) on a clean flash of AOKP on my VZW S3. Gonna try the update and see what happens.

---------- Post added at 08:17 PM ---------- Previous post was at 07:39 PM ----------

No dice. Still no Outlook calendars available under the Exchange Calendar of the default calendar app. Installed 3.1 over 3.0 on a clean flash of AOKP Milestone 2. It does say it is syncing for what it's worth. Any other ideas?
[Android Apps and Games] okeeblow:
Thanks! I forked it here into two separate repos I can pull directly into my rom manifest:

https://github.com/okeeblow/android_packages_apps_Email_disrespectful

https://github.com/okeeblow/android_packages_apps_Exchange_disrespectful

In roomservice.xml:

<project name="okeeblow/android_packages_apps_Email_disrespectful" path="packages/apps/Email" remote="github" revision="cm-10.1" />
<project name="okeeblow/android_packages_apps_Exchange_disrespectful" path="packages/apps/Exchange" remote="github" revision="cm-10.1" />

Built cleanly and working fine, now without the need to patch after flashing :)
[Android Apps and Games] lynnux:
My Outlook Calendar is syncing fine on my Nexus 10 using 3.1. Was it working before? Don't know, hadn't really checked.

When I added my Outlook account, I did it through the native email app, and it got saved as a 'Corporate Account', not as an Exchange Account. Even though my work email uses Exchange. This probably didn't make a difference, but you may want to eliminate that possibility and try saving it as a Corporate Account or through the email app if it's not syncing for you.

Brilliant app! Thanks for putting it together.
[Android Apps and Games] craigacgomez:
Do you see your corporate/exchange email account in the Calendar settings?

Great... I did have some updates after you forked it... a couple of small changes...

Android calls it Corporate account... but it's the Exchange account... just verbiage...
[Android Apps and Games] clambert11:
Yes, but there are no calendars within it. I may try the older version and see what happens. 2.0 used to work fine for me.
[Android Apps and Games] clambert11:
My calendar issue is resolved. Not sure what fixed it but here's what I did:

I had 3.1 installed with no calendars attached to the exchange account.

Removed Exchange Account

Installed Version 2.0

Wiped dalvik & cache

Calendar worked just fine

Removed Exchange Account

Installed Version 3.1

Wiped dalvik & cache

Calendar now works when it didn't before

Extremely odd and I can't explain it but I don't really care. It works for me now. :)
[Android Apps and Games] stomicron:
If anyone is wondering, I had no issues using v3.1 of this tool on Android 4.3
[Android Apps and Games] TripFlex:
ANOTHER OPTION

If you can't get this to work, you can try this patch:

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

I know it may appear to be old, but I just used it to patch 4.2.2 Goldeneye 4.0 TW (TouchWiz) and worked perfect! Spent all day trying to hack this myself and once I used this patch it was done in a matter of minutes ... DOH!
[Android Apps and Games] eseregin:
Do you plan to make this MOD for new Android 4.3 as well please?

---------- Post added at 12:28 PM ---------- Previous post was at 12:25 PM ----------

Oh...

Really?

Will try as well!
[Android Apps and Games] staticx1:
Hi

Can you please provide apk's for Android 4.3?

thanks
[Android Apps and Games] Tenny:
Wouldn't work in 4.3 built from AOSP for me.

Flashed it despite the file names for the exchange server changed in 4.3 (exchange2google.apk or something). Deleted the old files and then installed it. Email fc's on click.
[Android Apps and Games] Festaman:
Hey i need to do this on my phone do you have a link to the steps you took.

Thanks