Low Res MMS fix

froggymike911

Senior Member
Nov 25, 2006
147
46
0
If you have you One, you might notice that MMS pictures are low res. I've created a flashable zip for anyone who wants to fix this. Please know what you're doing before flashing, you should have a custom recovery installed, understand risk, etc... XML values for size and resolution were increased, nothing else modified from the original MMS.apk.

CM11s ROM.


Update: Looks like KK has a few changes in flashable zips... I'll update shortly after some more testing. Thanks for the feedback everyone.

Update 2: Fixed the flashable zip, learning process with KK for me, been a while since i made a flashable zip. New zip will update correctly, tested on my own device. Enjoy!

Thanks to @richeazy for feedback!

Update 3: Don't flash this on 30O, it doesnt work. Will try to update soon, as the code in M8 doesn't incorporate the fix yet I guess.

Update 4: added revert to flash so you can flash OTA, if you flashed this fix. Confirmed working by multiple people.

EDIT: This is really old and is not compatible with latest roms.
 
Last edited:

dmo580

Senior Member
Dec 29, 2009
2,606
708
0
If you have you One, you might notice that MMS pictures are low res. I've created a flashable zip for anyone who wants to fix this. Please know what you're doing before flashing, you should have a custom recovery installed, understand risk, etc... XML values for size and resolution were increased, nothing else modified from the original MMS.apk.

CM11s ROM.


Update: Looks like KK has a few changes in flashable zips... I'll update shortly after some more testing. Thanks for the feedback everyone.

Update 2: Fixed the flashable zip, learning process with KK for me, been a while since i made a flashable zip. New zip will update correctly, tested on my own device. Enjoy!

Thanks to @richeazy for feedback!
Aren't MMS sizes carrier dependent? So what do these changes mean? Are they better but still in compliant for most carriers?
 

froggymike911

Senior Member
Nov 25, 2006
147
46
0
Aren't MMS sizes carrier dependent? So what do these changes mean? Are they better but still in compliant for most carriers?
I set the file size to AT&T's limits, but none of my test sends were over 300k. The quality limitations in the MMS were linked to the resolution size rather than the image size restrictions.

Here are the XML settings in the updated apk.



<?xml version="1.0" encoding="utf-8"?>
<mms_config version="4">
<bool name="enabledMMS">true</bool>
<int name="maxMessageSize">1048576</int>
<int name="maxImageHeight">1080</int>
<int name="maxImageWidth">1920</int>
<int name="defaultSMSMessagesPerThread">10000</int>
<int name="defaultMMSMessagesPerThread">1000</int>
<int name="minMessageCountPerThread">10</int>
<int name="maxMessageCountPerThread">5000</int>
<string name="uaProfUrl">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
<int name="recipientLimit">-1</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">false</bool>
<int name="smsToMmsTextThreshold">-1</int>
<bool name="enableSlideDuration">true</bool>
<int name="maxMessageTextSize">-1</int>
</mms_config>
 

froggymike911

Senior Member
Nov 25, 2006
147
46
0
Added a revert zip to go back to stock, if you want to flash the OTA you will need this back at stock, as the OTA does patch checks on files and even if you remove the check from the updater script, the patch will break messages with the image quality changes applied.

Unfortunately, the latest OTA 30O is not compatible with the zip (v2) for this fix. So don't flash it on the the latest OTA. The 30O OTA is based on M8, so the fix is not in the codebase yet, as it is in M9 (I'm running standard CM11 due to the slow updates by OPO.).


Thanks!
 
  • Like
Reactions: richeazy

HermitDash

Senior Member
Jul 31, 2009
93
28
0
Brooklyn
Just curious here, how did you or what did you edit?

Edit: Question Answered by: froggymike911
Code:
<?xml version="1.0" encoding="utf-8"?>
<mms_config version="4">
<bool name="enabledMMS">true</bool>
[COLOR="Red"]<int name="maxMessageSize">1048576</int>
<int name="maxImageHeight">1080</int>
<int name="maxImageWidth">1920</int>[/COLOR]
<int name="defaultSMSMessagesPerThread">10000</int>
<int name="defaultMMSMessagesPerThread">1000</int>
<int name="minMessageCountPerThread">10</int>
<int name="maxMessageCountPerThread">5000</int>
<string name="uaProfUrl">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
<int name="recipientLimit">-1</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">false</bool>
<int name="smsToMmsTextThreshold">-1</int>
<bool name="enableSlideDuration">true</bool>
<int name="maxMessageTextSize">-1</int>
</mms_config>
 
Last edited:

JengaMasterG

Senior Member
Sep 1, 2012
262
92
0
Devon
If you have you One, you might notice that MMS pictures are low res. I've created a flashable zip for anyone who wants to fix this. Please know what you're doing before flashing, you should have a custom recovery installed, understand risk, etc... XML values for size and resolution were increased, nothing else modified from the original MMS.apk.

CM11s ROM.


Update: Looks like KK has a few changes in flashable zips... I'll update shortly after some more testing. Thanks for the feedback everyone.

Update 2: Fixed the flashable zip, learning process with KK for me, been a while since i made a flashable zip. New zip will update correctly, tested on my own device. Enjoy!

Thanks to @richeazy for feedback!

Update 3: Don't flash this on 30O, it doesnt work. Will try to update soon, as the code in M8 doesn't incorporate the fix yet I guess.

Update 4: added revert to flash so you can flash OTA, if you flashed this fix. Confirmed working by multiple people.
You can just replace the apk inside the priv-app folder w/ a file manager and change the permissions to rw-r-r and reboot to get it working. Just tested it and the quality is fixed! :good:
 

hachiroku

Senior Member
Jan 28, 2008
490
95
0
i tried this on 38R and it kept force closing. maybe they changed something in the new update thats messing with it. Anyone know if thisll work on 44R.?

also, please upvote this

https://jira.cyanogenmod.org/browse/BACON-2137?jql=text ~ "MMS resolution"
as much as I also wanted to continue to use the included AOSP messaging app a viable solution isn't available unless someone were to build a modified apk for us. there us information on xda on what XML lines are modified.

since it has become rather difficult to come by this I've gone ahead and installed Go SMS Pro or Handcent which has a toggle within the setting which allow for MMS size change
 

jeboo

Recognized Developer
Apr 2, 2010
815
4,059
98
Last edited:

shawn0223

Senior Member
Sep 4, 2011
511
163
0
I implemented the aforementioned xml patch on a 44S deodexed Mms.apk. See if this works for you guys.
(Thanks to the OP for the install script/zip =)

http://d-h.st/YkAO
Any chance you could implement this on the newer version since they just dropped 05Q? Obviously not now since its barely rolling out. Whenever you get a chance of course :silly:
 

maddeath

Member
Aug 29, 2010
49
6
28
so I installed the zip above on my one running 44s and now I can't update to 05q. does anyone have the stock files that where changed by it?

thank you ahead of time :D

---------- Post added at 10:07 PM ---------- Previous post was at 09:10 PM ----------

stock 44s mms files can be found below. hope this helps someone else. DO NOT TRY TO FLASH! THESE ARE FIR THOSE WHO WISH TO MANUALLY REPLACE THE MODDED FILES OR FOR SOMEONE TO USE TO MAKE A FLASHABLE ZIP.
https://www.dropbox.com/s/b187nr9al0ptomj/Stock 44s MMS Files.zip?dl=0
 
Last edited: