Post Reply

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

5th May 2011, 11:13 PM   |  #1  
montymintypie's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 122
 
294 posts
Join Date:Joined: Oct 2010
More
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.
Last edited by montymintypie; 7th December 2011 at 12:57 PM.
The Following 52 Users Say Thank You to montymintypie For This Useful Post: [ View ]
6th May 2011, 12:42 AM   |  #2  
Junior Member
Thanks Meter: 0
 
18 posts
Join Date:Joined: Nov 2010
Did you know that this was the thing I look for?
Thank you!
I'll provide feedback in case of any problems.
6th May 2011, 01:24 AM   |  #3  
Senior Member
Flag Brisbane
Thanks Meter: 15
 
557 posts
Join Date:Joined: Dec 2007
More
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?

Cheers
6th May 2011, 01:42 AM   |  #4  
montymintypie's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 122
 
294 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by NeoXTC

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.
6th May 2011, 03:16 AM   |  #5  
Senior Member
Flag Brisbane
Thanks Meter: 129
 
269 posts
Join Date:Joined: Jul 2010
Donate to Me
More
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, 189 views)
Last edited by Ryyuu; 6th May 2011 at 03:26 AM.
6th May 2011, 03:29 AM   |  #6  
montymintypie's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 122
 
294 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by Ryyuu

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: [ View ]
6th May 2011, 03:41 AM   |  #7  
Senior Member
Flag Brisbane
Thanks Meter: 129
 
269 posts
Join Date:Joined: Jul 2010
Donate to Me
More
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...
Last edited by Ryyuu; 6th May 2011 at 03:43 AM.
6th May 2011, 04:52 AM   |  #8  
montymintypie's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 122
 
294 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by Ryyuu

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: [ View ]
6th May 2011, 05:53 AM   |  #9  
Senior Member
Flag Brisbane
Thanks Meter: 129
 
269 posts
Join Date:Joined: Jul 2010
Donate to Me
More
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.
6th May 2011, 06:32 AM   |  #10  
Senior Member
Flag Bucuresti
Thanks Meter: 32
 
237 posts
Join Date:Joined: Jun 2007
More
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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S I9000 Android Development by ThreadRank