Editing system apps - G2 and Desire Z Q&A, Help & Troubleshooting

Hey guys.
Am trying to edit the stock Messages apk on my Desire Z so that pressing Enter on the hard keyboard actually sends the message rather than inserting a new line.
I've already found the "key number" for Enter (56) which was the easy part but don't know what to do next.
Am running Virtuous Unity 2.39 atm.
Ideas anyone?

I don't know what ROM you're running, but I know on CM7, in the SMS options, there is a selection for "Send on Enter" that does exactly this.

biohazrd51 said:
I don't know what ROM you're running, but I know on CM7, in the SMS options, there is a selection for "Send on Enter" that does exactly this.
Click to expand...
Click to collapse
Am running Virtuous Unity 2.39 atm.

I found the easiest way was to replace the stock htc mms with vanilla mms apk, or use some third party one.
Although, if you can mod the htc one to support send on enter, I would very much like to use it
-Nipqer

Nipqer said:
I found the easiest way was to replace the stock htc mms with vanilla mms apk, or use some third party one.
Although, if you can mod the htc one to support send on enter, I would very much like to use it
-Nipqer
Click to expand...
Click to collapse
I can't replace the stock app with a vanilla app (CM7.0.3) as the Sense UI would throw a hissy fit and also texts appear in completely the wrong order so instead of "1-2-3-4-5" it would show up as "1-2-5-3-4", now IMAGINE that with the figures below and having to scroll back just to read the most recent one you received with your own ones in between. Ghostly Gingerbread SMS puts them in almost the correct order for me but I need to delete the texts I've already received.
Least busy day: 30~50
Average day: 120~140
Textravaganza (Busy day): 220~300
The keyboard and touchscreen take quite a beating so "Send on Enter" is essential for those "busy days". As for third-party apps, I prefer not to use one unless absolutely necessary.

I used to run vanilla mms on sense roms with no issue at all.
Here's a guide on how to do it.
Although I just built a flashable zip to replace it after flashing a sense rom. I can attach it here if you want to have a look at it, does some extra stuff too.
-Nipqer

Nipqer said:
I used to run vanilla mms on sense roms with no issue at all.
Here's a guide on how to do it.
Although I just built a flashable zip to replace it after flashing a sense rom. I can attach it here if you want to have a look at it, does some extra stuff too.
-Nipqer
Click to expand...
Click to collapse
Looks promising, will have a look later.

Well, it works but when someone sends me a text message and it creates a new thread the app crashes. About 5 months ago I asked why it crashes when a new thread is created and was basically told "its a framework thing".
Use of CM7.x.xs messaging app is out-of-bounds.

Related

[Q]Getting VZN HTC Incrediable MMS.apk to work on EVO??

Ok, this is going to sound like a crazy request....but..
I have a HTC EVO, and i used a ROM from AvalancheMod. It was a Froyo port from the HTC incredible. It had a, what i think, was a better messaging app then the EVO has on the official froyo release. So i want to know how i can port the Verizon Incredible MMS.apk to my EVO.
I downloaded a zip from adrynalyne @ androidforums. It has the MMS.apk in it and i flashed it to my EVO while running 2.2. The app does not work... its not in the app drawer or in the home screen. If i make a anycut short cut to a direct message, it says the app is not longer installed. If i use root explorer and try to install the MMS.apk it says it can not be installed.
How can i modify the MMS.apk to be used on the EVO??
THANX!!
I highly doubt this is possible due to the device-specific nature of that APK. Not only is it device-specific, but it is also carrier specific (probably including Verizon MMS settings and such)
Unfortunately I don't think this is going to ever happen but you'd be better off trying a 3rd party application for SMS/MMS like Handcent SMS or Chomp in the Android Marketplace.
trobb09 said:
I highly doubt this is possible due to the device-specific nature of that APK. Not only is it device-specific, but it is also carrier specific (probably including Verizon MMS settings and such)
Unfortunately I don't think this is going to ever happen but you'd be better off trying a 3rd party application for SMS/MMS like Handcent SMS or Chomp in the Android Marketplace.
Click to expand...
Click to collapse
But it was working on my EVO 100% in Ava's Froyo V2RC3 ROM... his rom was a port from the HTC Incredible to the EVO...it even had VZN apps...
xboxhacker said:
But it was working on my EVO 100% in Ava's Froyo V2RC3 ROM... his rom was a port from the HTC Incredible to the EVO...it even had VZN apps...
Click to expand...
Click to collapse
just extract it from that rom and push it to your current phone
The app does not work... its not in the app drawer or in the home screen. If i make a anycut short cut to a direct message, it says the app is not longer installed. If i use root explorer and try to install the MMS.apk it says it can not be installed.
Click to expand...
Click to collapse
This is what happens when i push it to the phone....

[CM6] Cannot send text messages longer than 160 characters using stock AOSP messenger

I'm going to start this off by saying that I'm using Cyanogen Mod 6 and I've wiped between every nightly and before installing RC2.
The AOSP messenger that comes with Cyanogen is great. In fact, it's nearly perfect and that's why I'm going to the bother of making this thread. With every release of CM6 for the Evo, I have been unable to send messages longer than 160 characters. It seems that GSM networks can take large messages and split them up before sending them to the recipient. However, the Evo runs on Sprint's CDMA network. CDMA networks unfortunately don't split messages up well. The stock HTC Sense messenger app sidesteps this problem by manually splitting the messages before sending them out. Unfortunately, cyanogen's messenger doesn't have an option for message splitting.
I know this is a small thing since most text messages aren't very large, but it is incredibly annoying. Even worse, if I accidentally try to send one, I am unable to send anymore messages until I get an error messages a few minutes later. Strangely, this problem doesn't seem to affect everyone. In fact, it seems to be dependent on location. On vacation, I was able to send a large message, but I can't when I'm at home.
Can anyone else running CM6 test this to see how it works for you? I know I could switch to Handcent SMS since they have an option to split messages, but I love the look and feel of the AOSP messenger.
I'm having the exact same issue. I'm thinking about getting away from CM6. Too many weird bugs, like the voice mail.
Its a problem with cm6. I use handcent. You can set it in options to split texts unlike the stock in cm6. I thought something was wrong with the rom with freezing or my reception. Its not. Its the SMS program. I also made handcent look like the stock SMS. Instead of the bubbles. No more worring about freezing after I go over. Don't know why there isn't a setting for this in stock or somewhere on phone. Since most if not all the other SMS do this on their own or has a setting for it. Lame...
Sent from my PC36100 using XDA App
You can change alot in handcent. Instead of bubbles can do the threaded style like stock. Change color on everything to match stock. Just wish put a little more space between the messages.. other than that looks the same except the top part where all the messages from everyone you received or sent to is different than stock and can't change. Play around with it. I was exactly like you. Love stock. Even switched to fresh new rom and was on there for few days. Wentbon cm6 topic and someone suggested hamdcent and change the options to look stock. Gave it a try. Not exactly like stock but close and don't worry about freezes..
Sent from my PC36100 using XDA App
martyzidek said:
You can change alot in handcent. Instead of bubbles can do the threaded style like stock. Change color on everything to match stock. Just wish put a little more space between the messages.. other than that looks the same except the top part where all the messages from everyone you received or sent to is different than stock and can't change. Play around with it. I was exactly like you. Love stock. Even switched to fresh new rom and was on there for few days. Wentbon cm6 topic and someone suggested hamdcent and change the options to look stock. Gave it a try. Not exactly like stock but close and don't worry about freezes..
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Thanks, I will try Handcent now.
Uhg. This has been addressed a million times. It is *not* a bug in CM6. The stock AOSP messenger app *does not split messages* The stock HTC messages does. Handcent does. This is like saying it's a bug that Twiteur doesn't split your tweets up automatically.
I wish they'd add this functionality, sure, but it's NOT a bug.
My advice is to either use a 3rd party app (I don't like any of them, personally,) go back to using a Sense based ROM or to just simply use e-mail if you can't be brief in your SMS messages. Remember, the first S stands for *SHORT*
Just saying.
Cyanogen did NOT like make the messaging app. People keep trying to blame Cyanogen for this and that is incorrect.
Its the stock messaging app for Android. This is not a bug!
I understand some peoples frustration with this but stop blaming cyanogen for this! If you want to blame someone then blame Sprint for using CDMA.
I don't like the fact that the STOCK email app doesn't do exchange HTML email! Do I blame Cyanogen? NO!
I would have to buy Touchdown from the market to have HTML email. Maybe one day CyanogenMod might add it who knows but it is what it is.
Download Handcent or whatever from the market or load another ROM geez!
Having said that there are MANY users myself included that send 160+ txt messages just fine with Cyanogen, myself included. Which would lead me to believe its something not related to the stock messaging app.
MrDSL, I'm using handcent and after the helpful post from other users explaining what was going on, I have corrected the issue. You must admit, that Cyanogen doesn't handle everything perfect. I've flashed Fresh and the rooted Stock and I never had the same issues I've had with Cyanogen, such as the voice mail and the text message limit. So before you think everyone is attacking your bible of a rom, you should take a step back and breathe.
I've read a lot of your post in the past and you are a very helpful person here to everyone, but you shouldn't get so defensive.
Landmine: Fresh and rooted stock are both Sense based roms. CM is an AOSP based rom. The AOSP messaging app does not auto-split sms messages. Cyanogen didn't write the app. As said before, it's not a bug.
Sent from my PC36100 using XDA App
Again, I'm not saying it is a bug with Cyanogen, but stating that you must be able to understand where the idea is coming from when people are using Sense based roms and having issues with Cyanogen.
Landmine said:
MrDSL, I'm using handcent and after the helpful post from other users explaining what was going on, I have corrected the issue. You must admit, that Cyanogen doesn't handle everything perfect. I've flashed Fresh and the rooted Stock and I never had the same issues I've had with Cyanogen, such as the voice mail and the text message limit. So before you think everyone is attacking your bible of a rom, you should take a step back and breathe.
I've read a lot of your post in the past and you are a very helpful person here to everyone, but you shouldn't get so defensive.
Click to expand...
Click to collapse
This topic is solely about txt messages over 160..Thats all I have responded to. Does cyanogenmod have problems? Well of course it does I never implied it didn't.
What I am correcting is this is not a bug or a fault of the ROM. Nothing more nothing less.
The only reason this doesn't happen in sense ROM's is because HTC has their own messaging app that seperates them. So using Handcent with cyanogen is no different thats all.
Landmine said:
Again, I'm not saying it is a bug with Cyanogen, but stating that you must be able to understand where the idea is coming from when people are using Sense based roms and having issues with Cyanogen.
Click to expand...
Click to collapse
We do and its exactly why we are trying to inform people of the correct information. We may be a bit harsh sometimes I'll give you that
I can't stand the "go send a email" comments. Depending on the words and the size of the words its easy to pass the 160 mark in a text and not really say that much. Unless you do cuz, u, etc.. I like to fully spell words out.. except definitely for some really reason I do def... some people don't really have much to say and just text. While texting you think of more to say or something pops up and keep texting than you would otherwise on the phone. Or its just me everyone is different.
Sent from my PC36100 using XDA App
martyzidek said:
I can't stand the "go send a email" comments. Depending on the words and the size of the words its easy to pass the 160 mark in a text and not really say that much. Unless you do cuz, u, etc.. I like to fully spell words out.. except definitely for some really reason I do def... some people don't really have much to say and just text. While texting you think of more to say or something pops up and keep texting than you would otherwise on the phone. Or its just me everyone is different.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I agree ^^

Porting phone.apk from stock to cyanogen

So right now I'm in dsixda's rom kitchen, trying to pull a few stock apps(phone, dialer, contacts, messaging) from a rooted stock rom(cr 2.13 OTA) to the nightly CM7. It's giving me process.com.android.phone has stopped unexpectedly at boot and won't let me past. So I know that the OTA rom is froyo and CM is gingerbread, I'm assuming thats my problem. so that being said, first am I right? What do I need to do to make this work? and where can I get a stock gingerbread rom? can I simply drag and drop phone.apk, dialer.apk, etc. or is there more to it?
TheUnknown7 said:
So right now I'm in dsixda's rom kitchen, trying to pull a few stock apps(phone, dialer, contacts, messaging) from a rooted stock rom(cr 2.13 OTA) to the nightly CM7. It's giving me process.com.android.phone has stopped unexpectedly at boot and won't let me past. So I know that the OTA rom is froyo and CM is gingerbread, I'm assuming thats my problem. so that being said, first am I right? What do I need to do to make this work? and where can I get a stock gingerbread rom? can I simply drag and drop phone.apk, dialer.apk, etc. or is there more to it?
Click to expand...
Click to collapse
I don't think that will work. Espresso roms are sense, cm roms are not, they have different frameworks and such. First off, I'm PRETTY sure phone.apk is just the backend to sms/dialer/radio/etc., so you can leave that alone. Why do you want to move those apps over to cm7? Theming? Messaging and contacts I KNOW won't work because they require the tmobile framework resources that cm roms don't have, same with the dialer. You won't be able to move messaging either, since it has different coding from froyo to gingerbread. Contacts and dialer you MIGHT be able to move over if you ALSO move over the com.htc.resources.apk from /system/framework to the same location on the cm rom. You also might have to move the com.tmobile.framework.apk or something like that from /system/app to the same location on cm7 as well.
That may or may not work, it'll more likely just cause force closes everywhere since htc apps are very dependent on other apps and proprietary framework resources that stock android doesn't have.
I don't understand why you would want any of that. To each his own, but I think cyanogen has made all of that stuff better and simpler. The only thing he needs to add is the ability to end the call from the notification bar. I thought sense had a good idea there
Sent from my T-Mobile myTouch 3G Slide using XDA App
I'm not knocking CM I do like it, it's just still buggy. For example in his contacts when entering a new a number with the keyboard the numbers are haywire and dont work, so you have to use the touchscreen. The main thing with the dialer is I miss the T9 speeddial, and messaging is a bit buggy as well, plus I like the old mms.apk ui better. For now I found out about dialer 1 on the market and will use that, but hopefully when it's all said and done things will be better on CM. Can anyone suggest a good messaging app from the market? contacts too maybe?
TheUnknown7 said:
I'm not knocking CM I do like it, it's just still buggy. For example in his contacts when entering a new a number with the keyboard the numbers are haywire and dont work, so you have to use the touchscreen. The main thing with the dialer is I miss the T9 speeddial, and messaging is a bit buggy as well, plus I like the old mms.apk ui better. For now I found out about dialer 1 on the market and will use that, but hopefully when it's all said and done things will be better on CM. Can anyone suggest a good messaging app from the market? contacts too maybe?
Click to expand...
Click to collapse
I use GoSMS. It's free, and you can theme it and such.
Alright. and almost forgot, the stock music player... any way of porting that? I really like the original widget better, and I miss controlling it from the lock screen. I want the old calendar back as well. thoughts?
i missed the dial by name from the SenseUI - this app is a GREAT replacement, you swipe from side to side to get to recent/favs/dial, and it's free: https://market.android.com/details?id=kz.mek.DialerOne
TheUnknown7 said:
Alright. and almost forgot, the stock music player... any way of porting that? I really like the original widget better, and I miss controlling it from the lock screen. I want the old calendar back as well. thoughts?
Click to expand...
Click to collapse
this is available in the later CM7 nightlies (30+) - you can hold the volume buttons to do prev/next, and you can even have the controls on the lock screen...
http://www.youtube.com/watch?v=Q_gY1fGpKBs&feature=player_embedded
This is a replacement contacts called Phonebook 2.0. It's pretty cool.
Also, pretty much any of the widgets in sense are sense only ;p
Thanks guys. Yep figured out about the music player, thats good. Already using dialer one, I like it better actually. Now I'm missing the calendar. I really miss being able to see when stuff is coming up on the old widget. Any body got anything on that?
TheUnknown7 said:
Thanks guys. Yep figured out about the music player, thats good. Already using dialer one, I like it better actually. Now I'm missing the calendar. I really miss being able to see when stuff is coming up on the old widget. Any body got anything on that?
Click to expand...
Click to collapse
The stock calendar widget is an agenda style widget
Sent from my T-Mobile myTouch 3G Slide

[Q] can someone tell me why cyanogen only sends mms at 1kb

Anyone? It seems no one will ever comment on the posts I make at their forums? I am testing cyanogen 7.1 out for a bit.
Some background info. Doubled wiped everything except sdcard. downloaded a fresh cyanogen 7.1 and flashed it. I have the GPS fix, and the gapps thing flashed with tiamat 4.0.8
So can someone tell me how to either fix this or why it does this?
This is a huge dealbreaker.. It compresses whatever photo i try to attach and it losses quality of the picture... I like the stock android and having to use handcent to send my mms seems like a *WTF* should i do this moment...
Apps like Handcent and Go SMS are better than the stock messaging app anyway. Why would you be willing to throw away the entire ROM over the messaging app when you can use more powerful messaging apps that don't compress the image AND have more customization options?
I've used stock CM, Handcent and Go SMS. By far my favorite one is Go SMS. Way better than the one that comes with CM.
I have used them both. I dislike them. Its just the feel. And the popups I just dislike the whole thing even after i messed with the settings to get rid of what i dont like. The options arent there and i do dislike them.. Also it wont send multiple split messages it freezes my ability top send messages and i need to reboot my phone....
And the Messaging app isn't the only issue.
Btw not my first or second time using CM either..
cmsjr123 said:
I have used them both. I dislike them. Its just the feel. And the popups I just dislike the whole thing even after i messed with the settings to get rid of what i dont like. The options arent there and i do dislike them..
And the Messaging app isn't the only issue.
Btw not my first or second time using CM either..
Click to expand...
Click to collapse
Huh? I don't get any pop ups whatsoever on mine. Not quite sure what you mean. And what options are you looking for? Out of all the ROMs I've tried CMseems to have the most flexibility and most customization options. What exactly are you looking for in a ROM? Handcent and Go SMS also provide more flexibility and customization options than the stock messaging app. Let me know what you're looking for and maybe I can point you toward a ROM that fits.
Concordium said:
Huh? I don't get any pop ups whatsoever on mine. Not quite sure what you mean. And what options are you looking for? Out of all the ROMs I've tried CMseems to have the most flexibility and most customization options. What exactly are you looking for in a ROM? Handcent and Go SMS also provide more flexibility and customization options than the stock messaging app. Let me know what you're looking for and maybe I can point you toward a ROM that fits.
Click to expand...
Click to collapse
Its not that I'm looking for felxibility i just want to get my mms to stop sending at low resolutions.
It may be the user agent but every one of them makes me receive a pic at 8XX by ^XX resolutions..
I just want the stock one to have correct mms. And preferably a mms with a user agent for my phone or a equivalent phone. I have been searching for days and no one seems to post a fix. All the fixes seem to be for tmo for what i can find :/
Well I understand that you want your stock messaging app to work properly. However, I don't know a means to directly resolve the problem. Test with Handcent/Chomp SMS/Go SMS, reflash your ROM/kernel, update your radio, wimax, nv, etc., and if worse comes to worse....completely unroot your phone back to bone stock. Seems ridiculous that something that drastic is needed to fix your issue. But I did that as a last resort for my phone and it fixed my 2 month long SMS/MMS issue that I had been having.
Here OP try this. Is splits and the limit is big
http://db.tt/eOzGdVB2
Work out for you?

[Q] Auto-converting to MMS

Hello!
I have recently moved from an HTC Desire HD (Cyanogenmodded) to the Samsung Galaxy Nexus, I absolutely love the phone, except for one thing:
The stock Messaging (SMS) app has the habit of converting text-messages to MMS messages, when the size is about 3-4 texts.
My girlfriend has the same issue on her HTC Desire S (un-modded), but I did not have it on my CM7'ed DHD.
Now, I have been looking into things to get this fixed, but to no avail.
I really do not want to use the 3rd party apps like Handcent op GoSMS, because frankly, I think they are ugly and bloated. I just want to use the stock app, but without the limitation.
Tonight, I have been trying to get this to work:
http://forum.xda-developers.com/showthread.php?t=1065452
It sure seems easy enough, but after putting the app back it just kept crashing.
Has any of you been successful in editing the apk to enable larger text messages?
Thanks in advance for any reply!
Gytax.
I have the same problem..
I'm also really interested in a solution here. I've got 2,000 SMS for free but pay 30cents for a mms which i would never use due to whatsapp... Would be great if there is a tweak to turn off auto convert.
This is the main reason I'm using go SMS heh.
Sent from my Galaxy Nexus using XDA App
This is going to hurt. There is no fix whatsoever unless you root your device. Handcent is ugly and bloated. So is GoSMS.
If you go to the market and search BigSMS, that is a clean solution to the problem. It isn't an OS fix, but it's a very simple front-end that allows you to get around the problem. It integrates fully with your native messaging and is free.
Not an OS fix, but the next best thing.
skezza said:
This is going to hurt. There is no fix whatsoever unless you root your device. Handcent is ugly and bloated. So is GoSMS.
If you go to the market and search BigSMS, that is a clean solution to the problem. It isn't an OS fix, but it's a very simple front-end that allows you to get around the problem. It integrates fully with your native messaging and is free.
Not an OS fix, but the next best thing.
Click to expand...
Click to collapse
My device is rooted. I tried to fix the app myself, but after compiling the app would not run anymore.
Currently, I just switch to GoSMS when the stock app says my text message is too long (hooray for copy/paste).
I have seen BigSMS already, I might give it a shot.
Thanks for your reply, anyway.
Gytax said:
My device is rooted. I tried to fix the app myself, but after compiling the app would not run anymore.
Currently, I just switch to GoSMS when the stock app says my text message is too long (hooray for copy/paste).
I have seen BigSMS already, I might give it a shot.
Thanks for your reply, anyway.
Click to expand...
Click to collapse
This feature is also present in Ice Cream Sandwich.
The disgusting thing about it is this... knowing what I know, there is no way that Google released Ice Cream Sandwich without a way of toggling this particular setting (the conversion I mean) which means the feature was actually REMOVED from the Messaging app, rather than pure ignorance which we've seen from manufacturers in 2.x.
Well, there is a very simple setting inside the messaging app. The app has a hardcoded limit of 4. I tried changing this but, like I said before, the app would not run anymore.
This could be because of my phone not being deodexed.
I was asking if anyone else had any experience with this, because my android modding experience is very very limited.
See this thread.
Gytax said:
Well, there is a very simple setting inside the messaging app. The app has a hardcoded limit of 4. I tried changing this but, like I said before, the app would not run anymore.
This could be because of my phone not being deodexed.
I was asking if anyone else had any experience with this, because my android modding experience is very very limited.
See this thread.
Click to expand...
Click to collapse
Yes, the limit is hardcoded, Some devices uses 4, others uses 3 and some HTC's use 5. The thing is, Google implemented a patch for disabling it in 2.2 Froyo. Basically not so you could change the limit, but you could enable/disable whether the conversion took place. They implemented it and major manufacturers like Sony, Samsung, HTC, decided to avoid implementing the patch. So, 2012, 2 years after Froyo, the patch still isn't present in Gingerbread 2.3.5 for SGS for example. It's disgraceful by the major manufacturers to have this little care for the users.

Categories

Resources