yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Ryyuu:
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.
[Galaxy S I9000 Android Development] ruh01:
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.
[Galaxy S I9000 Android Development] montymintypie:
[Solved by Ryyuu, scroll down]
[Galaxy S I9000 Android Development] Ryyuu:
All you need to do to fix this is open the app drawer, press edit, find the messaging icon and drag it to the dock.

This can sometimes happen when playing around with apk's.

Fixed. :-)
[Galaxy S I9000 Android Development] timelessfahad:
You don't imagine how much I am thankful to you. I was looking for this very mod. Thank you so much. It works like a charm on my SGS with Darky's v10.RC6
[Galaxy S I9000 Android Development] pauldiddy:
hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.
[Galaxy S I9000 Android Development] montymintypie:
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.

As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out. :)
[Galaxy S I9000 Android Development] wingg:
Hi.Thanks works perfect on deodexed JVB.
[Galaxy S I9000 Android Development] pauldiddy:
thank you,got it. :)
[Galaxy S I9000 Android Development] bigdyl69:
I know this may be a little off topic but would this modification work on the JPY froyo MMS.apk? I have decompiled it and looked at the xml and there is a mms_config.xml file with the following code in it:

As you can see I've edited the bottom two lines of code like what you have done to the JVB MMS.apk. Do you think this will work?
[Galaxy S I9000 Android Development] montymintypie:
It should work just as well on the JPY version, compile it and give it a go!
[Galaxy S I9000 Android Development] bigdyl69:
Well I tried it and it kind of works. I can send a message up to 7 messages long and it doesn't auto convert but if I try to make the message any longer it tells me 'Maximum number of characters reached' so it sort of works. Do you know of any way around this or is it best to just leave it? Probably won't ever need to send a sms longer than 7 messages long but just thought I'd ask
[Galaxy S I9000 Android Development] $omator:
or you can just extract the exact files from stock+ and copy them over manualy =)

did both odex/deodexed
[Galaxy S I9000 Android Development] montymintypie:
I'm lazy in that respect ;) Also, I've never bothered re-odexing anything... Shall have to look into it...
[Galaxy S I9000 Android Development] dannyng:
Thanks for the reply. I installed from Ficeto Stock XXJVR (http://www.darkyrom.com/community/index.php?threads/rom-cwm-sgs-cappy-darkyrom-xxjvr-base.4508/)

Will look out for the site for the latest update from you. Thanks in advance and keep up the good work for the community. :D

Cheers,

Danny
[Galaxy S I9000 Android Development] SamHaLeKe:
=)

here you go.....View attachment 684962
[Galaxy S I9000 Android Development] HTCDevil:
If you want take that for JVR deodexed.
[Galaxy S I9000 Android Development] montymintypie:
Well, seems I got beaten! Thanks :)
[Galaxy S I9000 Android Development] dannyng:
Thanks a lot. Do I just unzip and copy over the mms.apk or I use CWM to install the zip?
[Galaxy S I9000 Android Development] montymintypie:
Nope, unzip and copy manually. :)
[Galaxy S I9000 Android Development] dannyng:
Wow, don't expect to receive the reply so fast, thanks, thanks & thanks. :D
[Galaxy S I9000 Android Development] montymintypie:
Instant email notifications straight to my phone, it can be a hassle when I want to escape from the world, but when I don't... It's fast! :D
[Galaxy S I9000 Android Development] dannyng:
One quick question, I'm using ES file Explorer. I cannot copy over the Mms.apk to

/system/app. (and also cannot delete Mms.apk in /system/app)

What do I need to do?

Thanks in advance.
[Galaxy S I9000 Android Development] montymintypie:
Make sure to make /system have read/write privileges. I use Root Explorer for this, but there are adb commands that can do similar things.
[Galaxy S I9000 Android Development] dannyng:
Thanks again for your quick respond, really appreciate it .:D
[Galaxy S I9000 Android Development] dannyng:
Hi HTCDevil,

First of all, thanks for the modded sms. But it seems that it doesn't work for me.

My steps are as below;

1) Copy mms.apk to /system/app to phone A.

2) Off my phone A at 10:05pm

3) Send SMS from phone B to phone A at 10:06pm

4) Wait for 10 mins and start/on my phone A at 10:15pm

5) SMS received on phone A but the timestamp is on 10:18pm

Note : I thought is should be at 10:06pm.

I have GO SMS Pro installed and both GO SMS Pro and stock sms show 10:18pm

timestamp.

Is it because I need to uninstall GO SMS Pro app?

Any step that i miss out?

Thanks in advance.

Cheers,

Danny
[Galaxy S I9000 Android Development] montymintypie:
Try going to Settings->Applications->Manage applications->Messaging->clear data and see if it works. It won't delete your messages. Also make sure it's Mms.apk, not mms.apk, it IS case sensitive.
[Galaxy S I9000 Android Development] dannyng:
Clear the data and try again. Still the stock messaging timestamp is receiving time.

BTW, thanks for your replied and help. ;)
[Galaxy S I9000 Android Development] montymintypie:
Well I just decompiled to check, it's definitely got the mod. Sure you copied it over correctly? Try this:

adb remount

adb push /location/of/Mms.apk /system/app/Mms.apk

adb reboot
[Galaxy S I9000 Android Development] $omator:
he migh have odex files so Mms.odex needs to be deleted as well as dalvik cleared
[Galaxy S I9000 Android Development] dannyng:
I'm not so technical sound. How do i do the above?

Note : I copied correctly and thanks again for the reply.
[Galaxy S I9000 Android Development] dannyng:
Thanks for the reply.

I searched the whole directory and only found Mms.apk and MmsProvisioning.apk

I search using Mm*.*
[Galaxy S I9000 Android Development] montymintypie:
It's using adb which comes with the android developer programs. Never mind.

As $omator said, have you tried clearing the dalvik cache?
[Galaxy S I9000 Android Development] dannyng:
Tried clearing the dalvik cache but still show received timestamp in stock sms.

Well, never mind, I think I might make some mistake somewhere as I trust you and HTCDevil that it should be working.

Thanks anyway to you, HTCDevil and $omator :D

Note : i will try again and post again if it's working.

Edit : I think $omator is correct, I'm using odex rom (Ficeto jvr-base-r2).
[Galaxy S I9000 Android Development] v4nelle:
Sorry but i try to find the "how to" about fix bln for stock sms app...

Is there any link?

I have find only links for .jar files and not a how to...
[Galaxy S I9000 Android Development] montymintypie:
Bln works fine for me in the stock messaging app, what's your issue? And can you link to the jars?
[Galaxy S I9000 Android Development] v4nelle:
Bln for sms works for me after reboot,but after some time it works only for calls...

And i read about a fix here,and on another post here i read that the credits for the services.jar fix goes to you.

Because of that i try to find a howto here :)

Sorry for my english
[Galaxy S I9000 Android Development] geokilla:
I got the same problem as well. I'm using Apex 9.2 so the ROM is deodexed. I uninstalled the old Mms.apk via Titanium Backup after clearing data. Doing a search I don't see any odex files related to Mms.apk
[Galaxy S I9000 Android Development] montymintypie:
Ayup, I remember that now (it was a personal request via PM). If you give me your services.jar I can do the necessary modifications.:)

Ok, well first off, if you're searching, chances are it won't search under /system/app. Although I believe you about it being deodexed.

So here's the checklist. Have you:

Cleared data for Messaging through 'Manage Applications' (I trust Titanium, but better to be sure)

Cleared cache

Cleared Dalvik Cache

Checked that the file is being overwritten (last modified date should change)
[Galaxy S I9000 Android Development] v4nelle:
Thx for your suggest to edit my services.jar ,but i was looking for a how to,not because i dont trust you(of course),but because i dont want to spent your time every time new official rom comes out...

Thx for your time :)
[Galaxy S I9000 Android Development] montymintypie:
https://github.com/neldar/backlight...atches/i9000-jvh/bln-i9000-jvh-services.patch

Just do this patch to the decompiled smali of services.jar
[Galaxy S I9000 Android Development] v4nelle:
Thank you very very much,for your fix and for your time... :-)
[Galaxy S I9000 Android Development] geokilla:
I used Root explorer to search so it did check there as it found other apps that have the Mms name in root.

I flashed Mms.apk mod and while it does seem to show sent times now, the timestamps are off by 4 hours.
[Galaxy S I9000 Android Development] FLaMiNGo_:
It works for me.

Thanks!
[Galaxy S I9000 Android Development] montymintypie:
I also made that :p If your timestamps are off, you could try the attached mms.apk, it's from cyanogenmod and has options for both sent time and fixing GMT offset. Give it a go, but remember to back up! The options are accessible by going to the menu.

Turns out you can't attach things using a mobile, I'll get back to you on this one.
[Galaxy S I9000 Android Development] geokilla:
Hope you didn't forget :p
[Galaxy S I9000 Android Development] montymintypie:
Yeah, I forgot, and I'm on my mobile again. Turns out I can dropbox it though!

