Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
muveszur
Old
(Last edited by muveszur; 7th June 2011 at 10:52 AM.)
#1  
Senior Member - OP
Thanks Meter 141
Posts: 118
Join Date: Jul 2010
Location: Debrecen

 
DONATE TO ME
Talking [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!



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, 3464 views)
File Type: zip MMS_mod_cwm_by_muveszur-signed.zip - [Click for QR Code] (2.25 MB, 4936 views)
The Following 67 Users Say Thank You to muveszur For This Useful Post: [ Click to Expand ]
 
pulser_g2
Old
#2  
pulser_g2's Avatar
Developer Admin / Elite Recognized Developer
Thanks Meter 8065
Posts: 18,422
Join Date: Nov 2009
Location: United Kingdom Likes: Galaxy Note 2 Dislikes: Noobs
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


Having trouble getting an answer? | What is XDA about? | How to ask for help?

if [ $PM.incoming.type = $type.question.ROM.how_to_use ] || [ $PM.incoming.type = $type.question.ROM.silly_question ]; then mv $PM.incoming /.trash; PM.response($responsetype.ignore); $PM.sender.ignore_in_future=true; init.sequence($boy_who_cried_wolf); fi;


If you wish to apply for one of the Recognized Themer/Contributor titles, or have a question, please DO NOT send me a PM about it. Instead please contact your device's forum moderator, or a senior moderator, who will deal with your application. Thanks
 
tids2k
Old
#3  
tids2k's Avatar
Senior Member
Thanks Meter 598
Posts: 2,122
Join Date: Apr 2009
Location: Sydney

 
DONATE TO ME
very nice thank u for this !
s IV>htc one>sgs III>huawie quad xl>ipad 3>lg x3>htc z3tA>samsung galaxy note>samsung galaxy s II lte hd>iphone 4(g)>samsung galaxy s2 >htc desire hd>samsung galaxy s >htc desire (cancelled) :d>htc touch hd2>htc touch hd>nokia n97>iphone 3g>nokia n96>nokia n95> nokia n70
 
cle_m_ent
Old
#4  
cle_m_ent's Avatar
Senior Member
Thanks Meter 17
Posts: 192
Join Date: Nov 2008
Location: Lyon
Thanks for share.

Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
I'm French, so my english is too bad !
 
muveszur
Old
#5  
Senior Member - OP
Thanks Meter 141
Posts: 118
Join Date: Jul 2010
Location: Debrecen

 
DONATE TO ME
Quote:
Originally Posted by clecle69000 View Post
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
 
karl999999
Old
(Last edited by karl999999; 17th June 2011 at 08:18 AM.)
#6  
Senior Member
Thanks Meter 53
Posts: 257
Join Date: Oct 2010
Default "send time" not working

Hi!

for me it still does NOT show the real sent time.
can anybody confirm?
 
mitchell.tamsett2
Old
#7  
Junior Member
Thanks Meter 2
Posts: 15
Join Date: Oct 2010
Location: 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
Old
(Last edited by sicopat; 19th June 2011 at 10:12 PM.)
#8  
sicopat's Avatar
Senior Member
Thanks Meter 896
Posts: 785
Join Date: Oct 2007

 
DONATE TO ME
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: [ Click to Expand ]
 
tremblingwater
Old
#9  
tremblingwater's Avatar
Senior Member
Thanks Meter 9
Posts: 185
Join Date: Jul 2010
Location: London
Works on Villian Rom 2.0.
 
lousou76
Old
#10  
Senior Member
Thanks Meter 152
Posts: 152
Join Date: Mar 2008
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?

 
Post Reply+
Tags
guide, mms, mod, ref, time
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...