• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert

Search This thread

muveszur

Senior Member
Jul 21, 2010
119
146
Debrecen
[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert

MMS.apk mod for Samsung Galaxy S II by muveszur (me)

First of all, I have to say Thanks to montymintypie for his work on Galaxy S!!!


Attention! This mod is working only deodexed roms!
I tested on VillainROM 1.1!


The Mms.apk has the following moddings:
Sent Time displayed instead of the Received Time
  • No AutoConverting messages to MMS after 4 SMS.
  • In my mod, it will be converted to MMS after 200 SMS.
  • Possible to add to the message 200 contacts instead of 20 contacts.

HOW TO - For Developers

Change the AutoConverting:
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="smsToMmsTextThreshold">4</int>
to:
Code:
<int name="smsToMmsTextThreshold">200</int>

Increase Contacts adding for the message
In /res/xml/mms_config.xml change the following values at line 19:


Code:
 <int name="recipientLimit">10</int>
to:
Code:
 <int name="recipientLimit">200</int>


Display Sent Time instead of the Received Time
In /smali/com/android/mms/transaction/SMSReceiverService.smali change the following values at line 589:

Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J

And change the following values at line 2383:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J

Installing with RootExplorer- For Users
  1. Download the Mms.apk from the attachment
  2. //In /system/app rename the Mms.apk to Mms.apk.bak - It is a backup step
  3. Copy the downloaded Mms.apk to the /system/app folder, and overwrite the original Mms.apk file
  4. Reboot your phone
  5. If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings

Installing from CWM- For Users
  1. Download MMS_mod_cwm_by_muveszur.zip from the attachment
  2. Go to the CWM
  3. Select Install zip from sdcard--->Choose zip from sdcard, and select the MMS_mod_cwm.zip
  4. After the installation done, reboot your phone
  5. If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings

If you like my work, give me a beer, or just hit the the Thanks button;)
DONATE
 

Attachments

  • Mms.apk
    2.4 MB · Views: 4,473
  • MMS_mod_cwm_by_muveszur-signed.zip
    2.3 MB · Views: 6,672
Last edited:

pulser_g2

Admin Emeritus / Senior Recognized Developer
Nov 27, 2009
19,537
11,595
AHA. So that's how you change the time to sent time, rather than received time... I had both these other features, but couldn't find that one.

Nice work :)
 
  • Like
Reactions: iamareebjamal

cle_m_ent

Senior Member
Nov 8, 2008
348
48
Lyon
Thanks for share.

Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
 

karl999999

Senior Member
Oct 25, 2010
281
55
"send time" not working

Hi!

for me it still does NOT show the real sent time.
can anybody confirm?
 
Last edited:
Oct 11, 2010
15
2
Newcastle
May I ask how you edit the .xml files? What method or program are you using.

If I am to change just the AutoConverting setting in my own mms.apk file, will this cause me issues as I am still on an odexed rom?
 

sicopat

Senior Member
Oct 21, 2007
810
956
Samsung Galaxy S20
Excuse me, I modified my MMS.apk following your advises .
I still canno't add more than 10 contacts per message.
I have verified the MMS config . xml and the mod is set to 200.
What's wrong ?

Edit : need to clear data for Messaging
 
Last edited:
  • Like
Reactions: fibrook

lousou76

Senior Member
Mar 3, 2008
168
155
hi,

I am trying to make those changes in the official froyo mms sources and another version of mms.apk for my zte blade.

In the file you mention (SmsReceiverService) there is only one match for currentTimeMillis. I cannot find the second reference anywhere.

Could you point the exact class name or part of code where the second change should be made?
 

ammarselo

Member
Jun 13, 2011
32
0
Doha
Great work!

Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?

Thanks in advance..
 

_JKay_

Retired Recognized Developer
Aug 12, 2010
5,495
14,689
Why should this not work on stock roms? I'd say it should!
 

BMWpokerAce

Senior Member
Sep 3, 2010
341
579
www.sysprofile.de
This is not Working on KG1

I have edit step by step exactly with your How to my Mms.apk from KG1.

After compiling and push back to phone, the mms.apk is working but:

this mod take no effect.


Still just 10 contacts to add
Still received time

Any advice how to get it working on KG1?
 
  • Like
Reactions: hskeik

EarlZ

Senior Member
Jun 21, 2010
6,285
327
Can anyone with the correct experience update this for the XXKG2 that recently came out, the 2.3.4 and not the 2.3.3
 

EarlZ

Senior Member
Jun 21, 2010
6,285
327
Can someone pick up this mod and prep it for XXKG2 and XXKG3 Odex and Deodex versions?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    [MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert

    MMS.apk mod for Samsung Galaxy S II by muveszur (me)

    First of all, I have to say Thanks to montymintypie for his work on Galaxy S!!!


    Attention! This mod is working only deodexed roms!
    I tested on VillainROM 1.1!


    The Mms.apk has the following moddings:
    Sent Time displayed instead of the Received Time
    • No AutoConverting messages to MMS after 4 SMS.
    • In my mod, it will be converted to MMS after 200 SMS.
    • Possible to add to the message 200 contacts instead of 20 contacts.

    HOW TO - For Developers

    Change the AutoConverting:
    In /res/xml/mms_config.xml change the following values at line 19:
    Code:
    <int name="smsToMmsTextThreshold">4</int>
    to:
    Code:
    <int name="smsToMmsTextThreshold">200</int>

    Increase Contacts adding for the message
    In /res/xml/mms_config.xml change the following values at line 19:


    Code:
     <int name="recipientLimit">10</int>
    to:
    Code:
     <int name="recipientLimit">200</int>


    Display Sent Time instead of the Received Time
    In /smali/com/android/mms/transaction/SMSReceiverService.smali change the following values at line 589:

    Code:
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
    to:
    Code:
    invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J

    And change the following values at line 2383:
    Code:
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
    to:
    Code:
    invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J

    Installing with RootExplorer- For Users
    1. Download the Mms.apk from the attachment
    2. //In /system/app rename the Mms.apk to Mms.apk.bak - It is a backup step
    3. Copy the downloaded Mms.apk to the /system/app folder, and overwrite the original Mms.apk file
    4. Reboot your phone
    5. If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings

    Installing from CWM- For Users
    1. Download MMS_mod_cwm_by_muveszur.zip from the attachment
    2. Go to the CWM
    3. Select Install zip from sdcard--->Choose zip from sdcard, and select the MMS_mod_cwm.zip
    4. After the installation done, reboot your phone
    5. If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings

    If you like my work, give me a beer, or just hit the the Thanks button;)
    DONATE
    2
    2
    Great work!

    Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?

    Thanks in advance..

    settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
    2
    Mod for XILA2 Deodex/Odex

    Did it for XILA2 Deodex.

    It works also with Odex version (i have tried), but you have to delete from system/app mms.apk and mms.odex first. Replace, then reboot your phone.
    Don't forget to delete datas in settings> application > twlauncher.

    See you. ;)
    2
    Can anyone update this with the XXKG6 Odex MMS.APK ?