http://db.tt/4SpTMMp
[Galaxy S I9000 Android Development] geokilla:
Nope. Still shows 12:49am, despite my friend sending it at 12:43am and 12:45am. Maybe I got a bad flash and should restore everything back to Gingerbread stock. Nice theme btw, though I'm not a huge fan of it. And Pressing Settings in Mms.apk causes it to FC. Thought I'd give you a heads up =)

Thanks for trying to help me though!
[Galaxy S I9000 Android Development] montymintypie:
make sure to enable it in settings, not on by default. Also clear data again for messaging.
[Galaxy S I9000 Android Development] geokilla:
Oh I didn't know you posted. Check previous post. I'll try clearing data again, as well as wiping cache and dalvik cache. Though it's gotta wait till the morning cus I need to sleep now. Nights and thanks again.
[Galaxy S I9000 Android Development] M-taheri:
Hi

this file(Mms.apk) is for JPJV6

can some one Mod it for me?

thanks in advance
[Galaxy S I9000 Android Development] montymintypie:
Your ROM is not deodexed, and your Mms.apk does not contain the required classes.dex file needed to apply the modification.
[Galaxy S I9000 Android Development] M-taheri:
hi sir

this one in from a deodexed rom (JPJV6_Deodexed_Zipaligned_MultiCSC_signed.zip)

thanks in advaned
[Galaxy S I9000 Android Development] geokilla:
Hey monti, so I tried again with the Mms.apk, and it still FC when I try to go into Settings. Any reason why?
[Galaxy S I9000 Android Development] montymintypie:
Hmmmm, feel like posting a logcat? Might shed some light.
[Galaxy S I9000 Android Development] $omator:
probably some files leftovers, clear dalvik and clear app data in settings

if not maybe youre using it on wrong firmware version
[Galaxy S I9000 Android Development] montymintypie:
He's giving the CyanogenMod mms.apk a go, and I know it works, I've tried it before myself. It'll be some silly error, I just know it :P
[Galaxy S I9000 Android Development] $omator:
owowowwww =) but why :D
[Galaxy S I9000 Android Development] montymintypie:
It's got a GMT offset fix as well as the other stuff.
[Galaxy S I9000 Android Development] montymintypie:
Also, if that doesn't work, give this one a try:

http://xdaforums.com/showpost.php?p=14616765&postcount=111
[Galaxy S I9000 Android Development] $omator:
gmt offset fix? seems that my msges got proper recive time (and i am gmt+1)

and whats the other stuff =)
[Galaxy S I9000 Android Development] montymintypie:
It's for if the phone tower doesn't have the time zone set, so everything comes in at the wrong time. GMT offset fix should fix that, it's an extra option in the custom Mms.apk. Other stuff is images for each individual message sent/received and some theming options.
[Galaxy S I9000 Android Development] $omator:
ow, thas neet
[Galaxy S I9000 Android Development] 5nickers:
is it possible to use this on jvr F1 Innovation V10?
[Galaxy S I9000 Android Development] geokilla:
Not sure how to logcat, but I'll try the one in that link.
[Galaxy S I9000 Android Development] $omator:
[GUIDE] How to help the developers efficiently!
[Galaxy S I9000 Android Development] M-taheri:
can someone edit this file for me?
[Galaxy S I9000 Android Development] montymintypie:
Here you go.
[Galaxy S I9000 Android Development] miro666:
Pleas can I use some from attached file in head post for my firmware in signature???

I need it, because last month (august) i was no one, and never send MMS, but on my comming bill write: 3 MMS i was send !!!

Can I download and instal something from above files ?

Forwarding thanks on answer

Regards
[Galaxy S I9000 Android Development] montymintypie:
I believe JVQ will work for JVR quite well. :) Use $omator's files. They are CWM flashable, choose for odexed or deodexed.

http://xdaforums.com/showpost.php?p=15704045&postcount=167
[Galaxy S I9000 Android Development] geokilla:
I ended up using this one and it works pretty well with one exception. It didn't have the

GMT offset so I have to manually add it in with an app.

Sent from my Samsung i896
[Galaxy S I9000 Android Development] miro666:
Thank You very much for a quick reply, i will but wich go on Stock firmware with CF-root kernel ? Odex or Deodex version? I dont wont brick my firmware with wrong version...

Thanks forwarding on answer that i can install this usefull stick.

Regards
[Galaxy S I9000 Android Development] montymintypie:
Go to /system/app. If there is Mms.apk AND Mms.odex, choose odexed. If there is Mms.apk and NO Mms.odex, choose deodexed.
[Galaxy S I9000 Android Development] FLaMiNGo_:
Deodexed JVS

It works for deodexed JVS?
[Galaxy S I9000 Android Development] montymintypie:
Should do.
[Galaxy S I9000 Android Development] FLaMiNGo_:
Ok, i will try it later.
[Galaxy S I9000 Android Development] madd0g:
@montymintypie : any chance for doing the BLN fix for stock Samsung SMS ROM for ODEXed JVS services ? I attached both files here

[edit] Made it here : http://xdaforums.com/showpost.php?p=17586649&postcount=2849
[Galaxy S I9000 Android Development] babujnik:
Hi.

Are You sure that moded JVQ mms will work on JVR ?

stocked mms.apk had 1,8MB and moded apk got only 0,9MB. thats a lot of code/data for few fixes...
[Galaxy S I9000 Android Development] $omator:
who made people think that using files from older firmwares in newer ones is safe

IT IS NOT

and filesize change comes out of compression
[Galaxy S I9000 Android Development] babujnik:
i know that is not safe and not always will work.. but still, many times it does (JVP-JVQ). that's the reason i was askinkg...
[Galaxy S I9000 Android Development] geokilla:
Well JVQ does work with JVR so it's good I guess?

How do you do this mod? I'd like to do it myself so I can keep the themeing and everything.
[Galaxy S I9000 Android Development] montymintypie:
$omator, I realised after doing several upgrades that the stock Mms app only changed significantly between Froyo and Gingerbread, since then I haven't seen anything on the surface. There may be minor changes under the hood, but it works fine. :)

There's a howto in the first post. ;)
[Galaxy S I9000 Android Development] geokilla:
AHAHAHAHAHA. I'm blind. I totally contradicted my sig :p The 11 steps don't seem to have the timefix though. Do you know how to fix that yourself? Because the less apps there are, the better.
[Galaxy S I9000 Android Development] montymintypie:
The smali edits are the timefix, the xml edit is the contacts and Mms autoconvert fix.
[Galaxy S I9000 Android Development] geokilla:
I meant timefix like the timezone. The JVQ one I tried, it lacked the auto timezone or something, so my texts were always coming from the future.
[Galaxy S I9000 Android Development] montymintypie:
Yeah, timezone fix is not always required and a little more complex ( can't be bothered working out how to do it to a normal apk as of yet). A couple posts back is an Mms.apk that has that in the options, feel free to give it a try.
[Galaxy S I9000 Android Development] .:Crack:.:
Always had the same problem....
[Galaxy S I9000 Android Development] Peppegs:
mod jvr odex

hi guys

it's possible to have the mod mms.apk for JVR odex?

thanks
[Galaxy S I9000 Android Development] madd0g:
Check $omator's thread in Themes and Apps, think he included a modded MMS
[Galaxy S I9000 Android Development] madd0g:
Hm, it seems that this SMS app doesn't turn on the IM mode on the keyboards (the one with smiley button) like on Gtalk. I think that it could be modded by editing the field properties for the text input box. Any volunteers? :]
[Galaxy S I9000 Android Development] montymintypie:
That's actually a very good idea, I'll take a look at it when I get home.
[Galaxy S I9000 Android Development] geokilla:
For modding my own Mms.apk, I'm stuck at line 7 where it says When it asks you for your dependency, drag and drop twframework-res.apk into the window and press enter. I do that and it gives me the following error:

"Sorry thats not the dependee apk, try again"

I'm trying to mod the Mosaic VII Mms.apk. Same problem with Apex 10 Mms.apk.
[Galaxy S I9000 Android Development] montymintypie:
Hmm, is your ROM deodexed? Seems like the framework might be odexed.

Post your Mms.apk here, I'll mod it for you.

Edit: Also try the attached twframework-res.apk
[Galaxy S I9000 Android Development] geokilla:
Yes Apex and Mosaic are deodexed.

I'll try that framework when I get home or in the morning tomorrow.

Edit: Still doesn't work. Could it be because java isn't starting up?
[Galaxy S I9000 Android Development] justin911:
Will this work on JVS ?

Id test it out.. if someone could please let me know which files i need to backup so i could change back :) ?
[Galaxy S I9000 Android Development] montymintypie:
Hmm, could be, could be... Try just extracting it (no smali edits) and see if it works ok. Also try decompiling without a dependee, it'll fail, but it might pinpoint where the dependency extraction is failing.

Also take a look at the log file in the apk manager folder - it might show useful information.

All you need to backup is your Mms.apk. :)
[Galaxy S I9000 Android Development] geokilla:
In the log:

--------------------------------------------------------------------------
|25/09/2011 -- 1:28:10.17|
--------------------------------------------------------------------------
'java' is not recognized as an internal or external command,
operable program or batch file.
'java' is not recognized as an internal or external command,
operable program or batch file.

