1. Check out our app, Forums for Android! Download and leave feedback here!

Root Vanilla 2.2 mail .apk?

Discussion in 'Android Devices' started by mikep554, Jul 28, 2010.

  1. mikep554

    mikep554 Member
    Thread Starter
    15

    Jun 9, 2010
    14
    0
    15
    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.
     

    Advertisement

  2. yankeeboy

    yankeeboy Well-Known Member
    53

    Nov 9, 2009
    346
    67
    53
    International Sales
    New York
    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
     
  3. mikep554

    mikep554 Member
    Thread Starter
    15

    Jun 9, 2010
    14
    0
    15
    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.
     
  4. yankeeboy

    yankeeboy Well-Known Member
    53

    Nov 9, 2009
    346
    67
    53
    International Sales
    New York
  5. mikep554

    mikep554 Member
    Thread Starter
    15

    Jun 9, 2010
    14
    0
    15
    Thank you so much! I now have both my work and personal exchange calendars on my phone. Woohoo!
     
  6. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    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.
     
  7. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    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
     
  8. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    Thanks, I just pulled the source down last night for the whole repository so maybe I'll play with it this weekend.
     
  9. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    I would be interested in seeing if you can implement that feature. That would be huge.

    That, and IMAP IDLE :)
     
  10. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    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.
     
    adrynalyne likes this.
  11. zn120

    zn120 Member
    16

    Jun 24, 2010
    12
    1
    16
  12. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    Not sure. Probably not, but you can try it.
     
    Thepackfan likes this.
  13. IvanF

    IvanF New Member
    5

    Aug 3, 2010
    2
    0
    5
    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
     
  14. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    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}
     
  15. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    FRF91 is a final build. So not sure what you are getting at there ;)
     
  16. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    Was it ripped from the actual OTA release, or from one of the builds that was released prior to the official OTA? It's just very uncommon for an app to have verbose output in it when released.
     
  17. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    It was ripped from an actual OTA release.
     
  18. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    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!
     
  19. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    I can provide a build from the FRG22 build of the Moto Droid, if you are interested in checking it out. Its the most recent build for the Moto.
     
  20. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    This is from the FRG22 build for the Moto Droid.
     

    Attached Files:

    • Mail.apk
      File size:
      599.7 KB
      Views:
      880
    razorloves and Fmstrat like this.
  21. mikep554

    mikep554 Member
    Thread Starter
    15

    Jun 9, 2010
    14
    0
    15
    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.
     
  22. Fmstrat

    Fmstrat Member
    16

    Aug 5, 2010
    13
    1
    16
    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.
     
  23. brennen

    brennen New Member
    5

    Apr 2, 2010
    1
    0
    5
    Awesome, it'll be great if you can get 'move to folder' working. Any chance copy / paste functionality could be added in at some point?
     
  24. mikep554

    mikep554 Member
    Thread Starter
    15

    Jun 9, 2010
    14
    0
    15
    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?
     

Share This Page

Loading...