yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] geokilla:
Again, it is an issue with having Mms.apk showing the sent time instead of receive time. In order to fix this, you need to download Mms time fix from Android market.

However, yours is the first time I've seen it where it's ahead of the supposed sent time by a minute. Usually it's by the hours.
[Galaxy S I9000 Android Development] montymintypie:
This can sometimes be because the phone rounds up.
[Galaxy S I9000 Android Development] montymintypie:
Well you just saved me quite a bit of time. Linking this in the first post.
[Galaxy S I9000 Android Development] .:Crack:.:
Well if that should be true, i don't know what i should do. I'm syncing my clock with a NTP server (Clocksync App).

I'll try that app.

btw the the geokilla apk JVS?
[Galaxy S I9000 Android Development] montymintypie:
I'm not sure, depends on what geokilla has on his phone :p I have yet to receive a jvs mms.apk to mod that is deodexed.
[Galaxy S I9000 Android Development] .:Crack:.:
Ok, JVS is attached ;)

Thanks!
[Galaxy S I9000 Android Development] geokilla:
It is JVR.

I want to run less apps though so if we can incorporate the GMT time fix into the Mms.apk, then it'd be the perfect Mms.apk.
[Galaxy S I9000 Android Development] montymintypie:
Uhh, that seems to have the modifications already applied...

The reason this won't work is because when there is no GMT fix required, it'll break timestamps for those messages. :\
[Galaxy S I9000 Android Development] geokilla:
Guess I can leave my phone on like i'm supposed to when I stereo, but if I get texts while in the subway, them then obviously having the sent time is the way to go.

Sent from my Samsung i896
[Galaxy S I9000 Android Development] .:Crack:.:
Ups. ok sorry then :D
[Galaxy S I9000 Android Development] shashank.aviator:
A new mod to mms.apk

hey all,

I was thinking if its possible to change the way the mms notification comes on the notification bar.

Instead of reading "John Doe: 'contents of message'"

Can it be made to read "New Message : John doe" ?

What im aiming to say is that the contents of the message not be displayed on the notification bar. Iv had the embarasing sitation of some one reading my gf's private message coz it scrolled on the notification bar.

This would be a kind of privacy setting.

Im attaching the JVH mms.apk with time fix and not mms convert mods applied.
[Galaxy S I9000 Android Development] montymintypie:
I'll look into it. Might take a while to find the right string.
[Galaxy S I9000 Android Development] shashank.aviator:
Thanks much monty :)

Il wait fr ur post

Cheers
[Galaxy S I9000 Android Development] montymintypie:
It's proving difficult - might be a smali thing. Still searching...
[Galaxy S I9000 Android Development] BlueKnight83:
Hail, i have attached the mms.apk deodex from JVT.

Please, can you modify these?

On JVS, whit JVQ mms version in first post, i had something strange. When i wrote SMS, the first was always of 160 letters, but the others are not of 153 like in normal situations,but sometimes of 67 letters, other a lower numer... strange!

Now i have a clean firmware installation, so i can't done other test..
[Galaxy S I9000 Android Development] shashank.aviator:
If not changing the text in the notification bar. Is it possible to just remove the notification bar message altogether? but still keeping the ringtone notification n lockscreen notification?
[Galaxy S I9000 Android Development] ayman_salah:
I am waiting too to modify the

JVT

Version
[Galaxy S I9000 Android Development] geokilla:
Just do it yourself. Not that hard to do with the steps posted in the OP. I couldn't get it to work, but I bet if I tried again, it'll work this time.
[Galaxy S I9000 Android Development] montymintypie:
I'll look into it further - I definitely understand the privacy issue with your messages being displayed.

Now now, don't be mean.

I've modified the JVT apk, check the first post for a download!

I have no idea about that strange character count! Nothing I did, I hope.
[Galaxy S I9000 Android Development] sir ahmed:
what about jvs ? :( ....

---------- Post added at 12:43 PM ---------- Previous post was at 12:28 PM ----------

doesn't work :(

contacts only 10 !!
[Galaxy S I9000 Android Development] oserx:
nice work ... i modified my JVT odexed mms.apk using your step-by-step tutorial ( i just modified the no of sms until mms, and max no of recepients ) ... it was 2 minutes work.

Thank you
[Galaxy S I9000 Android Development] ayman_salah:
Thanks for ur efforts
[Galaxy S I9000 Android Development] montymintypie:
That one was given to me to modify, but was odexed, so was not modifiable. You can do the sms convert and no contact limit, but no way to do the sent time fix.
[Galaxy S I9000 Android Development] jifeng:
Hi,

I just follow your tutorial to modify my Mms.apk (deodexed), but still only 10 contacts. BTW, I also downloaded your Mms.apk in Page1 and still only 10 contacts. Could you please kindly take a look? thanks a lot.

My ROM is XXJVT, thanks.
[Galaxy S I9000 Android Development] montymintypie:
2 things:

Clear dalvik cache

Clear data for messaging (won't delete your messages)
[Galaxy S I9000 Android Development] jifeng:
Thanks so much, it works perfectly.
[Galaxy S I9000 Android Development] gabriolinari:
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.

/// end of quote

hey there, i was going to do this mod, i managed to have the apk manager program running, neat program by the way, though after i do the mod on the .xml file is not very clear how to have again a file that is OK for the phone.

i may be a noob in this.... well, after i do 11 (compile), everything works OK, i delete those files from the "keep" folder as suggested, however then i get a file like this : "unsignedMms.apk" that is the latest one as i see the date being the oldest.

now this file is like 800k and the original file is approx 2mb so something is missing....can someone give me some light in the tunnel?

also, 1st time i use adb on the sgs2, when i do adb push it gets me a permission denier, i know it's a permission thing but dont wanna mess things around here, which is the command?

for an expert person, this is a walk in the park!! thanks

gabrio
[Galaxy S I9000 Android Development] gabriolinari:
actually, it worked....after recompilation i pushed via adb the new file "unsignedMms.apk" then renamed it to Mms.apk and it works brilliantly, can send LONG sms without boring conversion, tried a 13 sms and worked as a charm!..however my question remains, why is this new file much smaller than the first .apk that i downloaded that was about 2mb? in the end i changed just a few chars in the .xml...

and i cannot find anywhere /smali/com/android/mms/transaction/SmsReceiverService.smali ..is it because i am on stock rom?

thanks

gabrio
[Galaxy S I9000 Android Development] montymintypie:
Good to see you got it working! :)

It's smaller because APK manager uses much better compression than the standard APK does. And you don't have the smali file because you're not deodexed. You can still edit odexed files, but I don't know how to do it. :\
[Galaxy S I9000 Android Development] gabriolinari:
Ok great so I cannot do the second part of the mod for the delivery time, right?

Gab
[Galaxy S I9000 Android Development] montymintypie:
Not unless you work out how to modify odexed files. It's possible, I just don't know how myself.
[Galaxy S I9000 Android Development] shashank.aviator:
timestamp problems

monty could you give me a JVH and JVT mms.apk without the sent time fix? Im in india and its not really working for me... network times arent the same all over india...

thanx in advance
[Galaxy S I9000 Android Development] geokilla:
Download SMS time fixer. Or just pull Messaging.apk from a JVH and JVT ROM.
[Galaxy S I9000 Android Development] shashank.aviator:
dude... u dint get it. i want all the fixes except time stamp. im not a noob that i dont know how to pull apks from roms... if i wanted a stock mms.apk i would not come here... i was asking monty if he could give me mms.apks without the time stamp fix only while keeping the No contact limit and No mms autoconvert mods.
[Galaxy S I9000 Android Development] montymintypie:
I have a JVT app I can quickly whip up the autoconvert/group send fix for, but I no longer have a JVH app. Care to provide?
[Galaxy S I9000 Android Development] s-android:
i try this method for galaxy ace

i just want to fix converting sms to mms

so just edit 4 to 100

and then recompile mms.apk and sign it

but when i put it on rom.

it gives f.c error!!!

what should i do exactly?
[Galaxy S I9000 Android Development] montymintypie:
Don't sign it.
[Galaxy S I9000 Android Development] shashank.aviator:
Here you go monty.

Just to keep you in the loop... i was using ur jvh modified apk for many months and suddenly about a week back all messages started to get haywire. sent times were misplaced and the app showed many replies from frnds at a time before i even sent them. I thought it might be a network problem. But i faced the same problems abroad too... maybe smthing wrong with my fone... lets see... using sms time fixer at the moment to retain recieved time instead of sent time. But i dont want excess ram usage so thought it best to have the apk without sent time fix.

Thanks a lot

Cheers
[Galaxy S I9000 Android Development] montymintypie:
Yeah, I don't know why they don't just have it sorted by received, but show sent. It's ridiculous really. Oh well...
[Galaxy S I9000 Android Development] Difusal:
I'm running stock odex JVQ. flashed via cwm the .zip provided by $omator and the icon disappeared... not from the bottom bar but also from launcher.
[Galaxy S I9000 Android Development] $omator:
classical when you used odex on deodexed or sumfin
[Galaxy S I9000 Android Development] Difusal:
forget... my bad. my csc and modem are jvq but PDA is jvr for some reason.

---------- Post added at 08:37 PM ---------- Previous post was at 08:36 PM ----------

is there any version for stock odex JVR?
[Galaxy S I9000 Android Development] $omator:
i made one for XXJVR / stock+
[Galaxy S I9000 Android Development] Difusal:
link please ^^
[Galaxy S I9000 Android Development] $omator:
find in my signature
[Galaxy S I9000 Android Development] Difusal:
should I just copy Mms.apk and Mms.odex from there to system/app?
[Galaxy S I9000 Android Development] $omator:
for odex yes :)

oh and tell me if the search is working in mms app there
[Galaxy S I9000 Android Development] Difusal:
you mean the search built in feature? (long press menu soft key?)
[Galaxy S I9000 Android Development] $omator:
mms app got search bulit in mms apk under same key when you have settings there
[Galaxy S I9000 Android Development] Difusal:
yeah, search feature working 100% :P

---------- Post added at 09:34 PM ---------- Previous post was at 09:34 PM ----------

good news:

my problem was that messaging app disappeared completely. that's because I though I was running stock JVQ, but when I did *#1234#, PDA was JVR! so that was the problem

I am JVR stok odex

this is what I did:

1. went to stock+ from $omator and downloaded the jvr odex version.

2. opened the zip, system>app

3. copied Mms.apk and Mms.odex to sdcard

4. with root explorer, copied those files to system>app on my galaxy s. Replaced the ones there (make sure r/w is enabled)

5. changed those files permissions to: rw-r--r--

6. CWM - wipe cache, wipe dalvik-cache, fix permissions (just in case...?)

7. rebooted, wait, VOILLA! problem solved! :D

working Mms hacks on stock odex JVR.

ty $omator
[Galaxy S I9000 Android Development] $omator:
youre welcome :)
[Galaxy S I9000 Android Development] $omator:
Mms.apk from I9020T NexusS 2.3.6/GRK39F works but:

- attach -> record audio makes mms fc

- icon for make new message is same as AndroidOS in system process list

- invoke-static {}, Ljava/lang/System;->currentTimeMillis()J so recived time is default

+ recpitiens limit is 312 marks - thats like 15-20 contacts epends on name/number lenght

+ sms text lenght limit is 2000 marks - thats crapload of sms'es

am i missing anything else?
[Galaxy S I9000 Android Development] vasilios1979:
hello

Can we have a JVT CWM flashable version, for us noobs?

thnks
[Galaxy S I9000 Android Development] montymintypie:
Mostly every CWM flashable zip I've tried to create turned out not working. :\ I think $omator knows how to make them though.
[Galaxy S I9000 Android Development] $omator:
ah and every msg in conversation got its own photo :)

later today when figure out how to solve the icon & link issue
[Galaxy S I9000 Android Development] $omator:
Mms.apk from I9020T NexusS 2.3.6/GRK39F

- no swype left/right call/mms

+ white'ish layout

+ individual photo for each message in conversation

++ recpitiens limit was 312 marks - changed to 32767 - needs test

++ sms text lenght limit was 2000 marks - changed to 32767 - needs test

++ fixed link to VoiceRecorder

++ ic_menu_compose proper resource icon is now used

++ recive time changed to sent time in detailed conversation view (normal view shows recive time) - needs test

to be fixed as not so important

- puzzle leckscreen

- sgs1 icons in attach menu

DOWNLOAD, TEST, REPORT BUGS - CWM FLASHABLE FOR ODEX & DEODEXED

>>> JVT_STOCK+_mms_nexuss_beta.zip <<<

btw. how to hell to set own photo :)
[Galaxy S I9000 Android Development] shashank.aviator:
Thanks monty for the mods... messaging is the only thing i did find faults with on android... i used to have nokia fones bfore my SGS.. and in all of them i never had a problem with sms's... always showd sent times but were arranged according to received times... well i guess some dev would be able to make this mod eventually.

Cheers
[Galaxy S I9000 Android Development] tugapower:
Hi

I have jvt and i have contact limits, only allows you to send sms to 10 contacts

it's normal?
[Galaxy S I9000 Android Development] montymintypie:
So you've got the modded mms.apk? If you still have issues, try these:

Wipe cache

Wipe dalvik cache

Clear data for Messaging (won't delete your messages!)

Reboot
[Galaxy S I9000 Android Development] geokilla:
It seems that sms backup and restore does not work well with modified Mms.apk. I backed up my texts, deleted them all, then restored it. Half my texts had a mess up timestamp... Couldn't fix it no matter what I tried. It's most likely an app problem.

Sent from my Samsung i896
[Galaxy S I9000 Android Development] montymintypie:
What program are you using to back up your messages? It works fine for me using titanium.
[Galaxy S I9000 Android Development] tugapower:
Solved.

Thanks
[Galaxy S I9000 Android Development] geokilla:
I use sms backup and restore. I think it's the Mms.apk setting up the time stamps... Just looked at the backup files and the timestamps are 5 hours behind, like I don't have sms time fix installed back then... Maybe the timestamps got messed up because I was switching between ROMs and modified and non-modified Mms.apk.

Sent from my Samsung i896
[Galaxy S I9000 Android Development] montymintypie:
Who knows...
[Galaxy S I9000 Android Development] $omator:
nex time try SMS Backup +

works for me just fine - backups/restores callogs also if seted up to do that
[Galaxy S I9000 Android Development] geokilla:
Going to have to stop using the sent time mod for a while... Sms time fix isn't working properly. Sometimes it still says my texts are from the other times, and other times it's from the past. Weird.

Sent from my Samsung i896
[Galaxy S I9000 Android Development] coldflid:
Modded JVA's mms.apk is attached

Haven't tested it, should work though
[Galaxy S I9000 Android Development] velenoso84:
Modded XWJVX Deodexed

Important : delete clear data on mms.apk (no delete your sms/mms)

Settings/Applications/Manage applications/All/Messaging/Clear data

Enjoy!

By Sconcau84
[Galaxy S I9000 Android Development] pauldiddy:
Modified XWJVZ Mms Deodexed

timestamp fix & no mms auto conversion

Download PaulDiddy Remix Stock Mod Mms JVZ

install by cwm.

enjoy!
[Galaxy S I9000 Android Development] M_J_Nazari:
thanks, but JVZ and JVX are the same ;)
[Galaxy S I9000 Android Development] pauldiddy:
yes,but well,to be 100% perfect...
[Galaxy S I9000 Android Development] 2k4ever:
ICS

I am now on ICS (Onecosmic's RC1) and the only thing I'm really missing is the sent time fix for SMS

I have had a look at the Mms.apk, but I am not able to mod it myself

(although it seems quite similar to the process described in the first post)

i have appended the Mms.apk as well as the decompiled SmsReceiverService.smali and i hope that you, montymintypie, or someone else can have a look at it

would be great, thanks
[Galaxy S I9000 Android Development] montymintypie:
Jeez, haven't checked back on the ICS port for a while, they've ironed out a bunch of bugs!

I couldn't decompile the APK (probably just need to update my apktool), thanks for the .smali you decompiled.

There does seem to be quite a few changes in the ICS smali file - it is to be noted that this is AOSP source, not Samsung source for the messaging APK, so some of it may or may not be related to core changes in the messaging app itself.

If we look at this particular section of the smali:

.local v1, now:J
invoke-virtual {v3, v1, v2}, Ljava/util/Calendar;->setTimeInMillis(J)V

...(cut some code from here)

.line 599
:cond_30
const-string v6, "date"

...

invoke-virtual {v4, v6, v7}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

.line 600
const-string v6, "date_sent"

...

invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J

It seems as though this Messaging APK (FINALLY) has the ability to record both date sent and date received, meaning that it could quite possibly sort by received, even if sent time conflicts with your phone's time. (This is the main issue with the current mod - if the sent time is wrong, the message order is completely broken).

Basically, look around in the settings for something related to timestamps - it could be there already. I can't really guess more without installing the ROM, which is difficult for me at the current time.
[Galaxy S I9000 Android Development] 2k4ever:
thank you, montymintypie!

i have found the line

const-string v6, "date_sent"

as well and thought that the fix could already be there

however, there is no option in the settings to use the sent time for SMS

I hope you will upgrade to ICS soon - Onecosmic's RC1 is really great and most importantly rock stable (dont know about the new RC2.1, but it seems to cause some problems but those should be easily fixable by using an alternative kernel)

And of course if you should be willing to mod the smali, i would be more than willing to test it :D

you would just have to do the changes and send me the file, i would compile it myself

btw, i'm not using apktool but manually (de)compiling the classes.dex

and of course a happy new year :)
[Galaxy S I9000 Android Development] yani2000:
ODEX JW1 MMS App

Yes, I know, that the current hot ROMs are ICS, but here is modded ODEX JW1 MMS app from Surface ROM.

All packed inside a nice CWM flashable zip (and restore zip if you don't like it or something goes wrong).

CWM zips have been 100% tested to work.

Tested in MMS app:

- No contact limit (tested, but didn't actually send the SMS)

- No MMS convert (100% tested)

- Sent time (100% tested)

Download:

- XWJW1_ODEX_MMS_Hack.zip

- XWJW1_ODEX_MMS_Restore.zip

Yes, I know, I'm one day too late. Don't know why someone else with more experience didn't hack MMS app sooner.

And thanks to Perka who posted an almost perfect guide how to work with odexed apks in this post.
[Galaxy S I9000 Android Development] krosscheck:
is it possible to get it for xxjvu?

thx in advance!

-tapatraced-
[Galaxy S I9000 Android Development] joined72:
+1 for me too!
[Galaxy S I9000 Android Development] pauldiddy:
Modified JVU Mms Deodexed

timestamp fix & no mms auto conversion

Download PaulDiddy Remix Stock Mod Mms JVU

install by cwm.

enjoy!
[Galaxy S I9000 Android Development] joined72:
Thanks a LOT! :)

Really! :)
[Galaxy S I9000 Android Development] bigdyl69:
Great, do you have any other download sites though as for some reason I cannot access any filesonic pages, just get a Page Unreachable message every time
[Galaxy S I9000 Android Development] LiL JRG:
Is it possible to have this mod on XXJVU Odexed? (SAMS v9.01 to be precise) or is a deodexed rom a necessity?
[Galaxy S I9000 Android Development] montymintypie:
Yeah, I hate filesonic. Here, dropbox!

http://dl.dropbox.com/u/2610352/PaulDiddy_Remix_Stock_Mod_Mms_JVU.zip
[Galaxy S I9000 Android Development] a0a0:
+1

_______
[Galaxy S I9000 Android Development] MasterJam882:
+1

greetz
[Galaxy S I9000 Android Development] Freebob94:
And for ICS? In ICS what is dependencies?

Thanks
[Galaxy S I9000 Android Development] montymintypie:
None required, just the apk.
[Galaxy S I9000 Android Development] darass:
can anyone explain me what am i doing wrong? In this modded apk for JVT still contact limit is not working. Still i can only choode 10 contacts.

I am on JVT odex but this app is working only contact limit is not working. I tried to decompile your app and in config xml file i chanded limit from -1 to 1000 and still same problem.

And another question. When i am making my own apk the search built in feature (long press menu soft key) is causing fc for me... What am i doing wrong?
[Galaxy S I9000 Android Development] montymintypie:
Search button fc is a known issue, which I don't think is caused by the modifications directly - probably a compilation issue.

Clear your cache and dalvik cache to make large group messages work again.
[Galaxy S I9000 Android Development] darass:
so i have to trying compiling againa and again until it works? :)
[Galaxy S I9000 Android Development] montymintypie:
Nah, that won't fix it :P Just don't hit search...
[Galaxy S I9000 Android Development] darass:
Wipe cache and dalvik cache doesnt solve my problem :/
[Galaxy S I9000 Android Development] montymintypie:
Try also going to application management and deleting data for Messaging. Won't remove messages.
[Galaxy S I9000 Android Development] darass:
clearing data worked for me! :) thanks man! :)
[Galaxy S I9000 Android Development] SnowPluralism:
My MMS.apk

Thanks and sorry for the trouble!
[Galaxy S I9000 Android Development] bigdyl69:
What ROM is this for?
[Galaxy S I9000 Android Development] montymintypie:
I tried this on my Nokia dumbphone and it limits the length to 7 messages. According to Wikipedia:

" While the standard theoretically permits up to 255 segments,

*6 to 8 segment messages are the practical maximum"

So yeah, not worth it really. I doubt 7 part messages are often sent anyway, but if you really want to, there's a field like 'maxdatalength' or similar in the xml you could try increasing.