Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,147 Members 48,646 Now Online
XDA Developers Android and Mobile Development Forum

Low Res MMS fix

Tip us?
 
froggymike911
Old
(Last edited by froggymike911; 12th August 2014 at 02:11 PM.) Reason: added revert Zip
#1  
Senior Member - OP
Thanks Meter 26
Posts: 112
Join Date: Nov 2006
Default Low Res MMS fix

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.
Attached Files
File Type: zip MmsFixv2.zip - [Click for QR Code] (1.23 MB, 76 views)
File Type: zip MmsRevert.zip - [Click for QR Code] (1.66 MB, 15 views)
The Following 2 Users Say Thank You to froggymike911 For This Useful Post: [ Click to Expand ]
 
richeazy
Old
#2  
Senior Member
Thanks Meter 25
Posts: 176
Join Date: May 2012
Flashed through twrp and wiped caches But didn't work for me bro

Sent from my One using XDA Premium 4 mobile app
The Following User Says Thank You to richeazy For This Useful Post: [ Click to Expand ]
 
dansou901
Old
#3  
Recognized Contributor
Thanks Meter 871
Posts: 2,344
Join Date: Apr 2012
Location: Aachen
Quote:
Originally Posted by richeazy View Post
Flashed through twrp and wiped caches But didn't work for me bro

Sent from my One using XDA Premium 4 mobile app
Are you using a custom ROM?

Sent from my One using XDA Premium 4 mobile app
Current device: Oneplus One 64 GB Sandstone Black
No support via PM! Please ask in a public thread, I'll help you as much as I can.
 
richeazy
Old
#4  
Senior Member
Thanks Meter 25
Posts: 176
Join Date: May 2012
Quote:
Originally Posted by dansou901 View Post
Are you using a custom ROM?

Sent from my One using XDA Premium 4 mobile app
Nope stock rooted

Sent from my One using XDA Premium 4 mobile app
 
froggymike911
Old
(Last edited by froggymike911; 21st July 2014 at 10:15 PM.)
#5  
Senior Member - OP
Thanks Meter 26
Posts: 112
Join Date: Nov 2006
Quote:
Originally Posted by richeazy View Post
Flashed through twrp and wiped caches But didn't work for me bro

Sent from my One using XDA Premium 4 mobile app
Got the update there for you, let me know if you have issues
The Following User Says Thank You to froggymike911 For This Useful Post: [ Click to Expand ]
 
dmo580
Old
#6  
dmo580's Avatar
Senior Member
Thanks Meter 576
Posts: 2,113
Join Date: Dec 2009
Quote:
Originally Posted by froggymike911 View Post
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?
Current:
OnePlus One | CM 11S | Nexus 5 | crDroid for Nexus 5

Legacy Devices:
LG Nexus 4 | CM 11 Nightlies | Google Nexus 10 | CM 10.2 Nightlies | Samsung Galaxy S2 i9100 | CM 11 Nightlies | HP TouchPad | CM 11 Nightly 06072014 | Nexus S i9020a | CM 11 Nightlies | Motorola Milestone | CM 7.2 (16.06.2012)

Battery Testing - Non-BS, Non-Subjective Testing
 
froggymike911
Old
#7  
Senior Member - OP
Thanks Meter 26
Posts: 112
Join Date: Nov 2006
Quote:
Originally Posted by dmo580 View Post
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>
 
Chris123NT
Old
#8  
Chris123NT's Avatar
Senior Member
Thanks Meter 421
Posts: 918
Join Date: Nov 2012
Location: New York
This will also be fixed in the next CM 11S OTA:

http://review.cyanogenmod.org/#/c/68842/
Current Phones:
OnePlus One 64GB Sandstone Black (Daily driver)
Google Nexus 5
Moto X Dev

Previous Phones:
Samsung Galaxy S4 Dev Edition VZW - Bricked and samsung told me to go pound sand
Samsung Galaxy SIII VZW
 
froggymike911
Old
#9  
Senior Member - OP
Thanks Meter 26
Posts: 112
Join Date: Nov 2006
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!

The Following User Says Thank You to froggymike911 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes