yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] rfb813:
I just found this app which makes a nandroid backup without going into recovery. Has any one used it? Needs Root and Busybox. If this works then we could back up our stock and make some changes until we get the bootlocker unlocked and get a recovery installed.

https://play.google.com/store/apps/...1bGwsMSwxLDEsImNvbS5oM3IzdDFjLm9ubmFuZGJ1cCJd

Edit. Sorry, will not work without a workable custom recovery installed.
[One (M7) Themes and Apps] cschmitt:
Updated: 06/05/2013 - added HTC Mail client from the 4.2.2 (2.17.401.1) leak with exchange security disabled.

ARHD users, read this post: which explains why this zip doesn't work for you.

TWRP/CWM flashable zip for 4.1.2: HTCOne-Mail-nosec-flashable.zip

TWRP/CWM flashable zip for 4.2.2: HTCOne-Mail-4.2.2-nosec-flashable.zip

Installing the flashable zip:

Note: This Mail+nonprime.apk is de-odexed, the flashable zip automatically deletes Mail+nonprime.odex if present.

1. Delete existing Exchange account(s), and remove Email Device Administrators -- if any.

2. Copy flashable.zip to sdcard.

3. Reboot to recovery flash zip.

4. Reboot.

5. Setup Exchange account.

6. Enjoy and thank...
[One (M7) Themes and Apps] avplaya:
Just want to say thanks for posting this, and to confirm that the Calendar sync issue has been fixed here. Everything now syncs w/o issue.
[One (M7) Themes and Apps] miisterlim:
Thanks mate, just what I was looking for.
[One (M7) Themes and Apps] virtualepiphany:
Running stock rom with root here, this worked perfectly! I can finally stop switching between my N4 and this now.
[One (M7) Themes and Apps] MrBlahBlah:
Does this Allow you to have a corporate email account without the need for a pin/password?
[One (M7) Themes and Apps] krishnar:
Yep, worked well for me!

Thanks OP!
[One (M7) Themes and Apps] trant01:
worked like a charm for me.

running Revolution HD 7.4
[One (M7) Themes and Apps] MrBlahBlah:
ok one more noob question.....does this require root? can flash the ZIP via CWM recovery, but I'm actually not rooted.
[One (M7) Themes and Apps] ranova:
so I was wondering if it was possible to ADD some security policies to the mail app as my company requires:

- Do not Allow unsigned installation packages

- Do not Allow SMIME soft certificates

The motorola email app and Touchdown on my atrix hd do work with my exchange. But stock android and HTC's email app do not. These are the policies that popup when I try to add my work account.
[One (M7) Themes and Apps] twosix:
You'll need root privilege.
[One (M7) Themes and Apps] cschmitt:
Don't actually need to root the rom, but do need a custom recovery in order to flash the zip.
[One (M7) Themes and Apps] TechPurist:
Does this fix the problem of your exchange email stopping working? After a couple of days of use my email just stops syncing and I have to delete the account and set it up again. Works fine on my computer and Note 2 but a pain on the One.
[One (M7) Themes and Apps] MrBlahBlah:
Gotcha. Ended up rooting anyway juuuust in case. I was mostly asking because I didn't want to do anything that would mess with an OTA update, but with all the tweaks I've done so far, I'll have to restore from a clean nandroid backup before any OTA update anyway

Mod works great, thanks much!
[One (M7) Themes and Apps] dl:
The link for the zip seems to be broken?
[One (M7) Themes and Apps] trant01:
been using this for about a week now and everything is fine. mail, contacts, calendar all continue to sync just fine.
[One (M7) Themes and Apps] twosix:
The exchange calendar is not syncing for me. I use cwm to flash the zip file.
[One (M7) Themes and Apps] dl:
Nevermind. Got it.
[One (M7) Themes and Apps] memuller:
Works perfectly!!

Thanks a lot!!
[One (M7) Themes and Apps] litso:
Sweet, thanks so much! I was searching all over the internet for this this morning (even searched this forum), somehow I never was able to find this until I just stumbled across it browsing the Apps forum.
[One (M7) Themes and Apps] mrmomoman:
Working great. Thank you for the little apk..
[One (M7) Themes and Apps] twilightgod:
Do you have any luck?
[One (M7) Themes and Apps] twilightgod:
Can some one help me to patch this version from ViperDNA?

6.3.618969

It would be great if you can post the hack method
[One (M7) Themes and Apps] r4zv4n:
I can confirm this works flawlessly on ARHD 31.5 (3.62 base). Thank you!

Any chances of getting an inverted version of it as well? :D
[One (M7) Themes and Apps] nabzilla1990:
4.3 patch not working on 4.4 sense just tried for kicks
[One (M7) Themes and Apps] r1sk:
any chance there is already a version for the 4.06 Base? (android 4.4 version)
[One (M7) Themes and Apps] double_ofour:
HTC Mail No Exchange Security Policy

HTC Mail No Exchange Security Policy

for Android 4.4 Sense 5.5

any 4.04 Base Rom

flash via CWM/TWRP. If the flashable zip is not working kindly fix but the mail.apk is certainly working.

-Thanks and credits to Insert Coin Team.
[One (M7) Themes and Apps] henrybravo:
Doesn't work. Needs to be in /system/priv-app not /system/app
[One (M7) Themes and Apps] promonr1:
Thanks! But doesn't work for ARHD 40.2 any idea why?

Tried to flash with TWRP 2.6.3.3 after flashing Rom but phone restarted right away without confirming install.

And when setting mail, security is still active..
[One (M7) Themes and Apps] promonr1:
Made this one work for Android Revolution HD 40.2!

Just flash with CWM/TWRP.
[One (M7) Themes and Apps] TAL1962:
Sorry, not working for me on AHRD 40.2...:(
[One (M7) Themes and Apps] promonr1:
Did you flash before setting mail and enabling security?
[One (M7) Themes and Apps] TAL1962:
Yes I did. got the black screen then device rebooted itself out of recovery.
[One (M7) Themes and Apps] nuts77:
I think you also need to wipe cache & reboot after flashing, before setting up the account.

Just trying it up on ARHD 40.2. Will report if working for me

Edit > account just set up, working ok.
[One (M7) Themes and Apps] TAL1962:
Can you describe the process?

what should I see after flash?

thanks,
[One (M7) Themes and Apps] nuts77:
here's the process I've followed

- delete exchange account / check that exchange has no longer admin security access

- reboot in recovery

- flash mod

- wipe cache & dalvik

- reboot system

- set up exchange account

- go :)
[One (M7) Themes and Apps] promonr1:
This is exactly what I experienced when I tried to flash the other version that was uploaded earlier.

Please check if you're trying to flash my version of the mod.
[One (M7) Themes and Apps] TAL1962:
I did flash your version. the file names are very similar so it's easy to make this mistake. I get the same result...

also, I tried to fine Mail.apk in system/app folder and it's not there. found it in priv-app folder. is it normal?
[One (M7) Themes and Apps] promonr1:
That's the difference between my mod and the other one.

My mod replaces the mail.apk in the priv-app folder.
[One (M7) Themes and Apps] TAL1962:
Success! had to do complete restore from nandroid.

something must have been stuck there.

thank you very much!
[One (M7) Themes and Apps] Jostian:
thanks a bunch, works perfectly on ARHD 40.2, removed exchange acct from settings, then went into Settings/Apps and cleared data for mail app, then went into fil manager and deleted mail.apk, booted into recovery, cleared cahe and dalvik, flashed the zip and all is working great.
[One (M7) Themes and Apps] staticx1:
I've Flashed patch file and it's OK now
[One (M7) Themes and Apps] mrhendrik:
Hi..

I did everything suggested by all people here but nothing seems make my mail security policy disappear.

I tried to delete manually with root explorer mail.apk in system/app-prv but can not. It says it's read only. I already remove account and clear data.

What I should try next?

Thanks..

regards,

mRH
[One (M7) Themes and Apps] Turtle-Tay69:
4.4?
[One (M7) Themes and Apps] staticx1:
Did you try to flash the patch file?
[One (M7) Themes and Apps] mrhendrik:
Yes..

What I did:

1. Remove all account from email

2. Clear data mail.apk

3. Try to delete email.apk from priv-app using root explorer but file is read only and can not be deleted.

4. Install patch: HTCOne-Mail-nosec-flashable-4.4.zip from twrp.

5. Clear dalvik and cache

6. Try add account, but security is not removed.

Thx..
[One (M7) Themes and Apps] staticx1:
Flash this one

https://app.box.com/s/5p49osa4paj3botlbb46

It'll be OK
[One (M7) Themes and Apps] twilightgod:
My format setting always falls back from HTML to plain text after using this mod in OP.

Someone has the same issue?
[One (M7) Themes and Apps] henrybravo:
I just checked my 2 Exchange accounts, they are still showing HTML format, and I've rebooted a few times since installing this mod (I'm using the newest mod posted by promonr for 4.06 based ROMs).
[One (M7) Themes and Apps] twilightgod:
I'm using Droid DNA with 4.2.2 rom ported from HTC ONE, and the mod is in first OP.
[One (M7) Themes and Apps] feridoun:
Thanks, worked fine on HTC One ARHD 40.3
[One (M7) Themes and Apps] hquant:
I cannot get it working, trying to follow your instructions

solved using the zip above
[One (M7) Themes and Apps] dinoc:
Has anyone installed successfully this on a stock firmware rooted 4.3 ?
[One (M7) Themes and Apps] Dryvlyne:
FYI to others this worked for me. See my sig for my phone details.
[One (M7) Themes and Apps] double_ofour:
HTC Mail No Exchange Security Policy

HTC Mail No Exchange Security Policy

for Android 4.4.2 Sense 5.5

any 4.19.401.8 Base Rom

flash via CWM/TWRP. Hit Thanks!

-Thanks to Insert Coin Team.
[One (M7) Themes and Apps] dinoc:
For some reason this is not working for me, the Mail app is still asking for security credentials while trying to set up the Exchange account.

I'm on stock 4.2.2 + root and flashed this via TWRM .

Should I try to copy this manually also ? But where exactly in /system/app/ or in /system/priv-app/ ?

By the way what is the purpose for tow Mail files (one is Mail.apk and the other one Mail.odex) ?

[LE] managed to solve this by copying manually the Mail.apk from the above kit to /system/priv-app/ ,

then setting the permissions rw-r-r then removed the Mail.odex file (still don't know what is its purpose) => but these steps solved my issue .
[One (M7) Themes and Apps] double_ofour:
It's for Android 4.4.2 not 4.2.2.. Try reading back a little for 4.2.2 version, its out there somewhere burried in this thread.
[One (M7) Themes and Apps] dinoc:
No sorry it was a typo ... I meant 4.4.2 (kit kat) not 4.2.2 .
[One (M7) Themes and Apps] amantes_amentes:
I can confirm that flashing with TWRP doesn't work.

HTC One cihazımdan Tapatalk kullanılarak gönderildi
[One (M7) Themes and Apps] monemhamid:
So will this work on gpe?
[One (M7) Themes and Apps] fuzzmania:
Still asks for Encryption, which is what I'm trying to bypass since TWRP can't read encrypted file system. PIN I don't mind!
[One (M7) Themes and Apps] fuzzmania:
Nevermind... rebooting resolved that nag
[One (M7) Themes and Apps] trant01:
any update for 4.19.401.9?
[One (M7) Themes and Apps] giorgoxxi:
Interested as well for a 4.19.401.9 version of this MOD...
[One (M7) Themes and Apps] ellswrth:
CleanRom 6.0 Exchange Security mod?

Hey folks,

I may be out of luck, but I'm running CleanRom 6.0 (and Scott has moved on and closed the thread on this), which is 3.10.502.2 Android 4.3 AT&T Base and I haven't found a version of the Exchange Security removal mod that works on my AT&T HTC One. Anyone have a suggestion for me?

Cheers,

Matt
[One (M7) Themes and Apps] gianmarco00:
I installed this a few days ago and noticed this morning it reverted back to plain text as well. I know in previously disabled versions on earlier ROMs, this used to be an issue that was finally fixed.

I'm wondering if that's the case here as well and if anyone else is also having the issue.

FWIW, this is the version I'm using: http://xdaforums.com/showpost.php?p=46496817&postcount=157

I'm on Chubbzlou's Android 4.3 Sense 5.5 ROM and otherwise the mail app is working great.
[One (M7) Themes and Apps] nuts77:
I'm using this version on ARHD 51.0 & 52.0 without problem (I'm not using encryption). Has someone tested it on 53.0 yet?

Thanks!
[One (M7) Themes and Apps] gianmarco00:
So, it looks like it's a daily occurrence for me at ~11am (probably when I first installed the ROM). I have to go into settings to change back to HTML. This is obviously an annoyance. Anyone know of any fixed for this?
[One (M7) Themes and Apps] raj_ch2002:
can someone please post the patched email app from sense 6?
[One (M7) Themes and Apps] w00dstock:
Sense 6 Mail.apk

Here's the one for Sense 6.
[One (M7) Themes and Apps] raj_ch2002:
Thanks a lot
[One (M7) Themes and Apps] nuts77:
Seems its not working on ARHD 61.0.
[One (M7) Themes and Apps] ankanb:
[MENTION=4343792]w00dstock[/MENTION]: I sent you a PM with a request - wanted to know if it is possible to spoof the user-agent and phone identification details as well that's sent along during the sync.
[One (M7) Themes and Apps] biglo:
Question when they say this disables the exchange security policy does this mean that exchange cant remotely wipe your device anymore?
[One (M7) Themes and Apps] cschmitt:
No, remote wipe is still enabled. There are some versions that disable remote wipe as well.
[One (M7) Themes and Apps] w00dstock:
Sorry, can't help you with it.

Remote wipe is DISABLED, because with this patch you bypass giving administrator permission for your phone to enterprise admin.
[One (M7) Themes and Apps] cschmitt:
Which 'this patch' are you referring to? There are a number of them posted in this thread and around XDA.

Some grant device administration, but do not enforce it, and leave open the possibility of a remote wipe.

Some bypass granting the device administration role locally altogether, but leading the exchange admin to believe that it is being enforced. So they can still send a remote wipe command and that will delete your exchange account locally but the remote wipe itself will fail.

It's easy enough to test from within outlook web access.
[One (M7) Themes and Apps] w00dstock:
I was referring to the one I posted on the previous page for Sense 6.

I've set flag isadminactive to 1, which makes mail app to believe it has admin access, but since user didn't grant it, remote device wipe is disabled.
[One (M7) Themes and Apps] Captain_Throwback:
I wish someone would do this for the Sense 6 Mail.apk for the Sprint M8. PIN lock is killing me.
[One (M7) Themes and Apps] w00dstock:
This one will work on every Sense 6 rom there is.
[One (M7) Themes and Apps] cocoabro:
How does o one go about installing this? I get "App not installed" if I try to install it, and I tried placing it in a previous Sense 5.5 version zip and flashing from recovery with no luck (still had security enforced). Any ideas? Thanks, and sorry for the newb question.
[One (M7) Themes and Apps] Captain_Throwback:
Not so, as I tried it, and Mail simply force closes.
[One (M7) Themes and Apps] w00dstock:
http://w00dstock.alex.pl.ua/mail_exchange_off.zip

installable zip

I tried it on m8 and m7 port.
[One (M7) Themes and Apps] Captain_Throwback:
This one worked. I'm not sure why the other one didn't. Thanks!
[One (M7) Themes and Apps] avwheeler:
I have used both, only times I had FC or issues were when I had email accounts already setup. I just deleted, replaced/flashed re-added email, good. Know you back on LTE, hope to join you sometime soon m8.

Sent from my HTC One on some Awesome Rom..
[One (M7) Themes and Apps] cocoabro:
Thanks. Even with cache and dalvik wipes, I still get security prompts after flashing. On ecliptic 3.2. I'll try flashing the rom update and then this to see if it takes. Thanks again.
[One (M7) Themes and Apps] nuts77:
now it works fine on my ARHD 61.1 install.
[One (M7) Themes and Apps] w00dstock:
Did you remove Exchange Account from Device Administrators on Security settings page?
[One (M7) Themes and Apps] cocoabro:
Not before, but I just tried and it removes the account (i just removed my account, flashed the zip, then added the account again, then tried the removal you mentioned). I've probably screwed something up messing with this over the last few days, so I'll try a fresh rom flash and report back. Thanks again.
[One (M7) Themes and Apps] KMachine:
Couldn't get this to work for me. Deleted all mail accounts, flashed zip in TWRP, wiped cache/davlik and restarted. Still got the security warning saying I needed to allow security to add the account. Tried it several times. Any ideas?

Anyone have the stock Mail app? If I can't get this to work, I prefer the stock icons and slide-out menu styling.

Thanks for the mod though, it definitely seems to work for some. Appreciate the efforts.
[One (M7) Themes and Apps] cschmitt:
Attached is the CM11 Email.apk / Exchange2.apk built with the Device Administrator, security policy, and remote wipe capabilities disabled.

Depending on the rom you flash this on you may need to manually delete the existing Email apks if they have different filenames, as this zip doesn't attempt to remove the existing mail application.
[One (M7) Themes and Apps] KMachine:
You're awesome - thank you!
[One (M7) Themes and Apps] cocoabro:
[MENTION=4343792]w00dstock[/MENTION]: FYI, I flashed an updated Rom, installed the zip, and all worked perfectly. Thanks again.
[One (M7) Themes and Apps] trant01:
is this one from sense 6?
[One (M7) Themes and Apps] cocoabro:
Yes, for Sense 6.
[One (M7) Themes and Apps] subhumanderelict:
Sorry, it's been about a year since I've done this, but when you say "installable," do you mean just run the Mail.apk file in the zip, or do I have to flash this in TWRP? I tried the former and got "App not installed."
[One (M7) Themes and Apps] Captain_Throwback:
The latter.
[One (M7) Themes and Apps] subhumanderelict:
Ok, did that, had to wipe the cache before it said "successful." Unfortunately, it's still requiring me to add a pin/lockscreen even after rebooting a couple of times. Any ideas?
[One (M7) Themes and Apps] Captain_Throwback:
Did you delete the account first?
[One (M7) Themes and Apps] staticx1:
thanks a-lot!:good:

Tested and works great on ARHD 62

here's a mirror:

https://app.box.com/s/z1t0nwc87bhg3av74bqj
[One (M7) Themes and Apps] subhumanderelict:
I did. Does the zip file need to be in a specific directory when flashing? Do I need to check verification in TWRP?
[One (M7) Themes and Apps] Captain_Throwback:
No and no. If it flashes successfully, then it flashed.
[One (M7) Themes and Apps] subhumanderelict:
Damn. I figured it might have something to do with the fact that our IT has to approve the device first, but I just took care of that (plus it shouldn't have asked me for my pin anyway, I'd imagine).

Do I need to be s-off? I unlocked the bootloader, took the 1.54 OTA, and installed TWRP/rooted.
[One (M7) Themes and Apps] Captain_Throwback:
If you're not S-OFF, and not running a custom ROM, there are a few reasons it wouldn't work. First off, your ROM is one which means you'll have to delete/rename Mail.odex for the patched Mail apk to work. You might try renaming both the original apk and odex, then flashing, and check to confirm the new flash took.

The other reason is related to system write protection, which doesn't allow you to change files in /system. However in recovery you should be able to make changes (for the most part). Being S-OFF will eliminate that issue altogether though.
[One (M7) Themes and Apps] trillonometry:
Tried to flash the HTC mail_exchange_off zip to no avail. The CM11 nosec zip works for me though. I'm running an S-Off verizon M8 with CleanRom 1.0... wondering if the Odexed rom has something to do with it? I'd love to run the HTC mail app if i could..... To anyone wondering... MailWise is a good Exchange app that has an option for deactivating the security. Just dig into the preferences on it

Edit: Got it working by renaming the Mail.odex... thanks! Go Sense!
[One (M7) Themes and Apps] KUAndroid:
Does anyone have the problem of not being able to set the lock screen after flashing this? I'm no longer required to have a pin, which is perfect, but it also won't allow me to have the standard lock screen. Thoughts?
[One (M7) Themes and Apps] Captain_Throwback:
Not seeing that. Have you confirmed that you have a lock screen selected in Settings -> Security?
[One (M7) Themes and Apps] KUAndroid:
Whenever I attempt to change it to lock screen in the security settings it defaults to no lock screen. What's interesting is that all of the other screen locks (face, pattern pin, password) can be selected and used. I'm stumped.
[One (M7) Themes and Apps] raj_ch2002:
can we have the patched mail for new released version 5.11.661.8

Thanks.
[One (M7) Themes and Apps] Dryvlyne:
This worked for me...

http://w00dstock.alex.pl.ua/mail_exchange_off.zip

ARHD 70.0 and firmware 5.11.1540.9
[One (M7) Themes and Apps] cclarke99:
My two cents

I was able to successfully load this mod after using a root file explorer to rename the original Mail.apk and Mail.odex files. Once that was done, I rebooted into TWRP, flashed the file and wiped Cache/Dalvik.
[One (M7) Themes and Apps] Aleksandras:
Are you sure? For me it's FC'ing (throwing errors) on run. Tried two different versions from this thread. I removed existing accounts, tried wiping dalvik cache, etc.. and same story - it still doesn't work.

Also one other thing - Mail.apk in this thread is versioned 7.xxx, when Sense 6 comes with Mail.apk versioned 8.xxx.

Edit

Nevermind, found a version which is 8.xxx and is really working for me. If anybody else will have problems with it, you can try this one - http://xdaforums.com/showpost.php?p=51370122&postcount=230

Not sure what was wrong with all these versions, I'm a little bit confused which one is which and which is the most recent one, but at least for me - the above one is working.
[One (M7) Themes and Apps] Dryvlyne:
Sorry, I have an HTC One (M7) and I think you have the newest model (M8). I just used the same .ZIP that I used with ARHD 62 and it worked just fine.

I agree though, this thread is confusing because so many different links get posted. It would be help if the OP just kept the first post up to date with the latest links.
[One (M7) Themes and Apps] |Rene|:
Hi,

is this mod also working with the one M8?
[One (M7) Themes and Apps] w00dstock:
If you're referring to mine, then yes. It is based on m8 Mail.apk.

Also, there is a similar thread on m8 forum.

http://xdaforums.com/showthread.php?t=2700582
[One (M7) Themes and Apps] jackinabox:
Tried using this mod on ARHD 7 but it dosent seem to work (i tried all version on this thread).

this mod worked perfectly on ARHD 5.

Can anyine think of a way to adjust it to the new version ??
[One (M7) Themes and Apps] |Rene|:
Hi, what is an ARHD Phone? For me this mod is also not working. Tried the Zip from the first post and the Mail.apk provided in some posts of some m8 users here. I deleted my exchange account at first and the updates the Apk. Every time I set up the exchange account the policy dialog shows up. Any advise?

Edit: Got it! After renaming the Mail.odex in /system/priv-app and flashing the Zip it is working :)
[One (M7) Themes and Apps] dinoc:
I've tried this Mail.apk but is not working on my M7 and Sense 6.

Where did you copy the Mail.apk?

I've tried both locations in /system/app and /system/priv-app/, deleted the .odex file, reboot, but is not working, it asks for security settings.

What am I not doing correctly?

Have I picked up the correct apk?

If not can you point me to one please?