[7/15][MOD][TW]CM10.1 MMS on TouchWiz - New Themed Options[DEODEX]

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
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 @WoodburyMan), 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:

Code:
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://forum.xda-developers.com/showthread.php?t=2254459
Sprint: http://forum.xda-developers.com/showthread.php?t=2308644
Verizon: http://forum.xda-developers.com/showthread.php?t=2320384

Big Thanks and Credits to:
- @loserskater (for base tutorial here)
- @JBeXX (for all of his hard work prior to me luckily stumbling upon the MMS fix)
- @WoodburyMan (for the image resizing fix)
 

Attachments

Last edited:

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
SMS/MMS RECEIVED SCREEN-ON WORKAROUND

I have a Tasker profile (if you haven't heard of Tasker, it is a super awesome app that literally is unlimited in its capabilities for automating your phone) that takes care of this for me.

Download Tasker:
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm

Download Secure Settings Tasker Plugin:
https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin

Download and import my profile/task into Tasker:
(Profile): http://www.mediafire.com/?4ea2lp22u225xxp
(Task): http://www.mediafire.com/?9qm5ii8fm35wvti

I have it set to turn the screen on for 5 seconds any time a message is received...but you can adjust it to your liking within the Secure Settings Plugin.
 

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
Here are some alternative zips containing different versions of the MMS app, based on several people requesting certain features within the app or differently-themed versions.

Feel free to participate and share any other version that you've had a good experience with - and I'll add them here!

NOTE: If you already have flashed one of my earlier zips and you're on AOSP, just download the Mms.apk file from this post (http://forum.xda-developers.com/showthread.php?p=43700174) and follow install instructions here: http://forum.xda-developers.com/showthread.php?p=43659066. This method *should not* delete your text messages.

Alternative #1: Stock-Themed Mms from most recent CM10.1 nightly *dark pop-up reply widget is actually themed correctly*

Pre-MEA: http://www.mediafire.com/?u5nafh0ftctwtu2

MEA+: http://www.mediafire.com/?iy7qncz4jeezu5o

Sprint Testing Zip (from OP): http://www.mediafire.com/?g3okbufgn3iikss

Sprint MF9 ROMs: http://www.mediafire.com/?u5t16kf1is92cxy

Alternative #2: Inverted + Holo themed MMS from the null_04 GE ROM found here: http://forum.xda-developers.com/showthread.php?p=43397893. The quick reply pop-up widget is also themed correctly :)

Screenshots:



Pre-MEA:
http://www.mediafire.com/?xo85m4fi1xmxhfu

MEA+:
http://www.mediafire.com/?6b33twgb0c059yt

Sprint Testing Zip (from OP):
http://www.mediafire.com/?e2a42bhevoiyf07

Sprint MF9 ROMs:
http://www.mediafire.com/?rhkh37720z54tn1

AT&T MF3 ROMs:
http://www.mediafire.com/?adypg4w7gfpo7qx
 
Last edited:

ladiesman2927

Member
Jun 23, 2013
10
6
0
Los Angeles
I don't think that I'm flashing this successfully. After the flash, my stock TW sms app says that it is now uninstalled when I try to press the shortcut, but I do not know how to access the AOSP mms app on the phone. I can see that there is the MMS.apk in system/apps when using rootexplorer, but there is no shortcut to the app in my drawer. I have reverted using the provided zip and reflashed again to receive the same result.

Carrier: AT&T
ROM: Mint Jelly V3
Baseband: I337UCUAMDL
Build: MEA

I soft-bricked my phone last night using flashing the pre-MEA zip because I was stupid and careless. I installed the MEA zip this time. I really want to get this working so any help is very appreciated.

EDIT: I cannot post my SecTelephonyProvider.apk or framework2.jar because I am currently on my work computer.
 
Last edited:

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
I don't think that I'm flashing this successfully. After the flash, my stock TW sms app says that it is now uninstalled when I try to press the shortcut, but I do not know how to access the AOSP mms app on the phone. I can see that there is the MMS.apk in system/apps when using rootexplorer, but there is no shortcut to the app in my drawer. I have reverted using the provided zip and reflashed again to receive the same result.

Carrier: AT&T
ROM: Mint Jelly V3
Baseband: I337UCUAMDL
Build: MEA

I soft-bricked my phone last night using flashing the pre-MEA zip because I was stupid and careless. I installed the MEA zip this time. I really want to get this working so any help is very appreciated.
If you set up a shortcut on your launcher for the Sammie MMS, then it's not going to work anymore because the app no longer exists.

What launcher are you using? You should be able to delete the shortcut you had and create a new one with the new MMS apk as the destination. Or you could just open up the app drawer and it should be in there somewhere.
 

ladiesman2927

Member
Jun 23, 2013
10
6
0
Los Angeles
If you set up a shortcut on your launcher for the Sammie MMS, then it's not going to work anymore because the app no longer exists.

What launcher are you using? You should be able to delete the shortcut you had and create a new one with the new MMS apk as the destination. Or you could just open up the app drawer and it should be in there somewhere.
I'm on nova launcher prime. I've tried going back to TW launcher to see if the AOSP shortcut popped up there somehow, but it wasn't there. It is also nowhere to be found on my app manager either.

EDIT: I attempted to sideload the MMS.apk from the other thread. It did not replace the stock TW sms as it was supposed to and there is also no new shortcut in the drawer.
 
Last edited:

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
I'm on nova launcher prime. I've tried going back to TW launcher to see if the AOSP shortcut popped up there somehow, but it wasn't there. It is also nowhere to be found on my app manager either.

EDIT: I attempted to sideload the MMS.apk from the other thread. It did not replace the stock TW sms as it was supposed to and there is also no new shortcut in the drawer.
It's a system app, so you won't be able to sideload it regardless.

This is so strange, I can't think of any reason why this is happening. Did you check to make sure SecMms.apk was appropriately renamed to SecMms.apk.bak?

Also make sure permissions on Mms.apk are rw-r--r--.

To make 100% sure they are, open up Terminal Emulator and run the following:

su
chmod 644 /system/app/Mms.apk

Also, please go to Settings -> More -> Application Manager -> All and then scroll down and tell me if you see "Messaging". If so, click on it just for kicks and clear app data/cache + reboot.
 
  • Like
Reactions: ladiesman2927

ladiesman2927

Member
Jun 23, 2013
10
6
0
Los Angeles
It's a system app, so you won't be able to sideload it regardless.

This is so strange, I can't think of any reason why this is happening. Did you check to make sure SecMms.apk was appropriately renamed to SecMms.apk.bak?

Also make sure permissions on Mms.apk are rw-r--r--.

To make 100% sure they are, open up Terminal Emulator and run the following:

su
chmod 644 /system/app/Mms.apk

Also, please go to Settings -> More -> Application Manager -> All and then scroll down and tell me if you see "Messaging". If so, click on it just for kicks and clear app data/cache + reboot.
I checked and everything is how it's supposed to be. I have SecMms.apk.bak and the permissions on Mms.apk are rw-r--r--.

There is also no "Messaging" in my app manager after flashing the zip. I am completely stumped.. and I want this very badly. I will try to format my /system and do another clean install of MintJelly V3 before flashing your zip again and see how it goes.
 

JoeFCaputo113

Senior Member
Feb 2, 2013
6,614
2,850
0
New York
OK so I see Air-View SOMEWHAT works because it highlights the text, it just does not show the preview like it's supposed to. Do you plan on fixing this and making the Air View fully functional/working?! That would make this by far the best messaging app....... EVER!!!!! Good work though man!
 

ladiesman2927

Member
Jun 23, 2013
10
6
0
Los Angeles
Just did the clean flash of MintJelly V3. First thing I did was attempt to flash your CM10.1 MMS zip. Still same result - no new shortcut anywhere to be found and no mms in my app manager. Did formatting my system have anything to do with messing this up?

EDIT: I now restored to an old MDL nandroid backup and attempted to flash the pre-MEA zip. Still no AOSP messaging on my phone. The last thing I can think of is restoring my phone to factory via kies when I'm home tonight and to flash this on a rooted stock TW rom. If that doesn't work then I'm out of ideas.
 
Last edited:

comatose1978

Senior Member
Jun 1, 2012
88
13
0
Vancouver, WA
I had to do a restore because I was having image size problems. I reflashed this MMS and now when I click on messaging it says app not installed.

I'm on AT&T ShoStock ROM

Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
 

simbill

Senior Member
Jan 19, 2011
194
19
0
Bergen County NJ
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 @WoodburyMan), 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:

Code:
ro.build.version.incremental=
On the resulting build version number, note the last three digits. If the last three digits are MEA, MF2, or MF4, then download the "MEA+" zip file. If the last three digits are ANYTHING OTHER THAN THOSE LISTED ABOVE, download the "PRE-MEA" zip file. 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://forum.xda-developers.com/showthread.php?t=2254459
Sprint: http://forum.xda-developers.com/showthread.php?t=2308644
Verizon: http://forum.xda-developers.com/showthread.php?t=2320384

Big Thanks and Credits to:
- @loserskater (for base tutorial here)
- @JBeXX (for all of his hard work prior to me luckily stumbling upon the MMS fix)
- @WoodburyMan (for the image resizing fix)
hey CPA Used the PRE MEA file, didnt work. So i tried to go back to stock... . I cant get my original keyguardwidget to come back on, its still defaulting to the small clock. I have renamed it to remove the .bak, It seems the widget is totally disabled, no edit button no custom text. Ive tried to flash the restore_previous_mms and it didnt seem to do anything. my stock samsung messaging app is working.
 
Last edited:

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
OK so I see Air-View SOMEWHAT works because it highlights the text, it just does not show the preview like it's supposed to. Do you plan on fixing this and making the Air View fully functional/working?! That would make this by far the best messaging app....... EVER!!!!! Good work though man!
Unfortunately that would require Samsung's proprietary TouchWiz source. I'm not even quite how the AirView is even partly working...I'm guessing Sammie must have kept some of the source from Google's stock MMS base when they applied their TouchWiz skin, so it's still picking up some of the dependencies.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone