[Q] Problem with modding Mms.apk?! - Streak 5 Q&A, Help & Troubleshooting

So, on my Streak 5 I have installed clean 407 ROM, which works great. And I need to mod Mms.apk so it do not convert SMS to MMS after certain number of characters.
I read many threads about modding, and I tried everything. But, to be short I did next:
-decompile .apk file
-found .xml file
-change values ( smsToMmsTextThreshold )
-build .apk file
-changed it in /system/app
-rebooted device
...and nothing happend.
First, I thought that value which I entered was to low ( 200 ), then I changed it into 999999, but...again...same result.
Everything works nice ( no errors ), but no effect from modded Mms.apk
So I need help: does anyone knows where I can seek for solution. What to do? What to change!?
Thank you!

Just to check in info: I clear data under Settings\Applications, and cleard Dalvik cache...same output: again converts message to MMS

Dejan990 said:
Just to check in info: I clear data under Settings\Applications, and cleard Dalvik cache...same output: again converts message to MMS
Click to expand...
Click to collapse
It is possible that this conversion to MMS is outside of your control. It may be carried out by your mobile network when you are sending the message. In other words the mobile phone network counts the characters in your message and decides if there are too many to be deemed an SMS.
I am not certain of this, but it does correspond to my experience of different networks.
Having said that there is some information in the Olleh 407 thread regarding changes to the build.prop that might help you. But I don't think the outcome of those mods were conclusive.

Finally, results!
So, after an epic search, I found this thread: http://forum.xda-developers.com/showthread.php?t=1423340
(and after that one, another one on an arab site...don't know which )
Anyway, I needed to change /system/build.prop, next lines:
ro.build.CUSTOMER_CONFIG_KT=1
...
ro.build.CONFIG_CUSTOMER_KT=1
into
ro.build.CUSTOMER_CONFIG_KT=0
...
ro.build.CONFIG_CUSTOMER_KT=0
<they are separated lines in file, and appears three times in the same>
<firstly, I changed only ro.build.CUSTOMER_CONFIG_KT=1 into ro.build.CUSTOMER_CONFIG_KT=0 ,and noticed that converting sms to mms, has moved from ~102 chars to 3 messages>
and one more thing/line needs to be added up (don't know why, because I didn't noticed any changes):
ro.telephony.sms_segment_size=160
...
So, what are results?
Before any changes of build.prop, sms was converted to mms after circa 102 chars. Now, it's 3 sms and than mms. <== and that's happening even if I moddified Mms.apk! ...I'll continue to work. But any help will be appreciated :good:

Dejan990 said:
Finally, results!
So, after an epic search, I found this thread: http://forum.xda-developers.com/showthread.php?t=1423340
(and after that one, another one on an arab site...don't know which )
Anyway, I needed to change /system/build.prop, next lines:
ro.build.CUSTOMER_CONFIG_KT=1
...
ro.build.CONFIG_CUSTOMER_KT=1
into
ro.build.CUSTOMER_CONFIG_KT=0
...
ro.build.CONFIG_CUSTOMER_KT=0
<they are separated lines in file, and appears three times in the same>
<firstly, I changed only ro.build.CUSTOMER_CONFIG_KT=1 into ro.build.CUSTOMER_CONFIG_KT=0 ,and noticed that converting sms to mms, has moved from ~102 chars to 3 messages>
and one more thing/line needs to be added up (don't know why, because I didn't noticed any changes):
ro.telephony.sms_segment_size=160
...
So, what are results?
Before any changes of build.prop, sms was converted to mms after circa 102 chars. Now, it's 3 sms and than mms. <== and that's happening even if I moddified Mms.apk! ...I'll continue to work. But any help will be appreciated :good:
Click to expand...
Click to collapse
You can install the mms app from CM7, it's modded, does not convert the sms to mms [at least on cm7 and DSC] i use it as i don't like anymore the 3rd party applications, i used to use Handcent SmS but now is too heavy and laggy...
Try this one, i extracted it for you
Hope this helps

Force close error. But thank you anyway!
Sent from my Dell Streak using xda app-developers app

lol... you guys... you dont need to mod mms.apk or anything.... in the settings for the messaging application... there is one called as SMS split... tick that option and the message would no longer auto convert to mms when it exceeds 160 character limit... it is so simple... wonder nobody realize that..?

erm...is it me, or such option does not exist in mine Mms.apk

Dejan990 said:
erm...is it me, or such option does not exist in mine Mms.apk
Click to expand...
Click to collapse
try here..
http://forum.xda-developers.com/showthread.php?p=28874888#post28874888

I understand what are you saying, but obviously we have different versions of Messaging application. Your's is ripped from another ROM or something like that? This is clean one, from Olleh 407, and for sure there is no such option like split message.

Dejan990 said:
I understand what are you saying, but obviously we have different versions of Messaging application. Your's is ripped from another ROM or something like that? This is clean one, from Olleh 407, and for sure there is no such option like split message.
Click to expand...
Click to collapse
official optimized app.... messaging v2.3.7 :good:
you could try third party messaging application such as handcent sms, gosms, ics messaging, etc...

please delete.

another alternative stock messaging...
http://forum.xda-developers.com/showthread.php?t=1253108

Related

SMS with GSM alphabet problem

Hello!
I've got a little problem, which is not life threatening but somehow irritating..
I've been using few roms: gingerreal, both CM ports, coderom, flash, and maybe more and everywhere I get the same problem with SMS.
I'm from Poland where we use some weird characters like "ą", "ś" or "ł". As you may know, when you use this kind of chars while composing sms you get your 160 chars sms cut down to 70chars because it's being sent with unicode alphabet (or something alike).
Now I know that once I had a rom (maybe it wasn't even a custom rom) that even when I used those weird chars wasn't sending them. The whole message was "encoded" as a GSM alphabet.
I know that there's a setting in stock sms app to use GSM alphabet but it isn't working when I use GoSMS which doesn't have this setting.
Do you have some way to solve this problem? Maybe some of my countrymen here can enlighten me..
Cheers!
ps.
stupid rules to not allowing me to comment roms in dev section...
You can try another keyboard. Like HTC_IME mod (it can replace characters you want with another set of characters) or hacked Swype 3 that just doesn't input ą, ę etc.
I'm using Swift Key 'cause it works for me better than any other. It's predictions are priceless 'cause it learns my style of writing from all my mails and sms..
I want to use dictionary and write with polish chars but force sms app to convert it to gsm alphabet. I know it can be done 'cause I had it before..
Any other ideas?
Have you tried the Handcent SMS app from Market? I don't know if it can replace Polish characters.
Now I noticed, that all the time since I've got Galaxy Ace the Input Mode in stock Messages app is GSM Alphabet and all messages that I sent and received has Polish characters.
So every time you thought that you were sending one msg you really sent 2 or even 3... That sucks, doesn't it?
I really like GO apps so I would rather stick to less predictions with swift key than change the sms app.
Shame it can't be set to send without our 'precious' polish chars :/
Every nokia I had in past could do that..
I am using gosms for remove czech diacritics in sms. In polish will work probably also.
where and what setting are you using to disable czech chars?
Gosms - setting - advancedsetting - setting for sending - switch on national setting. Then supported language( polish) and choose czech for sms.
I have gosms in czech, so name of setting is translated by me. But i hope you will find it
Daaamn, you were right! Of course I tried this few times already but this time (since you declared that it works for you) I restarted the gosms app and only after THAT it worked!
They should have written somewhere that you need to restart app so the setting would make effect..
Much appreciated, thanks!
Thanks for the tip man, in Brazil we use special caracteres all the time, after install Go SMS i noted this bug with limititation, i put czech national settings and after restart the app works great again, thank you.

sms problem

okay so i have finaly topped up my tg01 and got my free texts and web.
3g works perfectly !!!!!
if anyonne ca help me how do i get my sms to work?
theye recieve to my tg01 perfect and fast but sending out i get cannot send message of something.
anny tips ?
it seems that i can send 1 sms fine but then if i try send another one in the same thread it wont. ay ideas?
also, i would like to test out navigation so has anyone got any ideas for good apps like nokia drive, or something like that and where to get it
jonnyhall1bmx1 said:
it seems that i can send 1 sms fine but then if i try send another one in the same thread it wont. ay ideas?
also, i would like to test out navigation so has anyone got any ideas for good apps like nokia drive, or something like that and where to get it
Click to expand...
Click to collapse
If you got the contact saved in phonebook, then you can create new SMS to that contact and it will be send.
It's because you send SMS first without prefix, then receive SMS with prefix and the number in thread gets overwritten from nonprefix to prefix.
If you have prefix in sms center number in settings, remove it.
thank you for your reply yeah i thought that myself when the first one sent then the next one didnt i thought i wonder if its adding the prefix back on with the next message thanks for your reply i will remove the prefix in the centre number. i was in 2 minds as to do that but now i have a second opinion i will try it thanks bro for your reply
Jonny,
I had the same problem as you with this ROM (on Virgin) and nothing I did would make SMS's send - either new, or replies.
I have now installed Aeroflyluby's VDG Mango 8107 and with that ROM, sometimes I can send SMS - but it is not consistent AND GPS works on that ROM (it doesn't work for me on Miro's ROM).
HOWEVER, on VDG Mango 8107, I find it impossible to set the SMS Message Centre - when I fill in the number and hit "save" as the phone either hangs or the Message Centre number remains blank. On this ROM, I have also tried using the HTC Connection setup (which works fine on Miro's ROM's) but it complains that it's database is empty.
So, here is a very long shot. Check out HKEY_CURRENT_USER\ControlPanel\Phone\CallIDMatch - which should be a dword. I think that you might find in Miro's ROM it is set to 7, but for the UK we need it set to 10 (to match the last 10 digits of a mobile or landline number).
On the VDG Mango 8107 ROM, this key doesn't exist - and I don't have permissions to create it - but if it is already there, you should be OK to change it.
Good luck!
thanks for your reply im not sure about fiddling with the registry. back in wm6.5 i was always making a mess of the registry but, i must admit i made some really good tweaks with editing the registry, but, in wp7 id rather leave it up to the experts on that one as i have never owned a wp7 phone before so im not sure how things will react.
thanks for your input tho , much appreciated

[Q] add msg logs into call log?? ics

hi, is there anyway to make ur sms msgs show up in the call log on ics? i've tried a bunch of the 4.0 roms and none have it built in ... so is there anyway to do this manually? any help would be greatly appreciated
They show up by default in LP3, I would imagine it's the same for all official ICS releases?
oh i never tried any official roms... i've been trying custom roms and some r LP3... i'll give it a try
also is there a way to turn on off this feature manually? cause i really like some of the custom roms
anyone plz?
bobbydigital222 said:
also is there a way to turn on off this feature manually? cause i really like some of the custom roms
Click to expand...
Click to collapse
The official roms have this enabled by default (You can try Intratech's thread http://forum.xda-developers.com/showthread.php?t=1075278 for some official roms). All SMS/MMS sent / received are shown in the call logs and this can be filtered from within Logs "View By" from the menu. The trouble however is that once you exit the Log application it will default back to display "All Logs" (Calls / SMS / MMS) and this is the irritable situation most persons dislike (It doesn't remember your choice).
As a result of that a few of the custom roms and some persons replace the default "LogsProvider" application with one that filters out the SMS's totally as you would have come across. The deodexed LogsProvider.apk can be found here http://forum.xda-developers.com/showthread.php?t=1165659
Aside from that there is no default option that will allow you to either always display or always hide the sms messages.

[Q] MMS hack to disable SMS auto conversion to MMS for longer SMS

Hi every one
I'm on galaxy s3 and hate the fact that it auto converts the SMS to mms when character exceeds 480.
And there is no option to disable this perk..
I don't want to use 3rd party apps like gosms and handcent for the simple fact that they don't support motion gestures like dialing the contact when phone is held to face.
I know there are various ROMs with this option...I am looking for a stand alone zip file that could be installed through recovery.
For the record I'm on XXALF2 ODEXED ...please help me find this app I'm sure there are a lot more people looking for this simple but necessary option..
Guess there is no much hack...although there are some cooked ROMs with this functionality..
Anyhow,mods u may close this thread
Muhammad I Alam
Hi Iris,
Sorry to hear about this. I know it probably doesn't help much now, but if you just want to send Long SMS messages (over 3 SMS) you can use BigSMS. It doesn't support any of the gestures and stuff, but that isn't really the point. Most people type their message in the stock app then copy it to BigSMS and send. Not a perfect fix, just a solution.
Thanks man
u wrote the app man..really doin the trick for occusional long sms
Muhammad I Alam

[Q] Stop conversion of SMS to MMS (nAa JB 4.1.2 rom)

I would very much like my phone to stop converting SMS to MMS once it hits the 3x160 chars limit. I'm quite sure the previous version of this ROM based on ISC 4.0.4 had this option in menus somewhere. The 4.1.2 version does not it seems.
I read somewhere that the conversion behavior would be removed in Android 4.1.2 in general, so it would always just send long SMS, so but so far that is not me experience.
I have tried flashing the MMS.apk that is usually referred to on this and other forums, but this only makes the app split my messages into separate 160 character messages instead of sending one long SMS. That is not a good fix - it's almost worse.
As this is a low level setting somewhere in the OS, I am not sure if it would work to just flash the ICS 4.0.4 version of the MMS.apk - I'm guessing it's identical to the 4.1.2 version (more or less, if it even works at all) and you still have to find a way to toggle a hidden setting somewhere else.
I don't have enough posts to post directly in the nAa release thread, so I'm hoping someone here can help me, or bring the request into the official thread - the request being to restore/add the menu option to stop the message application from converting SMS to MMS due to size.
This is for the X10 mini pro
ROM I'm using now, without the option: http://forum.xda-developers.com/showthread.php?t=1837273
Previous ROM I used, with the option: http://forum.xda-developers.com/showthread.php?t=1636501
Since noone else found a solution, I'll post it myself for anyone else who might face this issue.
This method actually works really well http://forum.xda-developers.com/showthread.php?t=1583232
Krakadoom said:
Since noone else found a solution, I'll post it myself for anyone else who might face this issue.
This method actually works really well http://forum.xda-developers.com/showthread.php?t=1583232
Click to expand...
Click to collapse
Bah, I take that back! This actually also just splits your long messages into separate SMS's. *sigh* :crying:

Categories

Resources