• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Vanilla 2.2 mail .apk?

Any chance someone can post the stock 2.2 mail client .apk? I'm hoping to get multiple exchange account access, which HTC didn't see fit to grant us.

Is this even possible? I can't stand the HTC Mail, would love the stock mail from like Droid X. For whatever reason, HTC Mail app doesnt have HTML email. I would however be weary of removing an inherent mail app for fear of screwing up anything.

I have looked at a few other options like K-9 but am not a fan
 
Upvote 0
I don't want to REMOVE the HTC mail app, I just want to install and use the stock one.

Someone posted a link a long time ago to the stock mail client from both 2.1 vanilla and the client from the Motorola Droid with 2.1 (basically identical other than the icon). They both ran fine on my Inc with 2.1. The only problem was that they didn't do Exchange calendar sync. Not as in a bug, they just didn't have that functionality.

I want the 2.2 vanilla client because it is supposed to sync multiple Exchange accounts WITH calendars. Both the 2.1 and 2.2 version of the HTC app only do one Exchange account.
 
Upvote 0
Upvote 0
Worked great. Out of curiosity, how did you pull this app out of the source, and where did you attain the source? I'm thinking about trying my hand at adding in "Move to Folder" functionality, but am unsure how to assemble the compilable app from the Android 2.2 SDK source.

Thanks.

I grabbed it from a Nexus One FRF91 dump and then signed it :)

If you wanted to, you can grab the aosp source for the Mail.apk and compile it yourself if you want to add functionality.

http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary
 
Upvote 0
Upvote 0
I would be interested in seeing if you can implement that feature. That would be huge.

That, and IMAP IDLE :)

I started looking into it, but I have to figure out how to recompile the entire SDK from scratch since Google thought it would be a good idea to not include Calendar providers in the SDK (they must think the interface is going to change). Once I can figure out my own custom android.jar for 2.2, I'll look to do it for the 2.2 reader.
 
  • Like
Reactions: adrynalyne
Upvote 0
I tried to install this version with Sprint HTC EVO with factory Android 2.1. Getting "there is a problem parsing the package".
Generic 2.1 version of mail.apk installed fine, however no Exchange Calendar support. It installs as "email" and it can exist together with HTC "mail", no need to remove HTC client, just don't configure it.

Does anybody have some suggestions where to find steps for compiling newer mail client for 2.1 or any other way to get this one to work on Android 2.1 ?


Regards

Ivan
 
Upvote 0
Just to let anyone know who's using this APK, there may be a bug in it. While developing an unread widget I noticed when this client goes to check mail in the background, it sometimes creates a never-ending loop of AlarmManager entries until mail is checked again. It appears to happen only with Exchange calendars, not IMAP (POP untested). The fact that it is reporting verbosely in the log files confirms this is also not a final build email app. Example logs:


08-07 15:58:31.874: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{46656ed8 type 2 com.android.email}
08-07 15:58:31.894: VERBOSE/AlarmManager(226): Adding Alarm{4660ca28 type 2 com.android.email} Dec 31 07:26:01 pm
08-07 15:58:31.914: VERBOSE/AlarmManager(226): Adding Alarm{466094d8 type 2 com.android.email} Dec 31 07:00:00 pm
08-07 15:58:31.914: VERBOSE/AlarmManager(226): Alarm triggering: Alarm{466094d8 type 2 com.android.email}
 
Upvote 0
Interesting. I retract that part of the comment, but unfortunately it doesn't change the fact that the app does still have the bug. I wonder if it exists in all versions of the 2.2 app. I may investigate that as I look into moving folder functionality.

Thanks!

Could this be causing problems setting up calendar items w/invitations? I am able to create one calendar item with an invitation with the stock calendar. When I try to make a second one, it doesn't ever send the email, although it gets put on my calendar ok.
 
Upvote 0
Could this be causing problems setting up calendar items w/invitations? I am able to create one calendar item with an invitation with the stock calendar. When I try to make a second one, it doesn't ever send the email, although it gets put on my calendar ok.

I would try the new APK posted here and see. I'm going to test my issue against it as well.

I've also just recompiled the android.jar file with Calendar support, so I should be able to build the email app from scratch source now, too.

Thanks.
 
Upvote 0
The second mail.apk is DEFINITELY different. One of the Exchange servers I sync to requires use of a PIN or password for unlock, no pattern or unlock with just a swipe. The first apk that adrynalyne posted didn't care, gave no warnings and let me continue using my phone with the pattern lock. This new apk gave a big scary warning about allowing the Exchange server to require certain changes on my phone. When I touched OK, it took me to the lock setup and I had to set up a PIN unlock before it would go past and sync.

It also seems like I am able to successfully create appointment invitations from both accounts more often, but it still doesn't like my non-primary account very much. Maybe it is the calendar with the issue. Is the calendar on the Inc the same as that on vanilla 2.2?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones