[APP] ICS/JB AOSP Email Client for Motorola RAZR HD.

Search This thread

TRF-Inferno

Senior Member
Dec 26, 2008
173
44
Carrollton, TX
So while I am quite satisfied with the factory firmware on the XT925/926 as-is, the email client is rather clunky and I prefer the AOSP version. Good news guys, the factory firmware can use the AOSP Email.apk!

Credit goes to kabadisha for the original, easy to follow instructions.

Before You Start...
  • [RECOMMENDED] Titanium Backup for backing up and removing the stock Motorola Email client. If you want to save these files, do this before proceeding to the instructions below. The APK files you need to backup/remove are MotoEmail.apk and MotoEmailConfig.apk.

Instruction for ADB Users
  • Connect the phone to the computer.
  • Download the corresponding Email.apk and Exchange.apk in the attachment section at the end of this post. Get the ones with the prefix 'ICS_' if you are on 4.04 Ice Cream Sandwich firmware, OR 'JB_' if you are on the 4.1.2 Jellybean firmware. DO NOT mix them or use the wrong ones, as they may not work correctly. Rename them to Email.apk and Exchange.apk respectively and place them in the root directory of your phone's internal SD card.
  • Go to the directory where you put your ADB executable. Hold SHIFT key, right-click anywhere in the window in this directory and select 'Open Command Prompt Here'.
  • Type the following in the command prompt and press Enter:
Code:
adb shell
  • If the Motorola driver is installed correctly and the phone is plugged to the PC, it should change the prompt to 'shell@vanquish'. Type the following and press Enter, and the prompt should change to 'root@vanquish':
Code:
su
  • Now you're ready to actually do the work of getting the AOSP Email client on the phone. First, we need to set the /system partition to allow us to read/write to that directory, and remount it to make sure the permissions are updated. Type the following and press Enter:
Code:
mount -o rw,remount /system
  • ...Let's change the current active directory to where all of the phone's installed apps are kept. Type the following in the command prompt and press Enter:
Code:
cd /system/app
  • Type the following in the command prompt and press Enter to copy the Email.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Email.apk /system/app/Email.apk
  • Type the following in the command prompt and press Enter to copy the Exchange.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Exchange.apk /system/app/Exchange.apk
  • Almost there! The last thing we need to do is change the permissions of these copied files so the OS can handle them properly. Type the following and press enter:
Code:
chmod 744 Email.apk
Code:
chmod 744 Exchange.apk
  • *Thanks to vrus1 for pointing this out*
Code:
Go to Settings > Manage App > Email and select 'Clear Data'.
  • Reboot the phone. Do this the ol' fashion way by directly interfacing with the device or enter the following in the prompt:
Code:
exit
Code:
exit
Code:
adb reboot
Instruction for Terminal Emulator Users
  • Connect the phone to the computer.
  • Download the corresponding Email.apk and Exchange.apk in the attachment section at the end of this post. Get the ones with the prefix 'ICS_' if you are on 4.04 Ice Cream Sandwich firmware, OR 'JB_' if you are on the 4.1.2 Jellybean firmware. DO NOT mix them or use the wrong ones, as they may not work correctly. Rename them to Email.apk and Exchange.apk respectively and place them in the root directory of your phone's internal SD card.
  • Open the Terminal Emulator app. Type the following in the command prompt and press Enter:
Code:
su
  • Now you're ready to actually do the work of getting the AOSP Email client on the phone. First, we need to set the /system partition to allow us to read/write to that directory, and remount it to make sure the permissions are updated. Type the following and press Enter:
Code:
mount -o rw,remount /system
  • ...Let's change the current active directory to where all of the phone's installed apps are kept. Type the following in the command prompt and press Enter:
Code:
cd /system/app
  • Type the following in the command prompt and press Enter to copy the Email.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Email.apk /system/app/Email.apk
  • Type the following in the command prompt and press Enter to copy the Exchange.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Exchange.apk /system/app/Exchange.apk
  • Almost there! The last thing we need to do is change the permissions of these copied files so the OS can handle them properly. Type the following and press enter:
Code:
chmod 744 Email.apk
Code:
chmod 744 Exchange.apk
  • *Thanks to vrus1 for pointing this out*
Code:
Go to Settings > Manage App > Email and select 'Clear Data'.
  • Reboot the phone.

Once the phone has been rebooted, you should now have the AOSP Email Client in the application menu. Set it up as normal and you should be ready to roll. So far I have not run into any sync issues or anything out of the ordinary. If you are experiencing otherwise, please let us know!

Closing Notes
  • If you encounter any issues following these steps, please let me know so I can correct it.
  • Other Motorola ICS/JB device users: This should work for your devices as well as the firmwares between our devices are nearly identical.
  • Using the AOSP Email client will now allow you to use the Exchange Security Policy Bypass script that is not compatible with the Motorola client. Please be aware that by doing this, you may be violating your company's security policies which may place you under severe disciplinary actions or job termination at your company's discretion. Others that have provided the tools and instructions to perform this, including myself, cannot be held responsible if the worse case scenario occurs. You have been warned.
 