Forcing java to run still gives me the java was not found error.

Decompiling without a dependee just says that it can't run because there's no java. I do have java installed though and am running it right now.
[Galaxy S I9000 Android Development] montymintypie:
First off, you should be able to hit Windows key + r, type cmd, then open that and type java and get the same error.

What you need to do is add the Java path to your path. For me this is C:\Program Files (x86)\Java\jre6\bin, yours may be different. If you're on a 64 bit system I'd still recommend the 32 bit java installation.

If you're on XP, here's a tutorial to add directories to the path:

http://www.computerhope.com/issues/ch000549.htm

Vista/7 should be similar.
[Galaxy S I9000 Android Development] geokilla:
Got APK Manager working, but I just did a test and it didn't show the sent timestamp still. Maybe I edited the wrong line? I doubt it though since I searched and followed the instructions to the dot, unless I missed something.
[Galaxy S I9000 Android Development] montymintypie:
Try these. If one fails, go to the next

Clear app data for Messaging (your messages stay) +reboot

Clear cache+reboot

Clear dalvik cache + reboot.

If all those fail, check the apk copied correctly. It sometimes doesn't for some odd reason.
[Galaxy S I9000 Android Development] geokilla:
It did copy correctly. I know it cus it was a different Mms.apk LOL. The colour and icon was different from the original one.

I'll try clearing app data. I did clear cache and dalvik cache then reboot.

Edit: No luck =(
[Galaxy S I9000 Android Development] montymintypie:
Hmmm, so it definitely shows the timestamp as you received it?

Try decompiling the apk that's in system/app (it should be modified, yes?) and see if the smali edits are there.
[Galaxy S I9000 Android Development] geokilla:
That's the one I took. Downloaded the ROM, extracted it, then took the Mms.apk from /system/app/Mms.apk.
[Galaxy S I9000 Android Development] BlueKnight83:
There is someone that can post JVS version?

Thank you! ;)
[Galaxy S I9000 Android Development] geokilla:
I direct you to this.

The answer to this is on the last page, or current page, depending on how many posts per page you have set up.
[Galaxy S I9000 Android Development] montymintypie:
No, as in, grab the Mms.apk currently sitting on your phone and re-decompile it to check that the smali edits persisted. If they're there, it's a phone issue. If they're not, it's an apk issue. :)
[Galaxy S I9000 Android Development] montymintypie:
If you post your JVS apk, I'll make a JVS version, though the JVQ version should be fine for now.
[Galaxy S I9000 Android Development] justin911:
Yeah I am using the JVQ version on JVS, all seems to be working without issues.
[Galaxy S I9000 Android Development] BlueKnight83:
Thank you for your help ;)
[Galaxy S I9000 Android Development] montymintypie:
Heh, if you don't do anything to the keep folder, it just recompiles the original APK with no changes whatsoever.

It's in apkmanager/keep/ and delete resources.arsc, classes.dex and mms_config.xml (under res/somethingIcantRemember/)
[Galaxy S I9000 Android Development] geokilla:
Yea... the keep folder never showed up until now. Can you try downloading the new APK Manager? This is the one I'm trying to mod and get it to work properly. So far, no luck. Heck I had no luck with any of them.

For some reason I can't upload the file so here's the link. The Mms.apk file is in there. I need to sleep now. Was supposed to sleep 1.5 hours ago.

https://skydrive.live.com/redir.aspx?cid=bc7714918c9b77a3&resid=BC7714918C9B77A3!716
[Galaxy S I9000 Android Development] montymintypie:
Here's your Mms.apk with the modifications - tell me if it works.
[Galaxy S I9000 Android Development] montymintypie:
That Mms.apk isn't deodexed, so can't be modded for the sent time fix.
[Galaxy S I9000 Android Development] geokilla:
It seems that every time we successfully mod the APK file so it shows the sent timestamp, the new problem is that the time is off by a couple hours. It doesn't seem to apply the GMT fix, like for example, I'm in EST meaning you need to add 4 hours. Just tested it right now and while the text was sent at 1:23am, it says it was sent at 9:23pm. I received it at 1:28am.
[Galaxy S I9000 Android Development] montymintypie:
Yeah, that's an ongoing issue :\ I'll have to look into it and see if I can port the GMT offset fix from the Mms.apk posted a couple of pages back.
[Galaxy S I9000 Android Development] .:Crack:.:
Hey monty,

I have a similar problem.

I recieve sms' "from the future". So it says it was sent at 12:24 for example but my phone time is 12:23. So if i reply fast my bubble is over the bubble i was answering to.