Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,457 Members 41,624 Now Online
XDA Developers Android and Mobile Development Forum

[MOD/HOWTO] SMS + No contact limit + No MMS convert + Sent time [JVX/JVT/JVQ/JVP/JVH]

Tip us?
 
montymintypie
Old
(Last edited by montymintypie; 7th December 2011 at 12:57 PM.)
#1  
montymintypie's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 292
Join Date: Oct 2010
Location: Brisbane
Default [MOD/HOWTO] SMS + No contact limit + No MMS convert + Sent time [JVX/JVT/JVQ/JVP/JVH]

UPDATE!
07/12 JVX added
14/7: JVT version added
14/7: JVQ CWM flashable versions for odexed and deodexed! Massive props to to $omator for this, who obviously knows a lot more about creating CWM zips than I do. Go to his post to download, and thank him while you're at it!
30/6: New JVQ version, thanks again bigdyl69! Get it here.
13/6: JVP version now exists, get it here thanks to bigdyl69!
21/5: Added Froyo JSD and Ginger JVO versions.
10/5: Added JVH version


Ok, this does what it says on the tin. It's a mod of the JVX messaging app that adds 3 often requested features:
  • No autoconvert to MMS after 3 messages
  • Sending to unlimited contacts
  • Sent time instead of received time. If you turn off your phone, messages you get whilst it's off will have the right time!

To install:
Simply copy the included apk depending on your system version to /system/app/Mms.apk, and make a backup first just in case.

Notes:
Your ROM MUST be deodexed!
If it doesn't work, clear the cache, the Dalvik cache, and also clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages).
If the times are off by several hours download SMS Time Fix and set it the the correct number of hours to fix the timestamps.
The JVB MMS apk is actually from Darky's 10 RC6, but I don't think it's different from the default.


If I get enough requests for:
Other versions (e.g. JVK, etc)
CWM flashable versions

I'll make them.

Hope this is useful to people!

Massive props to ykk_five for his original mod! I couldn't have made this without his help.

HOWTO

Do you theme your Mms app? Got a custom ROM going on and want to do this yourself? Well here's how!
  1. Download Apk Manager from here.
  2. Get your Mms.apk from /system/app/Mms.apk
  3. Get your twframework-res.apk from /system/framework
  4. Open up Apk Manager and choose option 22
  5. Select Mms.apk as your project
  6. Select option 10 (decompile with dependencies)
  7. When it asks you for your dependency, drag and drop twframework-res.apk into the window and press enter
  8. When that's done, go into apk_manager/projects/Mms.apk
  9. Under /res/xml open up mms_config.xml
  10. Go to: <int name="recipientLimit">10</int> change this to -1
  11. Go to <int name="smsToMmsTextThreshold">4</int> Change this to 100
  12. Now open up /smali/com/android/mms/transaction/SmsReceiverService.smali and open it in any text editor.
  13. Search for 'time'. There will be one entry at approximately line 523
  14. Replace this with: invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
  15. There will be another at approximately line 2270.
  16. Replace this with: invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
  17. Save and close them all and go back to apk manager, option 11 'compile'
  18. When you're done, it'll tell you about a 'keep' folder. Go delete mms_config.xml, and in the keep folder also delete resources.arsc and classes.dex
  19. Copy your new Mms.apk to your phone! Don't forget to back up your old one in case you make a mistake.

If you get errors, check the log for mentions of 9.png errors. If they are there, fix your 9 patch files! Use google for that, I'm not explaining how to do this.

If you can't be bothered to do this or don't know how, send me a PM! I've made more than 8 custom Mms.apks for people so far.
The Following 52 Users Say Thank You to montymintypie For This Useful Post: [ Click to Expand ]
 
beer-in-box
Old
#2  
Junior Member
Thanks Meter 0
Posts: 18
Join Date: Nov 2010
Did you know that this was the thing I look for?
Thank you!
I'll provide feedback in case of any problems.
 
NeoXTC
Old
#3  
Senior Member
Thanks Meter 14
Posts: 555
Join Date: Dec 2007
Location: Brisbane
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?

Cheers
 
montymintypie
Old
#4  
montymintypie's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 292
Join Date: Oct 2010
Location: Brisbane
Quote:
Originally Posted by NeoXTC View Post
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?

Cheers
No, this is only a modification to the stock SMS app, sorry.
 
Ryyuu
Old
(Last edited by Ryyuu; 6th May 2011 at 03:26 AM.)
#5  
Senior Member
Thanks Meter 129
Posts: 269
Join Date: Jul 2010
Location: Brisbane

 
DONATE TO ME
Hey mate,
What did you change in the apk to remove the mms convert?

I am trying to edit the TW4 mms.apk to be the same as what you've done.

Thanks!

Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Attached Files
File Type: apk Mms.apk - [Click for QR Code] (2.96 MB, 188 views)
 
montymintypie
Old
#6  
montymintypie's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 292
Join Date: Oct 2010
Location: Brisbane
Quote:
Originally Posted by Ryyuu View Post
Hey mate,
What did you change in the apk to remove the mms convert?

I am trying to edit the TW4 mms.apk to be the same as what you've done.

Thanks!

Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Under res / xml / mms_preferences.xml change
<int name="smsToMmsTextThreshold">3</int>
To something like 100. I'd just make the edit for you but I'm not at home
The Following User Says Thank You to montymintypie For This Useful Post: [ Click to Expand ]
 
Ryyuu
Old
(Last edited by Ryyuu; 6th May 2011 at 03:43 AM.)
#7  
Senior Member
Thanks Meter 129
Posts: 269
Join Date: Jul 2010
Location: Brisbane

 
DONATE TO ME
Fantastic!!
Thanks mate.
What about the received time setting too?

Also, How are you decompiling and editing your apk's?

I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
 
montymintypie
Old
#8  
montymintypie's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 292
Join Date: Oct 2010
Location: Brisbane
Quote:
Originally Posted by Ryyuu View Post
Fantastic!!
Thanks mate.
What about the received time setting too?

Also, How are you decompiling and editing your apk's?

I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
Ehhh, received time edit involves decompiling and editing the smali files, so it's a little more complex.

As for decompiling/editing, I use apk manager, which is Windows only as far as I know. I run it on my mac using Boot Camp. Also, it won't decompile properly without using the twframework-res.apk dependency file, so make sure you have the tw4 equivalent of that. PM me if you're game to try the smali editing.
The Following User Says Thank You to montymintypie For This Useful Post: [ Click to Expand ]
 
Ryyuu
Old
#9  
Senior Member
Thanks Meter 129
Posts: 269
Join Date: Jul 2010
Location: Brisbane

 
DONATE TO ME
Thank so much for your help mate.

I have successfully edited the TW4 mms.apk to remove the SmsToMms conversion.

I'll create a topic for it. But thank you very much for your help. I might have a look at converting the time too. I'll send you a PM.
 
ruh01
Old
#10  
Senior Member
Thanks Meter 32
Posts: 236
Join Date: Jun 2007
Location: Bucuresti
Default icon missing

hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes