Mail.apk w/o exchange security on ics leaked rom? - HTC EVO 3D

Im running myn's silk rom and ive been looking for hacked mail.apk that works. I did google 'mail.apk sense 3.6' and it took me to an xda thread where there are bunch of mail.apks. unfortunately, none of them worked with this rom.
Has anybody tried hacking mail.apk in myn's rom? Would you mind sharing the apk and odex file?
Thanks!

Anyone?
Sent from my PG86100 using XDA

Try the attached apk. It will still prompt you to activate the security policies but it doesn't actually do anything so just tap "Activate" when prompted. I pulled the Mail.apk from my phone which is running MeanRom 1.9 ICS and hacked it myself to bypass the security policies so I would guess it should work for any other Sense enabled ICS rom but I can't guarantee it.
For installation, just copy it to /system/app/Mail.apk (via adb or root explorer or whatever you want) and reboot. You'll have to delete and readd any accounts that already exist as well as recreate any shortcuts to the Mail app.
Enjoy!

Related

[Request] Deodexed, zipaligned Stock apks

Hi all - I've flashed the Super Clean ROM v0.4 by jt1134, but I'm finding that I much preferred the stock music player, and noticed a lack of "ThinkFree Office" in this release, which got me to thinking;
Is there a place to download optimized, deodexed, zipaligned, [insert optimization buzzword here] apks for every one of the stock apps that were included with the Fascinate? Something we can just adb push onto our customized ROMs after the fact?
Again, I'm thinking mostly of the music app and ThinkFree office (I know I can download a free version... was the stock app the for-pay version, or was it the free "lite" version?), but I know that some people also like the stock mms app, etc.
Thanks!
BTownTKD said:
Hi all - I've flashed the Super Clean ROM v0.4 by jt1134, but I'm finding that I much preferred the stock music player, and noticed a lack of "ThinkFree Office" in this release, which got me to thinking;
Is there a place to download optimized, deodexed, zipaligned, [insert optimization buzzword here] apks for every one of the stock apps that were included with the Fascinate? Something we can just adb push onto our customized ROMs after the fact?
Again, I'm thinking mostly of the music app and ThinkFree office (I know I can download a free version... was the stock app the for-pay version, or was it the free "lite" version?), but I know that some people also like the stock mms app, etc.
Thanks!
Click to expand...
Click to collapse
I was just going to start looking for the deodexed system dump. I, too, miss the stock music player. Anyone got a link, and will it work with JT's rom? And how should we install it? Using a file manager, pushing it with adb, or putting it somewhere with root explorer?
I need this ro try and push the stock market app. The froyo update won't download apps.
Sent from my SCH-I500 using XDA App
Stock music player, messaging app and alarm clock is what is keeping me from using this Rom
Sent from my SCH-I500 using XDA App
+1
I kinda miss being able to skip or replay songs from the dropdown bar.
Having NFS back would be nice too
frostman released a set already:
http://forum.xda-developers.com/showthread.php?t=793479
You can just pull stuff out of the zip.
Flipsoul said:
frostman released a set already:
http://forum.xda-developers.com/showthread.php?t=793479
You can just pull stuff out of the zip.
Click to expand...
Click to collapse
Or you can DeOdex your system manually I have used this method and it works, Only exception is at step "5. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "vzwlbs.odex" (instead of this file that does not exist on a Fascinate - "guava.odex".) It's a bad file, and interferes with deodexing process."
I was actually going to request the stock calender apk. The samsung one looks better but takes away too much functionality. I guess they really do like apple haha. I need to know what's next on my schedule without remembering to look for it.
Jt has been slowly adding some of the stock apps as well as some of the AOSP apps to the "extra" folder in ROM manager. I'm guessing if there is enough interest in adding an app he would be willing to provide it. I'm fairly certain that donations to his "beer fund" would help prompt interest.
Jt hangs out in #Samsung-fascinate on freenode a lot, you could *politely* request that he add an app there.
i copied ClockPackage.apk and Mms.apk from frost's rom to /system/app and it all worked. I got back stock versions of both, I believe if you rename DeskClock.apk to DeskClock.apk.bck or delete it you can remove altogether JT's clock.
I wonder where the Verizon stuff is, like the info app that shows you minutes/texts/data used.
andmer said:
I wonder where the Verizon stuff is, like the info app that shows you minutes/texts/data used.
Click to expand...
Click to collapse
I'd like this app as well, if you're able to get it working. I'd try it myself, but I'm at work ATM.
I think its this "I500_MyVerizon_05202010.apk" I saw it in the full system dump. However that dump is not deodexed and from original release. don't know if it would work and don't wanna screw up my system.
You should be able to grab them from a system dump.
The fascinate stock apps that are not included in frosty's zip were never odexed in the first place.
The way frosty's zip to deodex works is by removing the odex files, and replacing the corresponding apk with the deodexed versions.
Can you just take the apk from the dump and install it? I need thinkfree back as well. Does this work or do you have to get the apk and odex file from the dump and paste into the system/app folder?
I remember having a deodexed rom on my D1 and installing apps from the market with no problems. Can I just add the apk to my sdcard and install?
Thanks
I would just copy them to system/app
I do not know if any of them are actually installable if you just run, them on your phone.
If it doesn't have an odex in the system dump, it probably doesn't need one.
I like the file manager "my files" that comes with the stock rom. I might get heat for this, but its nice to have that already installed and or a zip to install via clockwork for other roms.
Flipsoul said:
I would just copy them to system/app
I do not know if any of them are actually installable if you just run, them on your phone.
If it doesn't have an odex in the system dump, it probably doesn't need one.
Click to expand...
Click to collapse
Thanks. I did not notice an odex so I moved it to system/app and rebooted. Works great. Thanks!

Patched Mail.apx - No lock/password for exchange

I patched the classes.dex and no more passcode after the lockscreen.
Since Mail.apk is a system app you can't just replace the apk... so you'll need to do it in recovery.
Instructions:
1. First you need to remove all exchange accounts (in SETTINGS -> ACCOUNTS & SYNC) and then remove the PIN in SETTINGS - SECURITY.
2. Then boot into recovery and install the Mail.apk - patched.zip file (attached).
3. Reboot and add your exchange account normally... it will still ask you to activate the security settings but no password will be required.
Enjoy not having to type a password to unlock your EVO 3D!!!
--- Found this info to patch the classes.dex here: http://forum.xda-developers.com/showpost.php?p=10582547&postcount=335
Still requires the password.
kraminc said:
Still requires the password.
Click to expand...
Click to collapse
Same here.
Sent from my PG86100 using XDA App
Definitely still requires the password... Anyway to get this working? The whole password thing sucks
SHOTS FIRED!!! From 3 Dimensions!
Really sorry guys, I had the old classes.dex file for some reason. This is fixed now! I reuploaded the file in the OP.
You'll still need to remove the exchange account and remove the lock before you install the zip from recovery.
YACO said:
Really sorry guys, I had the old classes.dex file for some reason. This is fixed now! I reuploaded the file in the OP.
You'll still need to remove the exchange account and remove the lock before you install the zip from recovery.
Click to expand...
Click to collapse
Confirmed working now, 100% Thank you so very much, I can't tell how much the password thing pissed me off!
I just followed the instructions, downloaded the file to my phone, moved it to my root of my sd card, renamed it from -1.zip to exchange.zip flashed it, rebooted and tried to add it, and no go still have to add a pin. I looked in the zip file and I don't see a classes.dex file at all. Not sure what is up, but I am on stock ROM, have S-OFF, and Recovery, no issues flashing it through recovery but still required to put in a PIN. I'd LOVE to have this working. I will be going to a new ROM soon, I just haven't decided which one I want.
All I can say is keep trying, I have it working for.me right now, but I flash alot of roms, so I feel sometimes it works and other times it doesnt....try not clearing cache or dalvik, installing then rebooting. It will still tell you it needs a pass but when you press activate it will bring you right back to finish your email set up....
SHOTS FIRED!!! From 3 Dimensions!
I suspect it is because I am still on stock ROM, and it is Odexed. Don't know a lot about it, but that is my suspicion. I'll probably flash a ROM this weekend and then try it again.
do you know if this will help to fix the stock mail.apk if it is having issues?
i have tried flashing different roms and still get a exchange activesync mail application which doesn't want to sync correctly.
bump........
mail.apx compatibility
Will this patch also work on v2.3.4?
Thanks,
-Z-
zyrzox said:
Will this patch also work on v2.3.4?
Thanks,
-Z-
Click to expand...
Click to collapse
I don't believe so
Sent from my PG86100 using xda premium

