You're going to need three files from the AOSP rom:
*(the files we need may be in framework.jar if the rom you're using doesn't have this file)
and two files from your TW rom:
/system/framework/framework2.jar (make sure it's framework2.jar)
- Now decompile everything except MMS.apk. That one's fine as is.
- Now we're going to move some files around.
- First is framework2.jar and mms-common.jar
Delete /smali/com/google/android/mms in framework2.jar. Yes the entire folder.
Now we're going to take the folderCode:
- Now is SecTelephonyProvider.apk and TelephonyProvider.apk
Navigate to the following folder in TelephonyProvider.apk:Code:
MmsProvider.smali MmsSmsDatabaseHelper$LowStorageMonitor.smali MmsSmsDatabaseHelper.smali MmsSmsProvider.smali SmsProvider.smaliCode:
- Recompile framework2.jar and SecTelephonyProvider.apk.
- Place MMS.apk and SecTelephony.apk in /system/app/
- Place framework2.jar in /system/framework/
- Delete SecMms.apk from /system/app/
Now the most important part!
Note: This will delete all of you messages so make sure you back them up!!!!!!
On your device, navigate to
mmssms.db mmssms.db-shm mmssms.db-wal
Here's some other MMS apps that should work with this:
Note: Flash these AFTER this mod.
Android 4.2.1 Bubble MMS.apk quick Emoji + Popup!(Thanks msk for the link)
I've attached a flashable zip for LK3, but be warned IT WILL WIPE ALL OF YOUR MESSAGES!!!!!
UPDATE: I updated the zip to remove the stock messaging app. I believe that's why some people were having issues. Thanks boostmx.
UPDATE(1-24): Added revert to restore stock TW MMS. It will also wipe your messages so backup!
UPDATE(1-26): It seems as though group messaging is still hit or miss. From sparkerjc:
Just to clarify this, since I got PM about it: The 1-18 version of cm10.1 has working group MMS, therefore to complete the mod that framework should be considered safe to pull from. However, even with that framework group messages from some iPhones (apparently iPhone 4) show up blank in Touchwiz Roms on Verizon. Not sure about AT&T but since this is the thread getting the views, I'm posting it here.
Secondly, there seems to be some confusion regarding "Working mms" MMS is not just pictures, in the group messages the apps convert text to be sent as MMS to more then one recipient. So while "MMS is working", sometimes "group texts sent as mms" may not be working. Every group text will be sent as mms, but not every mms is a group message. Make sense?
When going from TW > AOSP or from AOSP > TW you need to remove the messaging databases because they need to be recreated otherwise you'll have FCs. So use the "Wipe messages" zip. But if you already have AOSP and just want to upgrade to the latest one, you don't need to remove the databases so use the "Non wipe messages" zip..