[AT&T Samsung Galaxy S 4 Themes and Apps] CPA Poke:
EDIT: See Post #3 for the same zip versions that are in the OP, but with different versions of the AOSP Mms.apk that you can choose from (based on popular demand).

Okay boys and girls, I think we may have done it. Right now I currently have the fully-themeable MMS from here working on my AT&T S4 TouchWiz ROM - NO WORKAROUNDS FOR SENDING MMS, AND GROUP MESSAGING FULLY FUNCTIONAL!! Additionally (thanks to [MENTION=4125648]WoodburyMan[/MENTION]), due to an incompatibility between the stock CM10.1 MMS app and image size limits imposed by AT&T (and possibly other carriers), the MMS apk within the zip has been modified to prevent the odd image re-sizing issues that have been so frustrating to many users.

NOTE: This WILL wipe your text messages during install, so make sure you back them up prior to install using TiBu or another method (there are several free SMS backup apps floating around the Play Store) and then restore after installing.

Due to the modifications to framework files, this mod is dependent upon the base of the ROM you are running. At this point in time, the changes in base were the most significant in the upgrade to MEA (the international i9505 non-carrier build). As such, it is crucial that you download the correct version of the zip attached to this post. For those that do not know how to tell what base you are on, open up your build.prop from /system and find the following line:

ro.build.version.incremental=

On the resulting build version number, note the last three digits. If the last three digits are MEA, MF2, MF4, MF8, MF9, or MGA, then download the "MEA+" zip file. If the last three characters begin with "MD" or "MK", download the "PRE-MEA" zip file. If it says MF3, download the "MF3" version. You'll notice very quickly if you've downloaded the wrong version, because pretty much every app that you open after flashing the file will eventually force-close and you will have the sudden urge to chunk your phone at your own head because you downloaded the wrong file. :cool:

Directions:

1) MUST be rooted with a custom recovery.

2) Download the zip file attached below.

3)

MAKE SURE YOU BACKUP MMS/SMS BEFORE FLASHING!!!

The zip will delete your current inbox. This is your second warning...if you post in this thread complaining about how this wiped your messages, anonymous/faceless internet users will laugh at you.

4) Flash the zip in custom recovery. I am using TWRP but any custom recovery should be fine A nandroid is always recommended to be on the safe side

5) After reboot, use a file explorer such as root explorer and navigate to system/app and rename KeyguardWidget.apk to KeyguardWidget.apk.bak. This keep the small keywidget clock being forced as the default.

6) PROFIT, you should now have fully functional AOSP 4.2 messaging with working group messaging and no workaround needed for MMS

For anyone who has issues, I made this restore zip that should restore you back to your original state prior to flashing this mod. No, it won't also restore your MMS messages. (See #3 above.) My assumption was that a majority of the users who will be flashing the app will be coming from the stock TW messaging app...so if you're already on an AOSP MMS (ie with the workaround), you'll need to manually make a backup of the Mms.apk PRIOR to flashing this package. So as long as you originally came from stock MMS or you manually backed up your previous AOSP app, you shouldn't need to revert to a Nandroid backup (although, as always, one is recommended prior to flashing anything new) - just copy your backed up Mms.apk to /system/app.

Once you get everything back online, make sure you followed all instructions perfectly and downloaded the right file. If you did and it's still not working, please post the following and I will try to get you up and running:

CARRIER (ATT, Verizon, etc.)

ROM (MintJelly, HyperDrive, Omega, etc.)

BASE (MEA, MF4, MDL, MDK, etc.)

Navigate to /system/app and /system/framework and copy "SecTelephonyProvider.apk" and "framework2.jar", respectively, to your sdcard (make sure they are the files from your ROM as if it were just clean-flashed...it won't do any good if you post the files that were installed when you flashed my zip). Post these here and I will dig into them to see if anything can be done for a fix.

EDIT: Here are thread links for carrier-specific discussions that might have answers to any questions you have about compatibility with your device:

AT&T: this thread obviously, and http://xdaforums.com/showthread.php?t=2254459

Sprint: http://xdaforums.com/showthread.php?t=2308644

Verizon: http://xdaforums.com/showthread.php?t=2320384

Big Thanks and Credits to

:

- [MENTION=1016795]loserskater[/MENTION] (for base tutorial here)

- [MENTION=3193134]JBeXX[/MENTION] (for all of his hard work prior to me luckily stumbling upon the MMS fix)

- [MENTION=4125648]WoodburyMan[/MENTION] (for the image resizing fix)

​