[UTIL] DeSense, Cleanup, NEW MainVer fix, + more ** [v9 updated 3/8]

"So easy, a caveman can do it"
AS ALWAYS use at your own risk. Not responsible for anything that might happen to your phone.
Updated DeSense for both, ICS and GB, roms. Changes are NO LONGER permanent.
What can I use this for?:
- set your mainver to accept any of the rezound PH*.zip files while using bootloader
- change look and feel of your rom from sense to something else
- remove extra apps not needed to use your phone
- install apps you need before logging into market
- easily reboot into recovery/bootloader w/o pulling the battery
- block ads
- fix bluetooth on ICS roms
Instructions:
** Must ALREADY be rooted before running (htc Dev Unlock)**
- HTC Drivers must be installed on PC
- USB Debugging turned on for phone
- Connect via usb and charge only
- extract zip somewhere and double click DeSense_v#.bat
- Choose option in menu
Extra steps (recommended)
- Prior to de-sense, log in to all your accounts and setup the intial syncing because you may not be able to once you have de-sensed. Syncing should work after you de-sense if you do this...
Optional:
- Nandroid backup your phone in case you run into issues.
Available options:
**1** DeSense for both ICS and GB
Removes Sense UI. Must have a launcher already installed!!!
**2** Fix Bluetooth on ICS roms
Thx to JoelZ. Click here and thank/donate!
**3** Restore
Restores all of the original apk's you have removed using this util
**4** Install apps (choice menu)
Included apps are:
- wifi tether
- es file explorer
- titanium backup
- Swype
- Nova Launcher (ICS Only)
**5** Remove more HTC, Verizon & google extras
Now removes even more apps!!! If you need something back that this removed, you can use any root exploring program to move the apk from /system/bkup/ to /system/
**6** Change Mainver to universal
Will set your MainVer to "1.00.000.0". This should allow you to install any rom's boot image without getting a mainver error.
Big thanks to drellisdee. Click here to thank/donate!
**7** Remove HTC Lockscreen
Removes HTC circle lockscreen and reverts to default android (NOTE: See Troubleshooting/Issues below, before performing this option*.)
**8** Install ICS notification bar and settings (!!!do not use!!!)
do not use this option as most of (if not all) the newer roms will not be based off the 3.0.11
**9** Install ad-block hosts file
This will block ads in your browser(s) and apps. Must reboot to take effect.
**0** Reboot (choice menu)
Reboot options
- into bootloader
- into recovery
- or normal
Change Log:
v7 -Changed ICS launcher to nova launcher
-Changed settings.apk to a stable one tweaked by romanbb
-Added "flash boot.img" option (use caution)
v7_1 - No longer deleting files, making a backup instead.
- No longer removing htc video (apk)
- Made flashing a boot.img even easier and fail proof
- No longer installing swype/wifi on system (applications were not opening on some roms also gives u ability to uninstall them)
v8 - Updated with new options
- No longer removing htc video (for real this time )
v8_1 - Made instructions clearer for new 4.0.3 builds
- correctly mounting system for option 8
v9 - Removing more extra apps that might be on your phone
- Added TiBu, ES File Explorer
- Updated wifi tether, nova launcher
- removed go launcher, mms, and contacts apks because of confusion (use v8.1) if you want those apks
Troubleshooting/Known Issues:
Wifi tether isn't working
- Open the app go to
settings > change device profile > "Samsung Galaxy Nesus (CDMA/LTE)"
settings > change setup method > "Netd (master)"
settings > check "Routing Fix"
I get error messages after removing HTC extras, Verizon/Google exras, etc
- Reboot your phone!!!
HTC Lockscreen no longer has shortcuts
- No fix available
*Need to unlock phone to answer calls
- No fix available, if this is a problem DO NOT uninstall HTC lockscreen
**Cannot click "About" & "ROM Control" in ICS settings
- No fix available, if this is a problem DO NOT install ICS notification and settings
**System UI crashes after boot
- No fix available, if this is a problem DO NOT install ICS notification and settings
- It only crashes once after boot, other than that I have not seen it crash again.
Download Link:
v9
Download v9 Here
v8.1
Download v8.1 Here
Does the wifi tether charge against normal data or will carrier detect and add?
Also, is there a list of all items frozen? I've been slowly freezing htc stuff with zerg/titanium bu and I know I missed some stuff out of caution/uncertainty/fear.
Thanks!
Sent from my ADR6425LVW using Tapatalk
if you open the batch file with any text editor you can see what gets disabled. If you disable an apk twice, it will not affect your phone. So no worries about re-freezing frozen stuff.
wifi tether uses root to provide the service, i cannot make any guarantees to what Verizon will or will not do. I have been using this apk for a while without issues, but I am not making any claims. This stuff is always "use at your own risk"!
The program uses your phone data connection (which is part of your data plan) to provide wifi to other devices i.e. other phones, laptops, desktops, ps3's, etc. If you have limited data plan you can go over the limit using this app.
So i posted this in the Supertool thread - removing sense stops the gallery/album app from working properly. Does anyone know what dependencies the gallery app needs to work?
Thanks
This is ****in awesome excuse my language
Sent from my ADR6425LVW using xda premium
PaulTheBuilder said:
So i posted this in the Supertool thread - removing sense stops the gallery/album app from working properly. Does anyone know what dependencies the gallery app needs to work?
Thanks
Click to expand...
Click to collapse
+1 I haven't been able to track it down either.
zeroxg4 said:
+1 I haven't been able to track it down either.
Click to expand...
Click to collapse
I found the missing package is "com.htc.opensense". I'm not to sure what else this enables but I still have a de-sensed ui. I will create a batch file for easy use.
That was it. Thanks!
I understand my original .bat file is not working correctly... i'll update the original file when i get home later tonight. In the meantime you can use the frigid's super tool (link provided) although a lot of the features won't work for our rezounds...
how come after my screen just stays blank not even a lockscreen please help
mohkg said:
how come after my screen just stays blank not even a lockscreen please help
Click to expand...
Click to collapse
Pull the battery and reboot.
mohkg said:
how come after my screen just stays blank not even a lockscreen please help
Click to expand...
Click to collapse
If you used my original file, it was not processing all the way. You could just try to run the "re-sense" option, and that will return you to normal.
Will provide updated file soon
Sent from my ADR6425LVW using XDA App
I used the one tool found on Rootz Wiki and so far everything seems fine except for 2 things. The stock HTC mail app force closes upon reboot, and the gallery issue. No big deal because i just froze the stock mail app since I prefer the gmail anyways. Anyone else have the mail FC on reboot?
zetsumeikuro said:
I used the one tool found on Rootz Wiki and so far everything seems fine except for 2 things. The stock HTC mail app force closes upon reboot, and the gallery issue. No big deal because i just froze the stock mail app since I prefer the gmail anyways. Anyone else have the mail FC on reboot?
Click to expand...
Click to collapse
I want to use this so bad but I need mail to work.
janderson2k said:
I want to use this so bad but I need mail to work.
Click to expand...
Click to collapse
Mail works fine after using option 4 (even though it only says "fix gallery")
danutzz said:
Mail works fine after using option 4 (even though it only says "fix gallery")
Click to expand...
Click to collapse
Stupid question - but if sense is gone - what UI runs? Gata read the thread more.....
janderson2k said:
Stupid question - but if sense is gone - what UI runs? Gata read the thread more.....
Click to expand...
Click to collapse
It's the standard gingerbread launcher... you can install anyone you want though, like launcher pro or something
janderson2k said:
Stupid question - but if sense is gone - what UI runs? Gata read the thread more.....
Click to expand...
Click to collapse
Usually users want a de-sense if they are using an alternative launcher such as ADW
Sent from my ADR6425LVW
Marcismo55 said:
Usually users want a de-sense if they are using an alternative launcher such as ADW
Sent from my ADR6425LVW
Click to expand...
Click to collapse
Yeah I am partial to go launcher myself but cant stomach another UI in the background. Will be nice to pull this sense stuff off the device. Thanks guys.
So far - very awesome. Works great. Love the Sense unlock with go launcher. Perfect.

[MOD] deSense and debloat Sense 3.6 and 4.0 (3.5 in the works) [2012/06/12] [v4]

What this does
Removes bloat, especially from HTC and Verizon. The full list is at https://github.com/muness/Rezound-DeSense/blob/master/apks_to_remove.txt . That includes all the APKs Scott Crosler removed in CleanROM Developer Edition 1.0 and everything listed in Quantumrabbit's safe to delete and safe to delete so long as other apps/services that use it also are lists and also all the APKs I identified as Sense 4.0 or bloat in Team PkmN - Venasaur Rom v3.2.0. The full list of APKs it removes is at https://github.com/muness/Rezound-DeSense/blob/master/apks_to_remove.txt
Install AOSP APKs for Browser, Calendar, Calculator, Email (see stock_apks directory)
Reboots the phone before FCs kick in
Has no options whatsover. Just run it. If you want to customize it, after download/extract, edit apks_to_remove.txt and desense.sh on Mac and Linux or desense.bat on Windows.
Before running this script
Make a Nandroid backup
Install the Sense ROM of your choice (I jump around between BAMF, CleanROM and RezROM)
Install a launcher and keyboard of your choice (I like Nova and SwiftKey X)
Connect the device to USB
If you have not done any of these steps do not use this script!
Using this script
Windows
Do the steps listed above (Before running this script)
Download the .zip file https://github.com/muness/Rezound-DeSense/zipball/v4
Expand it
Run desense.bat
Mac/Linux
Do the steps listed above (Before running this script)
Get adb working on your machine. If you need help, see http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK.
Download the .zip file https://github.com/muness/Rezound-DeSense/zipball/v4
Expand it
From the command line, go to that expanded directory
Run ./desense.sh
Thanks!
The awesome developers who provide the Sense ROMs that we can run this against.
Scott Crosler who provided me a list of apps to remove.
danutzz for the original DeSense scripts at http://forum.xda-developers.com/showthread.php?t=1382630
Quantumrabbit who collected and maintains a list of APKs that are safe to remove at http://forum.xda-developers.com/showthread.php?t=1532366
Show me the code
I have the scripts hosted at github.
Known issues
You don’t get AOSP status bar
You don’t get AOSP dialogs
You don’t get AOSP dialer or Phone or People app
You need to wipe data from the Google Play Store app
There’s still some HTC Sense stuff here. e.g. Phone, People, Camera, Gallery, Personalize setting.
You get whatever bugs the ROM you start with has.
Requires that the ROM you're using has a boot.img which specifies ro.secure=0 in default.prop file. This gives adb connection root privileges.
Changelog
2012/03/21 - V1 - first release
2012/04/04 - V2 - remove some more APKs that are not needed post-setup. Keep around WorldClock.apk as some report that removing it causes issues.
2012/05/15 - V3 - added Sense 4.0 APKs to remove. Still works with Sense 3.6, just has errors when it tries to remove APKs that aren't there.
2012/06/12 - V4 - Fix a bug which broke PC SD card mounting. Also some cleanup.
#2 Just in case
Tested successfully:
(muness on 3-21) v1 - RezROM ICS v3.1 | SuperTweaks | 3.11.605.22 Base | [3/20/12]
(muness on 3-21) v1 - BAMF Rezound ICS v1.1 Official
(justreboot on 3-22) v1 - CleanROM
(clemson91 on 3-25) v1- RezROM v3.2
(muness on 3-28) v1- RezROM v3.3
(muness on 3-30) v1 - BAMF v2.0
(muness on 4-04) v2- BAMF v2.1
(muness on 5-15) v3- Team PkmN - Venasaur Rom v3.2.0.
(muness on 6-12) v3 - [CON ROM V2][4.0.3 Sense 3.6]
(IAmTheOneTheyCallNeo on 6-14) v4 - Team PkmN - Venasaur Rom v3.2.0.
(muness on 6-15) v4 - [CON ROM V3][4.0.3 Sense 3.6]. The ROM is mostly desensed, but running the script removes a few more things and installs some AOSP apps.
Tested and *does not work*:
(muness on 6/11) v3 - Newts OnE XxX RLS 1 - The stock apps that this tools installs *don't work*. I get FCs on Browser, Calculator and Calendar. LiveWallpaper, Clock and Email work.
Thank you! Going to give this a go in just a little
Seems to be ok with Clean Rom as well... would be nice to get the ICS dialer tho
justreboot said:
Seems to be ok with Clean Rom as well... would be nice to get the ICS dialer tho
Click to expand...
Click to collapse
For CleanROM, I suggest using CleanROM Developer Edition. It's pretty much this, but you get Scott's support!
I too would love to have the ICS dialer. I have no idea how to get that to work though. I tried the naive approach, replacing HtcDialer, HtcContacts, ContactsProvider and Phone APKs and I get FCs on boot up that make the phone unusable. If any one can point me in the right direction, I'd be happy to delve deeper.
Ok so I ran this on RezROM and phone won't boot.
Comes up to boot screen, does that and automatically shuts off.
Any ideas?
I Am Marino said:
Ok so I ran this on RezROM and phone won't boot.
Comes up to boot screen, does that and automatically shuts off.
Any ideas?
Click to expand...
Click to collapse
Sorry, I only tried 3.1. Are you on RezROM 3.2?
muness said:
Sorry, I only tried 3.1. Are you on RezROM 3.2?
Click to expand...
Click to collapse
Yes.
10 chars.
Hi, thanks a lot for the tool, it's very helpful. I just used it on RezROM ICS 3.2 and worked perfectly.
I Am Marino said:
Ok so I ran this on RezROM and phone won't boot.
Comes up to boot screen, does that and automatically shuts off.
Any ideas?
Click to expand...
Click to collapse
Marino, can you describe what you did? Since clemson91 had no problems with RezROM 3.2 I can't diagnose without more input into what you did or how it stopped booting for you.
Sent from my ADR6425LVW using Tapatalk
muness said:
Marino, can you describe what you did? Since clemson91 had no problems with RezROM 3.2 I can't diagnose without more input into what you did or how it stopped booting for you.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
I already had Go Launcher and swiftx running and set as defaults, that might of helped. Thanks again
I did forget to install a keyboard but had a launcher, could simply forgetting the keyboard cause all this?
Sent from my ADR6425LVW
clemson91 said:
Hi, thanks a lot for the tool, it's very helpful. I just used it on RezROM ICS 3.2 and worked perfectly.
Click to expand...
Click to collapse
You are very welcome. And thanks for the report.
Sent from my ADR6425LVW using Tapatalk
I'll try once more properly when I flash RezRom 3.3 tonight.
Sent from my ADR6425LVW using Tapatalk 2 Beta-2
I Am Marino said:
I'll try once more properly when I flash RezRom 3.3 tonight.
Click to expand...
Click to collapse
I was able to flash RezROM 3.3 (the battery tweaks intrigued me) this morning, flash TitaniumBackup, booted up, skipped all the setup stuff, restored my apps with TitaniumBackup, set NovaLauncher as the default launcher and SwiftKey X as the default keyboard, and then ran the script from Windows and it is worked fine.
How did it go for you?
muness said:
I was able to flash RezROM 3.3 (the battery tweaks intrigued me) this morning, flash TitaniumBackup, booted up, skipped all the setup stuff, restored my apps with TitaniumBackup, set NovaLauncher as the default launcher and SwiftKey X as the default keyboard, and then ran the script from Windows and it is worked fine.
How did it go for you?
Click to expand...
Click to collapse
Still didn't work.
I don't get it, I had Apex and another keyboard this time.
The script says all sorts of things I don't understand like adb server out of date, killing daemon, it tries to run it but nothing successfully.
Sent from my ADR6425LVW using Tapatalk 2 Beta-4
I Am Marino said:
Still didn't work.
I don't get it, I had Apex and another keyboard this time.
The script says all sorts of things I don't understand like adb server out of date, killing daemon, it tries to run it but nothing successfully.
Sent from my ADR6425LVW using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
Are you running it on Windows? I'll add a way to capture the output.
I'm running on Windows XP.
Sent from my ADR6425LVW using Tapatalk 2 Beta-4
I Am Marino said:
Still didn't work.
I don't get it, I had Apex and another keyboard this time.
The script says all sorts of things I don't understand like adb server out of date, killing daemon, it tries to run it but nothing successfully.
Sent from my ADR6425LVW using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
Make sure that USB debugging is on, and that the HTC sync isn't active on your computer. HTC sync had messed up other desensing tools for me before.

[MOD][APP] Exchange Security Disabled (Sense Mail.apk) (Updated 2/15/2013)

I don't take any credit for finding this fix, but I wanted to make it more accessible for E4GLTE owners.
Want to be able to access your Exchange email account without the security permissions required by your work/school? I know I do - so here's how:
First, backup your ROM (this is a fairly safe modification, but better safe than sorry).
Next, remove your Exchange ActiveSync account if you already have it on the phone (I've had good luck skipping this step). Then follow these steps (or just use one of the recovery flashable zips):
Download the attached Mail.apk to your phone.
Using a root access file explorer (Root Explorer is my favorite) go to \system\app
Mount as R/W, and delete or rename Mail.apk and mail.odex (I renamed them to Mail.apk.bak and mail.odex.bak).
Copy the downloaded Mail.apk into \system\app
Set permissions to match the original Mail.apk
Reboot (Recommended: reboot to recovery and clear Cache/Dalvik cache)
Now re-add your Exchange account, and you should be set!
Note that this makes your sensitive email more vulnerable to bad people if your phone is stolen (and your security admin will not be happy with you if they find out) - this is on your head, not mine!
Huge thanks to rathore4u for making the original modified app available for a large number of phones (ICS both Sense and AOSP). Original thread is here - be sure to thank him for his wisdom!
-----------------------------------------------------------------------------
*Edit 2/15/2013* - Rebuilt from the newest OTA build (3.16) (works now - thanks mikeyxda!)
*Edit 2/13/2013* - Added revert-to-stock zip for 3.16.
*Edit 12/27/2012* - Rebuilt the modded apk from stock Evo LTE JB (no longer using shnizlon's)... hopefully this will fix any problems people were having? Also added a revert-to-stock JB zip.
*Edit 12/18/2012* - Added a flashable zip for Jelly Bean/Sense 4+. Credit goes to tbonnano231 and shnizlon - go send them some Thanks!
*Edit 9/4/2012* - Fixed my flashable zips to work better (correct permissions and automagically clears cache/dalvik cache).
*Edit 8/31/2012* - Used Rathore4u's guide to modify the Sense 4.1 Mail.apk (from the 2.13.651.1 base).
*Edit 6/29/2012* - Using rathore4u's how-to guide and the Mail.apk from mikeyxda's MeanROM, I created a Mail.apk with Sync While Roaming and HTML message format available. I've attached this as an apk and a flashable zip (make sure to rename the apk to Mail.apk if you go the manual method). Be sure to thank both rathore4u and mikeyxda for their contributions!
*Edit 6/14/2012* - Rathore4u stepped up and helped us out - we now have our very own modified mail app for the E4GLTE! This version has none of the bugs the previous one had (text prediction/deletion works just fine [tested using SwiftKey] and notification sound works as well). I've replaced the attached file with the fixed version, and included a flashable zip I made for those who are lazy like me
Attached Files (newest files are blue):
Mail-41.apk - Stock Evo 4G LTE mail with security disabled (2.13.651.1 base - NEWEST)
Mail-sans-security_E4GLTE-41.zip - Stock Evo 4G LTE mail with security disabled, recovery flashable zip (2.13.651.1 base - NEWEST)
Mail.apk - Stock Evo 4G LTE mail with security disabled (from older base)
Mail-sans-security_E4GLTE.zip - Stock Evo 4G LTE mail with security disabled, recovery flashable zip
Mail-MeanFeatures-NoSecurity.apk - MeanROM mail (Sync while roaming and HTML enabled) with security disabled [rename to Mail.apk when you install]
Mail-MeanFeatures-NoSecurity-E4GLTE.zip - MeanROM mail with security disabled, recovery flashable zip [this zip backs up your previous Mail.apk as Mail.apk.bak, in case you want to go back to stock]
Mail-No-Security_EvoLTE-JB.zip - Jelly Bean/Sense 4+ mail with security disabled, recovery flashable zip
Stock-Mail_EvoLTE-JB.zip - STOCK Jelly Bean/Sense 4+ mail, recovery flashable zip (revert to stock!)
[*]Stock-Mail_3.16.zip - Stock Jelly Bean/Sense 4+ mail 3.16 OTA, recovery flashable zip
[*]Mail-No-Security_3.16.zip - Jelly Bean/Sense 4+ mail with security disabled for 3.16 OTA, recovery flashable zip
Thanks so much for this! I'll give it a try, have had modded mail.apk files for all of the other sense versions.
Sent from my EVO using Tapatalk
Thanks! Trying now!
Works well
Thanks, works great!!
I've used this, and it has worked to disable exchange policies. I get a very strange response now though when I try to delete or correct a misspelled word. The word will duplicate itself, and it makes it almost impossible to delete. I have tried three different keyboards, and it does it with all of them.
Any thoughts?
reissc1 said:
I've used this, and it has worked to disable exchange policies. I get a very strange response now though when I try to delete or correct a misspelled word. The word will duplicate itself, and it makes it almost impossible to delete. I have tried three different keyboards, and it does it with all of them.
Any thoughts?
Click to expand...
Click to collapse
Hmm... That definitely did not happen to me haha. Did you maybe try redownloading and reinstalling?
Sent from my E4GLTE using XDA
I also have had the same issue with it. And it will keep doing it, making the sentence worse.
Wow I never noticed that bug before until I tried it out.
It's annoying as hell.
Was this bug present on the stock app?
- - sent from my phone.
It only does it in the email app, but it looks like the HTC keyboard works fine. Does it do it with that keyboard for you guys?
Sent from my EVO using xda premium
I used the automated method and I'm not getting the spell check bug. Works.fine for me. Stock keyboard.
Weird. I didn't make the file just grabbed it from the thread I listed - maybe ask them there? I don't know how to edit smalis...
Sent from my E4GLTE using XDA
For those of you having the problem, what keyboard are you using?
Edit: I tested this using Swype, SwiftKey, and the HTC keyboard. The delete bug occurs using any keyboard except HTC's, for some reason. I've posted in rathore4u's original thread to see if he can help, I'll let you all know if he can figure it out.
Socrguru said:
For those of you having the problem, what keyboard are you using?
Edit: I tested this using Swype, SwiftKey, and the HTC keyboard. The delete bug occurs using any keyboard except HTC's, for some reason. I've posted in rathore4u's original thread to see if he can help, I'll let you all know if he can figure it out.
Click to expand...
Click to collapse
Yeah, the bug occurs in the preloaded version of Swype, as well as Swiftkey X, and Swiftkey 3 beta.
For folks using Swype, just go to Swype preferences and disable word suggestion (all 3 checkboxes) and this problem goes away. However the problem with the notification sound not working still remains, atleast I can't find a workaround for it.
Rathore4u helped us out and made a modified Mail.apk based on the E4GLTE's apk. I've tested it and it doesn't have the text prediction/deletion bug (tested using SwiftKey) and it does play notification sounds!
I've updated the OP with the new Mail.apk, and also created a flashable zip if that's what you'd prefer.
Socrguru said:
Rathore4u helped us out and made a modified Mail.apk based on the E4GLTE's apk. I've tested it and it doesn't have the text prediction/deletion bug (tested using SwiftKey) and it does play notification sounds!
I've updated the OP with the new Mail.apk, and also created a flashable zip if that's what you'd prefer.
Click to expand...
Click to collapse
Just a note, the new version is deodexed. Which in my experience, if you are on an odexed ROM (stock) will cause you to see an "Android is upgrading" window everytime you reboot and it slows down reboots.
I'm looking to see if we can odex that apk so we will have both versions.
Here is the odexed version I just made, works great!
This is NOT a flashable zip. Extract out mail.apk and mail.odex and copy them to /system/app
modplan said:
Here is the odexed version I just made, works great!
This is NOT a flashable zip. Extract out mail.apk and mail.odex and copy them to /system/app
Click to expand...
Click to collapse
I believe it does the "updating apps" thing only once, doesn't it? I made my zip erase mail.odex so it would work with the odexed ROM (at least, I think it should).
Sent from my E4GLTE using XDA
Socrguru said:
Rathore4u helped us out and made a modified Mail.apk based on the E4GLTE's apk. I've tested it and it doesn't have the text prediction/deletion bug (tested using SwiftKey) and it does play notification sounds!
I've updated the OP with the new Mail.apk, and also created a flashable zip if that's what you'd prefer.
Click to expand...
Click to collapse
Thanks for getting this for us.
I'm going to try the .zip version now.
Socrguru said:
Rathore4u helped us out and made a modified Mail.apk based on the E4GLTE's apk. I've tested it and it doesn't have the text prediction/deletion bug (tested using SwiftKey) and it does play notification sounds!
I've updated the OP with the new Mail.apk, and also created a flashable zip if that's what you'd prefer.
Click to expand...
Click to collapse
The text prediction/deletion bug also went away with Swype, however the notification sound still isn't working for me. I have replaced the app, cleared cache and dalvik cache. Also tried re-setting up the exchange account again and that didn't help either. Anyone else facing this issue?

Categories

Resources