Attachments

  • ICS_Email.apk
    1.5 MB · Views: 172
  • ICS_Exchange.apk
    558.5 KB · Views: 115
  • JB_Email.apk
    2.8 MB · Views: 410
  • JB_Exchange2.apk
    879.6 KB · Views: 323
Last edited:
  • Like
Reactions: soclean and Stories

Hobbes2099

Senior Member
Nov 12, 2010
258
15
Mexico City
Sorry to bother.
Could these files be used for ICS 4.0.4 Samsung Galaxy SIII?
I've been trying like crazy to get the AOSP Email apk working.
Thanks for any feedback or recommendation.

Sent from my Nexus 7 using Tapatalk 2
 

TRF-Inferno

Senior Member
Dec 26, 2008
173
44
Carrollton, TX
Sorry to bother.
Could these files be used for ICS 4.0.4 Samsung Galaxy SIII?
I've been trying like crazy to get the AOSP Email apk working.
Thanks for any feedback or recommendation.

Sent from my Nexus 7 using Tapatalk 2

No guarantees. While this method uses generic Unix commands that all Android devices will understand, it all depends on how the manufacturer has their firmware setup since some may have the Email client integrated into their launcher framework for notification counters, widgets, etc. You can attempt this and see if it works, and worst case scenario, simply delete the two files from \system\app to reverse the process.

For the Galaxy S III, I believe your Email client is SecEmail.apk and Exchange.apk. Backup and remove those before using the files in the attachment.
 

TRF-Inferno

Senior Member
Dec 26, 2008
173
44
Carrollton, TX
Anybody try this on the RAZR Max HD with vrz

Sent from my DROID RAZR HD using Tapatalk 2
Yes, this procedure was done successfully on a RAZR MAXX HD.

Does this disable the exchange security?
No, it takes you halfway there -- getting the AOSP Email client on your phone, which is compatible with the email-policy-patch script that can modify these APKs. You cannot disable the exchange security on the stock Email that comes on your Motorola phones because it is custom.
 

holtenc

Senior Member
Feb 20, 2011
383
103
anyone able to get these or actual AOSP JB Email apks to work with the JB leak?

Ive tried these ICS apk and some JB apks I found. No luck on either.
 

senergy

Senior Member
Oct 26, 2006
151
17
Gave this a go to see if it can see folders within my inbox of my corporate exchange account.. nope. back to stock for now.
Apparently the 4.0.4 version doesnt work properly in this regard and the 4.1.x can do it..

Thank you anyway.
 

vrus1

Member
Nov 21, 2010
7
0
Doesn't work on mine.. FC as soon as you try to open Email app.

I am running stock 4.0.4 Razr HD LTE from Rogers. I followed instructions to a "T". Everything worked as expected but it just wont run.
 

vrus1

Member
Nov 21, 2010
7
0
Ok.. Got it working... Before removing/renaming old Email client, go into Manage Apps, Email, CLEAR DATA.

Then rename old files and push new ones.

Reboot.

Go back into Manage Apps, Email, CLEAR DATA.

Reboot.

Works great and thank you for sharing!!! I hate the stock app because it doesnt synchronize Email Reply/Forward status and drove me crazy.
 

gsdev

Member
Jun 3, 2008
14
0
Jelly Bean Official. Now Let's Do This.

OK. So now that JB is pushed out, I really need to get working on this. If anyone has any direction or ideas, please share. The blur email is awful, plus I really want to disable Exchange security policy.

Other than the email app, the HD Maxx is the best phone out there. I went back to it from a HTC DNA.

AOSP FTW.
 
Ok.. Got it working... Before removing/renaming old Email client, go into Manage Apps, Email, CLEAR DATA.

Then rename old files and push new ones.

Reboot.

Go back into Manage Apps, Email, CLEAR DATA.

Reboot.

Works great and thank you for sharing!!! I hate the stock app because it doesnt synchronize Email Reply/Forward status and drove me crazy.

Following this procedure got it working for me. Thanks for the Clear Data tip. I think users should note, you MUST reboot after clearing data. Simply clearing data and relaunching the app does not work.

My setup is rooted OTA JB. I used rootkeeper to retain root through the OTA update. After following the OP directions, I kept getting force closes and crashes. I simply thought it was because of JB and it may have been. However after reading through the rest of the post, user VRUS1's tip got it working. This step should be added to the OP.

Thanks to both of you. I couldn't stand the MotoEmail.apk...
 

TRF-Inferno

Senior Member
Dec 26, 2008
173
44
Carrollton, TX
Thank you for the feedback guys. I disappeared for a bit and now have a XT925 RAZR HD and I'm running JB firmware with AOSP Email client right now. I will update the original post with the comments and Jellybean APKs tonight.
 

TRF-Inferno

Senior Member
Dec 26, 2008
173
44
Carrollton, TX
It's been updated with Jellybean APKs and revised instructions. As usual, please provide feedback if something is off in the instructions or you experience abnormal issues.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    So while I am quite satisfied with the factory firmware on the XT925/926 as-is, the email client is rather clunky and I prefer the AOSP version. Good news guys, the factory firmware can use the AOSP Email.apk!

    Credit goes to kabadisha for the original, easy to follow instructions.

    Before You Start...
    • [RECOMMENDED] Titanium Backup for backing up and removing the stock Motorola Email client. If you want to save these files, do this before proceeding to the instructions below. The APK files you need to backup/remove are MotoEmail.apk and MotoEmailConfig.apk.

    Instruction for ADB Users
    • Connect the phone to the computer.
    • Download the corresponding Email.apk and Exchange.apk in the attachment section at the end of this post. Get the ones with the prefix 'ICS_' if you are on 4.04 Ice Cream Sandwich firmware, OR 'JB_' if you are on the 4.1.2 Jellybean firmware. DO NOT mix them or use the wrong ones, as they may not work correctly. Rename them to Email.apk and Exchange.apk respectively and place them in the root directory of your phone's internal SD card.
    • Go to the directory where you put your ADB executable. Hold SHIFT key, right-click anywhere in the window in this directory and select 'Open Command Prompt Here'.
    • Type the following in the command prompt and press Enter:
    Code:
    adb shell
    • If the Motorola driver is installed correctly and the phone is plugged to the PC, it should change the prompt to 'shell@vanquish'. Type the following and press Enter, and the prompt should change to 'root@vanquish':
    Code:
    su
    • Now you're ready to actually do the work of getting the AOSP Email client on the phone. First, we need to set the /system partition to allow us to read/write to that directory, and remount it to make sure the permissions are updated. Type the following and press Enter:
    Code:
    mount -o rw,remount /system
    • ...Let's change the current active directory to where all of the phone's installed apps are kept. Type the following in the command prompt and press Enter:
    Code:
    cd /system/app
    • Type the following in the command prompt and press Enter to copy the Email.apk that you downloaded earlier into this directory:
    Code:
    cp /sdcard/Email.apk /system/app/Email.apk
    • Type the following in the command prompt and press Enter to copy the Exchange.apk that you downloaded earlier into this directory:
    Code:
    cp /sdcard/Exchange.apk /system/app/Exchange.apk
    • Almost there! The last thing we need to do is change the permissions of these copied files so the OS can handle them properly. Type the following and press enter:
    Code:
    chmod 744 Email.apk
    Code:
    chmod 744 Exchange.apk
    • *Thanks to vrus1 for pointing this out*
    Code:
    Go to Settings > Manage App > Email and select 'Clear Data'.
    • Reboot the phone. Do this the ol' fashion way by directly interfacing with the device or enter the following in the prompt:
    Code:
    exit
    Code:
    exit
    Code:
    adb reboot
    Instruction for Terminal Emulator Users
    • Connect the phone to the computer.
    • Download the corresponding Email.apk and Exchange.apk in the attachment section at the end of this post. Get the ones with the prefix 'ICS_' if you are on 4.04 Ice Cream Sandwich firmware, OR 'JB_' if you are on the 4.1.2 Jellybean firmware. DO NOT mix them or use the wrong ones, as they may not work correctly. Rename them to Email.apk and Exchange.apk respectively and place them in the root directory of your phone's internal SD card.
    • Open the Terminal Emulator app. Type the following in the command prompt and press Enter:
    Code:
    su
    • Now you're ready to actually do the work of getting the AOSP Email client on the phone. First, we need to set the /system partition to allow us to read/write to that directory, and remount it to make sure the permissions are updated. Type the following and press Enter:
    Code:
    mount -o rw,remount /system
    • ...Let's change the current active directory to where all of the phone's installed apps are kept. Type the following in the command prompt and press Enter:
    Code:
    cd /system/app
    • Type the following in the command prompt and press Enter to copy the Email.apk that you downloaded earlier into this directory:
    Code:
    cp /sdcard/Email.apk /system/app/Email.apk
    • Type the following in the command prompt and press Enter to copy the Exchange.apk that you downloaded earlier into this directory:
    Code:
    cp /sdcard/Exchange.apk /system/app/Exchange.apk
    • Almost there! The last thing we need to do is change the permissions of these copied files so the OS can handle them properly. Type the following and press enter:
    Code:
    chmod 744 Email.apk
    Code:
    chmod 744 Exchange.apk
    • *Thanks to vrus1 for pointing this out*
    Code:
    Go to Settings > Manage App > Email and select 'Clear Data'.
    • Reboot the phone.

    Once the phone has been rebooted, you should now have the AOSP Email Client in the application menu. Set it up as normal and you should be ready to roll. So far I have not run into any sync issues or anything out of the ordinary. If you are experiencing otherwise, please let us know!

    Closing Notes
    • If you encounter any issues following these steps, please let me know so I can correct it.
    • Other Motorola ICS/JB device users: This should work for your devices as well as the firmwares between our devices are nearly identical.
    • Using the AOSP Email client will now allow you to use the Exchange Security Policy Bypass script that is not compatible with the Motorola client. Please be aware that by doing this, you may be violating your company's security policies which may place you under severe disciplinary actions or job termination at your company's discretion. Others that have provided the tools and instructions to perform this, including myself, cannot be held responsible if the worse case scenario occurs. You have been warned.