com.htc.bgp force close [(ACTUALLY) FIXED 04/29/2011] - EVO Shift 4G General

EDIT: After studying some logs, and struggling with this issue for some time, I am happy to say I have finally figured out why this happens, and how to fix it.
The issue is with the calendar, which is why what is written below would work for a short time, before the problem would resurface. If you navigate into the calendar settings, you will see an option within Calendar View Settings to "Include Weather". What is happening, regardless of whether this is checked, is upon the gps turning on, and in set intervals afterward, the calendar tries to check the weather. When it does not find the proper apk, the com.htc.bgp message appears.
How To Fix
The files that need to be replaced are WeatherProvider.apk and WeatherProvider.odex (WeatherProvider.zip), which I have attached below for convenience. Simply replace these files using the method you prefer (adb, terminal, root file browser), remembering to remount /system as rw, then fix_permissions and reboot.
Alternatively, I made a flashable version (com.htc.bgp_fix_flashable-signed.zip), which you need only flash from recovery and reboot.
Click to expand...
Click to collapse
I recently started getting notices that com.htc.bgp stopped and needed a force close. Though it seemed not to affect anything, it was annoying.
It happens when one removes the sense apps (though I have not narrowed down exactly which ones).
To fix this, go to settings, applications, manage applications, then clear data in Calendar, Calander Provider, and Gmail.

Thank you! It was starting to really annoy me.
EDIT: It's back.
^ Shift Faced

Came back on me too. Cleared delvik as well. I may have to try and track down all the weather app crap I removed to stop it if no one can figure out a better way.

According to Elixer that process is started by ConnectToPCService. Hope that helps. I no longer get but I'm back to stock with all HTC junk intact, just Sprint crap removed.
^ Shift Faced

Code:
http://forum.xda-developers.com/showthread.php?t=659325

Check the OP for a real fix to this issue.

How do you "flash" from recovery & reboot

does this work on other htc phones?
i flashed this on a desire hd running leedroid 3.0.2 but i still get the FC
din clear data after flashing
note: i used a no sense script but left myhtc and htclocationservice intact

problem parsing package
i had downloaded the said files but when I tried to install the files,it says problem parsing the package..how to fix this?
thanks,
Jovirex

Related

com.android.mms force close now

Something happened to my over the weekend. I found it had reset and kept resetting on the loading screen. I took the battery out, popped it on and turned it on. It made it to the home screen but all the apps I had stored on the SD card would close unexpectedly. It looked like ext2 partition crapped out or something as none of those apps would run. So I restored a backup from Nandroid and everything was working again EXCEPT for my SMS/MMS.
Whenever I go into messages, it crashes with a "force close" prompt stating com.android.mms closed unexpectedly. I'm thinking if I could clear all the messages I had save that would solve the problem, but I have no clue where they're stored.
Any advice?
Found what I needed here: http://forum.xda-developers.com/showthread.php?p=2976069&highlight=messages+stored#post2976069
I deleted the DB with the messages, all is well.
same problem here,
clicking "sms" pops up an error msg "com.android.mms ended unexpected"
I have not found any .db files yet :-(
Hello,
Did you deleted mmssms.db or some of "PART_XXXXXXXXXX" files too?
Thanks!
Deleting the mmssms.db file
For no apparent reason my phone's messaging app suddenly started force closing. After multiple reboots, even taking the battery out while phone was on, changing the language settings, and even doing a data factory reset, nothing worked. Found this post and deleted the mmssms.db file, now messaging app works fine, tho I lost all the old messages. That's ok, I had all but the last day backed up to Gmail anyway. So, just delete the database file.
VirtuallyNadine said:
For no apparent reason my phone's messaging app suddenly started force closing. After multiple reboots, even taking the battery out while phone was on, changing the language settings, and even doing a data factory reset, nothing worked. Found this post and deleted the mmssms.db file, now messaging app works fine, tho I lost all the old messages. That's ok, I had all but the last day backed up to Gmail anyway. So, just delete the database file.
Click to expand...
Click to collapse
I have the same problem. Did you permanently delete the database or is it still there? Cos I tried to delete the database throught root explorer but it still remains altho it has deleted all the messages saved in it.
any news on the com.android.mms subject????? I feel very frustrated with my android and i looked everywhere on the internet and can't manage to fix it!
A possible fix
Here's what I did that fixed mine:
I think the root-cause of this error occurred from restoring old messages. There must have been a character/corruption somewhere that was screwing everything up.
Please note the following: I'm using an Evo 4G, running gingerbread-evo-deck-1.2 ROM. I realize this is a G1 thread, but this came up first on google, so I think it would be most helpful here. I was getting the error as described when using the "Messaging" app.
What I did:
Terminal Emulator
su (allow root if prompted)
rm /data/data/com.android.providers.telephony/databases/mmssms.db
Menu > Reset terminal (probably an unnecessary step, but it's what I did)
home screen > remove battery while running
wait 20 seconds
reboot
I don't know why removing the battery that way works. I did try force closing the "Message" app and it didn't work. I realize now I probably should have tried to figure out how to kill the underlying framework, but oh well. I'm not going to try breaking it again.
echoota said:
Here's what I did that fixed mine:
I think the root-cause of this error occurred from restoring old messages. There must have been a character/corruption somewhere that was screwing everything up.
Please note the following: I'm using an Evo 4G, running gingerbread-evo-deck-1.2 ROM. I realize this is a G1 thread, but this came up first on google, so I think it would be most helpful here. I was getting the error as described when using the "Messaging" app.
What I did:
Terminal Emulator
su (allow root if prompted)
rm /data/data/com.android.providers.telephony/databases/mmssms.db
Menu > Reset terminal (probably an unnecessary step, but it's what I did)
home screen > remove battery while running
wait 20 seconds
reboot
I don't know why removing the battery that way works. I did try force closing the "Message" app and it didn't work. I realize now I probably should have tried to figure out how to kill the underlying framework, but oh well. I'm not going to try breaking it again.
Click to expand...
Click to collapse
Works for me thanks

Manage Applications List

I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
riggsandroid said:
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
Click to expand...
Click to collapse
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
chromiumleaf said:
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
Click to expand...
Click to collapse
never got a response, and just sort of let it go. I'm sure there is a .db file somewhere that stores this information.
Anyone have any idea?
Try adb sync.
HeroMeng said:
Try adb sync.
Click to expand...
Click to collapse
Gosh, I can't find anything out there about how to use adb sync, been searching for a good half hour or more. The few hits I found didn't make sense to me.
I enter 'adb sync' and get returned to me: "Product directory not specified; use -p or define ANDROID_PRODUCT_OUT"
Get that even after entering 'adb remount' then 'adb sync'. I have also read 'adb help all' and don't understand what all that means -- it's a little over my head.
Any further help/thoughts? Thanks.
I'm looking through my nandroids .img files and attempting to determine where this information is stored. I found some stuff in the data/data directory which seems to be folders for all the apps we have ever installed on the phone. even ones I know I have removed.
I'm going to nandroid and attempt to remove them and see if that will fix our problem. It is annoying to go into Applications and have it take forever to load with 30-40 apps that aren't even installed anymore.
I'll update you in a bit.
riggsandroid said:
I'm looking through my nandroids .img files and attempting to determine where this information is stored. I found some stuff in the data/data directory which seems to be folders for all the apps we have ever installed on the phone. even ones I know I have removed.
I'm going to nandroid and attempt to remove them and see if that will fix our problem. It is annoying to go into Applications and have it take forever to load with 30-40 apps that aren't even installed anymore.
I'll update you in a bit.
Click to expand...
Click to collapse
well i removed it and it shows 0kb now as the size where before it showed the size of the folder. I'm rebooting to see if it works.
Well...apparently I'm in a bootloop. let me try clearing Dalvik
Now I have my nandroid, but does anyone know why removing a file in /data/data would cause a bootloop? It was leftover from a program that I removed via ADB when I first flashed my current ROM.
Thanks.
riggsandroid said:
Now I have my nandroid, but does anyone know why removing a file in /data/data would cause a bootloop? It was leftover from a program that I removed via ADB when I first flashed my current ROM.
Thanks.
Click to expand...
Click to collapse
Don't know the answer to that. Side question: Did what you do actually remove those ghost apps/pieces from the Manage Apps list? Or I guess maybe you never found out because of the bootloop?
Thanks for trying something.
chromiumleaf said:
Don't know the answer to that. Side question: Did what you do actually remove those ghost apps/pieces from the Manage Apps list? Or I guess maybe you never found out because of the bootloop?
Thanks for trying something.
Click to expand...
Click to collapse
The item was still in the list, but it showed 0.0 kb where as before it showed like 75kb or whatever. I was trying to reboot to see if it would rebuild the file that it sued, but....i got stuck in my bootloop and had to nandroid...
back to the drawing board.
riggsandroid said:
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
Click to expand...
Click to collapse
chromiumleaf said:
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
Click to expand...
Click to collapse
Any updates on this anyone? Anyone? Bueller?
No biggie, just kinda annoying and would like to get to the bottom of it .
I've been attempting a solution to this annoying issue. Read somewhere in here someone refer to an app on the market capable of doing this...
Try reflashing your recovery. It seemes like your nandroid your restoring may still have the data from the apps you pulled out. So when you delete them and wipe everything but then do a nand restore I think your putting the leftover data back on. In my experience when I pull or delete system apps that I don't use I always do them this way.
Using TB I delete all the apps I don't use. Then in TB I refresh the app list to show current app installed. Then I go into my manage apps settings to force close TB then clear data then unistall Tb. Then I reboot and let the phone settle in. Then I power down and reboot into recovery with power and home. I used to with the volume down and power but Ive always had bootloops and errors that way. Since I started using power and home I've had no problems. Anyways-- Then I wipe cache and dev cache and reboot once more. After that I reboot and then do a nand backup. I know its a lot and I'm not sure if this will help you at all but just thought Id put it on here in case it might. Well good luck and I hope you get it all worked out.
Root-Hack-Mod-Always™
Thank you, i will try what you have suggested. I use TB, and am familiar with the whole process, but have never wiped cache and dev cache.
I completely agree with your statement of "letting the phone settle in", so true...

[Q] APKs won't sideload via adb or a file manager

So I am trying to load a couple of apks I have and it's been no go. On my Epic I usually just dropbox, open, and install. I tried that and initially got the security message. That is already taken care of via nookcolor tools. So that isn't the issue. My issue is every time I go to install I go to Astro, open the file via the "open app manager," it takes me to the info install page...I click install and it loads into the package installer, excellent...and then it just stalls and the progress bar runs and runs but never progresses. This has happened with every apk I have now tried.
Okay...so I figured I'd just go the little more involved (very little, no need to be that lazy, right) route and adb install. Well carp. All goes well, I adb install blahblah.apk and it starts rolling..."570kb blah..etc pkg /blah/temp/blah"...and just hangs there...never to give me the gratifying "success" message. Again, I have tried this with different apks that I know work and the same results. I restored to stock and rerooted, just in case. Same
I am running stock rooted (manualnooter) at this point, just got the nook day before yesterday (one of the many who jumped at the refurbs). Market apps download fine. I'm a blue dot, if that makes any diff. Likely not but meh.
I have searched and googled and not found the answers...but I know I am missing something elementally simple. My luck I'll look like an idiot and it will be a "did you check to see if you had any gas?" broken down car scenario. I'm okay with that, as long as I'm running again. I'm pretty sure I checked all the out of gas scenarios but I likely missed one or two so... any help is much appreciated. Thanks a ton...
I should know better than trying to write before coffee
Well, My answer is not a "check gas" answer. It's pretty dang weird.
1. Download ES Explorer from the market.
2. Start ES Explorer, hit Menu>Settings. Goto Root Options (NEW) and tick both check boxes. Hit allow when it asks you to.
3. Go back twice, until you see your sd card contents. Find the APK on there and select and hold. Hit copy and then hit the 1st button on the row of buttons (it's an icon of an sd card OR a Home icon) If you see a data folder, go in to it. If not, hit the 1st button again.
3. Once in the data folder, go into the app folder. Pull up the little white tab on the bottom. Tap the APK you wanted to install. It will copy. Once you see the APK's icon in the folder, hit the home button and restart. That should have installed it but it is a slow method. Note that you can Multi-Select APK's by pressing the Multi-select button and pasting them all in the /data/app/ folder.
are you sure you have side loading checked
Settings > applications should be the top box.
fnordsnafu said:
So I am trying to load a couple of apks I have and it's been no go. On my Epic I usually just dropbox, open, and install. I tried that and initially got the security message. That is already taken care of via nookcolor tools. So that isn't the issue.
Click to expand...
Click to collapse
I think he already took care of that. And he is on stock, so there is no Applications setting.
ikingblack, thank you, thank you!
Not sure why but by doing this it somehow unsnafued the package installer as well (fingers crossed). I went through your instructions with a known good apk that would not install for anything before. And there it was after the copy, paste reboot etc. Not too much to ask for...still was confused as to the why of the normal package installer method not working. So I decided to give it (package inst) a go with another known working apk (I had just tested it on my epic) that previously wouldn't install, repeatedly, and now it installed just like it should. Scratching my head in wonder. It shouldn't be the reboot, as I have do so many times...the only difference is the install instructions and adding ES (I'm leaving astro behind I think). All I know is it is working and I am a happy camper (tent is in the back yard...) Thanks again! cheers!
Sure. Also, you can select all the APK's using the 2-file icon at the top and tapping the APKs, then press-and hold on one of the APk's and then go to data app, and keep tapping the APK's you wanna copy. And then reboot. Enjoy your Nook!
Thanks for this, it fixed it, but I don't know why.
I suffered this issue on my dell streak.
It was working fine a couple of days ago when I installed GetJar.
Suddenly today for no reason I can determine:
All APK's I tried the install button in the package installer was not grayed out, but it would not respond when pressed.
I've just been setting up my streak again and installing a lot of software. I'm guessing something must of gone wrong.
Someone on another post suggested JuiceDefender may have caused it but I've not installed that recently.
In my case I did:
(1) Installed esFileExplorer
(2) Copied an apk to the folder /data/app/ as described above
(3) restarted the phone
This did not install the app for me.
(4) Tried running the apk file again. Suddenly the Install button is clickable again?! The app then installed just fine.
(5) Tried a different apk (without copying to /data/app/)
Now that will install fine?!
This is really weird. I can't replicate the issue now (which is good!)
but I also can't tell which action fixed it.
As said above it may have been installing esfileexplorer and giving it root access.
It may have been the act of copying the file that reset something.
It wasn't the reboot, at lease not on its own as i'd already tried it.
Regardless, thanks for the info.
If anyone sees this issue again you might want to just try installing esfileexplorer and see if apk's will then install.
This might help us identify which bit of the process is creating the fix.
Just found another suggestion if anyone is interested:
Some suggests using the 'Fix permissions' option of Titanium Backup. I have no way to test this.

[Q] Xoom WiFi Root 3.2 Post Install issue

OK I performed the install per http://forum.xda-developers.com/showthread.php?t=1165998 and have read every single post as of about 5 minutes prior to writing this.
Everything went perfectly fine. Installing over a stock 3.1, except for rooting. I'm not completely new to this... not a master either. I've rooted my Atrix with every official update, and rooted my dad's Verizon Incredible, I think that's the name, and installed Cyanogenmod 7.
MY problem is I can't open any "links." In either gmail or e-mail clicking on a good URL and get it to open in the stock browser, Opera or Firefox (it prompted me before the update). The screen just dims and nothing. I tap the screen and the screen "undims." This also happens when I download a pdf in Firefox and try to open it. If I use Astaro File manager I can open the pdf with out any issues. It appears to be related to the browsers only so far.
I've already performed a restore missing apps and system data with Titanium Backup Root.
Do I need to clean Dalvik cache? Do a factory wipe? Hopefully something less drastic...
Any help or pointer to resources I missed are appreciated.
P.S. I did try posting on the developer thread, and I can't post. Since I'm not experienced enough to be of much help and I prefer researching and learning without asking questions previously asked and answered.
Checked Defaults...
I just tried settings--->applications--->manage applications---->pick your app and clear defaults? No default set for the Browser, Firefox, Gmail or Opera.
CWM Cache Partition Wipe
Sorry for multiple posts I'm trying to troubleshoot my problem...
The problem still exists after clearing the cache partition with CWM.
Removed Opera
No change except I've noticed it is faster since I cleared the cache.
Removed Firefox
Now the builtin browser works!
Reinstalled Opera
Initially the same issue... and then the option to select between the Browser or Opera!
Second try the selection box appeared quickly!
Restored Opera data via Titanium Backup and all still appeared well.
Rebooted same issue... Uninstalled and reinstalled again. No change.
Rebooting...
Redo
Uninstalled Opera.
Used CWM to clear the cache partition.
Reinstall Opera.
Reinstall Firefox.
And I'll post this before my session times out. I hop this may help someone else someday.
LenIsham said:
Initially the same issue... and then the option to select between the Browser or Opera!
Second try the selection box appeared quickly!
Restored Opera data via Titanium Backup and all still appeared well.
Rebooted same issue... Uninstalled and reinstalled again. No change.
Rebooting...
Click to expand...
Click to collapse
You must have missed a post on this topic --default app picker--and someone's solution. I think I saw it in the development section. The solution was to make sure that auto rotate was set to on, and then make the screen redraw the grayed out app default picker screen by rotating the Xoom. They said to do it for each app that was causing a problem. Sounds crazy, but it seemed to work. Look for the post, or just try it. It can't hurt.
Working... Why
Working now and survived a reboot without breaking.
I haven't restored any data. :-(
Anyone know why or where I can look to try and figure out why. How about if I can recover some of the application data selectively?
LenIsham said:
Working now and survived a reboot without breaking.
I haven't restored any data. :-(
Anyone know why or where I can look to try and figure out why. How about if I can recover some of the application data selectively?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1174808
Check out post #3 on this thread.
Aha
Thank you!
Good news that works great.
Better news I learned a few new things.
A good day if I do say so myself.
P.S. Note to self App Picker not file associations for Android

My ICS install over CM7 with no wipe

Disclaimer: I do not recommend trying this. This is just me documenting a bad idea, mostly to get my post count up so I can start contributing to Pawit's ICS thread.
Purpose:
Document installing Pawitp's ICS release 10 over Cyanogen nightly 181 WITHOUT a wipe. Mostly just to avoid reinstalling all my apps, SMS's etc.. and to see how badly this could go.
Background:
I have been using Pawitp's ICS since the first release and upgrading with each new release. Sometimes with a full wipe, sometimes not. I was on a stable version 9 when 10 was released so i installed V10 and had a very good experience with it. I was not having any FC's, superuser was working and generally everything worked well except the browser was extremely laggy. So on a slow Sunday afternoon I thought I'd do a full wipe and reinstall V10 to see how the browser worked like that. After the factory restore and reinstall I started getting FC's and my superuser was not functioning. I played with it for a bit but eventually wound up restoring a backup of Cyanogen nightly 181 as I needed my phone working again at that time.
What I've done so far:
From Cyanogen nightly 181 I rebooted into CWM recovery, chose "install .zip from SD card", and installed Pawitp's V10. Then I installed gapps v5.3. Then rebooted the phone. (As mentioned, I did not wipe anything, not even the cache.)
The phone rebooted with 2 issues:
1) The process android.process.media FC's a lot, then eventually stops
2) The clock process FC's occasionally.
I rebooted to recovery, cleared the cache and restarted and still have the above problems. (I will work on these shortly, for now I want to see what all works.)
What is working:
1) All apps are still installed
2) Tried google earth and it still functions
3) Wifi still works and all connections are still remembered
4) Gmail upgraded and works.
5) Bluetooth turns on. I don't have any devices to test connecting to but my previous pairings are still listed.
6) Mobile Data turned off. (This is a documented bug in V10)
7) All settings work except going into sounds causes more media server FC's. It looks like this is maybe caused by my sounds being set to Cyanogen sounds that no longer exist?
8) In Accounts -> Sync, setting the browser to sync caused the error "sync is currently experiencing problems"
9) SU apps are still allowed SU rights.
10) UI still seems smooth like butter.
11) Receiving SMS worked and a sound played (and vibrated) but caused the media server crash. SMS's were kept from Cyanogen install.
12) Notification lights work (menu and back buttons light when receiving text etc.)
13) GTalk -When logging in I get the media server crash, then gtalk closes.
Now to work on the clock and media server FC's. If I figure out how to work those out I'll come back and post. If you want to know if anything works that I haven't listed let me know. If you have any thoughts on the android.process.media please let me know. (I've already cleared the cache in CWM, force stopped the media process and cleared its cache.)
Edit 1:
Clock FC fixed by finding the clock in Manage Apps, force stopping it, then clearing its data. This also deleted my alarms.
Edit 2:
Added bookmark widget and selected to sync with my gmail account. This activated browser sync in my Accounts and Sync settings suffessfully.
Edit 3:
All done with no happy ending. Talk was working but no longer opens. Calendar sync is not functioning. Market is unable to download files due to an error. Gallery works but FC's when exiting. And I never could get the media scanner errors to stop. Oh well it was fun while it lasted.

Categories

Resources