[Q] The stock messaging app crashing - LG Optimus 2x

I noticed a couple of days ago that people claimed to have sent me messages (sms), but I had not noticed. Turns out that when I try to launch the Messaging application, it pops up "Sorry! The application Messaging (process com.android.mms) has stopped unexpectedly. Please try again." I have no idea really when this started happening.
So I installed GO SMS, and it works fine, but still - whenever I get an sms, up pops the above error and it stays there for a while before disappearing. I wanted to find out what was going on, so I used adb to log what's going on when the Messaging app is launched. The log is attached.
The interesting lines, as I can see it are:
java.lang.RuntimeException: Unable to create application com.android.mms.MmsApp: android.view.InflateException: Binary XML file line #230: Error inflating class com.lge.mms.wapservice.WapServiceMessageCheckBoxPreference
and
Caused by: java.lang.ClassNotFoundException: com.lge.mms.wapservice.WapServiceMessageCheckBoxPreference in loader dalvik.system.PathClassLoader[/system/app/Mms.apk]
So I now wonder if there's something wrong with /system/app/Mms.apk, it looks like this using adb shell...
$ adb shell ls -l /system/app/Mms.apk
-rw-r--r-- root root 1722767 2011-04-16 09:01 Mms.apk
Any hints on how to get the Messaging app running again?
PS - GO SMS let me backup my old SMSes, but how do I recover them?

do you use the stock rom ?
do you have rooted your phone?
do you have root explorer?

Try repairing permissions from the latest clockwork recovery

Stock ROM yes, not rooted.
Clockwork recovery? Will look that up.

I ended up doing a factory reset, and now everything is fine.

L10nH34Rt said:
Try repairing permissions from the latest clockwork recovery
Click to expand...
Click to collapse
Fixing permissions worked for me, thanks!

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A

Related

Android Market even close when i open

Hi,
i have a rooted G1 with CyanogenMod.
My problem is when i open the market it instantly close himself....
Update and wipe dalvik-cache haven't helped, yet...
How do i get the market app working???
ScorqYoN
Edit:
Fixed. The reason for that problem seems:
borodin1 said:
FYI... your problem was because you deleted Gtalk as it contains something used to authenicate you with Google. Don't touch Google apps to be safe, amazon is fine to remove.
Click to expand...
Click to collapse
Please help! I want to go through the market.
Noone????
Did you run from terminal:
$su
#fix_permissions
Could help. Not sure.
did you try fix_permissions in console of recovery screen (or via adb in recovery screen)?
billquinn1 said:
Did you run from terminal:
$su
#fix_permissions
Could help. Not sure.
Click to expand...
Click to collapse
Good idea. I tried, but didn't help...
I also tried to delete all permissions in superuser but didn't help, too...
shmigao said:
did you try fix_permissions in console of recovery screen (or via adb in recovery screen)?
Click to expand...
Click to collapse
I have Recovery-RA-dream-v1.5.2 and i can't write the " _ " in the console with "alt" and "r".
Update and clearing dalvik-cache also didn't help...
Slowly i become desperate with this problem.
It came when I deleted Ndrive, because i wanted to update to newest version...
Oh, i also can't open the setting option "Data synchronization"...
Last time i have deleted some apps in system/apps with root explorer because i wanted to delete amazon mp3 etc.
Have i delete a important app???
How do i fix it without a complete wipe???
Noone idea what i can do???
Update/Reflash of CyanogenMod didn't help and i don't want to wipe all...
ScorqYoN said:
Good idea. I tried, but didn't help...
I also tried to delete all permissions in superuser but didn't help, too...
I have Recovery-RA-dream-v1.5.2 and i can't write the " _ " in the console with "alt" and "r".
Click to expand...
Click to collapse
RA-Recovery has an option under "Other" called "fix uid mismatch", this is the command you want, same as fix_permissions in cm-recovery. if you cannot type an underscore in RA-recovery console, you should check that thread to see if this bug has been reported, if not you should please report it so it can be fixed. thank you. good luck, just run "fix uid mismatch" under "other" in recovery and let us know if that fixes it...
-BMFC
Can you Log in to Gtalk and Gmail or do you get the same Issues?
I had this In all google apps when I had a google.partner.setup FC. Kept me logged out of my Google account with no way of getting back in (That I could see)
I had to Wipe, Install a previous (older) version, Sign in, and then Reinstall ROM WITHOUT a data wipe. Worked a treat as a work around
KYI
bmfc187 said:
RA-Recovery has an option under "Other" called "fix uid mismatch", this is the command you want, same as fix_permissions in cm-recovery. if you cannot type an underscore in RA-recovery console, you should check that thread to see if this bug has been reported, if not you should please report it so it can be fixed. thank you. good luck, just run "fix uid mismatch" under "other" in recovery and let us know if that fixes it...
-BMFC
Click to expand...
Click to collapse
Didn't help....
killyouridols said:
Can you Log in to Gtalk and Gmail or do you get the same Issues?
I had this In all google apps when I had a google.partner.setup FC. Kept me logged out of my Google account with no way of getting back in (That I could see)
I had to Wipe, Install a previous (older) version, Sign in, and then Reinstall ROM WITHOUT a data wipe. Worked a treat as a work around
KYI
Click to expand...
Click to collapse
Oh yes, i also can't use GMail. When i open it, it come the failure that the process com.google.gapps was aborted...
GTalk have i deleted, such as amazon mp3 etc., with root explorer...
It's possible that i also have deleted an app named gapps... because i haven't gapps in /system/app...
Where do i get it back without wipe and flash???
Where do i get this app???
Ahhh, i reflashed the "devphone_userdebug-ota-14721" image and then the cyanogenmod...
Now market work fine! GMAil etc. also!
Thanks for helping
ScorqYoN
please edit your first post to you have fixed the problem, thanks
FYI... your problem was because you deleted Gtalk as it contains something used to authenicate you with Google. Don't touch Google apps to be safe, amazon is fine to remove.
OK, thanks for tip borodin1.
Just want to add this in case anyone runs into same thing. I switched from CM to Super D, I used backup for root users and let it restore everything and had this problem. It may confuse your apps so I had to wipe and reload apps a different way. Market works fine now. Just wanted to throw that in.

Help! Froyo -> CM5071 - Market app crashes when download

HELP HELP! yesterday, i fall back from Froyo to cm5.0.7.1 also rolled back radio to 4.04 (EPE54B). but this morning i found that when i start download and install an app from mkt, the android mkt app crashes
The application Market (process com.android.vending) has stopped unexpectedly. Pls try again. (Force close)
pls help =<
alogcat:
E/DatabaseUtils(290): Writing exception to parcel
E/DatabaseUtils(290): java.lang.SecurityException: Permission Denial: writing com.android.providers.download.DowbloadProvider uri content://downloads/download from pid=1115, uid=10046 requires android.permission.ACCESS_DOWNLOAD_MANAGER
i think i found the thread to my question... will try it now
http://forum.xda-developers.com/showthread.php?t=687578
i have already sorted out my problem by trying out almost all combinations to replicate the problem. just thot if anyone has the same problem, below is my solution
for me... it is nothing to do with the link abv. my conclusion is that, whenever i use "my backup pro" with root access mode, it will somehow mess up the vending.apk which crashes the mkt app. after many tries, i found that if i use my backup pro, it is a must for me not to use "grant root access" for my backup pro then everything will be fine...

[Q] Sending Blank emails when replying

I upgraded to the leaked OS 2.2 Froyo and now I am getting the below issue when I reply to emails. Doesn't happen to EVERY email but several to cause me issues at work.
I am using Exchange only.
I reply to an email and it is recieved but all text I typed is missing and it actually looks as if I forwarded the email back to the sender.
I saw on another forum some other were experiencing this issue but none had a clue how to resolve it.
Anyone know how to fix this? Others seeing this?
Any help would be appreciated!!
???
Is no one else having this issue? Does anyone have any ideas how to resolve it? Do I need to wipe the deivce?
I've had this issue as well when using my exchange.
gibgib3 said:
I upgraded to the leaked OS 2.2 Froyo and now I am getting the below issue when I reply to emails. Doesn't happen to EVERY email but several to cause me issues at work.
I am using Exchange only.
I reply to an email and it is recieved but all text I typed is missing and it actually looks as if I forwarded the email back to the sender.
I saw on another forum some other were experiencing this issue but none had a clue how to resolve it.
Anyone know how to fix this? Others seeing this?
Any help would be appreciated!!
Click to expand...
Click to collapse
Also happening to me. What gives?
Using JI6
This may help:
http://forum.xda-developers.com/showthread.php?t=797977
I had the same issue with email after cognition2.2BETA5.5. It seems that designgears had installed the AOSP email app but removed it in later versions due to too many complaints. I find that the AOSP app is much better then then TW Email apk. I performed the steps below to install the AOSP Email.apk. Replies work everytime without issue.
1.) Get the Email AOSP app from a different rom or make a request and I will happily provide a link to download the apk.
2.) Connect your phone to the computer and move the Email.apk to the root of your sdcard.
3.) Backup your current Email.apk with Titanium or manually copy it to another location on your phone.
NOTE: You may need to backup your phone settings so you can restore your launcher after clearing cache in the final step to avoid having to replace all of your home screen icons.
4.) Using Root Explorer or Astro, copy the Email.apk copied to your sdcard into the folder /system/app/ to replace the current app.
5.) Return to the home screen. At this point you should no longer see an email icon on your dock.
6.) Go to Applications->Settings->Applications->Manage Applications
7.) Clear the cache on the TWLauncher Application.
8.) Return to the home screen and you should now see the email icon has returned to the dock.
9.) Restore TWLauncher settings with Titanium to restore home screen icons that were removed in the cache.
Please let me know if you need the email.apk from cognition2.2beta5.5
Aosp email.API link request
Is there a copy of the email.API that doesn't have the blank reply issue yet has all the features of cognition latest release?
I have attached a working Email apk to this post. Down load it and follow the steps in the post above to resolve the blank email reply issue. Let me know if you have any issues.
I followed the instructions, however, I did not have a backup of twlauncher, so now I don't have an email icon on my home bar
So put the icon back on your launch bar. It is configurable. (doing this from memory, so i may miss a step). Go to your list of apps -> menu -> edit and you can configure 3 of the 4 icons on the touchwiz launcer (you can't get rid of the apps shortcut).
f13nd0 said:
I had the same issue with email after cognition2.2BETA5.5. It seems that designgears had installed the AOSP email app but removed it in later versions due to too many complaints. I find that the AOSP app is much better then then TW Email apk. I performed the steps below to install the AOSP Email.apk. Replies work everytime without issue.
1.) Get the Email AOSP app from a different rom or make a request and I will happily provide a link to download the apk.
2.) Connect your phone to the computer and move the Email.apk to the root of your sdcard.
3.) Backup your current Email.apk with Titanium or manually copy it to another location on your phone.
NOTE: You may need to backup your phone settings so you can restore your launcher after clearing cache in the final step to avoid having to replace all of your home screen icons.
4.) Using Root Explorer or Astro, copy the Email.apk copied to your sdcard into the folder /system/app/ to replace the current app.
5.) Return to the home screen. At this point you should no longer see an email icon on your dock.
6.) Go to Applications->Settings->Applications->Manage Applications
7.) Clear the cache on the TWLauncher Application.
8.) Return to the home screen and you should now see the email icon has returned to the dock.
9.) Restore TWLauncher settings with Titanium to restore home screen icons that were removed in the cache.
Please let me know if you need the email.apk from cognition2.2beta5.5
Click to expand...
Click to collapse
Alright, hopefully you all are still willing to help somebody else out on this issue, as I am in the same boat as gibgib3. I have followed the steps above using the attached email.apk from f13nd0.
The issue I get is that launching email cause an immediate crash of the application, as well as attempting to add a new "Corporate" email account.
I am not an Android development power user myself, although I've used adb in the past sparingly. I really just am clinging to the leaked Froyo build from October, and just want working email (TouchDown is crazy slow and expensive) until Samsung finally pushes out an official Froyo build.
Any ideas here?
Flash a new ROM that has the email bugs fixed.
From the interwebs via fast thumbs and a faster phone.
crusecontrl said:
Flash a new ROM that has the email bugs fixed.
From the interwebs via fast thumbs and a faster phone.
Click to expand...
Click to collapse
That is the "nuclear option" that I'd like to avoid. While I have everything backed up with titanium, I already am planning to flash back to stock when the official update comes out, so I'm looking to minimize the necessity to flash a ROM again.
I'm hoping that there is some "tried and true" way to swap out my email.apk with a working version, as the previous steps just result in a "Force Close" whenever I try and run it.
So the solution here, for anybody having this issue, is to remove the existing email.odex file from the /system/app directory, which was associated with the original Samsung email app.
All systems go here.
How do you remove the email.odex file? As it is in the system folder, the file permission is ready only and I cannot delete it. Is there a util in the market that you can download to change file permissions?
Root Explorer did the trick for me.
Sent from my SAMSUNG-SGH-I897 using XDA App
Does the phone needs to be rooted (my phone has the leaked froyo but do not think it is rooted) for the root explorer to be able to change the permission?
I download other free utils that has access to the file but cannot change the permission in order to delete it.
Yes, it does.
Sent from my SAMSUNG-SGH-I897 using XDA App
ickensai said:
Does the phone needs to be rooted (my phone has the leaked froyo but do not think it is rooted) for the root explorer to be able to change the permission?
I download other free utils that has access to the file but cannot change the permission in order to delete it.
Click to expand...
Click to collapse
Rooting is the key to doing all "magic" stuff like this. What good is a wizard (user) without his magic wand (root access) to work on any magic (his captivate)?
DannyNoonan said:
So the solution here, for anybody having this issue, is to remove the existing email.odex file from the /system/app directory, which was associated with the original Samsung email app.
All systems go here.
Click to expand...
Click to collapse
Okay, I finally learn how to root the phone and was finally able to remove the existing email.odex file. Now I don't have the email icon anymore. I must assume you have replaced this email.odex file as well as the apk file??? I tried clearing the cache and everything on the twlauncher and it's a no go.

Lost SU access

Using nfx stock 2.1 rom with chainsdd superuser app. I had a problem with an app that was looping the launcher and had to restore a nandroid. All seemed to be ok until I tried to use terminal. Su was denied. I then tried anything that required SU access and nothing would work. I have tried the update from the market for the SU apk. I uninstalled it. re-downloaded the eclair version 2.3.6.1 and flashed the Zip and got this error.
"E:wrong digest: META-INF/com/google/android/updater-script E:Verification failed"
Not sure what I am doing wrong or what might be the cause for the SU apk to have stopped working, but any help would be appreciated.
I also have unchecked the debugging and rechecked it to make sure a setting was not screwed up.
Try going into settings / applications //manage applications / and find the super user app. Then force close it and clear data. The try a app that requires su. Aslo you might wanna change the notifications in the super user app to regular notification / normal instead of the toast notification. Good luck
Root-Hack-Mod-Always™
Your OP is a little confusing, but it sounds like the zip was bad (not signed), not the apk. You could try to update the SU binary inside the superuser app, otherwise..... Go into your titanium backup and hit the "problems" button, see what happens. I am wondering if you lost busybox. Report back
Thanks for all the feed back. I did go into the application and clear data and Force Closed it. That did not fix the problem. I also changed the notifications and nada. I tend to think I lost busybox. I am not sure what it is for, but I think that was it. I did try to use titanium backup, and it gave me an error about busybox. I was going to download it again but was not sure if it was compatible with the rom I was using.
I needed to get SU access so I ended up starting over. Wiped everything, repartitioned, and then flashed a newer version of the Rom. Thanks for all the help guys.
Glad you got it fixed.
Root-Hack-Mod-Always™
Macanage said:
Thanks for all the feed back. I did go into the application and clear data and Force Closed it. That did not fix the problem. I also changed the notifications and nada. I tend to think I lost busybox. I am not sure what it is for, but I think that was it. I did try to use titanium backup, and it gave me an error about busybox. I was going to download it again but was not sure if it was compatible with the rom I was using.
I needed to get SU access so I ended up starting over. Wiped everything, repartitioned, and then flashed a newer version of the Rom. Thanks for all the help guys.
Click to expand...
Click to collapse
For future reference, busybox from TI backup is always the most up to date and safe/needed for any custom rom, so yes you could've updated it and it would've been fine. I don't know how you lost it but now you know how to fix it if it happens again, WITHOUT having to start over. On a side note I love being right, happy trails.

[Q]

Please help. I have a few questions.
I have recently installed Titanium Backup on my Captivate and i accidentally converted the system messaging app (SMS/MMS) to a user app. It was not backed up. It no longer appears as an app in titanium backup. Can not find it anywhere. The messaging icon has disappeared from my home screen. I opened my contacts and selected a person to send a text and hit "send message" button and got an error message saying " the process android.process.acore has stopped unexpectedly. I had to force close. I then performed a Factory Data Reset in hopes that my phone would return to the "out of the box" state. No luck.
My phone is rooted of course. Froyo 2.2
Through some investigating i learned that my phone can be booted into recovery mode, which i did. No luck. No update.zip file exist. What do i do? Thanks in advance for your help.
This really should be in the q&a but can't you use titanium to convert it back to a system app? If not just download a 2.2 rom and pull the mms.apk from it and use root explorer or similar app to move it to system/app
Sent from my SGH-I9000 using xda premium

Categories

Resources