FORUMS
Remove All Ads from XDA

[MOD] Stock MMS APK with 160 characters sms capacity!

1,590 posts
Thanks Meter: 7,169
 
By theos0o, Senior Member on 10th April 2012, 11:58 AM
Post Reply Email Thread
Hey!

Here's a mod for the Mms.apk.
The biggest feature, and the reason I modded this, is to get 160 characters capacity per SMS for non-English languages, and not 60-70, with extra costs for lengthy messages!
Features
160 characters capacity! (unicode to GSM 03.38 convertion)
Languages that should get 160 characters capacity:
Greek
Czech
Spanish
French
Polish
Portuguese
Slovak
No smiley on keyboard, new line support instead (thanks to mikko3024)
A little bit bigger text message box (when it expands) so you can have a better view of your text, not much scrolling.
Deodexed ROMs
Download
• AOSP 4.2.1: v2 APK
• CM10.1 (JB 4.2): v2 APK --------- v2 flashable zip (thanks jimdem )
• AOSP 4.1.2: v2 Inverted APK
• CM10 Stable (JB 4.1): v2 APK
• Jelly Bean 4.1: v2 flashable zip (thanks jimdem )
• MIUI v4 (ICS 4.0.4): v2 APK --------- v2 flashable zip (thanks jimdem )
• ICS: v2 flashable zip (thanks jimdem )
How to install

Flash ZIP as usual or if you prefer the APK:

adb push it to /system/app !
or
Backup original Mms.apk (/system/app), just to be safe
Use a file manager (with root access) to copy file to /system/app.
Set apk file permissions to rw-r--r-- (644).
Set apk file ownership to root:root.
Sample input / output (characters mapping)
Input:
αβγδεζηθικλμνξοπρσςτυφχψωάέήίόύώϊϋΐΰΑΒΕΖΗΙΚΜΝΟΡΤΥΧ ΆΈΉΊΌΏΪΫŰűŐőąćęłńśźżĄĆĘŁŃŚŹŻÀÂÃÈÊÌÎÒÕÙÛâãêîõúûçěšč řžďťňáíéóýůĚŠČŘŽĎŤŇÁÉÍÓÝÚŮŕĺľôŔĹĽÔÏïëË
Output:
ABΓΔEZHΘIKΛMNΞOΠPΣΣTYΦXΨΩAEHIOYΩIYIYABEZHIKMNOPTYX AEHIOΩIYÜüÖöacelnszzACELNSZZAAAEEIIOOUUaaeiouucesc rzdtnaieoyuESCRZDTNAEIOYUUrlloRLLOIIee

Added in v2:
ñ → n
Ñ → N
Đ → Dj
đ → dj
Source / smali changes (v2)
160 chars mod src/smali: http://d-h.st/GwK (CM10 quick reply popup requires some more editing)
Enjoy!
The Following 84 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
 
 
10th April 2012, 02:50 PM |#2  
theos0o's Avatar
OP Senior Member
Flag Sitia
Thanks Meter: 7,169
 
Donate to Me
More
OP updated with CM7 apk modded!
Anyone on GB (not CM7!) can try it and write if it works.
The Following 4 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
11th April 2012, 09:29 AM |#3  
Junior Member
Flag Lodz
Thanks Meter: 0
 
More
Great work Any chance for dark version?
11th April 2012, 09:41 AM |#4  
theos0o's Avatar
OP Senior Member
Flag Sitia
Thanks Meter: 7,169
 
Donate to Me
More
Quote:
Originally Posted by boofuls

Great work Any chance for dark version?

No, unless someone can give me a dark version apk to mod

---------------------

OP will be updated soon with source / smali changes.

edit: Done!
The Following 2 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
11th April 2012, 12:27 PM |#5  
Fikul's Avatar
Senior Member
Flag Mysłowice
Thanks Meter: 71
 
More
When i use polish characters my message still can not be 160 characters in length ;/ Why is this happening?
11th April 2012, 12:36 PM |#6  
theos0o's Avatar
OP Senior Member
Flag Sitia
Thanks Meter: 7,169
 
Donate to Me
More
Quote:
Originally Posted by Fikul

When i use polish characters my message still can not be 160 characters in length ;/ Why is this happening?

You mean the counter shows 70 characters?
Can you copy paste here the text you're trying to send? Wanna check myself

edit: Here's a sample message (random swype's, sorry )
The Following 3 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
11th April 2012, 01:00 PM |#7  
Fikul's Avatar
Senior Member
Flag Mysłowice
Thanks Meter: 71
 
More
For example : Witam, mam do zaoferowania prace na terenie trójmiasta od godziny 17.

When i try to write something else, it creates next message.

I have an ICS 4.0.3 rom.
11th April 2012, 01:07 PM |#8  
theos0o's Avatar
OP Senior Member
Flag Sitia
Thanks Meter: 7,169
 
Donate to Me
More
Quote:
Originally Posted by Fikul

For example : Witam, mam do zaoferowania prace na terenie trójmiasta od godziny 17.

When i try to write something else, it creates next message.

I have an ICS 4.0.3 rom.

Did u install it correctly?
check my screenshot above
The Following 3 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
11th April 2012, 01:08 PM |#9  
Fikul's Avatar
Senior Member
Flag Mysłowice
Thanks Meter: 71
 
More
It may be permissions ?
11th April 2012, 01:11 PM |#10  
theos0o's Avatar
OP Senior Member
Flag Sitia
Thanks Meter: 7,169
 
Donate to Me
More
Quote:
Originally Posted by Fikul

It may be permissions ?

If you try to install it as a normal APK it will fail.


You need to push it using adb,

OR

Backup your current Mms.apk before using this one.
Using Root Explorer (or any file manager of your preference) copy file to /system/app.
Set proper permissions (rw-r--r-- or 644).
Set File ownership to root:root.
The Following 2 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
11th April 2012, 01:22 PM |#11  
Fikul's Avatar
Senior Member
Flag Mysłowice
Thanks Meter: 71
 
More
Quote:
Originally Posted by theos0o

If you try to install it as a normal APK it will fail.


You need to push it using adb,

OR

Backup your current Mms.apk before using this one.
Using Root Explorer (or any file manager of your preference) copy file to /system/app.
Set proper permissions (rw-r--r-- or 644).
Set File ownership to root:root.

How to set file ownership ? Can i use rootexplorer ?
Post Reply Subscribe to Thread

Tags
160, chars, ics, mms, sms

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes