Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
crazytek
Old
(Last edited by crazytek; 23rd November 2011 at 10:40 PM.) Reason: Clarification
#1  
Junior Member - OP
Thanks Meter 36
Posts: 7
Join Date: Nov 2008
Location: Delaware City, DE
Default [MOD] Sense 3.5 Mail.apk with HTML Enabled (Exchange 2003)

It bugged me to no end that those of us with Exchange 2003 servers at work could not enable HTML e-mail, so I changed it

I came across a ROM in my travels here (CoreDroid) which had this enabled for their sense 3.0 e-mail app, so I KNEW it was possible. I've been using that 3.0 version for a while now (thanks CoreDroid Devs!), but decided to try a 3.5 rom (RCMix3D Runny 4.0) and wanted HTML e-mail with that too, so here's what I did:

I took Mail.apk from both the Sense 3.0 and 3.5 roms, decompiled them both, and compared the code. Found that a certain section of code wasn't present in the 3.0 apk, so I found the same place in the 3.5 apk and removed the code to make that part match. Recompiled, Signed, Zipaligned, and installed it on my device (replaced existing Mail.apk in system\app folder). Bingo! The option is now enabled and working! No adverse side effects at all.

I have attached the recompiled Mail.apk for everyone's enjoyment. Place it in your system\app folder, then you will be able to enable the HTML option. PLEASE back up the existing one or do a nandroid backup first!! - I am NOT responsible if you mess things up and have no backup!! With that disclaimer now out of the way - here are a few more notes:

  • It is very likely this will NOT work on Sense 3.0 ROMs because of changes in framework.
  • After enabling the HTML option in your account settings, existing messages will still be plain text. Any new messages will be in HTML format. To make them all HTML, I changed the number of sync days to one, then back to my usual 30. It then re-downloaded them all in beautiful HTML format
  • If your account no longer shows up under "Accounts & Sync" for some reason, open your mail app, then go to options and delete the account altogether. Re-add it and it will be back, but you will probably have to change the format to HTML again and change the number of days to sync to get your inbox all in HTML.
  • Lastly - this was done for the Desire HD, but this may work well on other devices with sense 3.5 also. Your mileage may vary.
Attached Files
File Type: apk Mail.apk - [Click for QR Code] (2.49 MB, 1411 views)
The Following 21 Users Say Thank You to crazytek For This Useful Post: [ Click to Expand ]
 
pradeepd
Old
#2  
pradeepd's Avatar
Senior Member
Thanks Meter 71
Posts: 321
Join Date: Mar 2011
Great thanks. Can you also check if you can get the unread mail count working. Current 3.5 mail doesn't show them.

Sent from my HTC Desire HD using XDA App
 
fl4r3
Old
(Last edited by fl4r3; 24th November 2011 at 01:50 PM.)
#3  
Senior Member
Thanks Meter 21
Posts: 268
Join Date: Feb 2008
I knew it was possible! Switched to a 3.5 sense rom and lost the html format...but all my searches said it was never possible.

Thanks for this.

Will test out now.

EDIT: Works great..using with BinDroid RHD V2.2.1

Sent from my Desire HD using XDA App
 
miffymiffy
Old
#4  
miffymiffy's Avatar
Senior Member
Thanks Meter 10
Posts: 268
Join Date: Apr 2007
Location: Wollongong

 
DONATE TO ME
Causes force closes on rcmix runny for me.
HTC One XL (Evita) - Radio:HTC O2 2.29 (0.19as.32.09.20_3_10.107.32.25)
ROM: Something from aznrice2k4
 
crazytek
Old
#5  
Junior Member - OP
Thanks Meter 36
Posts: 7
Join Date: Nov 2008
Location: Delaware City, DE
If you get FC's try wiping the mail app's data using Titanium Backup. That has worked for me in the past.

It shows up as "[EMAIL..." in the list, but is where you'd find "Mail" alphabetically

Sent from my Desire HD using XDA App
 
deffflow
Old
#6  
Junior Member
Thanks Meter 0
Posts: 20
Join Date: Oct 2007
Hello,

can you provide me the mail.apk for sense 3.0 (with html enabled) please ?
 
crazytek
Old
#7  
Junior Member - OP
Thanks Meter 36
Posts: 7
Join Date: Nov 2008
Location: Delaware City, DE
Quote:
Originally Posted by deffflow View Post
Hello,

can you provide me the mail.apk for sense 3.0 (with html enabled) please ?
Check your PM - not posting here because it's CoreDroid's work!
 
ww2916269
Old
#8  
Member
Thanks Meter 7
Posts: 50
Join Date: Feb 2011
Location: Beijing
Hi, Could you please post the Sense 3 Mail.apk with HTML Enabled as I am not use CoreDroid Sense3.0 ROM. Thank you very much~
 
CptAwesomeTT
Old
(Last edited by CptAwesomeTT; 24th November 2011 at 02:02 PM.)
#9  
Senior Member
Thanks Meter 13
Posts: 127
Join Date: Nov 2010
Location: Port of Spain
You are a boss crazytek. Works like a charm! This is something my buddies and I have wanted for our sense roms for quite a while but just was not present in most of them. Thanks a lot for doing this!

(Works with RCMix 4)
Current: LG Nexus 4 16GB, Samsung Nexus S I9020A

Had: Samsung Galaxy Note N7000 , HTC Sensation 4g, HTC Inspire 4g, HTC Desire HD, HTC Nexus 1,

TSTT, Trinidad and Tobago
 
captainzaak
Old
#10  
captainzaak's Avatar
Junior Member
Thanks Meter 1
Posts: 28
Join Date: Apr 2011
Location: Trinidad and Tobago
Quote:
Originally Posted by CptAwesomeTT View Post
You are a boss crazytek. Works like a charm! This is something my buddies and I have wanted for our sense roms for quite a while but just was not present in most of them. Thanks a lot for doing this!

(Works with RCMix 4)
Ditto, works great!

 
Post Reply+
Tags
exchange 2003, html, sense 3.5
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more