FORUMS
Remove All Ads from XDA

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

119 posts
Thanks Meter: 146
 
By muveszur, Senior Member on 7th June 2011, 10:43 AM
Post Reply Email Thread
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!



Quote:

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.

Quote:

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

Quote:

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

Quote:

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
Attached Files
File Type: apk Mms.apk - [Click for QR Code] (2.39 MB, 4440 views)
File Type: zip MMS_mod_cwm_by_muveszur-signed.zip - [Click for QR Code] (2.25 MB, 6621 views)
The Following 72 Users Say Thank You to muveszur For This Useful Post: [ View ] Gift muveszur Ad-Free
 
 
7th June 2011, 10:49 AM |#2  
pulser_g2's Avatar
Developer Admin / Senior Recognized Developer
Thanks Meter: 11,776
 
More
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
The Following User Says Thank You to pulser_g2 For This Useful Post: [ View ]
7th June 2011, 11:33 AM |#3  
tids2k's Avatar
Senior Member
Flag Sydney
Thanks Meter: 830
 
More
very nice thank u for this !
7th June 2011, 11:42 AM |#4  
cle_m_ent's Avatar
Senior Member
Flag Lyon
Thanks Meter: 46
 
More
Thanks for share.

Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
7th June 2011, 11:44 AM |#5  
OP Senior Member
Flag Debrecen
Thanks Meter: 146
 
Donate to Me
More
Quote:
Originally Posted by clecle69000

Thanks for share.

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

This mod is contains too... now the limit is 200
15th June 2011, 08:10 AM |#6  
Senior Member
Thanks Meter: 56
 
More
"send time" not working
Hi!

for me it still does NOT show the real sent time.
can anybody confirm?
15th June 2011, 12:04 PM |#7  
Junior Member
Flag Newcastle
Thanks Meter: 2
 
More
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?
19th June 2011, 08:52 PM |#8  
sicopat's Avatar
Senior Member
Thanks Meter: 963
 
Donate to Me
More
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
The Following User Says Thank You to sicopat For This Useful Post: [ View ] Gift sicopat Ad-Free
10th July 2011, 10:56 AM |#9  
tremblingwater's Avatar
Senior Member
Flag London
Thanks Meter: 17
 
More
Works on Villian Rom 2.0.
14th July 2011, 08:52 AM |#10  
Senior Member
Thanks Meter: 155
 
More
Question
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?
14th July 2011, 12:09 PM |#11  
Member
Flag Doha
Thanks Meter: 0
 
More
Great work!

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

Thanks in advance..
Post Reply Subscribe to Thread

Tags
guide, mms, mod, ref, time

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

Advanced Search
Display Modes